Struct multiwii_serial_protocol::structs::MspAdvancedConfig [] [src]

pub struct MspAdvancedConfig {
    pub gyro_sync_denom: u8,
    pub pid_process_denom: u8,
    pub use_unsynced_pwm: u8,
    pub motor_pwm_protocol: u8,
    pub motor_pwm_rate: u16,
    pub digital_idle_offset_percent: u16,
    pub gyro_use_32khz: u8,
    pub motor_pwm_inversion: u8,
}

Fields

Methods

impl MspAdvancedConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 10]> for MspAdvancedConfig
[src]

Structure that can be packed an unpacked into 10 bytes.

Bit, MSB0NameType
0:7gyro_sync_denomu8
8:15pid_process_denomu8
16:23use_unsynced_pwmu8
24:31motor_pwm_protocolu8
32:47motor_pwm_rateu16
48:63digital_idle_offset_percentu16
64:71gyro_use_32khzu8
72:79motor_pwm_inversionu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspAdvancedConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspAdvancedConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspAdvancedConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspAdvancedConfig
[src]

impl Clone for MspAdvancedConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspAdvancedConfig
[src]

[src]

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