#[repr(C)]
pub struct RegisterBlock {
Show 41 fields pub sysmemremap: SYSMEMREMAP, pub presetctrl: PRESETCTRL, pub syspllctrl: SYSPLLCTRL, pub syspllstat: SYSPLLSTAT, pub usbpllctrl: USBPLLCTRL, pub usbpllstat: USBPLLSTAT, pub sysoscctrl: SYSOSCCTRL, pub wdtoscctrl: WDTOSCCTRL, pub sysrststat: SYSRSTSTAT, pub syspllclksel: SYSPLLCLKSEL, pub syspllclkuen: SYSPLLCLKUEN, pub usbpllclksel: USBPLLCLKSEL, pub usbpllclkuen: USBPLLCLKUEN, pub mainclksel: MAINCLKSEL, pub mainclkuen: MAINCLKUEN, pub sysahbclkdiv: SYSAHBCLKDIV, pub sysahbclkctrl: SYSAHBCLKCTRL, pub ssp0clkdiv: SSP0CLKDIV, pub uartclkdiv: UARTCLKDIV, pub ssp1clkdiv: SSP1CLKDIV, pub usbclksel: USBCLKSEL, pub usbclkuen: USBCLKUEN, pub usbclkdiv: USBCLKDIV, pub clkoutsel: CLKOUTSEL, pub clkoutuen: CLKOUTUEN, pub clkoutdiv: CLKOUTDIV, pub pioporcap0: PIOPORCAP0, pub pioporcap1: PIOPORCAP1, pub bodctrl: BODCTRL, pub systckcal: SYSTCKCAL, pub irqlatency: IRQLATENCY, pub nmisrc: NMISRC, pub pintsel: [PINTSEL; 8], pub usbclkctrl: USBCLKCTRL, pub usbclkst: USBCLKST, pub starterp0: STARTERP0, pub starterp1: STARTERP1, pub pdsleepcfg: PDSLEEPCFG, pub pdawakecfg: PDAWAKECFG, pub pdruncfg: PDRUNCFG, pub device_id: DEVICE_ID, /* private fields */
}
Expand description

Register block

Fields§

§sysmemremap: SYSMEMREMAP

0x00 - System memory remap

§presetctrl: PRESETCTRL

0x04 - Peripheral reset control

§syspllctrl: SYSPLLCTRL

0x08 - System PLL control

§syspllstat: SYSPLLSTAT

0x0c - System PLL status

§usbpllctrl: USBPLLCTRL

0x10 - USB PLL control

§usbpllstat: USBPLLSTAT

0x14 - USB PLL status

§sysoscctrl: SYSOSCCTRL

0x20 - System oscillator control

§wdtoscctrl: WDTOSCCTRL

0x24 - Watchdog oscillator control

§sysrststat: SYSRSTSTAT

0x30 - System reset status register

§syspllclksel: SYSPLLCLKSEL

0x40 - System PLL clock source select

§syspllclkuen: SYSPLLCLKUEN

0x44 - System PLL clock source update enable

§usbpllclksel: USBPLLCLKSEL

0x48 - USB PLL clock source select

§usbpllclkuen: USBPLLCLKUEN

0x4c - USB PLL clock source update enable

§mainclksel: MAINCLKSEL

0x70 - Main clock source select

§mainclkuen: MAINCLKUEN

0x74 - Main clock source update enable

§sysahbclkdiv: SYSAHBCLKDIV

0x78 - System clock divider

§sysahbclkctrl: SYSAHBCLKCTRL

0x80 - System clock control

§ssp0clkdiv: SSP0CLKDIV

0x94 - SSP0 clock divider

§uartclkdiv: UARTCLKDIV

0x98 - UART clock divider

§ssp1clkdiv: SSP1CLKDIV

0x9c - SSP1 clock divider

§usbclksel: USBCLKSEL

0xc0 - USB clock source select

§usbclkuen: USBCLKUEN

0xc4 - USB clock source update enable

§usbclkdiv: USBCLKDIV

0xc8 - USB clock source divider

§clkoutsel: CLKOUTSEL

0xe0 - CLKOUT clock source select

§clkoutuen: CLKOUTUEN

0xe4 - CLKOUT clock source update enable

§clkoutdiv: CLKOUTDIV

0xe8 - CLKOUT clock divider

§pioporcap0: PIOPORCAP0

0x100 - POR captured PIO status 0

§pioporcap1: PIOPORCAP1

0x104 - POR captured PIO status 1

§bodctrl: BODCTRL

0x150 - Brown-Out Detect

§systckcal: SYSTCKCAL

0x154 - System tick counter calibration

§irqlatency: IRQLATENCY

0x170 - IQR delay. Allows trade-off between interrupt latency and determinism.

§nmisrc: NMISRC

0x174 - NMI Source Control

§pintsel: [PINTSEL; 8]

0x178 - GPIO Pin Interrupt Select register 0

§usbclkctrl: USBCLKCTRL

0x198 - USB clock control

§usbclkst: USBCLKST

0x19c - USB clock status

§starterp0: STARTERP0

0x204 - Start logic 0 interrupt wake-up enable register 0

§starterp1: STARTERP1

0x214 - Start logic 1 interrupt wake-up enable register 1

§pdsleepcfg: PDSLEEPCFG

0x230 - Power-down states in deep-sleep mode

§pdawakecfg: PDAWAKECFG

0x234 - Power-down states for wake-up from deep-sleep

§pdruncfg: PDRUNCFG

0x238 - Power configuration register

§device_id: DEVICE_ID

0x3f4 - Device ID

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.