Struct multiwii_serial_protocol::structs::MspStatus [] [src]

pub struct MspStatus {
    pub cycle_time: u16,
    pub i2c_errors: u16,
    pub sensors: MspAvailableSensors,
    pub null1: u8,
    pub flight_mode: u32,
    pub profile: u8,
    pub system_load: u16,
}

Fields

Methods

impl MspStatus
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 13]> for MspStatus
[src]

Structure that can be packed an unpacked into 13 bytes.

Bit, MSB0NameType
0:15cycle_timeu16
16:31i2c_errorsu16
32:39sensorsMspAvailableSensors
40:47null1u8
48:79flight_modeu32
80:87profileu8
88:103system_loadu16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspStatus
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspStatus
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspStatus
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspStatus
[src]

impl Clone for MspStatus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more