Type Alias esp32c6::pcr::ds_conf::W

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

Register DS_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ds_clk_en(&mut self) -> DS_CLK_EN_W<'_, DS_CONF_SPEC>

Bit 0 - Set 1 to enable ds clock

source

pub fn ds_rst_en(&mut self) -> DS_RST_EN_W<'_, DS_CONF_SPEC>

Bit 1 - Set 0 to reset ds module

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