Struct esp32c6::pcr::i2s_rx_clkm_conf::W
source · pub struct W(_);Expand description
Register I2S_RX_CLKM_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn i2s_rx_clkm_div_num(&mut self) -> I2S_RX_CLKM_DIV_NUM_W<'_, 12>
pub fn i2s_rx_clkm_div_num(&mut self) -> I2S_RX_CLKM_DIV_NUM_W<'_, 12>
Bits 12:19 - Integral I2S clock divider value
sourcepub fn i2s_rx_clkm_sel(&mut self) -> I2S_RX_CLKM_SEL_W<'_, 20>
pub fn i2s_rx_clkm_sel(&mut self) -> I2S_RX_CLKM_SEL_W<'_, 20>
Bits 20:21 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in.
sourcepub fn i2s_rx_clkm_en(&mut self) -> I2S_RX_CLKM_EN_W<'_, 22>
pub fn i2s_rx_clkm_en(&mut self) -> I2S_RX_CLKM_EN_W<'_, 22>
Bit 22 - Set 1 to enable i2s_rx function clock
sourcepub fn i2s_mclk_sel(&mut self) -> I2S_MCLK_SEL_W<'_, 23>
pub fn i2s_mclk_sel(&mut self) -> I2S_MCLK_SEL_W<'_, 23>
Bit 23 - This field is used to select master-clock. 0(default): clk_i2s_rx, 1: clk_i2s_tx
Methods from Deref<Target = W<I2S_RX_CLKM_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more