Type Alias DeviceOpWrite

Source
pub type DeviceOpWrite = DeviceOpWrite;
Expand description

Aliased Type§

struct DeviceOpWrite {
    pub target_system: u8,
    pub target_component: u8,
    pub request_id: u32,
    pub bustype: DeviceOpBustype,
    pub bus: u8,
    pub address: u8,
    pub busname: [u8; 40],
    pub regstart: u8,
    pub count: u8,
    pub data: [u8; 128],
    pub bank: u8,
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID.

§target_component: u8

MAVLink field target_component.

Component ID.

§request_id: u32

MAVLink field request_id.

Request ID - copied to reply.

§bustype: DeviceOpBustype

MAVLink field bustype.

The bus type.

§bus: u8

MAVLink field bus.

Bus number.

§address: u8

MAVLink field address.

Bus address.

§busname: [u8; 40]

MAVLink field busname.

Name of device on bus (for SPI).

§regstart: u8

MAVLink field regstart.

First register to write.

§count: u8

MAVLink field count.

Count of registers to write.

§data: [u8; 128]

MAVLink field data.

Write data.

§bank: u8

MAVLink field bank.

Bank number.