Type Alias esp32c6::uhci0::esc_conf3::W

source ·
pub type W = W<ESC_CONF3_SPEC>;
Expand description

Register ESC_CONF3 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn esc_seq2(&mut self) -> ESC_SEQ2_W<'_, ESC_CONF3_SPEC, 0>

Bits 0:7 - Configures the char needing encoding, which is 0x13 as flow control char by default.

source

pub fn esc_seq2_char0(&mut self) -> ESC_SEQ2_CHAR0_W<'_, ESC_CONF3_SPEC, 8>

Bits 8:15 - Configures the first char of SLIP escape character, default value is 0xDB.

source

pub fn esc_seq2_char1(&mut self) -> ESC_SEQ2_CHAR1_W<'_, ESC_CONF3_SPEC, 16>

Bits 16:23 - Configures the second char of SLIP escape character, default value is 0xDF.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual