k210_pac::i2s0

Struct CHANNEL

Source
#[repr(C)]
pub struct CHANNEL {
Show 15 fields pub left_rxtx: LEFT_RXTX, pub right_rxtx: RIGHT_RXTX, pub rer: RER, pub ter: TER, pub rcr: RCR, pub tcr: TCR, pub isr: ISR, pub imr: IMR, pub ror: ROR, pub tor: TOR, pub rfcr: RFCR, pub tfcr: TFCR, pub rff: RFF, pub tff: TFF, pub _reserved: [_RESERVED; 2],
}
Expand description

Register block

Fields§

§left_rxtx: LEFT_RXTX

0x00 - Left Receive or Left Transmit Register

§right_rxtx: RIGHT_RXTX

0x04 - Right Receive or Right Transmit Register

§rer: RER

0x08 - Receive Enable Register

§ter: TER

0x0c - Transmit Enable Register

§rcr: RCR

0x10 - Receive Configuration Register

§tcr: TCR

0x14 - Transmit Configuration Register

§isr: ISR

0x18 - Interrupt Status Register

§imr: IMR

0x1c - Interrupt Mask Register

§ror: ROR

0x20 - Receive Overrun Register

§tor: TOR

0x24 - Transmit Overrun Register

§rfcr: RFCR

0x28 - Receive FIFO Configuration Register

§tfcr: TFCR

0x2c - Transmit FIFO Configuration Register

§rff: RFF

0x30 - Receive FIFO Flush Register

§tff: TFF

0x34 - Transmit FIFO Flush Register

§_reserved: [_RESERVED; 2]

0x38 - _RESERVED0

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.