Struct esp32_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 -
sourcepub fn int_st(&self) -> &Reg<INT_ST_SPEC>
pub fn int_st(&self) -> &Reg<INT_ST_SPEC>
0x10 -
sourcepub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>
0x14 -
sourcepub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>
0x18 -
sourcepub fn timing(&self) -> &Reg<TIMING_SPEC>
pub fn timing(&self) -> &Reg<TIMING_SPEC>
0x1c -
sourcepub fn fifo_conf(&self) -> &Reg<FIFO_CONF_SPEC>
pub fn fifo_conf(&self) -> &Reg<FIFO_CONF_SPEC>
0x20 -
sourcepub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
pub fn rxeof_num(&self) -> &Reg<RXEOF_NUM_SPEC>
0x24 -
sourcepub fn conf_sigle_data(&self) -> &Reg<CONF_SIGLE_DATA_SPEC>
pub fn conf_sigle_data(&self) -> &Reg<CONF_SIGLE_DATA_SPEC>
0x28 -
sourcepub fn conf_chan(&self) -> &Reg<CONF_CHAN_SPEC>
pub fn conf_chan(&self) -> &Reg<CONF_CHAN_SPEC>
0x2c -
sourcepub fn out_link(&self) -> &Reg<OUT_LINK_SPEC>
pub fn out_link(&self) -> &Reg<OUT_LINK_SPEC>
0x30 -
sourcepub fn in_link(&self) -> &Reg<IN_LINK_SPEC>
pub fn in_link(&self) -> &Reg<IN_LINK_SPEC>
0x34 -
sourcepub fn out_eof_des_addr(&self) -> &Reg<OUT_EOF_DES_ADDR_SPEC>
pub fn out_eof_des_addr(&self) -> &Reg<OUT_EOF_DES_ADDR_SPEC>
0x38 -
sourcepub fn in_eof_des_addr(&self) -> &Reg<IN_EOF_DES_ADDR_SPEC>
pub fn in_eof_des_addr(&self) -> &Reg<IN_EOF_DES_ADDR_SPEC>
0x3c -
sourcepub fn out_eof_bfr_des_addr(&self) -> &Reg<OUT_EOF_BFR_DES_ADDR_SPEC>
pub fn out_eof_bfr_des_addr(&self) -> &Reg<OUT_EOF_BFR_DES_ADDR_SPEC>
0x40 -
sourcepub fn ahb_test(&self) -> &Reg<AHB_TEST_SPEC>
pub fn ahb_test(&self) -> &Reg<AHB_TEST_SPEC>
0x44 -
sourcepub fn inlink_dscr(&self) -> &Reg<INLINK_DSCR_SPEC>
pub fn inlink_dscr(&self) -> &Reg<INLINK_DSCR_SPEC>
0x48 -
sourcepub fn inlink_dscr_bf0(&self) -> &Reg<INLINK_DSCR_BF0_SPEC>
pub fn inlink_dscr_bf0(&self) -> &Reg<INLINK_DSCR_BF0_SPEC>
0x4c -
sourcepub fn inlink_dscr_bf1(&self) -> &Reg<INLINK_DSCR_BF1_SPEC>
pub fn inlink_dscr_bf1(&self) -> &Reg<INLINK_DSCR_BF1_SPEC>
0x50 -
sourcepub fn outlink_dscr(&self) -> &Reg<OUTLINK_DSCR_SPEC>
pub fn outlink_dscr(&self) -> &Reg<OUTLINK_DSCR_SPEC>
0x54 -
sourcepub fn outlink_dscr_bf0(&self) -> &Reg<OUTLINK_DSCR_BF0_SPEC>
pub fn outlink_dscr_bf0(&self) -> &Reg<OUTLINK_DSCR_BF0_SPEC>
0x58 -
sourcepub fn outlink_dscr_bf1(&self) -> &Reg<OUTLINK_DSCR_BF1_SPEC>
pub fn outlink_dscr_bf1(&self) -> &Reg<OUTLINK_DSCR_BF1_SPEC>
0x5c -
sourcepub fn lc_conf(&self) -> &Reg<LC_CONF_SPEC>
pub fn lc_conf(&self) -> &Reg<LC_CONF_SPEC>
0x60 -
sourcepub fn outfifo_push(&self) -> &Reg<OUTFIFO_PUSH_SPEC>
pub fn outfifo_push(&self) -> &Reg<OUTFIFO_PUSH_SPEC>
0x64 -
sourcepub fn infifo_pop(&self) -> &Reg<INFIFO_POP_SPEC>
pub fn infifo_pop(&self) -> &Reg<INFIFO_POP_SPEC>
0x68 -
sourcepub fn lc_state0(&self) -> &Reg<LC_STATE0_SPEC>
pub fn lc_state0(&self) -> &Reg<LC_STATE0_SPEC>
0x6c -
sourcepub fn lc_state1(&self) -> &Reg<LC_STATE1_SPEC>
pub fn lc_state1(&self) -> &Reg<LC_STATE1_SPEC>
0x70 -
sourcepub fn lc_hung_conf(&self) -> &Reg<LC_HUNG_CONF_SPEC>
pub fn lc_hung_conf(&self) -> &Reg<LC_HUNG_CONF_SPEC>
0x74 -
sourcepub fn cvsd_conf0(&self) -> &Reg<CVSD_CONF0_SPEC>
pub fn cvsd_conf0(&self) -> &Reg<CVSD_CONF0_SPEC>
0x80 -
sourcepub fn cvsd_conf1(&self) -> &Reg<CVSD_CONF1_SPEC>
pub fn cvsd_conf1(&self) -> &Reg<CVSD_CONF1_SPEC>
0x84 -
sourcepub fn cvsd_conf2(&self) -> &Reg<CVSD_CONF2_SPEC>
pub fn cvsd_conf2(&self) -> &Reg<CVSD_CONF2_SPEC>
0x88 -
sourcepub fn plc_conf0(&self) -> &Reg<PLC_CONF0_SPEC>
pub fn plc_conf0(&self) -> &Reg<PLC_CONF0_SPEC>
0x8c -
sourcepub fn plc_conf1(&self) -> &Reg<PLC_CONF1_SPEC>
pub fn plc_conf1(&self) -> &Reg<PLC_CONF1_SPEC>
0x90 -
sourcepub fn plc_conf2(&self) -> &Reg<PLC_CONF2_SPEC>
pub fn plc_conf2(&self) -> &Reg<PLC_CONF2_SPEC>
0x94 -
sourcepub fn esco_conf0(&self) -> &Reg<ESCO_CONF0_SPEC>
pub fn esco_conf0(&self) -> &Reg<ESCO_CONF0_SPEC>
0x98 -
sourcepub fn sco_conf0(&self) -> &Reg<SCO_CONF0_SPEC>
pub fn sco_conf0(&self) -> &Reg<SCO_CONF0_SPEC>
0x9c -
sourcepub fn conf1(&self) -> &Reg<CONF1_SPEC>
pub fn conf1(&self) -> &Reg<CONF1_SPEC>
0xa0 -
sourcepub fn pd_conf(&self) -> &Reg<PD_CONF_SPEC>
pub fn pd_conf(&self) -> &Reg<PD_CONF_SPEC>
0xa4 -
sourcepub fn conf2(&self) -> &Reg<CONF2_SPEC>
pub fn conf2(&self) -> &Reg<CONF2_SPEC>
0xa8 -
sourcepub fn clkm_conf(&self) -> &Reg<CLKM_CONF_SPEC>
pub fn clkm_conf(&self) -> &Reg<CLKM_CONF_SPEC>
0xac -
sourcepub fn sample_rate_conf(&self) -> &Reg<SAMPLE_RATE_CONF_SPEC>
pub fn sample_rate_conf(&self) -> &Reg<SAMPLE_RATE_CONF_SPEC>
0xb0 -
sourcepub fn pdm_conf(&self) -> &Reg<PDM_CONF_SPEC>
pub fn pdm_conf(&self) -> &Reg<PDM_CONF_SPEC>
0xb4 -
sourcepub fn pdm_freq_conf(&self) -> &Reg<PDM_FREQ_CONF_SPEC>
pub fn pdm_freq_conf(&self) -> &Reg<PDM_FREQ_CONF_SPEC>
0xb8 -
sourcepub fn state(&self) -> &Reg<STATE_SPEC>
pub fn state(&self) -> &Reg<STATE_SPEC>
0xbc -
Trait Implementations§
source§impl Peripheral for I2S0
impl Peripheral for I2S0
impl RegisterAccess for I2S0
Auto Trait Implementations§
impl RefUnwindSafe for I2S0
impl Send for I2S0
impl Sync for I2S0
impl Unpin for I2S0
impl UnwindSafe for I2S0
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