pub struct I2s1 { /* private fields */ }Expand description
I2S1
Implementations§
Source§impl I2s1
impl I2s1
Sourcepub const PTR: *const RegisterBlock = {0x50009000 as *const i2s1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50009000 as *const i2s1::RegisterBlock}
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn tx_pcm_format(&self) -> &TxPcmFormat
pub fn tx_pcm_format(&self) -> &TxPcmFormat
0x10 -
Sourcepub fn tx_pcm_sample_clk(&self) -> &TxPcmSampleClk
pub fn tx_pcm_sample_clk(&self) -> &TxPcmSampleClk
0x20 -
Sourcepub fn tx_rs_smooth(&self) -> &TxRsSmooth
pub fn tx_rs_smooth(&self) -> &TxRsSmooth
0x30 -
Sourcepub fn tx_pcm_ch_sel(&self) -> &TxPcmChSel
pub fn tx_pcm_ch_sel(&self) -> &TxPcmChSel
0x40 -
Sourcepub fn tx_vol_ctrl(&self) -> &TxVolCtrl
pub fn tx_vol_ctrl(&self) -> &TxVolCtrl
0x50 -
Sourcepub fn tx_lr_bal_ctrl(&self) -> &TxLrBalCtrl
pub fn tx_lr_bal_ctrl(&self) -> &TxLrBalCtrl
0x60 -
Sourcepub fn audio_tx_lrck_div(&self) -> &AudioTxLrckDiv
pub fn audio_tx_lrck_div(&self) -> &AudioTxLrckDiv
0x70 -
Sourcepub fn audio_tx_bclk_div(&self) -> &AudioTxBclkDiv
pub fn audio_tx_bclk_div(&self) -> &AudioTxBclkDiv
0x80 -
Sourcepub fn audio_tx_format(&self) -> &AudioTxFormat
pub fn audio_tx_format(&self) -> &AudioTxFormat
0x90 -
Sourcepub fn audio_serial_timing(&self) -> &AudioSerialTiming
pub fn audio_serial_timing(&self) -> &AudioSerialTiming
0xa0 -
Sourcepub fn audio_tx_func_en(&self) -> &AudioTxFuncEn
pub fn audio_tx_func_en(&self) -> &AudioTxFuncEn
0xb0 -
Sourcepub fn audio_tx_pause(&self) -> &AudioTxPause
pub fn audio_tx_pause(&self) -> &AudioTxPause
0xc0 -
Sourcepub fn audio_i2s_sl_merge(&self) -> &AudioI2sSlMerge
pub fn audio_i2s_sl_merge(&self) -> &AudioI2sSlMerge
0xc8 -
Sourcepub fn audio_rx_func_en(&self) -> &AudioRxFuncEn
pub fn audio_rx_func_en(&self) -> &AudioRxFuncEn
0x100 -
Sourcepub fn audio_rx_pause(&self) -> &AudioRxPause
pub fn audio_rx_pause(&self) -> &AudioRxPause
0x110 -
Sourcepub fn audio_rx_serial_timing(&self) -> &AudioRxSerialTiming
pub fn audio_rx_serial_timing(&self) -> &AudioRxSerialTiming
0x120 -
Sourcepub fn audio_rx_pcm_dw(&self) -> &AudioRxPcmDw
pub fn audio_rx_pcm_dw(&self) -> &AudioRxPcmDw
0x130 -
Sourcepub fn audio_rx_lrck_div(&self) -> &AudioRxLrckDiv
pub fn audio_rx_lrck_div(&self) -> &AudioRxLrckDiv
0x140 -
Sourcepub fn audio_rx_bclk_div(&self) -> &AudioRxBclkDiv
pub fn audio_rx_bclk_div(&self) -> &AudioRxBclkDiv
0x150 -
Sourcepub fn record_data_sel(&self) -> &RecordDataSel
pub fn record_data_sel(&self) -> &RecordDataSel
0x160 -
Sourcepub fn rx_re_sample_clk_div(&self) -> &RxReSampleClkDiv
pub fn rx_re_sample_clk_div(&self) -> &RxReSampleClkDiv
0x170 -
Sourcepub fn rx_re_sample(&self) -> &RxReSample
pub fn rx_re_sample(&self) -> &RxReSample
0x180 -
Sourcepub fn record_format(&self) -> &RecordFormat
pub fn record_format(&self) -> &RecordFormat
0x190 -
Sourcepub fn bt_phone_ctrl(&self) -> &BtPhoneCtrl
pub fn bt_phone_ctrl(&self) -> &BtPhoneCtrl
0x200 -
Sourcepub fn bb_pcm_format(&self) -> &BbPcmFormat
pub fn bb_pcm_format(&self) -> &BbPcmFormat
0x210 -
Sourcepub fn bt_pcm_timing(&self) -> &BtPcmTiming
pub fn bt_pcm_timing(&self) -> &BtPcmTiming
0x230 -
Sourcepub fn bt_pcm_clk_duty(&self) -> &BtPcmClkDuty
pub fn bt_pcm_clk_duty(&self) -> &BtPcmClkDuty
0x240 -
Sourcepub fn bt_pcm_sync_duty(&self) -> &BtPcmSyncDuty
pub fn bt_pcm_sync_duty(&self) -> &BtPcmSyncDuty
0x250 -
Sourcepub fn bt_vol_ctrl(&self) -> &BtVolCtrl
pub fn bt_vol_ctrl(&self) -> &BtVolCtrl
0x260 -
Sourcepub fn int_status(&self) -> &IntStatus
pub fn int_status(&self) -> &IntStatus
0x310 -
Sourcepub fn tx_dma_entry(&self) -> &TxDmaEntry
pub fn tx_dma_entry(&self) -> &TxDmaEntry
0x400 -
Sourcepub fn rx_dma_entry(&self) -> &RxDmaEntry
pub fn rx_dma_entry(&self) -> &RxDmaEntry
0x440 -
Sourcepub fn debug_loop(&self) -> &DebugLoop
pub fn debug_loop(&self) -> &DebugLoop
0x500 -
Sourcepub fn fifo_status(&self) -> &FifoStatus
pub fn fifo_status(&self) -> &FifoStatus
0x600 -
Sourcepub fn tx_equalizer_en(&self) -> &TxEqualizerEn
pub fn tx_equalizer_en(&self) -> &TxEqualizerEn
0x700 -
Sourcepub fn tx_equalizer_gain1(&self) -> &TxEqualizerGain1
pub fn tx_equalizer_gain1(&self) -> &TxEqualizerGain1
0x710 -
Sourcepub fn tx_equalizer_gain2(&self) -> &TxEqualizerGain2
pub fn tx_equalizer_gain2(&self) -> &TxEqualizerGain2
0x720 -