Struct nuttx_embedded_hal::i2c_transfer_s
source · [−]Expand description
I2C Transfer Struct: This structure is used to communicate with the I2C character driver in order to perform IOCTL transfers. TODO: Import with bindgen from https://github.com/lupyuen/incubator-nuttx/blob/rusti2c/include/nuttx/i2c/i2c_master.h#L231-L235
Fields
msgv: *const i2c_msg_s
Array of I2C messages for the transfer
msgc: size_t
Number of messages in the array
Auto Trait Implementations
impl RefUnwindSafe for i2c_transfer_s
impl !Send for i2c_transfer_s
impl !Sync for i2c_transfer_s
impl Unpin for i2c_transfer_s
impl UnwindSafe for i2c_transfer_s
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more