Struct esp32h2::pcr::i2s_tx_clkm_conf::W   
source · pub struct W(_);Expand description
Register I2S_TX_CLKM_CONF writer
Implementations§
source§impl W
 
impl W
sourcepub fn i2s_tx_clkm_div_num(&mut self) -> I2S_TX_CLKM_DIV_NUM_W<'_, 12>
 
pub fn i2s_tx_clkm_div_num(&mut self) -> I2S_TX_CLKM_DIV_NUM_W<'_, 12>
Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * [x * n-div + (n+1)-div] + y * n-div. For b > a/2, z * [n-div + x * (n+1)-div] + y * (n+1)-div.
sourcepub fn i2s_tx_clkm_sel(&mut self) -> I2S_TX_CLKM_SEL_W<'_, 20>
 
pub fn i2s_tx_clkm_sel(&mut self) -> I2S_TX_CLKM_SEL_W<'_, 20>
Bits 20:21 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in.
sourcepub fn i2s_tx_clkm_en(&mut self) -> I2S_TX_CLKM_EN_W<'_, 22>
 
pub fn i2s_tx_clkm_en(&mut self) -> I2S_TX_CLKM_EN_W<'_, 22>
Bit 22 - Set 1 to enable i2s_tx function clock
Methods from Deref<Target = W<I2S_TX_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