Type Alias esp32c6::pcr::i2s_conf::W

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

Register I2S_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn i2s_clk_en(&mut self) -> I2S_CLK_EN_W<'_, I2S_CONF_SPEC>

Bit 0 - Set 1 to enable i2s apb clock

source

pub fn i2s_rst_en(&mut self) -> I2S_RST_EN_W<'_, I2S_CONF_SPEC>

Bit 1 - Set 0 to reset i2s 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