Struct sbp::messages::piksi::MsgFrontEndGain [−][src]
pub struct MsgFrontEndGain {
pub sender_id: Option<u16>,
pub rf_gain: [i8; 8],
pub if_gain: [i8; 8],
}
Expand description
RF AGC status
This message describes the gain of each channel in the receiver frontend. Each gain is encoded as a non-dimensional percentage relative to the maximum range possible for the gain stage of the frontend. By convention, each gain array has 8 entries and the index of the array corresponding to the index of the rf channel in the frontend. A gain of 127 percent encodes that rf channel is not present in the hardware. A negative value implies an error for the particular gain stage as reported by the frontend.
Fields
sender_id: Option<u16>
The message sender_id
rf_gain: [i8; 8]
RF gain for each frontend channel
if_gain: [i8; 8]
Intermediate frequency gain for each frontend channel
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 MsgFrontEndGain
impl Send for MsgFrontEndGain
impl Sync for MsgFrontEndGain
impl Unpin for MsgFrontEndGain
impl UnwindSafe for MsgFrontEndGain
Blanket Implementations
Mutably borrows from an owned value. Read more