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

Status byte 1 union type. More...

Public Attributes

uint8_t theByte
 Status byte as a byte. More...
 
struct {
   unsigned int   sense_1:1
 Sense 1. More...
 
   unsigned int   sense_2:1
 Sense 2. More...
 
   unsigned int   latch_1:1
 Latch 1. More...
 
   unsigned int   latch_2:1
 Latch 2. More...
 
   unsigned int   modtype:1
 Module type. More...
 
   unsigned int   reserved:3
 Reserved bits. More...
 
theBits
 Status byte as bit fields. More...
 

Detailed Description

Status byte 1 union type.

Member Data Documentation

◆ latch_1

unsigned int azatrax::MRD::status1_union::latch_1

Latch 1.

Referenced by azatrax::MRD::Latch_1().

◆ latch_2

unsigned int azatrax::MRD::status1_union::latch_2

Latch 2.

Referenced by azatrax::MRD::Latch_2().

◆ modtype

unsigned int azatrax::MRD::status1_union::modtype

Module type.

Referenced by azatrax::MRD::HasRelays().

◆ reserved

unsigned int azatrax::MRD::status1_union::reserved

Reserved bits.

◆ sense_1

unsigned int azatrax::MRD::status1_union::sense_1

Sense 1.

Referenced by azatrax::MRD::Sense_1().

◆ sense_2

unsigned int azatrax::MRD::status1_union::sense_2

Sense 2.

Referenced by azatrax::MRD::Sense_2().

◆ 

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

◆ theByte

uint8_t azatrax::MRD::status1_union::theByte