|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

宏定义 | |
| #define | LOS_INVALID_BIT_INDEX 32 |
函数 | |
| void | LOS_BitmapSet (UINT32 *bitmap, UINT16 pos) |
| Set one bit. | |
| void | LOS_BitmapClr (UINT32 *bitmap, UINT16 pos) |
| Clear one bit. | |
| UINT16 | LOS_LowBitGet (UINT32 bitmap) |
| Find the lowest one bit that is set. | |
| UINT16 | LOS_HighBitGet (UINT32 bitmap) |
| Find the highest one bit that is set. | |
| #define LOS_INVALID_BIT_INDEX 32 |
Flag that indicates the invalid bit index.
The effective bit index is from 0 to 31.
Clear one bit.
| bitmap | [IN] The bitmap variable pointer. |
| pos | [IN] The number bit to be cleared. |
| None. |
Set one bit.
| bitmap | [IN] The bitmap variable pointer. |
| pos | [IN] The number bit to be set. |
| None |
Find the highest one bit that is set.
| bitmap | [IN] The bitmap variable. |
| UINT16 | The bit index of the highest one bit that is set. |
Find the lowest one bit that is set.
| bitmap | [IN] The bitmap variable. |
| UINT16 | The bit index of the lowest one bit that is set. |