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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The message type.

The message name.

Formats the value using the given formatter. Read more

Performs the conversion.

Get the message name.

Get the message type.

Get the sender_id if it is set.

Set the sender id.

Number of bytes this message will take on the wire.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.