Model Railroad System 2.2.2
Public Attributes | List of all members
azatrax::SR4::status1_union Union Reference

Status byte 1 union type (Outputs) More...

Public Attributes

uint8_t theByte
 Status byte as a byte. More...
 
struct {
   unsigned int   Q1_state:1
 Q1 state. More...
 
   unsigned int   Q2_state:1
 Q2 state. More...
 
   unsigned int   Q3_state:1
 Q3 state. More...
 
   unsigned int   Q4_state:1
 Q4 state. More...
 
   unsigned int   reservered:4
 reserved bits More...
 
theBits
 Status byte as bit fields. More...
 

Detailed Description

Status byte 1 union type (Outputs)

Member Data Documentation

◆ Q1_state

unsigned int azatrax::SR4::status1_union::Q1_state

Q1 state.

Referenced by azatrax::SR4::Q1_State().

◆ Q2_state

unsigned int azatrax::SR4::status1_union::Q2_state

Q2 state.

Referenced by azatrax::SR4::Q2_State().

◆ Q3_state

unsigned int azatrax::SR4::status1_union::Q3_state

Q3 state.

Referenced by azatrax::SR4::Q3_State().

◆ Q4_state

unsigned int azatrax::SR4::status1_union::Q4_state

Q4 state.

Referenced by azatrax::SR4::Q4_State().

◆ reservered

unsigned int azatrax::SR4::status1_union::reservered

reserved bits

◆ 

struct { ... } azatrax::SR4::status1_union::theBits

◆ theByte

uint8_t azatrax::SR4::status1_union::theByte