Lines Matching refs:bit
6 …umber. A variable can be set as a program status word (PSW), and each bit (flag bit) in the PSW ca…
11 …ag bit to **1** or **0**, changing the flag bit content, and obtaining the most significant bit (M…
17 | Setting a flag bit| - **LOS_BitmapSet**: sets a flag bit of a PSW to **1**.<br>- **LOS_BitmapClr*…
18 …bit whose flag bit is **1**| -**LOS_HighBitGet**: obtains the most significant bit of 1 in a PSW.<…
19 …e flag bits of a PSW to **0**.<br>- **LOS_BitmapFfz**: obtains the first 0 bit starting from the L…
29 1. Set a flag bit to **1**.
31 2. Obtain the MSB of flag bit 1.
33 3. Set a flag bit to **0**.
35 4. Obtain the LSB of flag bit 1.
58 PRINTK("LOS_HighBitGet:\t The highest one bit is %d, the flag is 0x%0+8x\n", pos, flag);
64 PRINTK("LOS_LowBitGet:\t The lowest one bit is %d, the flag is 0x%0+8x\n\n", pos, flag);
80 LOS_HighBitGet:The highest one bit is 28, the flag is 0x10101110
82 LOS_LowBitGet: The lowest one bit is 4, the flag is 0x00101110