|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
Bit manipulation macros. More...
Go to the source code of this file.
Macros | |
| #define | BIT_SET(x, y) (x |= (1 << (y))) |
| Note: IF x and y are constants the compiler will fully reduce the expression. More... | |
| #define | BIT_CLR(x, y) (x &= ~(1 << (y))) |
| #define | BIT_TST(x, y) ((x & (1 << (y))) ? (int) 1 : (int) 0) |
Bit manipulation macros.
Definition in file bits.h.
| #define BIT_SET | ( | x, | |
| y | |||
| ) | (x |= (1 << (y))) |
1.8.17