Struct multiwii_serial_protocol::structs::MspStatusEx [] [src]

pub struct MspStatusEx {
    pub cycle_time: u16,
    pub i2c_errors: u16,
    pub sensors: MspAvailableSensors,
    pub null1: u8,
    pub flight_mode: u32,
    pub current_pid_profile_index: u8,
    pub average_system_load_percent: u16,
    pub max_profile_count: u8,
    pub current_control_rate_profile_index: u8,
}

Fields

Methods

impl MspStatusEx
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 15]> for MspStatusEx
[src]

Structure that can be packed an unpacked into 15 bytes.

Bit, MSB0NameType
0:15cycle_timeu16
16:31i2c_errorsu16
32:39sensorsMspAvailableSensors
40:47null1u8
48:79flight_modeu32
80:87current_pid_profile_indexu8
88:103average_system_load_percentu16
104:111max_profile_countu8
112:119current_control_rate_profile_indexu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspStatusEx
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspStatusEx
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspStatusEx
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspStatusEx
[src]

impl Clone for MspStatusEx
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more