更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
los_bitmap.h 文件参考

浏览源代码.

函数

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. 更多...
 
int LOS_BitmapFfz (UINTPTR *bitmap, UINT32 numBits)
 Find the first zero bit starting from LSB. 更多...
 
VOID LOS_BitmapSetNBits (UINTPTR *bitmap, UINT32 start, UINT32 numsSet)
 Set the number of bit to 1 from start. 更多...
 
VOID LOS_BitmapClrNBits (UINTPTR *bitmap, UINT32 start, UINT32 numsClear)
 Clear the number of bit to zero from start. 更多...