Struct multiwii_serial_protocol::structs::MspBfConfig [] [src]

pub struct MspBfConfig {
    pub mixer_configuration: u8,
    pub features: u32,
    pub serial_rx_provider: u8,
    pub board_align_roll: i16,
    pub board_align_pitch: i16,
    pub board_align_yaw: i16,
    pub current_scale: i16,
    pub current_offset: i16,
}

Fields

Methods

impl MspBfConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 16]> for MspBfConfig
[src]

Structure that can be packed an unpacked into 16 bytes.

Bit, MSB0NameType
0:7mixer_configurationu8
8:39featuresu32
40:47serial_rx_provideru8
48:63board_align_rolli16
64:79board_align_pitchi16
80:95board_align_yawi16
96:111current_scalei16
112:127current_offseti16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspBfConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspBfConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspBfConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspBfConfig
[src]

impl Clone for MspBfConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspBfConfig
[src]

[src]

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