RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn bod_mode0_cntl(&self) -> &BOD_MODE0_CNTL

0x00 - need_des

Source

pub const fn bod_mode1_cntl(&self) -> &BOD_MODE1_CNTL

0x04 - need_des

Source

pub const fn vdd_source_cntl(&self) -> &VDD_SOURCE_CNTL

0x08 - need_des

Source

pub const fn vddbat_bod_cntl(&self) -> &VDDBAT_BOD_CNTL

0x0c - need_des

Source

pub const fn vddbat_charge_cntl(&self) -> &VDDBAT_CHARGE_CNTL

0x10 - need_des

Source

pub const fn ck_glitch_cntl(&self) -> &CK_GLITCH_CNTL

0x14 - need_des

Source

pub const fn pg_glitch_cntl(&self) -> &PG_GLITCH_CNTL

0x18 - need_des

Source

pub const fn fib_enable(&self) -> &FIB_ENABLE

0x1c - need_des

Source

pub const fn int_raw(&self) -> &INT_RAW

0x20 - need_des

Source

pub const fn int_st(&self) -> &INT_ST

0x24 - need_des

Source

pub const fn int_ena(&self) -> &INT_ENA

0x28 - need_des

Source

pub const fn int_clr(&self) -> &INT_CLR

0x2c - need_des

Source

pub const fn lp_int_raw(&self) -> &LP_INT_RAW

0x30 - need_des

Source

pub const fn lp_int_st(&self) -> &LP_INT_ST

0x34 - need_des

Source

pub const fn lp_int_ena(&self) -> &LP_INT_ENA

0x38 - need_des

Source

pub const fn lp_int_clr(&self) -> &LP_INT_CLR

0x3c - need_des

Source

pub const fn touch_approach_work_meas_num( &self, ) -> &TOUCH_APPROACH_WORK_MEAS_NUM

0xfc - need_des

Source

pub const fn touch_scan_ctrl1(&self) -> &TOUCH_SCAN_CTRL1

0x100 - need_des

Source

pub const fn touch_scan_ctrl2(&self) -> &TOUCH_SCAN_CTRL2

0x104 - need_des

Source

pub const fn touch_work(&self) -> &TOUCH_WORK

0x108 - need_des

Source

pub const fn touch_work_meas_num(&self) -> &TOUCH_WORK_MEAS_NUM

0x10c - need_des

Source

pub const fn touch_filter1(&self) -> &TOUCH_FILTER1

0x110 - need_des

Source

pub const fn touch_filter2(&self) -> &TOUCH_FILTER2

0x114 - need_des

Source

pub const fn touch_filter3(&self) -> &TOUCH_FILTER3

0x118 - need_des

Source

pub const fn touch_slp0(&self) -> &TOUCH_SLP0

0x11c - need_des

Source

pub const fn touch_slp1(&self) -> &TOUCH_SLP1

0x120 - need_des

Source

pub const fn touch_clr(&self) -> &TOUCH_CLR

0x124 - need_des

Source

pub const fn touch_approach(&self) -> &TOUCH_APPROACH

0x128 - need_des

Source

pub const fn touch_freq0_scan_para(&self) -> &TOUCH_FREQ0_SCAN_PARA

0x12c - need_des

Source

pub const fn touch_freq1_scan_para(&self) -> &TOUCH_FREQ1_SCAN_PARA

0x130 - need_des

Source

pub const fn touch_freq2_scan_para(&self) -> &TOUCH_FREQ2_SCAN_PARA

0x134 - need_des

Source

pub const fn touch_ana_para(&self) -> &TOUCH_ANA_PARA

0x138 - need_des

Source

pub const fn touch_mux0(&self) -> &TOUCH_MUX0

0x13c - need_des

Source

pub const fn touch_mux1(&self) -> &TOUCH_MUX1

0x140 - need_des

Source

pub const fn touch_pad0_th0(&self) -> &TOUCH_PAD0_TH0

0x144 - need_des

Source

pub const fn touch_pad0_th1(&self) -> &TOUCH_PAD0_TH1

0x148 - need_des

Source

pub const fn touch_pad0_th2(&self) -> &TOUCH_PAD0_TH2

0x14c - need_des

Source

pub const fn touch_pad1_th0(&self) -> &TOUCH_PAD1_TH0

0x150 - need_des

Source

pub const fn touch_pad1_th1(&self) -> &TOUCH_PAD1_TH1

0x154 - need_des

Source

pub const fn touch_pad1_th2(&self) -> &TOUCH_PAD1_TH2

0x158 - need_des

Source

pub const fn touch_pad2_th0(&self) -> &TOUCH_PAD2_TH0

0x15c - need_des

Source

