Struct mk20d7::i2s0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 20 fields pub tcsr: TCSR, pub tcr1: TCR1, pub tcr2: TCR2, pub tcr3: TCR3, pub tcr4: TCR4, pub tcr5: TCR5, pub tdr: [TDR; 2], pub tfr: [TFR; 2], pub tmr: TMR, pub rcsr: RCSR, pub rcr1: RCR1, pub rcr2: RCR2, pub rcr3: RCR3, pub rcr4: RCR4, pub rcr5: RCR5, pub rdr: [RDR; 2], pub rfr: [RFR; 2], pub rmr: RMR, pub mcr: MCR, pub mdr: MDR, /* private fields */
}
Expand description

Register block

Fields§

§tcsr: TCSR

0x00 - SAI Transmit Control Register

§tcr1: TCR1

0x04 - SAI Transmit Configuration 1 Register

§tcr2: TCR2

0x08 - SAI Transmit Configuration 2 Register

§tcr3: TCR3

0x0c - SAI Transmit Configuration 3 Register

§tcr4: TCR4

0x10 - SAI Transmit Configuration 4 Register

§tcr5: TCR5

0x14 - SAI Transmit Configuration 5 Register

§tdr: [TDR; 2]

0x20 - SAI Transmit Data Register

§tfr: [TFR; 2]

0x40 - SAI Transmit FIFO Register

§tmr: TMR

0x60 - SAI Transmit Mask Register

§rcsr: RCSR

0x80 - SAI Receive Control Register

§rcr1: RCR1

0x84 - SAI Receive Configuration 1 Register

§rcr2: RCR2

0x88 - SAI Receive Configuration 2 Register

§rcr3: RCR3

0x8c - SAI Receive Configuration 3 Register

§rcr4: RCR4

0x90 - SAI Receive Configuration 4 Register

§rcr5: RCR5

0x94 - SAI Receive Configuration 5 Register

§rdr: [RDR; 2]

0xa0 - SAI Receive Data Register

§rfr: [RFR; 2]

0xc0 - SAI Receive FIFO Register

§rmr: RMR

0xe0 - SAI Receive Mask Register

§mcr: MCR

0x100 - SAI MCLK Control Register

§mdr: MDR

0x104 - MCLK Divide Register

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.