Struct atsamd21g::sysctrl::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 20 fields
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub pclksr: Reg<PCLKSR_SPEC>,
pub xosc: Reg<XOSC_SPEC>,
pub xosc32k: Reg<XOSC32K_SPEC>,
pub osc32k: Reg<OSC32K_SPEC>,
pub osculp32k: Reg<OSCULP32K_SPEC>,
pub osc8m: Reg<OSC8M_SPEC>,
pub dfllctrl: Reg<DFLLCTRL_SPEC>,
pub dfllval: Reg<DFLLVAL_SPEC>,
pub dfllmul: Reg<DFLLMUL_SPEC>,
pub dfllsync: Reg<DFLLSYNC_SPEC>,
pub bod33: Reg<BOD33_SPEC>,
pub vreg: Reg<VREG_SPEC>,
pub vref: Reg<VREF_SPEC>,
pub dpllctrla: Reg<DPLLCTRLA_SPEC>,
pub dpllratio: Reg<DPLLRATIO_SPEC>,
pub dpllctrlb: Reg<DPLLCTRLB_SPEC>,
pub dpllstatus: Reg<DPLLSTATUS_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
pclksr: Reg<PCLKSR_SPEC>
0x0c - Power and Clocks Status
xosc: Reg<XOSC_SPEC>
0x10 - External Multipurpose Crystal Oscillator (XOSC) Control
xosc32k: Reg<XOSC32K_SPEC>
0x14 - 32kHz External Crystal Oscillator (XOSC32K) Control
osc32k: Reg<OSC32K_SPEC>
0x18 - 32kHz Internal Oscillator (OSC32K) Control
osculp32k: Reg<OSCULP32K_SPEC>
0x1c - 32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control
osc8m: Reg<OSC8M_SPEC>
0x20 - 8MHz Internal Oscillator (OSC8M) Control
dfllctrl: Reg<DFLLCTRL_SPEC>
0x24 - DFLL48M Control
dfllval: Reg<DFLLVAL_SPEC>
0x28 - DFLL48M Value
dfllmul: Reg<DFLLMUL_SPEC>
0x2c - DFLL48M Multiplier
dfllsync: Reg<DFLLSYNC_SPEC>
0x30 - DFLL48M Synchronization
bod33: Reg<BOD33_SPEC>
0x34 - 3.3V Brown-Out Detector (BOD33) Control
vreg: Reg<VREG_SPEC>
0x3c - Voltage Regulator System (VREG) Control
vref: Reg<VREF_SPEC>
0x40 - Voltage References System (VREF) Control
dpllctrla: Reg<DPLLCTRLA_SPEC>
0x44 - DPLL Control A
dpllratio: Reg<DPLLRATIO_SPEC>
0x48 - DPLL Ratio Control
dpllctrlb: Reg<DPLLCTRLB_SPEC>
0x4c - DPLL Control B
dpllstatus: Reg<DPLLSTATUS_SPEC>
0x50 - DPLL Status
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