Struct multiwii_serial_protocol::structs::MspSensorConfig [] [src]

pub struct MspSensorConfig {
    pub acc_hardware: u8,
    pub baro_hardware: u8,
    pub mag_hardware: u8,
}

Fields

Methods

impl MspSensorConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 3]> for MspSensorConfig
[src]

Structure that can be packed an unpacked into 3 bytes.

Bit, MSB0NameType
0:7acc_hardwareu8
8:15baro_hardwareu8
16:23mag_hardwareu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspSensorConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspSensorConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspSensorConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspSensorConfig
[src]

impl Clone for MspSensorConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspSensorConfig
[src]

[src]

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