IRremote
LongUnion Union Reference

Union to specify parts / manifestations of a 32 bit Long without casts and shifts. More...

#include <LongUnion.h>

Collaboration diagram for LongUnion:

Public Attributes

struct {
   uint8_t   LowByte
 
   uint8_t   MidLowByte
 
   uint8_t   MidHighByte
 
   uint8_t   HighByte
 
UByte
 
struct {
   int8_t   LowByte
 
   int8_t   MidLowByte
 
   int8_t   MidHighByte
 
   int8_t   HighByte
 
Byte
 
struct {
   uint16_t   LowWord
 
   uint16_t   HighWord
 
UWord
 
struct {
   int16_t   LowWord
 
   int16_t   HighWord
 
Word
 
struct {
   WordUnion   LowWord
 
   WordUnion   HighWord
 
WordUnion
 
uint8_t UBytes [4]
 
int8_t Bytes [4]
 
uint16_t UWords [2]
 
int16_t Words [2]
 
uint32_t ULong
 
int32_t Long
 
float Float
 

Detailed Description

Union to specify parts / manifestations of a 32 bit Long without casts and shifts.

It also supports the compiler generating small code.

Definition at line 59 of file LongUnion.h.

Member Data Documentation

◆ Byte

struct { ... } LongUnion::Byte

◆ Bytes

int8_t LongUnion::Bytes[4]

Definition at line 92 of file LongUnion.h.

◆ Float

float LongUnion::Float

Definition at line 97 of file LongUnion.h.

◆ HighByte [1/2]

uint8_t LongUnion::HighByte

Definition at line 64 of file LongUnion.h.

◆ HighByte [2/2]

int8_t LongUnion::HighByte

Definition at line 70 of file LongUnion.h.

◆ HighWord [1/3]

uint16_t LongUnion::HighWord

Definition at line 81 of file LongUnion.h.

◆ HighWord [2/3]

int16_t LongUnion::HighWord

Definition at line 85 of file LongUnion.h.

◆ HighWord [3/3]

WordUnion LongUnion::HighWord

Definition at line 89 of file LongUnion.h.

◆ Long

int32_t LongUnion::Long

Definition at line 96 of file LongUnion.h.

◆ LowByte [1/2]

uint8_t LongUnion::LowByte

Definition at line 61 of file LongUnion.h.

◆ LowByte [2/2]

int8_t LongUnion::LowByte

Definition at line 67 of file LongUnion.h.

◆ LowWord [1/3]

uint16_t LongUnion::LowWord

Definition at line 80 of file LongUnion.h.

◆ LowWord [2/3]

int16_t LongUnion::LowWord

Definition at line 84 of file LongUnion.h.

◆ LowWord [3/3]

WordUnion LongUnion::LowWord

Definition at line 88 of file LongUnion.h.

◆ MidHighByte [1/2]

uint8_t LongUnion::MidHighByte

Definition at line 63 of file LongUnion.h.

◆ MidHighByte [2/2]

int8_t LongUnion::MidHighByte

Definition at line 69 of file LongUnion.h.

◆ MidLowByte [1/2]

uint8_t LongUnion::MidLowByte

Definition at line 62 of file LongUnion.h.

◆ MidLowByte [2/2]

int8_t LongUnion::MidLowByte

Definition at line 68 of file LongUnion.h.

◆ UByte

struct { ... } LongUnion::UByte

◆ UBytes

uint8_t LongUnion::UBytes[4]

Definition at line 91 of file LongUnion.h.

◆ ULong

uint32_t LongUnion::ULong

Definition at line 95 of file LongUnion.h.

◆ UWord

struct { ... } LongUnion::UWord

◆ UWords

uint16_t LongUnion::UWords[2]

Definition at line 93 of file LongUnion.h.

◆ Word

struct { ... } LongUnion::Word

◆ Words

int16_t LongUnion::Words[2]

Definition at line 94 of file LongUnion.h.

◆ WordUnion

struct { ... } LongUnion::WordUnion

The documentation for this union was generated from the following file: