pub type R = R<SLEEP_CONF2_SPEC>;
Expand description
Register SLEEP_CONF2
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn active_threshold(&self) -> ACTIVE_THRESHOLD_R
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.
Sourcepub fn rx_wake_up_thrhd(&self) -> RX_WAKE_UP_THRHD_R
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.
Sourcepub fn wk_char_num(&self) -> WK_CHAR_NUM_R
pub fn wk_char_num(&self) -> WK_CHAR_NUM_R
Bits 18:20 - This register is used to select number of wake up char.
Sourcepub fn wk_char_mask(&self) -> WK_CHAR_MASK_R
pub fn wk_char_mask(&self) -> WK_CHAR_MASK_R
Bits 21:25 - This register is used to mask wake up char.
Sourcepub fn wk_mode_sel(&self) -> WK_MODE_SEL_R
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