Struct esp32s2::i2s::sample_rate_conf::W
source · pub struct W(_);
Expand description
Register SAMPLE_RATE_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W<'_, 0>
pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W<'_, 0>
Bits 0:5 - Bit clock configuration bits in transmitter mode.
sourcepub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W<'_, 6>
pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W<'_, 6>
Bits 6:11 - Bit clock configuration bits in receiver mode.
sourcepub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W<'_, 12>
pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W<'_, 12>
Bits 12:17 - Set the bits to configure bit length of I2S transmitter channel, the value of which can only be 8, 16, 24 and 32.
sourcepub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W<'_, 18>
pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W<'_, 18>
Bits 18:23 - Set the bits to configure bit length of I2S receiver channel, the value of which can only be 8, 16, 24 and 32.