Functions for bit-level operations.
More...
#include "pch.h"
|
| 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
|
| |
Functions 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