W

Type Alias W 

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

Register SLEEP_CONF2 writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W<'_, SLEEP_CONF2_SPEC>

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(&mut self) -> RX_WAKE_UP_THRHD_W<'_, SLEEP_CONF2_SPEC>

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(&mut self) -> WK_CHAR_NUM_W<'_, SLEEP_CONF2_SPEC>

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

Source

pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W<'_, SLEEP_CONF2_SPEC>

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

Source

pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W<'_, SLEEP_CONF2_SPEC>

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