Struct sbp::messages::ext_events::MsgExtEvent [−][src]
pub struct MsgExtEvent {
pub sender_id: Option<u16>,
pub wn: u16,
pub tow: u32,
pub ns_residual: i32,
pub flags: u8,
pub pin: u8,
}
Expand description
Reports timestamped external pin event
Reports detection of an external event, the GPS time it occurred, which pin it was and whether it was rising or falling.
Fields
sender_id: Option<u16>
The message sender_id
wn: u16
GPS week number
tow: u32
GPS time of week rounded to the nearest millisecond
ns_residual: i32
Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to 500000)
flags: u8
Flags
pin: u8
Pin number. 0..9 = DEBUG0..9.
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgExtEvent
impl Send for MsgExtEvent
impl Sync for MsgExtEvent
impl Unpin for MsgExtEvent
impl UnwindSafe for MsgExtEvent
Blanket Implementations
Mutably borrows from an owned value. Read more