Struct esp32s2::i2s0::sample_rate_conf::R
source · pub struct R(_);Expand description
Register SAMPLE_RATE_CONF reader
Implementations§
source§impl R
impl R
sourcepub fn tx_bck_div_num(&self) -> TX_BCK_DIV_NUM_R
pub fn tx_bck_div_num(&self) -> TX_BCK_DIV_NUM_R
Bits 0:5 - Bit clock configuration bits in transmitter mode.
sourcepub fn rx_bck_div_num(&self) -> RX_BCK_DIV_NUM_R
pub fn rx_bck_div_num(&self) -> RX_BCK_DIV_NUM_R
Bits 6:11 - Bit clock configuration bits in receiver mode.
sourcepub fn tx_bits_mod(&self) -> TX_BITS_MOD_R
pub fn tx_bits_mod(&self) -> TX_BITS_MOD_R
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(&self) -> RX_BITS_MOD_R
pub fn rx_bits_mod(&self) -> RX_BITS_MOD_R
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.
Methods from Deref<Target = R<SAMPLE_RATE_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