Struct bl602_sdk::i2c::i2c_msg[][src]

#[repr(C)]
pub struct i2c_msg {
Show fields pub addr: u16, pub direct: u8, pub subflag: u8, pub subaddr: u32, pub sublen: u8, pub len: u32, pub buf: *mut u8, pub event: c_int, pub idex: c_int, pub block: c_int, pub stop: c_int, pub ins_num: c_int, pub i2cx: c_int,
}

Fields

addr: u16direct: u8subflag: u8subaddr: u32sublen: u8len: u32buf: *mut u8event: c_intidex: c_intblock: c_intstop: c_intins_num: c_inti2cx: c_int

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.