RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 24 fields verid: Verid, param: Param, _reserved2: [u8; 8], csr: Csr, rccr: Rccr, vccr: Vccr, hccr: Hccr, clkoutcnfg: Clkoutcnfg, _reserved7: [u8; 220], sosccsr: Sosccsr, soscdiv: Soscdiv, sosccfg: Sosccfg, _reserved10: [u8; 244], sirccsr: Sirccsr, sircdiv: Sircdiv, sirccfg: Sirccfg, _reserved13: [u8; 244], firccsr: Firccsr, fircdiv: Fircdiv, firccfg: Firccfg, _reserved16: [u8; 756], spllcsr: Spllcsr, splldiv: Splldiv, spllcfg: Spllcfg,
}
Expand description

Register block

Fields§

§verid: Verid§param: Param§_reserved2: [u8; 8]§csr: Csr§rccr: Rccr§vccr: Vccr§hccr: Hccr§clkoutcnfg: Clkoutcnfg§_reserved7: [u8; 220]§sosccsr: Sosccsr§soscdiv: Soscdiv§sosccfg: Sosccfg§_reserved10: [u8; 244]§sirccsr: Sirccsr§sircdiv: Sircdiv§sirccfg: Sirccfg§_reserved13: [u8; 244]§firccsr: Firccsr§fircdiv: Fircdiv§firccfg: Firccfg§_reserved16: [u8; 756]§spllcsr: Spllcsr§splldiv: Splldiv§spllcfg: Spllcfg

Implementations§

§

impl RegisterBlock

pub const fn verid(&self) -> &Verid

0x00 - Version ID Register

pub const fn param(&self) -> &Param

0x04 - Parameter Register

pub const fn csr(&self) -> &Csr

0x10 - Clock Status Register

pub const fn rccr(&self) -> &Rccr

0x14 - Run Clock Control Register

pub const fn vccr(&self) -> &Vccr

0x18 - VLPR Clock Control Register

pub const fn hccr(&self) -> &Hccr

0x1c - HSRUN Clock Control Register

pub const fn clkoutcnfg(&self) -> &Clkoutcnfg

0x20 - SCG CLKOUT Configuration Register

pub const fn sosccsr(&self) -> &Sosccsr

0x100 - System OSC Control Status Register

pub const fn soscdiv(&self) -> &Soscdiv

0x104 - System OSC Divide Register

pub const fn sosccfg(&self) -> &Sosccfg

0x108 - System Oscillator Configuration Register

pub const fn sirccsr(&self) -> &Sirccsr

0x200 - Slow IRC Control Status Register

pub const fn sircdiv(&self) -> &Sircdiv

0x204 - Slow IRC Divide Register

pub const fn sirccfg(&self) -> &Sirccfg

0x208 - Slow IRC Configuration Register

pub const fn firccsr(&self) -> &Firccsr

0x300 - Fast IRC Control Status Register

pub const fn fircdiv(&self) -> &Fircdiv

0x304 - Fast IRC Divide Register

pub const fn firccfg(&self) -> &Firccfg

0x308 - Fast IRC Configuration Register

pub const fn spllcsr(&self) -> &Spllcsr

0x600 - System PLL Control Status Register

pub const fn splldiv(&self) -> &Splldiv

0x604 - System PLL Divide Register

pub const fn spllcfg(&self) -> &Spllcfg

0x608 - System PLL Configuration Register

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.