#[repr(C)]pub struct RegisterBlock {
pub clk_div: Reg<CLK_DIV_SPEC>,
pub dev_id: Reg<DEV_ID_SPEC>,
pub intfl: Reg<INTFL_SPEC>,
pub inten: Reg<INTEN_SPEC>,
pub data_byte: Reg<DATA_BYTE_SPEC>,
}Expand description
Register block
Fields§
§clk_div: Reg<CLK_DIV_SPEC>0x00 - I2C Slave Clock Divisor Control
dev_id: Reg<DEV_ID_SPEC>0x04 - I2C Slave Device ID Register
intfl: Reg<INTFL_SPEC>0x08 - I2CS Interrupt Flags
inten: Reg<INTEN_SPEC>0x0c - I2CS Interrupt Enable/Disable Controls
data_byte: Reg<DATA_BYTE_SPEC>0x10 - I2CS Data Byte
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