Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { pub i2stxfifo: Reg<I2STXFIFO_SPEC>, pub i2srxfifo: Reg<I2SRXFIFO_SPEC>, pub i2sconf: Reg<I2SCONF_SPEC>, pub i2sint_raw: Reg<I2SINT_RAW_SPEC>, pub i2sint_st: Reg<I2SINT_ST_SPEC>, pub i2sint_ena: Reg<I2SINT_ENA_SPEC>, pub i2sint_clr: Reg<I2SINT_CLR_SPEC>, pub i2stiming: Reg<I2STIMING_SPEC>, pub i2s_fifo_conf: Reg<I2S_FIFO_CONF_SPEC>, pub i2srxeof_num: Reg<I2SRXEOF_NUM_SPEC>, pub i2sconf_sigle_data: Reg<I2SCONF_SIGLE_DATA_SPEC>, }
Expand description

Register block

Fields§

§i2stxfifo: Reg<I2STXFIFO_SPEC>

0x00 - I2STXFIFO

§i2srxfifo: Reg<I2SRXFIFO_SPEC>

0x04 - I2SRXFIFO

§i2sconf: Reg<I2SCONF_SPEC>

0x08 - I2SCONF

§i2sint_raw: Reg<I2SINT_RAW_SPEC>

0x0c - I2SINT_RAW

§i2sint_st: Reg<I2SINT_ST_SPEC>

0x10 - I2SINT_ST

§i2sint_ena: Reg<I2SINT_ENA_SPEC>

0x14 - I2SINT_ENA

§i2sint_clr: Reg<I2SINT_CLR_SPEC>

0x18 - I2SINT_CLR

§i2stiming: Reg<I2STIMING_SPEC>

0x1c - I2STIMING

§i2s_fifo_conf: Reg<I2S_FIFO_CONF_SPEC>

0x20 - I2S_FIFO_CONF

§i2srxeof_num: Reg<I2SRXEOF_NUM_SPEC>

0x24 - I2SRXEOF_NUM

§i2sconf_sigle_data: Reg<I2SCONF_SIGLE_DATA_SPEC>

0x28 - I2SCONF_SIGLE_DATA

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.