Skip to main content

RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn out(&self) -> &OUT

0x00 - RTC GPIO 0 ~ 21 output data register

Source

pub const fn out_w1ts(&self) -> &OUT_W1TS

0x04 - one set RTC GPIO output data

Source

pub const fn out_w1tc(&self) -> &OUT_W1TC

0x08 - one clear RTC GPIO output data

Source

pub const fn enable(&self) -> &ENABLE

0x0c - Configure RTC GPIO output enable

Source

pub const fn enable_w1ts(&self) -> &ENABLE_W1TS

0x10 - one set RTC GPIO output enable

Source

pub const fn enable_w1tc(&self) -> &ENABLE_W1TC

0x14 - one clear RTC GPIO output enable

Source

pub const fn status(&self) -> &STATUS

0x18 - RTC GPIO 0 ~ 21 interrupt status

Source

pub const fn status_w1ts(&self) -> &STATUS_W1TS

0x1c - One set RTC GPIO 0 ~ 21 interrupt status

Source

pub const fn status_w1tc(&self) -> &STATUS_W1TC

0x20 - One clear RTC GPIO 0 ~ 21 interrupt status

Source

pub const fn in_(&self) -> &IN

0x24 - RTC GPIO input data

Source

pub const fn pin0(&self) -> &PIN0

0x28 - configure RTC GPIO0

Source

pub const fn pin1(&self) -> &PIN1

0x2c - configure RTC GPIO1

Source

pub const fn pin2(&self) -> &PIN2

0x30 - configure RTC GPIO2

Source

pub const fn pin3(&self) -> &PIN3

0x34 - configure RTC GPIO3

Source

pub const fn pin4(&self) -> &PIN4

0x38 - configure RTC GPIO4

Source

pub const fn pin5(&self) -> &PIN5

0x3c - configure RTC GPIO5

Source

pub const fn pin6(&self) -> &PIN6

0x40 - configure RTC GPIO6

Source

pub const fn pin7(&self) -> &PIN7

0x44 - configure RTC GPIO7

Source

pub const fn pin8(&self) -> &PIN8

0x48 - configure RTC GPIO8

Source

pub const fn pin9(&self) -> &PIN9

0x4c - configure RTC GPIO9

Source

pub const fn pin10(&self) -> &PIN10

0x50 - configure RTC GPIO10

Source

pub const fn pin11(&self) -> &PIN11

0x54 - configure RTC GPIO11

Source

pub const fn pin12(&self) -> &PIN12

0x58 - configure RTC GPIO12

Source

pub const fn pin13(&self) -> &PIN13

0x5c - configure RTC GPIO13

Source

pub const fn pin14(&self) -> &PIN14

0x60 - configure RTC GPIO14

Source

pub const fn pin15(&self) -> &PIN15

0x64 - configure RTC GPIO15

Source

pub const fn pin16(&self) -> &PIN16

0x68 - configure RTC GPIO16

Source

pub const fn pin17(&self) -> &PIN17

0x6c - configure RTC GPIO17

Source

pub const fn pin18(&self) -> &PIN18

0x70 - configure RTC GPIO18

Source

pub const fn pin19(&self) -> &PIN19

0x74 - configure RTC GPIO19

Source

pub const fn pin20(&self) -> &PIN20

0x78 - configure RTC GPIO20

Source

pub const fn pin21(&self) -> &PIN21

0x7c - configure RTC GPIO21

Source

pub const fn rtc_debug_sel(&self) -> &RTC_DEBUG_SEL

0x80 - configure rtc debug

Source

pub const fn touch_pad0(&self) -> &TOUCH_PAD0

0x84 - configure RTC PAD0

Source

pub const fn touch_pad1(&self) -> &TOUCH_PAD1

0x88 - configure RTC PAD1

Source

pub const fn touch_pad2(&self) -> &TOUCH_PAD2

0x8c - configure RTC PAD2

Source

pub const fn touch_pad3(&self) -> &TOUCH_PAD3

0x90 - configure RTC PAD3

Source

pub const fn touch_pad4(&self) -> &TOUCH_PAD4

0x94 - configure RTC PAD4

Source

pub const fn touch_pad5(&self) -> &TOUCH_PAD5

0x98 - configure RTC PAD5

Source

pub const fn touch_pad6(&self) -> &TOUCH_PAD6

0x9c - configure RTC PAD6

Source

pub const fn touch_pad7(&self) -> &TOUCH_PAD7

0xa0 - configure RTC PAD7

Source

pub const fn touch_pad8(&self) -> &TOUCH_PAD8

0xa4 - configure RTC PAD8

Source

pub const fn touch_pad9(&self) -> &TOUCH_PAD9

0xa8 - configure RTC PAD9

Source

pub const fn touch_pad10(&self) -> &TOUCH_PAD10

0xac - configure RTC PAD10

Source

pub const fn touch_pad11(&self) -> &TOUCH_PAD11

0xb0 - configure RTC PAD11

Source

pub const fn touch_pad12(&self) -> &TOUCH_PAD12

0xb4 - configure RTC PAD12

Source

pub const fn touch_pad13(&self) -> &TOUCH_PAD13

0xb8 - configure RTC PAD13

Source

pub const fn touch_pad14(&self) -> &TOUCH_PAD14

0xbc - configure RTC PAD14

Source

pub const fn xtal_32p_pad(&self) -> &XTAL_32P_PAD

0xc0 - configure RTC PAD15

Source

pub const fn xtal_32n_pad(&self) -> &XTAL_32N_PAD

0xc4 - configure RTC PAD16

Source

pub const fn pad_dac1(&self) -> &PAD_DAC1

0xc8 - configure RTC PAD17

Source

pub const fn pad_dac2(&self) -> &PAD_DAC2

0xcc - configure RTC PAD18

Source

pub const fn rtc_pad19(&self) -> &RTC_PAD19

0xd0 - configure RTC PAD19

Source

pub const fn rtc_pad20(&self) -> &RTC_PAD20

0xd4 - configure RTC PAD20

Source

pub const fn rtc_pad21(&self) -> &RTC_PAD21

0xd8 - configure RTC PAD21

Source

pub const fn ext_wakeup0(&self) -> &EXT_WAKEUP0

0xdc - configure EXT0 wakeup

Source

pub const fn xtl_ext_ctr(&self) -> &XTL_EXT_CTR

0xe0 - configure gpio pd XTAL

Source

pub const fn sar_i2c_io(&self) -> &SAR_I2C_IO

0xe4 - configure rtc i2c mux

Source

pub const fn touch_ctrl(&self) -> &TOUCH_CTRL

0xe8 - configure touch pad bufmode

Source

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

0x1fc - version

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.