Struct atsam4lc2b_pac::twis0::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {Show 16 fields
pub cr: Reg<CR_SPEC>,
pub nbytes: Reg<NBYTES_SPEC>,
pub tr: Reg<TR_SPEC>,
pub rhr: Reg<RHR_SPEC>,
pub thr: Reg<THR_SPEC>,
pub pecr: Reg<PECR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub ier: Reg<IER_SPEC>,
pub idr: Reg<IDR_SPEC>,
pub imr: Reg<IMR_SPEC>,
pub scr: Reg<SCR_SPEC>,
pub pr: Reg<PR_SPEC>,
pub vr: Reg<VR_SPEC>,
pub hstr: Reg<HSTR_SPEC>,
pub srr: Reg<SRR_SPEC>,
pub hssrr: Reg<HSSRR_SPEC>,
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - Control Register
nbytes: Reg<NBYTES_SPEC>
0x04 - NBYTES Register
tr: Reg<TR_SPEC>
0x08 - Timing Register
rhr: Reg<RHR_SPEC>
0x0c - Receive Holding Register
thr: Reg<THR_SPEC>
0x10 - Transmit Holding Register
pecr: Reg<PECR_SPEC>
0x14 - Packet Error Check Register
sr: Reg<SR_SPEC>
0x18 - Status Register
ier: Reg<IER_SPEC>
0x1c - Interrupt Enable Register
idr: Reg<IDR_SPEC>
0x20 - Interrupt Disable Register
imr: Reg<IMR_SPEC>
0x24 - Interrupt Mask Register
scr: Reg<SCR_SPEC>
0x28 - Status Clear Register
pr: Reg<PR_SPEC>
0x2c - Parameter Register
vr: Reg<VR_SPEC>
0x30 - Version Register
hstr: Reg<HSTR_SPEC>
0x34 - HS-mode Timing Register
srr: Reg<SRR_SPEC>
0x38 - Slew Rate Register
hssrr: Reg<HSSRR_SPEC>
0x3c - HS-mode Slew Rate Register