Model Railroad System 2.2.2
|
Raw USB Data Packet. More...
#include <Azatrax.h>
Public Attributes | |
uint8_t | commandEcho |
Command Echo byte. More... | |
uint8_t | packetCount |
Packet counter (All Devices) More... | |
uint8_t | status1 |
Status byte 1 (All Devices) More... | |
uint8_t | status2 |
Status byte 2 (All Devices) More... | |
uint8_t | status3 |
Status byte 3 (SR4-U, SL2-U) / Stopwatch 1/100ths of a second (MRD2 only) More... | |
uint8_t | status4 |
Status byte 4 (SR4-U, SL2-U) / Stopwatch seconds (MRD2 only) More... | |
uint8_t | stopwatchMinutes |
Stopwatch minutes (MRD2 only) More... | |
uint8_t | stopwatchHours |
Stopwatch hours (MRD2 only) More... | |
uint8_t | operatingMode |
Operating mode (MRD2 only) More... | |
uint8_t | reserved [6] |
Reserved bytes. More... | |
uint8_t | endOfData |
End of data. More... | |
Raw USB Data Packet.
This is the USB Data Packet returned in response to the GetStateData command.
uint8_t azatrax::Azatrax::StateDataPacket::commandEcho |
Command Echo byte.
(All Devices)
uint8_t azatrax::Azatrax::StateDataPacket::endOfData |
End of data.
uint8_t azatrax::Azatrax::StateDataPacket::operatingMode |
Operating mode (MRD2 only)
Referenced by azatrax::MRD::OperatingMode().
uint8_t azatrax::Azatrax::StateDataPacket::packetCount |
Packet counter (All Devices)
Referenced by azatrax::Azatrax::PacketCount().
uint8_t azatrax::Azatrax::StateDataPacket::reserved[6] |
Reserved bytes.
uint8_t azatrax::Azatrax::StateDataPacket::status1 |
Status byte 1 (All Devices)
Referenced by azatrax::MRD::HasRelays(), azatrax::MRD::Latch_1(), azatrax::MRD::Latch_2(), azatrax::SL2::Motor_1_Direction(), azatrax::SL2::Motor_1_State(), azatrax::SL2::Motor_2_Direction(), azatrax::SL2::Motor_2_State(), azatrax::SR4::Q1_State(), azatrax::SR4::Q2_State(), azatrax::SR4::Q3_State(), azatrax::SR4::Q4_State(), azatrax::MRD::Sense_1(), and azatrax::MRD::Sense_2().
uint8_t azatrax::Azatrax::StateDataPacket::status2 |
Status byte 2 (All Devices)
Referenced by azatrax::MRD::AllowingExternalChanges(), azatrax::MRD::ExternallyChanged(), azatrax::MRD::ResetStatus(), azatrax::SL2::Sense_1(), azatrax::SR4::Sense_1_Latch(), azatrax::SL2::Sense_2(), azatrax::SR4::Sense_2_Latch(), azatrax::SL2::Sense_3(), azatrax::SR4::Sense_3_Latch(), azatrax::SL2::Sense_4(), azatrax::SR4::Sense_4_Latch(), and azatrax::MRD::StopwatchTicking().
uint8_t azatrax::Azatrax::StateDataPacket::status3 |
Status byte 3 (SR4-U, SL2-U) / Stopwatch 1/100ths of a second (MRD2 only)
Referenced by azatrax::SL2::Input_1_Enabled(), azatrax::SR4::Input_1_Enabled(), azatrax::SL2::Input_2_Enabled(), azatrax::SR4::Input_2_Enabled(), azatrax::SL2::Input_3_Enabled(), azatrax::SR4::Input_3_Enabled(), azatrax::SL2::Input_4_Enabled(), and azatrax::SR4::Input_4_Enabled().
uint8_t azatrax::Azatrax::StateDataPacket::status4 |
Status byte 4 (SR4-U, SL2-U) / Stopwatch seconds (MRD2 only)
Referenced by azatrax::SR4::Sense_1_Live(), azatrax::SR4::Sense_2_Live(), azatrax::SR4::Sense_3_Live(), and azatrax::SR4::Sense_4_Live().
uint8_t azatrax::Azatrax::StateDataPacket::stopwatchHours |
Stopwatch hours (MRD2 only)
Referenced by azatrax::MRD::Stopwatch().
uint8_t azatrax::Azatrax::StateDataPacket::stopwatchMinutes |
Stopwatch minutes (MRD2 only)
Referenced by azatrax::MRD::Stopwatch().