Struct atsamd51g::pdec::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 17 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlbclr: Reg<CTRLBCLR_SPEC>,
pub ctrlbset: Reg<CTRLBSET_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub presc: Reg<PRESC_SPEC>,
pub filter: Reg<FILTER_SPEC>,
pub prescbuf: Reg<PRESCBUF_SPEC>,
pub filterbuf: Reg<FILTERBUF_SPEC>,
pub count: Reg<COUNT_SPEC>,
pub cc: [Reg<CC_SPEC>; 2],
pub ccbuf: [Reg<CCBUF_SPEC>; 2],
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
ctrlbclr: Reg<CTRLBCLR_SPEC>0x04 - Control B Clear
ctrlbset: Reg<CTRLBSET_SPEC>0x05 - Control B Set
evctrl: Reg<EVCTRL_SPEC>0x06 - Event Control
intenclr: Reg<INTENCLR_SPEC>0x08 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x09 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x0a - Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>0x0c - Status
dbgctrl: Reg<DBGCTRL_SPEC>0x0f - Debug Control
syncbusy: Reg<SYNCBUSY_SPEC>0x10 - Synchronization Status
presc: Reg<PRESC_SPEC>0x14 - Prescaler Value
filter: Reg<FILTER_SPEC>0x15 - Filter Value
prescbuf: Reg<PRESCBUF_SPEC>0x18 - Prescaler Buffer Value
filterbuf: Reg<FILTERBUF_SPEC>0x19 - Filter Buffer Value
count: Reg<COUNT_SPEC>0x1c - Counter Value
cc: [Reg<CC_SPEC>; 2]0x20..0x28 - Channel n Compare Value
ccbuf: [Reg<CCBUF_SPEC>; 2]0x30..0x38 - Channel Compare Buffer Value
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