k210_pac::i2s0

Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub ier: IER, pub irer: IRER, pub iter: ITER, pub cer: CER, pub ccr: CCR, pub rxffr: RXFFR, pub txffr: TXFFR, pub channel: [CHANNEL; 4], pub rxdma: RXDMA, pub rrxdma: RRXDMA, pub txdma: TXDMA, pub rtxdma: RTXDMA, pub i2s_comp_param_2: I2S_COMP_PARAM_2, pub i2s_comp_param_1: I2S_COMP_PARAM_1, pub i2s_comp_version_1: I2S_COMP_VERSION_1, pub i2s_comp_type: I2S_COMP_TYPE, /* private fields */
}
Expand description

Register block

Fields§

§ier: IER

0x00 - Enable Register

§irer: IRER

0x04 - Receiver Block Enable Register

§iter: ITER

0x08 - Transmitter Block Enable Register

§cer: CER

0x0c - Clock Generation enable

§ccr: CCR

0x10 - Clock Configuration Register

§rxffr: RXFFR

0x14 - Receiver Block FIFO Reset Register

§txffr: TXFFR

0x18 - Transmitter Block FIFO Reset Register

§channel: [CHANNEL; 4]

0x20 - Channel cluster

§rxdma: RXDMA

0x1c0 - Receiver Block DMA Register

§rrxdma: RRXDMA

0x1c4 - Reset Receiver Block DMA Register

§txdma: TXDMA

0x1c8 - Transmitter Block DMA Register

§rtxdma: RTXDMA

0x1cc - Reset Transmitter Block DMA Register

§i2s_comp_param_2: I2S_COMP_PARAM_2

0x1f0 - Component Parameter Register 2

§i2s_comp_param_1: I2S_COMP_PARAM_1

0x1f4 - Component Parameter Register 1

§i2s_comp_version_1: I2S_COMP_VERSION_1

0x1f8 - Component Version Register

§i2s_comp_type: I2S_COMP_TYPE

0x1fc - Component Type Register

Auto Trait Implementations§

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