Type Alias esp32s3::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>

Bits 0:7 - This register is used to define a char that need to be decoded, default is 0x13 that used as flow control char.

source

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

Bits 8:15 - This register is used to define the first char of slip escape sequence when encoding the UHCI_ESC_SEQ2, default is 0xdb.

source

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

Bits 16:23 - This register is used to define the second char of slip escape sequence when encoding the UHCI_ESC_SEQ2, default 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