RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn losc_ctrl(&self) -> &LOSC_CTRL

0x00 - Low Oscillator Control Register

Source

pub const fn losc_auto_swt_sta(&self) -> &LOSC_AUTO_SWT_STA

0x04 - LOSC Auto Switch Status Register

Source

pub const fn intosc_clk_prescal(&self) -> &INTOSC_CLK_PRESCAL

0x08 - Internal OSC Clock Pre-scalar Register

Source

pub const fn rtc_day(&self) -> &RTC_DAY

0x10 - RTC Year-Month-Day Register

Source

pub const fn rtc_hh_mm_ss(&self) -> &RTC_HH_MM_SS

0x14 - RTC Hour-Minute-Second Register

Source

pub const fn alarm0_day_set(&self) -> &ALARM0_DAY_SET

0x20 - Alarm 0 Day Setting Register

Source

pub const fn alarm0_cur_vlu(&self) -> &ALARM0_CUR_VLU

0x24 - Alarm 0 Counter Current Value Register

Source

pub const fn alarm0_enable(&self) -> &ALARM0_ENABLE

0x28 - Alarm 0 Enable Register

Source

pub const fn alarm0_irq_en(&self) -> &ALARM0_IRQ_EN

0x2c - Alarm 0 IRQ Enable Register

Source

pub const fn alarm0_irq_sta(&self) -> &ALARM0_IRQ_STA

0x30 - Alarm 0 IRQ Status Register

Source

pub const fn alarm_config(&self) -> &ALARM_CONFIG

0x50 - Alarm Configuration Register

Source

pub const fn fout_32k_ctrl_gating(&self) -> &FOUT_32K_CTRL_GATING

0x60 - 32K Fanout Control Gating Register

Source

pub const fn gp_data(&self, n: usize) -> &GP_DATA

0x100..0x120 - General Purpose Register

Source

pub const fn fboot_info(&self, n: usize) -> &FBOOT_INFO

0x120..0x128 - Fast Boot Information Register [01]

Source

pub const fn dcxo_ctrl(&self) -> &DCXO_CTRL

0x160 - DCXO Control Register

Source

pub const fn rtc_vio(&self) -> &RTC_VIO

0x190 - RTC_VIO Regulation Register

Source

pub const fn ic_chara(&self) -> &IC_CHARA

0x1f0 - IC Characteristic Register

Source

pub const fn vdd_off_gating_ctrl(&self) -> &VDD_OFF_GATING_CTRL

0x1f4 - VDD Off Gating Control Register

Source

pub const fn efuse_hv_pwrswt_ctrl(&self) -> &EFUSE_HV_PWRSWT_CTRL

0x204 - Efuse High Voltage Power Switch Control Register

Source

pub const fn rtc_spi_clk_ctrl(&self) -> &RTC_SPI_CLK_CTRL

0x310 - RTC SPI Clock 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.