pub const fn touch_pad2_th1(&self) -> &TOUCH_PAD2_TH1

0x160 - need_des

Source

pub const fn touch_pad2_th2(&self) -> &TOUCH_PAD2_TH2

0x164 - need_des

Source

pub const fn touch_pad3_th0(&self) -> &TOUCH_PAD3_TH0

0x168 - need_des

Source

pub const fn touch_pad3_th1(&self) -> &TOUCH_PAD3_TH1

0x16c - need_des

Source

pub const fn touch_pad3_th2(&self) -> &TOUCH_PAD3_TH2

0x170 - need_des

Source

pub const fn touch_pad4_th0(&self) -> &TOUCH_PAD4_TH0

0x174 - need_des

Source

pub const fn touch_pad4_th1(&self) -> &TOUCH_PAD4_TH1

0x178 - need_des

Source

pub const fn touch_pad4_th2(&self) -> &TOUCH_PAD4_TH2

0x17c - need_des

Source

pub const fn touch_pad5_th0(&self) -> &TOUCH_PAD5_TH0

0x180 - need_des

Source

pub const fn touch_pad5_th1(&self) -> &TOUCH_PAD5_TH1

0x184 - need_des

Source

pub const fn touch_pad5_th2(&self) -> &TOUCH_PAD5_TH2

0x188 - need_des

Source

pub const fn touch_pad6_th0(&self) -> &TOUCH_PAD6_TH0

0x18c - need_des

Source

pub const fn touch_pad6_th1(&self) -> &TOUCH_PAD6_TH1

0x190 - need_des

Source

pub const fn touch_pad6_th2(&self) -> &TOUCH_PAD6_TH2

0x194 - need_des

Source

pub const fn touch_pad7_th0(&self) -> &TOUCH_PAD7_TH0

0x198 - need_des

Source

pub const fn touch_pad7_th1(&self) -> &TOUCH_PAD7_TH1

0x19c - need_des

Source

pub const fn touch_pad7_th2(&self) -> &TOUCH_PAD7_TH2

0x1a0 - need_des

Source

pub const fn touch_pad8_th0(&self) -> &TOUCH_PAD8_TH0

0x1a4 - need_des

Source

pub const fn touch_pad8_th1(&self) -> &TOUCH_PAD8_TH1

0x1a8 - need_des

Source

pub const fn touch_pad8_th2(&self) -> &TOUCH_PAD8_TH2

0x1ac - need_des

Source

pub const fn touch_pad9_th0(&self) -> &TOUCH_PAD9_TH0

0x1b0 - need_des

Source

pub const fn touch_pad9_th1(&self) -> &TOUCH_PAD9_TH1

0x1b4 - need_des

Source

pub const fn touch_pad9_th2(&self) -> &TOUCH_PAD9_TH2

0x1b8 - need_des

Source

pub const fn touch_pad10_th0(&self) -> &TOUCH_PAD10_TH0

0x1bc - need_des

Source

pub const fn touch_pad10_th1(&self) -> &TOUCH_PAD10_TH1

0x1c0 - need_des

Source

pub const fn touch_pad10_th2(&self) -> &TOUCH_PAD10_TH2

0x1c4 - need_des

Source

pub const fn touch_pad11_th0(&self) -> &TOUCH_PAD11_TH0

0x1c8 - need_des

Source

pub const fn touch_pad11_th1(&self) -> &TOUCH_PAD11_TH1

0x1cc - need_des

Source

pub const fn touch_pad11_th2(&self) -> &TOUCH_PAD11_TH2

0x1d0 - need_des

Source

pub const fn touch_pad12_th0(&self) -> &TOUCH_PAD12_TH0

0x1d4 - need_des

Source

pub const fn touch_pad12_th1(&self) -> &TOUCH_PAD12_TH1

0x1d8 - need_des

Source

pub const fn touch_pad12_th2(&self) -> &TOUCH_PAD12_TH2

0x1dc - need_des

Source

pub const fn touch_pad13_th0(&self) -> &TOUCH_PAD13_TH0

0x1e0 - need_des

Source

pub const fn touch_pad13_th1(&self) -> &TOUCH_PAD13_TH1

0x1e4 - need_des

Source

pub const fn touch_pad13_th2(&self) -> &TOUCH_PAD13_TH2

0x1e8 - need_des

Source

pub const fn touch_pad14_th0(&self) -> &TOUCH_PAD14_TH0

0x1ec - need_des

Source

pub const fn touch_pad14_th1(&self) -> &TOUCH_PAD14_TH1

0x1f0 - need_des

Source

pub const fn touch_pad14_th2(&self) -> &TOUCH_PAD14_TH2

0x1f4 - need_des

Source

pub const fn date(&self) -> &DATE

0x3fc - need_des

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.