I2s1

Struct I2s1 

Source
pub struct I2s1 { /* private fields */ }
Expand description

I2S1

Implementations§

Source§

impl I2s1

Source

pub const PTR: *const RegisterBlock = {0x50009000 as *const i2s1::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

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>§

Source

pub fn rsvd41(&self) -> &Rsvd41

0x00 -

Source

pub fn tx_pcm_format(&self) -> &TxPcmFormat

0x10 -

Source

pub fn rsvd40(&self) -> &Rsvd40

0x14 -

Source

pub fn tx_pcm_sample_clk(&self) -> &TxPcmSampleClk

0x20 -

Source

pub fn rsvd39(&self) -> &Rsvd39

0x24 -

Source

pub fn tx_rs_smooth(&self) -> &TxRsSmooth

0x30 -

Source

pub fn rsvd38(&self) -> &Rsvd38

0x34 -

Source

pub fn tx_pcm_ch_sel(&self) -> &TxPcmChSel

0x40 -

Source

pub fn rsvd37(&self) -> &Rsvd37

0x44 -

Source

pub fn tx_vol_ctrl(&self) -> &TxVolCtrl

0x50 -

Source

pub fn rsvd36(&self) -> &Rsvd36

0x54 -

Source

pub fn tx_lr_bal_ctrl(&self) -> &TxLrBalCtrl

0x60 -

Source

pub fn rsvd35(&self) -> &Rsvd35

0x64 -

Source

pub fn audio_tx_lrck_div(&self) -> &AudioTxLrckDiv

0x70 -

Source

pub fn rsvd34(&self) -> &Rsvd34

0x74 -

Source

pub fn audio_tx_bclk_div(&self) -> &AudioTxBclkDiv

0x80 -

Source

pub fn rsvd33(&self) -> &Rsvd33

0x84 -

Source

pub fn audio_tx_format(&self) -> &AudioTxFormat

0x90 -

Source

pub fn rsvd32(&self) -> &Rsvd32

0x94 -

Source

pub fn audio_serial_timing(&self) -> &AudioSerialTiming

0xa0 -

Source

pub fn rsvd31(&self) -> &Rsvd31

0xa4 -

Source

pub fn audio_tx_func_en(&self) -> &AudioTxFuncEn

0xb0 -

Source

pub fn rsvd30(&self) -> &Rsvd30

0xb4 -

Source

pub fn audio_tx_pause(&self) -> &AudioTxPause

0xc0 -

Source

pub fn rsvd29(&self) -> &Rsvd29

0xc4 -

Source

pub fn audio_i2s_sl_merge(&self) -> &AudioI2sSlMerge

0xc8 -

Source

pub fn rsvd28(&self) -> &Rsvd28

0xcc -

Source

pub fn audio_rx_func_en(&self) -> &AudioRxFuncEn

0x100 -

Source

pub fn rsvd27(&self) -> &Rsvd27

0x104 -

Source

pub fn audio_rx_pause(&self) -> &AudioRxPause

0x110 -

Source

pub fn rsvd26(&self) -> &Rsvd26

0x114 -

Source

pub fn audio_rx_serial_timing(&self) -> &AudioRxSerialTiming

0x120 -

Source

pub fn rsvd25(&self) -> &Rsvd25

0x124 -

Source

pub fn audio_rx_pcm_dw(&self) -> &AudioRxPcmDw

0x130 -

Source

pub fn rsvd24(&self) -> &Rsvd24

0x134 -

Source

pub fn audio_rx_lrck_div(&self) -> &AudioRxLrckDiv

0x140 -

Source

pub fn rsvd23(&self) -> &Rsvd23

0x144 -

Source

pub fn audio_rx_bclk_div(&self) -> &AudioRxBclkDiv

0x150 -

Source

pub fn rsvd22(&self) -> &Rsvd22

0x154 -

Source

pub fn record_data_sel(&self) -> &RecordDataSel

0x160 -

Source

pub fn rsvd21(&self) -> &Rsvd21

0x164 -

Source

pub fn rx_re_sample_clk_div(&self) -> &RxReSampleClkDiv

0x170 -

Source

pub fn rsvd20(&self) -> &Rsvd20

0x174 -

Source

pub fn rx_re_sample(&self) -> &RxReSample

0x180 -

Source

pub fn rsvd19(&self) -> &Rsvd19

0x184 -

Source

pub fn record_format(&self) -> &RecordFormat

0x190 -

Source

pub fn rsvd18(&self) -> &Rsvd18

0x194 -

Source

pub fn rx_ch_sel(&self) -> &RxChSel

0x1a0 -

Source

pub fn rsvd17(&self) -> &Rsvd17

0x1a4 -

Source

pub fn bt_phone_ctrl(&self) -> &BtPhoneCtrl

0x200 -

Source

pub fn rsvd16(&self) -> &Rsvd16

0x204 -

Source

pub fn bb_pcm_format(&self) -> &BbPcmFormat

0x210 -

Source

pub fn rsvd15(&self) -> &Rsvd15

0x214 -

Source

pub fn bt_pcm_dw(&self) -> &BtPcmDw

0x220 -

Source

pub fn rsvd14(&self) -> &Rsvd14

0x224 -

Source

pub fn bt_pcm_timing(&self) -> &BtPcmTiming

0x230 -

Source

pub fn rsvd13(&self) -> &Rsvd13

0x234 -

Source

pub fn bt_pcm_clk_duty(&self) -> &BtPcmClkDuty

0x240 -

Source

pub fn rsvd12(&self) -> &Rsvd12

0x244 -

Source

pub fn bt_pcm_sync_duty(&self) -> &BtPcmSyncDuty

0x250 -

Source

pub fn rsvd11(&self) -> &Rsvd11

0x254 -

Source

pub fn bt_vol_ctrl(&self) -> &BtVolCtrl

0x260 -

Source

pub fn rsvd10(&self) -> &Rsvd10

0x264 -

Source

pub fn int_mask(&self) -> &IntMask

0x300 -

Source

pub fn rsvd9(&self) -> &Rsvd9

0x304 -

Source

pub fn int_status(&self) -> &IntStatus

0x310 -

Source

pub fn rsvd8(&self) -> &Rsvd8

0x314 -

Source

pub fn tx_dma_entry(&self) -> &TxDmaEntry

0x400 -

Source

pub fn rsvd7(&self) -> &Rsvd7

0x404 -

Source

pub fn rx_dma_entry(&self) -> &RxDmaEntry

0x440 -

Source

pub fn rsvd6(&self) -> &Rsvd6

0x444 -

Source

pub fn dma_mask(&self) -> &DmaMask

0x480 -

Source

pub fn rsvd5(&self) -> &Rsvd5

0x484 -

Source

pub fn debug_loop(&self) -> &DebugLoop

0x500 -

Source

pub fn rsvd4(&self) -> &Rsvd4

0x504 -

Source

pub fn fifo_status(&self) -> &FifoStatus

0x600 -

Source

pub fn rsvd3(&self) -> &Rsvd3

0x604 -

Source

pub fn tx_equalizer_en(&self) -> &TxEqualizerEn

0x700 -

Source

pub fn rsvd2(&self) -> &Rsvd2

0x704 -

Source

pub fn tx_equalizer_gain1(&self) -> &TxEqualizerGain1

0x710 -

Source

pub fn rsvd1(&self) -> &Rsvd1

0x714 -

Source

pub fn tx_equalizer_gain2(&self) -> &TxEqualizerGain2

0x720 -

Trait Implementations§

Source§

impl Debug for I2s1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for I2s1

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Send for I2s1

Auto Trait Implementations§

§

impl Freeze for I2s1

§

impl RefUnwindSafe for I2s1

§

impl !Sync for I2s1

§

impl Unpin for I2s1

§

impl UnwindSafe for I2s1

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.