Struct multiwii_serial_protocol::structs::MspRxConfig [] [src]

pub struct MspRxConfig {
    pub serialrx_provider: u8,
    pub maxcheck: u16,
    pub midrc: u16,
    pub mincheck: u16,
    pub spektrum_sat_bind: u8,
    pub rx_min_usec: u16,
    pub rx_max_usec: u16,
    pub rc_interpolation: u8,
    pub rc_interpolation_interval: u8,
    pub air_mode_activate_threshold: u16,
    pub rx_spi_protocol: u8,
    pub rx_spi_id: u32,
    pub rx_spi_rf_channel_count: u8,
    pub fpv_cam_angle_degrees: u8,
}

Fields

Methods

impl MspRxConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 23]> for MspRxConfig
[src]

Structure that can be packed an unpacked into 23 bytes.

Bit, MSB0NameType
0:7serialrx_provideru8
8:23maxchecku16
24:39midrcu16
40:55minchecku16
56:63spektrum_sat_bindu8
64:79rx_min_usecu16
80:95rx_max_usecu16
96:103rc_interpolationu8
104:111rc_interpolation_intervalu8
112:127air_mode_activate_thresholdu16
128:135rx_spi_protocolu8
136:167rx_spi_idu32
168:175rx_spi_rf_channel_countu8
176:183fpv_cam_angle_degreesu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspRxConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

impl PackedStructSlice for MspRxConfig
[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 MspRxConfig
[src]

[src]

[src]

impl Display for MspRxConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspRxConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspRxConfig
[src]

impl Clone for MspRxConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspRxConfig
[src]

[src]

Returns the "default value" for a type. Read more