Type Alias esp32c3::uart0::id::W

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

Register ID writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn id(&mut self) -> ID_W<'_, ID_SPEC>

Bits 0:29 - This register is used to configure the uart_id.

source

pub fn high_speed(&mut self) -> HIGH_SPEED_W<'_, ID_SPEC>

Bit 30 - This bit used to select synchronize mode. 1: Registers are auto synchronized into UART Core clock and UART core should be keep the same with APB clock. 0: After configure registers, software needs to write 1 to UART_REG_UPDATE to synchronize registers.

source

pub fn reg_update(&mut self) -> REG_UPDATE_W<'_, ID_SPEC>

Bit 31 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done.