embeddedlibrary
reusable software modules for embedded systems
|
#include <int_def.h>
Data Fields | |
uint8_t | b |
byte member | |
struct { | |
uint8_t b0:1 | |
uint8_t b1:1 | |
uint8_t b2:1 | |
uint8_t b3:1 | |
uint8_t b4:1 | |
uint8_t b5:1 | |
uint8_t b6:1 | |
uint8_t b7:1 | |
} | bits |
bitfield member, b0 LSb, b7 MSb | |
struct { | |
uint8_t low:4 | |
uint8_t high:4 | |
} | nibble |
8-bit union type
Example usage