宏定义 | |
#define | PER_LIB_MDU16_CTRL 1 |
如果没有定义这个宏,默认为0。 If the mirco is undefined,select to "0" 更多... | |
#define | MUL_16_BIT(mul1, mul2, pro) |
16位乘法宏函数。 更多... | |
#define | DIV_16_BIT(mol, den, quo, rem) |
16位除法宏函数。 更多... | |
#define | DIV_32_BIT(mol, den, quo, rem) |
32位除法宏函数。 更多... | |
#define | MOVE_LEFT_SHIFT(mdata, digits, result) |
左移宏函数。 更多... | |
#define | MOVE_RIGHT_SHIFT(mdata, digits, result) |
右移宏函数。 更多... | |
#define DIV_16_BIT | ( | mol, | |
den, | |||
quo, | |||
rem | |||
) |
#define DIV_32_BIT | ( | mol, | |
den, | |||
quo, | |||
rem | |||
) |
#define MOVE_LEFT_SHIFT | ( | mdata, | |
digits, | |||
result | |||
) |
左移宏函数。
Move data to the left functions.
[in] | mdata | 需要被左移的数据。Data that needs to be moved. |
[in] | digits | 被左移的位数。Number of digits moved. |
[out] | result | 左移完的结果。Data of result. |
#define MOVE_RIGHT_SHIFT | ( | mdata, | |
digits, | |||
result | |||
) |
右移宏函数。
Move data to the left functions.
[in] | mdata | 需要被右移的数据。Data that needs to be moved. |
[in] | digits | 被右移的位数。Number of digits moved. |
[out] | result | 右移完的结果。Data of result. |
#define MUL_16_BIT | ( | mul1, | |
mul2, | |||
pro | |||
) |
#define PER_LIB_MDU16_CTRL 1 |
如果没有定义这个宏,默认为0。 If the mirco is undefined,select to "0"