Struct esp32s3_hal::peripherals::I2S0
source · pub struct I2S0 { /* private fields */ }
Implementations§
source§impl I2S0
impl I2S0
sourcepub unsafe fn steal() -> I2S0
pub unsafe fn steal() -> I2S0
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>
0x0c - I2S interrupt raw register, valid in level.
sourcepub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x10 - I2S interrupt status register.
sourcepub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x14 - I2S interrupt enable register.
sourcepub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x18 - I2S interrupt clear register.
sourcepub fn rx_conf(&self) -> &Reg<RX_CONF_SPEC>
pub fn rx_conf(&self) -> &Reg<RX_CONF_SPEC>
0x20 - I2S RX configure register
sourcepub fn tx_conf(&self) -> &Reg<TX_CONF_SPEC>
pub fn tx_conf(&self) -> &Reg<TX_CONF_SPEC>
0x24 - I2S TX configure register
sourcepub fn rx_conf1(&self) -> &Reg<RX_CONF1_SPEC>
pub fn rx_conf1(&self) -> &Reg<RX_CONF1_SPEC>
0x28 - I2S RX configure register 1
sourcepub fn tx_conf1(&self) -> &Reg<TX_CONF1_SPEC>
pub fn tx_conf1(&self) -> &Reg<TX_CONF1_SPEC>
0x2c - I2S TX configure register 1
sourcepub fn rx_clkm_conf(&self) -> &Reg<RX_CLKM_CONF_SPEC>
pub fn rx_clkm_conf(&self) -> &Reg<RX_CLKM_CONF_SPEC>
0x30 - I2S RX clock configure register
sourcepub fn tx_clkm_conf(&self) -> &Reg<TX_CLKM_CONF_SPEC>
pub fn tx_clkm_conf(&self) -> &Reg<TX_CLKM_CONF_SPEC>
0x34 - I2S TX clock configure register
sourcepub fn rx_clkm_div_conf(&self) -> &Reg<RX_CLKM_DIV_CONF_SPEC>
pub fn rx_clkm_div_conf(&self) -> &Reg<RX_CLKM_DIV_CONF_SPEC>
0x38 - I2S RX module clock divider configure register
sourcepub fn tx_clkm_div_conf(&self) -> &Reg<TX_CLKM_DIV_CONF_SPEC>
pub fn tx_clkm_div_conf(&self) -> &Reg<TX_CLKM_DIV_CONF_SPEC>
0x3c - I2S TX module clock divider configure register
sourcepub fn tx_pcm2pdm_conf(&self) -> &Reg<TX_PCM2PDM_CONF_SPEC>
pub fn tx_pcm2pdm_conf(&self) -> &Reg<TX_PCM2PDM_CONF_SPEC>
0x40 - I2S TX PCM2PDM configuration register
sourcepub fn tx_pcm2pdm_conf1(&self) -> &Reg<TX_PCM2PDM_CONF1_SPEC>
pub fn tx_pcm2pdm_conf1(&self) -> &Reg<TX_PCM2PDM_CONF1_SPEC>
0x44 - I2S TX PCM2PDM configuration register
sourcepub fn rx_tdm_ctrl(&self) -> &Reg<RX_TDM_CTRL_SPEC>
pub fn rx_tdm_ctrl(&self) -> &Reg<RX_TDM_CTRL_SPEC>
0x50 - I2S TX TDM mode control register
sourcepub fn tx_tdm_ctrl(&self) -> &Reg<TX_TDM_CTRL_SPEC>
pub fn tx_tdm_ctrl(&self) -> &Reg<TX_TDM_CTRL_SPEC>
0x54 - I2S TX TDM mode control register
sourcepub fn rx_timing(&self) -> &Reg<RX_TIMING_SPEC>
pub fn rx_timing(&self) -> &Reg<RX_TIMING_SPEC>
0x58 - I2S RX timing control register
sourcepub fn tx_timing(&self) -> &Reg<TX_TIMING_SPEC>
pub fn tx_timing(&self) -> &Reg<TX_TIMING_SPEC>
0x5c - I2S TX timing control register
sourcepub fn lc_hung_conf(&self) -> &Reg<LC_HUNG_CONF_SPEC>
pub fn lc_hung_conf(&self) -> &Reg<LC_HUNG_CONF_SPEC>
0x60 - I2S HUNG configure register.
sourcepub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
pub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
0x64 - I2S RX data number control register.
sourcepub fn conf_sigle_data(&self) -> &Reg<CONF_SIGLE_DATA_SPEC>
pub fn conf_sigle_data(&self) -> &Reg<CONF_SIGLE_DATA_SPEC>
0x68 - I2S signal data register
sourcepub fn state(&self) -> &Reg<STATE_SPEC>
pub fn state(&self) -> &Reg<STATE_SPEC>
0x6c - I2S TX status register