#[repr(C)]pub struct RegisterBlock {
pub a1: A1,
pub f: F,
pub c1: C1,
pub s: S,
pub d: D,
pub c2: C2,
pub flt: FLT,
pub ra: RA,
pub smb: SMB,
pub a2: A2,
pub slth: SLTH,
pub sltl: SLTL,
}Expand description
Register block
Fields§
§a1: A10x00 - I2C Address Register 1
f: F0x01 - I2C Frequency Divider register
c1: C10x02 - I2C Control Register 1
s: S0x03 - I2C Status register
d: D0x04 - I2C Data I/O register
c2: C20x05 - I2C Control Register 2
flt: FLT0x06 - I2C Programmable Input Glitch Filter Register
ra: RA0x07 - I2C Range Address register
smb: SMB0x08 - I2C SMBus Control and Status register
a2: A20x09 - I2C Address Register 2
slth: SLTH0x0a - I2C SCL Low Timeout Register High
sltl: SLTL0x0b - I2C SCL Low Timeout Register Low
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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