#[repr(C)]pub struct i2c_target_config {
pub node: _snode,
pub flags: u8,
pub address: u16,
pub callbacks: *const i2c_target_callbacks,
}Expand description
@cond INTERNAL_HIDDEN
These are for internal use only, so skip these in public documentation.
Fields§
§node: _snodePrivate, do not modify
flags: u8Flags for the target device defined by I2C_TARGET_FLAGS_* constants
address: u16Address for this target device
callbacks: *const i2c_target_callbacksCallback functions
Trait Implementations§
Source§impl Debug for i2c_target_config
impl Debug for i2c_target_config
Source§impl Default for i2c_target_config
impl Default for i2c_target_config
Source§fn default() -> i2c_target_config
fn default() -> i2c_target_config
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for i2c_target_config
impl RefUnwindSafe for i2c_target_config
impl !Send for i2c_target_config
impl !Sync for i2c_target_config
impl Unpin for i2c_target_config
impl UnwindSafe for i2c_target_config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more