Type Alias esp32h2::uart0::clk_conf::W

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

Register CLK_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W<'_, CLK_CONF_SPEC>

Bit 24 - Set this bit to enable UART Tx clock.

source

pub fn sclk_en(&mut self) -> SCLK_EN_W<'_, CLK_CONF_SPEC>

Bit 25 - Set this bit to enable UART Rx clock.

source

pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W<'_, CLK_CONF_SPEC>

Bit 26 - Write 1 then write 0 to this bit to reset UART Tx.

source

pub fn rst_core(&mut self) -> RST_CORE_W<'_, CLK_CONF_SPEC>

Bit 27 - Write 1 then write 0 to this bit to reset UART Rx.

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