Struct multiwii_serial_protocol::structs::MspBoardInfo [] [src]

pub struct MspBoardInfo {
    pub board_id: [u8; 4],
    pub hardware_revision: u16,
    pub fc_type: u8,
}

Fields

Methods

impl MspBoardInfo
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 7]> for MspBoardInfo
[src]

Structure that can be packed an unpacked into 7 bytes.

Bit, MSB0NameType
0:7board_id[0]u8
8:15board_id[1]u8
16:23board_id[2]u8
24:31board_id[3]u8
32:47hardware_revisionu16
48:55fc_typeu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspBoardInfo
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspBoardInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspBoardInfo
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspBoardInfo
[src]

impl Clone for MspBoardInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more