#[repr(C)]pub struct I2CS {
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub ctrlc: Reg<CTRLC_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub length: Reg<LENGTH_SPEC>,
pub addr: Reg<ADDR_SPEC>,
pub data: Reg<DATA_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>
0x00 - I2CS Control A
ctrlb: Reg<CTRLB_SPEC>
0x04 - I2CS Control B
ctrlc: Reg<CTRLC_SPEC>
0x08 - I2CS Control C
intenclr: Reg<INTENCLR_SPEC>
0x14 - I2CS Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x16 - I2CS Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x18 - I2CS Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>
0x1a - I2CS Status
syncbusy: Reg<SYNCBUSY_SPEC>
0x1c - I2CS Synchronization Busy
length: Reg<LENGTH_SPEC>
0x22 - I2CS Length
addr: Reg<ADDR_SPEC>
0x24 - I2CS Address
data: Reg<DATA_SPEC>
0x28 - I2CS Data
Auto Trait Implementations
impl !RefUnwindSafe for I2CS
impl Send for I2CS
impl !Sync for I2CS
impl Unpin for I2CS
impl UnwindSafe for I2CS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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