Type Alias esp32c3::i2s0::tx_tdm_ctrl::W

source ·
pub type W = W<TX_TDM_CTRL_SPEC>;
Expand description

Register TX_TDM_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W<'_, TX_TDM_CTRL_SPEC>

Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel.

source

pub fn tx_tdm_tot_chan_num( &mut self ) -> TX_TDM_TOT_CHAN_NUM_W<'_, TX_TDM_CTRL_SPEC>

Bits 16:19 - The total channel number of I2S TX TDM mode.

source

pub fn tx_tdm_skip_msk_en( &mut self ) -> TX_TDM_SKIP_MSK_EN_W<'_, TX_TDM_CTRL_SPEC>

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.