Type Alias esp32::uhci0::esc_conf0::W

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

Register ESC_CONF0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn seper_char(&mut self) -> SEPER_CHAR_W<'_, ESC_CONF0_SPEC>

Bits 0:7 - This register stores the seperator char seperator char is used to seperate the data frame.

source

pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W<'_, ESC_CONF0_SPEC>

Bits 8:15 - This register stores thee first char used to replace seperator char in data.

source

pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W<'_, ESC_CONF0_SPEC>

Bits 16:23 - This register stores the second char used to replace seperator char in data . 0xdc 0xdb replace 0xc0 by default.

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