Type Alias esp32::apb_ctrl::sysclk_conf::W

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

Register SYSCLK_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W<'_, SYSCLK_CONF_SPEC>

Bits 0:9

source

pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W<'_, SYSCLK_CONF_SPEC>

Bit 10

source

pub fn clk_en(&mut self) -> CLK_EN_W<'_, SYSCLK_CONF_SPEC>

Bit 11

source

pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W<'_, SYSCLK_CONF_SPEC>

Bit 12

source

pub fn quick_clk_chng(&mut self) -> QUICK_CLK_CHNG_W<'_, SYSCLK_CONF_SPEC>

Bit 13

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