Type Alias esp32h2::pcr::uart1_conf::W
source · pub type W = W<UART1_CONF_SPEC>;
Expand description
Register UART1_CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W<'_, UART1_CONF_SPEC, 0>
pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W<'_, UART1_CONF_SPEC, 0>
Bit 0 - Set 1 to enable uart1 apb clock
sourcepub fn uart1_rst_en(&mut self) -> UART1_RST_EN_W<'_, UART1_CONF_SPEC, 1>
pub fn uart1_rst_en(&mut self) -> UART1_RST_EN_W<'_, UART1_CONF_SPEC, 1>
Bit 1 - Set 0 to reset uart1 module