#[repr(C)]
pub struct RegisterBlock {
Show 29 fields pub mcctrl: MCCTRL, pub cpusel: CPUSEL, pub pbasel: PBASEL, pub pbbsel: PBBSEL, pub pbcsel: PBCSEL, pub pbdsel: PBDSEL, pub cpumask: CPUMASK, pub hsbmask: HSBMASK, pub pbamask: PBAMASK, pub pbbmask: PBBMASK, pub pbcmask: PBCMASK, pub pbdmask: PBDMASK, pub pbadivmask: PBADIVMASK, pub cfdctrl: CFDCTRL, pub unlock: UNLOCK, pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub icr: ICR, pub sr: SR, pub ppcr: PPCR, pub rcause: RCAUSE, pub wcause: WCAUSE, pub awen: AWEN, pub obs: OBS, pub fastsleep: FASTSLEEP, pub config: CONFIG, pub version: VERSION, /* private fields */
}
Expand description

Register block

Fields§

§mcctrl: MCCTRL

0x00 - Main Clock Control

§cpusel: CPUSEL

0x04 - CPU Clock Select

§pbasel: PBASEL

0x0c - PBA Clock Select

§pbbsel: PBBSEL

0x10 - PBB Clock Select

§pbcsel: PBCSEL

0x14 - PBC Clock Select

§pbdsel: PBDSEL

0x18 - PBD Clock Select

§cpumask: CPUMASK

0x20 - CPU Mask

§hsbmask: HSBMASK

0x24 - HSB Mask

§pbamask: PBAMASK

0x28 - PBA Mask

§pbbmask: PBBMASK

0x2c - PBB Mask

§pbcmask: PBCMASK

0x30 - PBC Mask

§pbdmask: PBDMASK

0x34 - PBD Mask

§pbadivmask: PBADIVMASK

0x40 - PBA Divided Clock Mask

§cfdctrl: CFDCTRL

0x54 - Clock Failure Detector Control

§unlock: UNLOCK

0x58 - Unlock Register

§ier: IER

0xc0 - Interrupt Enable Register

§idr: IDR

0xc4 - Interrupt Disable Register

§imr: IMR

0xc8 - Interrupt Mask Register

§isr: ISR

0xcc - Interrupt Status Register

§icr: ICR

0xd0 - Interrupt Clear Register

§sr: SR

0xd4 - Status Register

§ppcr: PPCR

0x160 - Peripheral Power Control Register

§rcause: RCAUSE

0x180 - Reset Cause Register

§wcause: WCAUSE

0x184 - Wake Cause Register

§awen: AWEN

0x188 - Asynchronous Wake Enable

§obs: OBS

0x190 - Obsvervability

§fastsleep: FASTSLEEP

0x194 - Fast Sleep Register

§config: CONFIG

0x3f8 - Configuration Register

§version: VERSION

0x3fc - Version Register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.