#[repr(C)]
pub struct RegisterBlock {
Show 36 fields pub ier: IER, pub idr: IDR, pub imr: IMR, pub isr: ISR, pub icr: ICR, pub pclksr: PCLKSR, pub unlock: UNLOCK, pub cscr: CSCR, pub oscctrl0: OSCCTRL0, pub pll: PLL, pub dfll0conf: DFLL0CONF, pub dfll0val: DFLL0VAL, pub dfll0mul: DFLL0MUL, pub dfll0step: DFLL0STEP, pub dfll0ssg: DFLL0SSG, pub dfll0ratio: DFLL0RATIO, pub dfll0sync: DFLL0SYNC, pub rccr: RCCR, pub rcfastcfg: RCFASTCFG, pub rcfastsr: RCFASTSR, pub rc80mcr: RC80MCR, pub hrpcr: HRPCR, pub fpcr: FPCR, pub fpmul: FPMUL, pub fpdiv: FPDIV, pub gcctrl: [GCCTRL; 12], pub rcfastversion: RCFASTVERSION, pub gclkprescversion: GCLKPRESCVERSION, pub pllifaversion: PLLIFAVERSION, pub oscifaversion: OSCIFAVERSION, pub dfllifbversion: DFLLIFBVERSION, pub rcoscifaversion: RCOSCIFAVERSION, pub floversion: FLOVERSION, pub rc80mversion: RC80MVERSION, pub gclkifversion: GCLKIFVERSION, pub version: VERSION, /* private fields */
}
Expand description

Register block

Fields§

§ier: IER

0x00 - Interrupt Enable Register

§idr: IDR

0x04 - Interrupt Disable Register

§imr: IMR

0x08 - Interrupt Mask Register

§isr: ISR

0x0c - Interrupt Status Register

§icr: ICR

0x10 - Interrupt Clear Register

§pclksr: PCLKSR

0x14 - Power and Clocks Status Register

§unlock: UNLOCK

0x18 - Unlock Register

§cscr: CSCR

0x1c - Chip Specific Configuration Register

§oscctrl0: OSCCTRL0

0x20 - Oscillator Control Register

§pll: PLL

0x24 - PLL0 Control Register

§dfll0conf: DFLL0CONF

0x28 - DFLL0 Config Register

§dfll0val: DFLL0VAL

0x2c - DFLL Value Register

§dfll0mul: DFLL0MUL

0x30 - DFLL0 Multiplier Register

§dfll0step: DFLL0STEP

0x34 - DFLL0 Step Register

§dfll0ssg: DFLL0SSG

0x38 - DFLL0 Spread Spectrum Generator Control Register

§dfll0ratio: DFLL0RATIO

0x3c - DFLL0 Ratio Registe

§dfll0sync: DFLL0SYNC

0x40 - DFLL0 Synchronization Register

§rccr: RCCR

0x44 - System RC Oscillator Calibration Register

§rcfastcfg: RCFASTCFG

0x48 - 4/8/12 MHz RC Oscillator Configuration Register

§rcfastsr: RCFASTSR

0x4c - 4/8/12 MHz RC Oscillator Status Register

§rc80mcr: RC80MCR

0x50 - 80 MHz RC Oscillator Register

§hrpcr: HRPCR

0x64 - High Resolution Prescaler Control Register

§fpcr: FPCR

0x68 - Fractional Prescaler Control Register

§fpmul: FPMUL

0x6c - Fractional Prescaler Multiplier Register

§fpdiv: FPDIV

0x70 - Fractional Prescaler DIVIDER Register

§gcctrl: [GCCTRL; 12]

0x74..0xa4 - Generic Clock Control

§rcfastversion: RCFASTVERSION

0x3d8 - 4/8/12 MHz RC Oscillator Version Register

§gclkprescversion: GCLKPRESCVERSION

0x3dc - Generic Clock Prescaler Version Register

§pllifaversion: PLLIFAVERSION

0x3e0 - PLL Version Register

§oscifaversion: OSCIFAVERSION

0x3e4 - Oscillator 0 Version Register

§dfllifbversion: DFLLIFBVERSION

0x3e8 - DFLL Version Register

§rcoscifaversion: RCOSCIFAVERSION

0x3ec - System RC Oscillator Version Register

§floversion: FLOVERSION

0x3f0 - Frequency Locked Oscillator Version Register

§rc80mversion: RC80MVERSION

0x3f4 - 80MHz RC Oscillator Version Register

§gclkifversion: GCLKIFVERSION

0x3f8 - Generic Clock Version Register

§version: VERSION

0x3fc - SCIF 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.