Struct efr32xg12p::cmu::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub ctrl: CTRL, pub hfrcoctrl: HFRCOCTRL, pub auxhfrcoctrl: AUXHFRCOCTRL, pub lfrcoctrl: LFRCOCTRL, pub hfxoctrl: HFXOCTRL, pub hfxostartupctrl: HFXOSTARTUPCTRL, pub hfxosteadystatectrl: HFXOSTEADYSTATECTRL, pub hfxotimeoutctrl: HFXOTIMEOUTCTRL, pub lfxoctrl: LFXOCTRL, pub dpllctrl: DPLLCTRL, pub dpllctrl1: DPLLCTRL1, pub calctrl: CALCTRL, pub calcnt: CALCNT, pub oscencmd: OSCENCMD, pub cmd: CMD, pub dbgclksel: DBGCLKSEL, pub hfclksel: HFCLKSEL, pub lfaclksel: LFACLKSEL, pub lfbclksel: LFBCLKSEL, pub lfeclksel: LFECLKSEL, pub status: STATUS, pub hfclkstatus: HFCLKSTATUS, pub hfxotrimstatus: HFXOTRIMSTATUS, pub if_: IF, pub ifs: IFS, pub ifc: IFC, pub ien: IEN, pub hfbusclken0: HFBUSCLKEN0, pub hfperclken0: HFPERCLKEN0, pub lfaclken0: LFACLKEN0, pub lfbclken0: LFBCLKEN0, pub lfeclken0: LFECLKEN0, pub hfpresc: HFPRESC, pub hfcorepresc: HFCOREPRESC, pub hfperpresc: HFPERPRESC, pub hfexppresc: HFEXPPRESC, pub lfapresc0: LFAPRESC0, pub lfbpresc0: LFBPRESC0, pub lfepresc0: LFEPRESC0, pub syncbusy: SYNCBUSY, pub freeze: FREEZE, pub pcntctrl: PCNTCTRL, pub adcctrl: ADCCTRL, pub routepen: ROUTEPEN, pub routeloc0: ROUTELOC0, pub routeloc1: ROUTELOC1, pub lock: LOCK, pub hfrcoss: HFRCOSS, // some fields omitted }
Register block
Fields
ctrl: CTRL
0x00 - CMU Control Register
hfrcoctrl: HFRCOCTRL
0x10 - HFRCO Control Register
auxhfrcoctrl: AUXHFRCOCTRL
0x18 - AUXHFRCO Control Register
lfrcoctrl: LFRCOCTRL
0x20 - LFRCO Control Register
hfxoctrl: HFXOCTRL
0x24 - HFXO Control Register
hfxostartupctrl: HFXOSTARTUPCTRL
0x2c - HFXO Startup Control
hfxosteadystatectrl: HFXOSTEADYSTATECTRL
0x30 - HFXO Steady State control
hfxotimeoutctrl: HFXOTIMEOUTCTRL
0x34 - HFXO Timeout Control
lfxoctrl: LFXOCTRL
0x38 - LFXO Control Register
dpllctrl: DPLLCTRL
0x40 - DPLL Control Register
dpllctrl1: DPLLCTRL1
0x44 - DPLL Control Register
calctrl: CALCTRL
0x50 - Calibration Control Register
calcnt: CALCNT
0x54 - Calibration Counter Register
oscencmd: OSCENCMD
0x60 - Oscillator Enable/Disable Command Register
cmd: CMD
0x64 - Command Register
dbgclksel: DBGCLKSEL
0x70 - Debug Trace Clock Select
hfclksel: HFCLKSEL
0x74 - High Frequency Clock Select Command Register
lfaclksel: LFACLKSEL
0x80 - Low Frequency A Clock Select Register
lfbclksel: LFBCLKSEL
0x84 - Low Frequency B Clock Select Register
lfeclksel: LFECLKSEL
0x88 - Low Frequency E Clock Select Register
status: STATUS
0x90 - Status Register
hfclkstatus: HFCLKSTATUS
0x94 - HFCLK Status Register
hfxotrimstatus: HFXOTRIMSTATUS
0x9c - HFXO Trim Status
if_: IF
0xa0 - Interrupt Flag Register
ifs: IFS
0xa4 - Interrupt Flag Set Register
ifc: IFC
0xa8 - Interrupt Flag Clear Register
ien: IEN
0xac - Interrupt Enable Register
hfbusclken0: HFBUSCLKEN0
0xb0 - High Frequency Bus Clock Enable Register 0
hfperclken0: HFPERCLKEN0
0xc0 - High Frequency Peripheral Clock Enable Register 0
lfaclken0: LFACLKEN0
0xe0 - Low Frequency A Clock Enable Register 0 (Async Reg)
lfbclken0: LFBCLKEN0
0xe8 - Low Frequency B Clock Enable Register 0 (Async Reg)
lfeclken0: LFECLKEN0
0xf0 - Low Frequency E Clock Enable Register 0 (Async Reg)
hfpresc: HFPRESC
0x100 - High Frequency Clock Prescaler Register
hfcorepresc: HFCOREPRESC
0x108 - High Frequency Core Clock Prescaler Register
hfperpresc: HFPERPRESC
0x10c - High Frequency Peripheral Clock Prescaler Register
hfexppresc: HFEXPPRESC
0x114 - High Frequency Export Clock Prescaler Register
lfapresc0: LFAPRESC0
0x120 - Low Frequency A Prescaler Register 0 (Async Reg)
lfbpresc0: LFBPRESC0
0x128 - Low Frequency B Prescaler Register 0 (Async Reg)
lfepresc0: LFEPRESC0
0x130 - Low Frequency E Prescaler Register 0 (Async Reg). When waking up from EM4 make sure EM4UNLATCH in EMU_CMD is set for this to take effect
syncbusy: SYNCBUSY
0x140 - Synchronization Busy Register
freeze: FREEZE
0x144 - Freeze Register
pcntctrl: PCNTCTRL
0x150 - PCNT Control Register
adcctrl: ADCCTRL
0x15c - ADC Control Register
routepen: ROUTEPEN
0x170 - I/O Routing Pin Enable Register
routeloc0: ROUTELOC0
0x174 - I/O Routing Location Register
routeloc1: ROUTELOC1
0x178 - I/O Routing Location Register
lock: LOCK
0x180 - Configuration Lock Register
hfrcoss: HFRCOSS
0x184 - HFRCO Spread Spectrum Register