Struct multiwii_serial_protocol::structs::MspFilterConfig [] [src]

pub struct MspFilterConfig {
    pub gyro_soft_lpf_hz: u8,
    pub dterm_lpf_hz: u16,
    pub yaw_lpf_hz: u16,
    pub gyro_soft_notch_hz_1: u16,
    pub gyro_soft_notch_cutoff_1: u16,
    pub dterm_notch_hz: u16,
    pub dterm_notch_cutoff: u16,
    pub gyro_soft_notch_hz_2: u16,
    pub gyro_soft_notch_cutoff_2: u16,
}

Fields

Methods

impl MspFilterConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 17]> for MspFilterConfig
[src]

Structure that can be packed an unpacked into 17 bytes.

Bit, MSB0NameType
0:7gyro_soft_lpf_hzu8
8:23dterm_lpf_hzu16
24:39yaw_lpf_hzu16
40:55gyro_soft_notch_hz_1u16
56:71gyro_soft_notch_cutoff_1u16
72:87dterm_notch_hzu16
88:103dterm_notch_cutoffu16
104:119gyro_soft_notch_hz_2u16
120:135gyro_soft_notch_cutoff_2u16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspFilterConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspFilterConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspFilterConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspFilterConfig
[src]

impl Clone for MspFilterConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspFilterConfig
[src]

[src]

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