Struct esp32s3_hal::pac::i2s1::tx_tdm_ctrl::R
pub struct R(_);
Expand description
Register TX_TDM_CTRL
reader
Implementations§
§impl R
impl R
pub fn tx_tdm_chan0_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan0_en(&self) -> BitReaderRaw<bool>
Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan1_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan1_en(&self) -> BitReaderRaw<bool>
Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan2_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan2_en(&self) -> BitReaderRaw<bool>
Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan3_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan3_en(&self) -> BitReaderRaw<bool>
Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan4_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan4_en(&self) -> BitReaderRaw<bool>
Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan5_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan5_en(&self) -> BitReaderRaw<bool>
Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan6_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan6_en(&self) -> BitReaderRaw<bool>
Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan7_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan7_en(&self) -> BitReaderRaw<bool>
Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan8_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan8_en(&self) -> BitReaderRaw<bool>
Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan9_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan9_en(&self) -> BitReaderRaw<bool>
Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan10_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan10_en(&self) -> BitReaderRaw<bool>
Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan11_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan11_en(&self) -> BitReaderRaw<bool>
Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan12_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan12_en(&self) -> BitReaderRaw<bool>
Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan13_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan13_en(&self) -> BitReaderRaw<bool>
Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan14_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan14_en(&self) -> BitReaderRaw<bool>
Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_chan15_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_chan15_en(&self) -> BitReaderRaw<bool>
Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel.
pub fn tx_tdm_tot_chan_num(&self) -> FieldReaderRaw<u8, u8>
pub fn tx_tdm_tot_chan_num(&self) -> FieldReaderRaw<u8, u8>
Bits 16:19 - The total channel number of I2S TX TDM mode.
pub fn tx_tdm_skip_msk_en(&self) -> BitReaderRaw<bool>
pub fn tx_tdm_skip_msk_en(&self) -> BitReaderRaw<bool>
Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels.
Methods from Deref<Target = R<TX_TDM_CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.