Struct atsamd51p::supc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub bod33: Reg<BOD33_SPEC>,
pub vreg: Reg<VREG_SPEC>,
pub vref: Reg<VREF_SPEC>,
pub bbps: Reg<BBPS_SPEC>,
pub bkout: Reg<BKOUT_SPEC>,
pub bkin: Reg<BKIN_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
intenclr: Reg<INTENCLR_SPEC>
0x00 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x04 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x08 - Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>
0x0c - Power and Clocks Status
bod33: Reg<BOD33_SPEC>
0x10 - BOD33 Control
vreg: Reg<VREG_SPEC>
0x18 - VREG Control
vref: Reg<VREF_SPEC>
0x1c - VREF Control
bbps: Reg<BBPS_SPEC>
0x20 - Battery Backup Power Switch
bkout: Reg<BKOUT_SPEC>
0x24 - Backup Output Control
bkin: Reg<BKIN_SPEC>
0x28 - Backup Input Control
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