esp32h2::uart0::sleep_conf2

Type Alias R

Source
pub type R = R<SLEEP_CONF2_SPEC>;
Expand description

Register SLEEP_CONF2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn active_threshold(&self) -> ACTIVE_THRESHOLD_R

Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value.

Source

pub fn rx_wake_up_thrhd(&self) -> RX_WAKE_UP_THRHD_R

Bits 10:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip.

Source

pub fn wk_char_num(&self) -> WK_CHAR_NUM_R

Bits 18:20 - This register is used to select number of wake up char.

Source

pub fn wk_char_mask(&self) -> WK_CHAR_MASK_R

Bits 21:25 - This register is used to mask wake up char.

Source

pub fn wk_mode_sel(&self) -> WK_MODE_SEL_R

Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than