Struct atsamd21j::i2s::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ctrla: Reg<CTRLA_SPEC>,
pub clkctrl: [Reg<CLKCTRL_SPEC>; 2],
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub serctrl: [Reg<SERCTRL_SPEC>; 2],
pub data: [Reg<DATA_SPEC>; 2],
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
clkctrl: [Reg<CLKCTRL_SPEC>; 2]0x04..0x0c - Clock Unit n Control
intenclr: Reg<INTENCLR_SPEC>0x0c - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x10 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x14 - Interrupt Flag Status and Clear
syncbusy: Reg<SYNCBUSY_SPEC>0x18 - Synchronization Status
serctrl: [Reg<SERCTRL_SPEC>; 2]0x20..0x28 - Serializer n Control
data: [Reg<DATA_SPEC>; 2]0x30..0x38 - Data n
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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