RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn pmc_scer(&self) -> &PmcScer

0x00 - System Clock Enable Register

Source

pub const fn pmc_scdr(&self) -> &PmcScdr

0x04 - System Clock Disable Register

Source

pub const fn pmc_scsr(&self) -> &PmcScsr

0x08 - System Clock Status Register

Source

pub const fn pmc_pcer0(&self) -> &PmcPcer0

0x10 - Peripheral Clock Enable Register 0

Source

pub const fn pmc_pcdr0(&self) -> &PmcPcdr0

0x14 - Peripheral Clock Disable Register 0

Source

pub const fn pmc_pcsr0(&self) -> &PmcPcsr0

0x18 - Peripheral Clock Status Register 0

Source

pub const fn ckgr_uckr(&self) -> &CkgrUckr

0x1c - UTMI Clock Register

Source

pub const fn ckgr_mor(&self) -> &CkgrMor

0x20 - Main Oscillator Register

Source

pub const fn ckgr_mcfr(&self) -> &CkgrMcfr

0x24 - Main Clock Frequency Register

Source

pub const fn ckgr_pllar(&self) -> &CkgrPllar

0x28 - PLLA Register

Source

pub const fn pmc_mckr(&self) -> &PmcMckr

0x30 - Master Clock Register

Source

pub const fn pmc_usb(&self) -> &PmcUsb

0x38 - USB Clock Register

Source

pub const fn pmc_pck0(&self) -> &PmcPck0

0x40 - Programmable Clock 0 Register 0

Source

pub const fn pmc_pck1(&self) -> &PmcPck1

0x44 - Programmable Clock 0 Register 1

Source

pub const fn pmc_pck2(&self) -> &PmcPck2

0x48 - Programmable Clock 0 Register 2

Source

pub const fn pmc_ier(&self) -> &PmcIer

0x60 - Interrupt Enable Register

Source

pub const fn pmc_idr(&self) -> &PmcIdr

0x64 - Interrupt Disable Register

Source

pub const fn pmc_sr(&self) -> &PmcSr

0x68 - Status Register

Source

pub const fn pmc_imr(&self) -> &PmcImr

0x6c - Interrupt Mask Register

Source

pub const fn pmc_fsmr(&self) -> &PmcFsmr

0x70 - Fast Start-up Mode Register

Source

pub const fn pmc_fspr(&self) -> &PmcFspr

0x74 - Fast Start-up Polarity Register

Source

pub const fn pmc_focr(&self) -> &PmcFocr

0x78 - Fault Output Clear Register

Source

pub const fn pmc_wpmr(&self) -> &PmcWpmr

0xe4 - Write Protect Mode Register

Source

pub const fn pmc_wpsr(&self) -> &PmcWpsr

0xe8 - Write Protect Status Register

Source

pub const fn pmc_pcer1(&self) -> &PmcPcer1

0x100 - Peripheral Clock Enable Register 1

Source

pub const fn pmc_pcdr1(&self) -> &PmcPcdr1

0x104 - Peripheral Clock Disable Register 1

Source

pub const fn pmc_pcsr1(&self) -> &PmcPcsr1

0x108 - Peripheral Clock Status Register 1

Source

pub const fn pmc_pcr(&self) -> &PmcPcr

0x10c - Peripheral Control 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.