Header files for bit-level operations.
More...
Go to the source code of this file.
|
int | TestBit (int BitNumber, unsigned long *Addr) |
| Check whether the bit is set or not.
|
|
void | ClearBit (int BitNumber, unsigned long *Addr) |
| unset the bit
|
|
void | SetBit (int BitNumber, unsigned long *Addr) |
| set the bit
|
|
Header files for bit-level operations.
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 0.2
- Date
- 2023-04-27
- Copyright
- This project is released under the GNU Public License v3.
◆ ClearBit()
void ClearBit |
( |
int | BitNumber, |
|
|
unsigned long * | addr ) |
◆ SetBit()
void SetBit |
( |
int | BitNumber, |
|
|
unsigned long * | addr ) |
◆ TestBit()
int TestBit |
( |
int | BitNumber, |
|
|
unsigned long * | addr ) |
Check whether the bit is set or not.
- Parameters
-
- Returns
- int