Struct multiwii_serial_protocol::structs::MspMisc [] [src]

pub struct MspMisc {
    pub rx_mid_rc: u16,
    pub min_throttle: u16,
    pub max_throttle: u16,
    pub min_command: u16,
    pub failsafe_throttle: u16,
    pub gps_type: u8,
    pub gps_baudrate: u8,
    pub gps_sbas_mode: u8,
    pub current_meter_output: u8,
    pub rssi_channel: u8,
    pub null1: u8,
    pub compass_mag_declination: u16,
}

Fields

Methods

impl MspMisc
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 18]> for MspMisc
[src]

Structure that can be packed an unpacked into 18 bytes.

Bit, MSB0NameType
0:15rx_mid_rcu16
16:31min_throttleu16
32:47max_throttleu16
48:63min_commandu16
64:79failsafe_throttleu16
80:87gps_typeu8
88:95gps_baudrateu8
96:103gps_sbas_modeu8
104:111current_meter_outputu8
112:119rssi_channelu8
120:127null1u8
128:143compass_mag_declinationu16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspMisc
[src]

[src]

Number of bits that this structure occupies when being packed.

impl PackedStructSlice for MspMisc
[src]

[src]

Pack the structure into an output buffer.

[src]

Unpack the structure from a buffer.

[src]

Number of bytes that this structure demands for packing or unpacking.

[src]

Pack the structure into a new byte vector.

impl PackedStructDebug for MspMisc
[src]

[src]

[src]

impl Display for MspMisc
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspMisc
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspMisc
[src]

impl Clone for MspMisc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more