pub struct I2cConfig {
pub address: u8,
pub wake_delay_us: u32,
pub max_retries: usize,
}Expand description
Configuration for I2C communication with ATECC608
Fields§
§address: u8I2C address (default: 0x60)
wake_delay_us: u32Wake-up delay in microseconds (default: 1500)
max_retries: usizeMaximum retry count for communication attempts
Trait Implementations§
impl Copy for I2cConfig
impl Eq for I2cConfig
impl StructuralPartialEq for I2cConfig
Auto Trait Implementations§
impl Forget for I2cConfig
impl Freeze for I2cConfig
impl Move for I2cConfig
impl RefUnwindSafe for I2cConfig
impl Send for I2cConfig
impl Sync for I2cConfig
impl Unpin for I2cConfig
impl UnsafeUnpin for I2cConfig
impl UnwindSafe for I2cConfig
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