Struct atsam4ls4a_pac::bpm::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 16 fields
pub ier: Reg<IER_SPEC>,
pub idr: Reg<IDR_SPEC>,
pub imr: Reg<IMR_SPEC>,
pub isr: Reg<ISR_SPEC>,
pub icr: Reg<ICR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub unlock: Reg<UNLOCK_SPEC>,
pub pmcon: Reg<PMCON_SPEC>,
pub bkupwcause: Reg<BKUPWCAUSE_SPEC>,
pub bkupwen: Reg<BKUPWEN_SPEC>,
pub bkuppmux: Reg<BKUPPMUX_SPEC>,
pub ioret: Reg<IORET_SPEC>,
pub bpr: Reg<BPR_SPEC>,
pub fwrunps: Reg<FWRUNPS_SPEC>,
pub fwpsaveps: Reg<FWPSAVEPS_SPEC>,
pub version: Reg<VERSION_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ier: Reg<IER_SPEC>
0x00 - Interrupt Enable Register
idr: Reg<IDR_SPEC>
0x04 - Interrupt Disable Register
imr: Reg<IMR_SPEC>
0x08 - Interrupt Mask Register
isr: Reg<ISR_SPEC>
0x0c - Interrupt Status Register
icr: Reg<ICR_SPEC>
0x10 - Interrupt Clear Register
sr: Reg<SR_SPEC>
0x14 - Status Register
unlock: Reg<UNLOCK_SPEC>
0x18 - Unlock Register
pmcon: Reg<PMCON_SPEC>
0x1c - Power Mode Control Register
bkupwcause: Reg<BKUPWCAUSE_SPEC>
0x28 - Backup Wake up Cause Register
bkupwen: Reg<BKUPWEN_SPEC>
0x2c - Backup Wake up Enable Register
bkuppmux: Reg<BKUPPMUX_SPEC>
0x30 - Backup Pin Muxing Register
ioret: Reg<IORET_SPEC>
0x34 - Input Output Retention Register
bpr: Reg<BPR_SPEC>
0x40 - Bypass Register
fwrunps: Reg<FWRUNPS_SPEC>
0x44 - Factory Word Run PS Register
fwpsaveps: Reg<FWPSAVEPS_SPEC>
0x48 - Factory Word Power Save PS Register
version: Reg<VERSION_SPEC>
0xfc - Version 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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