IRremote
|
Union to specify parts / manifestations of a 16 bit Word without casts and shifts. More...
#include <LongUnion.h>
Public Attributes | |
struct { | |
uint8_t LowByte | |
uint8_t HighByte | |
} | UByte |
struct { | |
int8_t LowByte | |
int8_t HighByte | |
} | Byte |
uint8_t | UBytes [2] |
int8_t | Bytes [2] |
uint16_t | UWord |
int16_t | Word |
uint8_t * | BytePointer |
Union to specify parts / manifestations of a 16 bit Word without casts and shifts.
It also supports the compiler generating small code. Usage: WordUnion tWord; tWord.UByte.HighByte = 0x12;
Definition at line 36 of file LongUnion.h.
struct { ... } WordUnion::Byte |
uint8_t* WordUnion::BytePointer |
Definition at line 49 of file LongUnion.h.
int8_t WordUnion::Bytes[2] |
Definition at line 46 of file LongUnion.h.
uint8_t WordUnion::HighByte |
Definition at line 39 of file LongUnion.h.
int8_t WordUnion::HighByte |
Definition at line 43 of file LongUnion.h.
uint8_t WordUnion::LowByte |
Definition at line 38 of file LongUnion.h.
int8_t WordUnion::LowByte |
Definition at line 42 of file LongUnion.h.
struct { ... } WordUnion::UByte |
uint8_t WordUnion::UBytes[2] |
Definition at line 45 of file LongUnion.h.
uint16_t WordUnion::UWord |
Definition at line 47 of file LongUnion.h.
int16_t WordUnion::Word |
Definition at line 48 of file LongUnion.h.