Struct esp32s3_hal::peripherals::I2S1
source · pub struct I2S1 { /* private fields */ }
Implementations§
source§impl I2S1
impl I2S1
sourcepub unsafe fn steal() -> I2S1
pub unsafe fn steal() -> I2S1
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>§
pub 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.
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x10 - I2S interrupt status register.
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x14 - I2S interrupt enable register.
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x18 - I2S interrupt clear register.
pub fn rx_conf(&self) -> &Reg<RX_CONF_SPEC>
pub fn rx_conf(&self) -> &Reg<RX_CONF_SPEC>
0x20 - I2S RX configure register
pub fn tx_conf(&self) -> &Reg<TX_CONF_SPEC>
pub fn tx_conf(&self) -> &Reg<TX_CONF_SPEC>
0x24 - I2S TX configure register
pub fn rx_conf1(&self) -> &Reg<RX_CONF1_SPEC>
pub fn rx_conf1(&self) -> &Reg<RX_CONF1_SPEC>
0x28 - I2S RX configure register 1
pub fn tx_conf1(&self) -> &Reg<TX_CONF1_SPEC>
pub fn tx_conf1(&self) -> &Reg<TX_CONF1_SPEC>
0x2c - I2S TX configure register 1
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub fn rx_timing(&self) -> &Reg<RX_TIMING_SPEC>
pub fn rx_timing(&self) -> &Reg<RX_TIMING_SPEC>
0x58 - I2S RX timing control register
pub fn tx_timing(&self) -> &Reg<TX_TIMING_SPEC>
pub fn tx_timing(&self) -> &Reg<TX_TIMING_SPEC>
0x5c - I2S TX timing control register
pub 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.
pub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
pub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
0x64 - I2S RX data number control register.
pub 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
pub fn state(&self) -> &Reg<STATE_SPEC>
pub fn state(&self) -> &Reg<STATE_SPEC>
0x6c - I2S TX status register
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x80 - Version control register