Model Railroad System
2.2.2
|
Status byte 1 union type (Output states) More...
Public Attributes | |
uint8_t | theByte |
Status byte as a byte. More... | |
struct { | |
unsigned int motor_1_direction:1 | |
Motor 1 direction. More... | |
unsigned int motor_1_state:1 | |
Motor 1 state. More... | |
unsigned int motor_2_direction:1 | |
Motor 2 direction. More... | |
unsigned int motor_2_state:1 | |
Motor 2 state. More... | |
unsigned int reservered:4 | |
Reserved bits. More... | |
} | theBits |
Status byte as bit fields. More... | |
Status byte 1 union type (Output states)
unsigned int azatrax::SL2::status1_union::motor_1_direction |
Motor 1 direction.
Referenced by azatrax::SL2::Motor_1_Direction().
unsigned int azatrax::SL2::status1_union::motor_1_state |
Motor 1 state.
Referenced by azatrax::SL2::Motor_1_State().
unsigned int azatrax::SL2::status1_union::motor_2_direction |
Motor 2 direction.
Referenced by azatrax::SL2::Motor_2_Direction().
unsigned int azatrax::SL2::status1_union::motor_2_state |
Motor 2 state.
Referenced by azatrax::SL2::Motor_2_State().
unsigned int azatrax::SL2::status1_union::reservered |
Reserved bits.
struct { ... } azatrax::SL2::status1_union::theBits |
Status byte as bit fields.
Referenced by azatrax::SL2::Motor_1_Direction(), azatrax::SL2::Motor_1_State(), azatrax::SL2::Motor_2_Direction(), and azatrax::SL2::Motor_2_State().
uint8_t azatrax::SL2::status1_union::theByte |
Status byte as a byte.
Referenced by azatrax::SL2::Motor_1_Direction(), azatrax::SL2::Motor_1_State(), azatrax::SL2::Motor_2_Direction(), and azatrax::SL2::Motor_2_State().