Struct atsamd51g::nvmctrl::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub param: Reg<PARAM_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub addr: Reg<ADDR_SPEC>,
pub runlock: Reg<RUNLOCK_SPEC>,
pub pbldata: [Reg<PBLDATA_SPEC>; 2],
pub eccerr: Reg<ECCERR_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub seecfg: Reg<SEECFG_SPEC>,
pub seestat: Reg<SEESTAT_SPEC>,
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
ctrlb: Reg<CTRLB_SPEC>0x04 - Control B
param: Reg<PARAM_SPEC>0x08 - NVM Parameter
intenclr: Reg<INTENCLR_SPEC>0x0c - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x0e - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x10 - Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>0x12 - Status
addr: Reg<ADDR_SPEC>0x14 - Address
runlock: Reg<RUNLOCK_SPEC>0x18 - Lock Section
pbldata: [Reg<PBLDATA_SPEC>; 2]0x1c..0x24 - Page Buffer Load Data x
eccerr: Reg<ECCERR_SPEC>0x24 - ECC Error Status Register
dbgctrl: Reg<DBGCTRL_SPEC>0x28 - Debug Control
seecfg: Reg<SEECFG_SPEC>0x2a - SmartEEPROM Configuration Register
seestat: Reg<SEESTAT_SPEC>0x2c - SmartEEPROM Status Register
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