Struct multiwii_serial_protocol::structs::MspMotorConfig [] [src]

pub struct MspMotorConfig {
    pub min_throttle: u16,
    pub max_throttle: u16,
    pub min_command: u16,
}

Fields

Methods

impl MspMotorConfig
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 6]> for MspMotorConfig
[src]

Structure that can be packed an unpacked into 6 bytes.

Bit, MSB0NameType
0:15min_throttleu16
16:31max_throttleu16
32:47min_commandu16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspMotorConfig
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspMotorConfig
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspMotorConfig
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspMotorConfig
[src]

impl Clone for MspMotorConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspMotorConfig
[src]

[src]

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