Type Alias esp32c6::uhci0::esc_conf1::W

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

Register ESC_CONF1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn esc_seq0(&mut self) -> ESC_SEQ0_W<'_, ESC_CONF1_SPEC>

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

source

pub fn esc_seq0_char0(&mut self) -> ESC_SEQ0_CHAR0_W<'_, ESC_CONF1_SPEC>

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

source

pub fn esc_seq0_char1(&mut self) -> ESC_SEQ0_CHAR1_W<'_, ESC_CONF1_SPEC>

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

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