Struct lpc55_pac::i2s0::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub cfg1: CFG1,
    pub cfg2: CFG2,
    pub stat: STAT,
    pub div: DIV,
    pub fifocfg: FIFOCFG,
    pub fifostat: FIFOSTAT,
    pub fifotrig: FIFOTRIG,
    pub fifointenset: FIFOINTENSET,
    pub fifointenclr: FIFOINTENCLR,
    pub fifointstat: FIFOINTSTAT,
    pub fifowr: FIFOWR,
    pub fifowr48h: FIFOWR48H,
    pub fiford: FIFORD,
    pub fiford48h: FIFORD48H,
    pub fifordnopop: FIFORDNOPOP,
    pub fiford48hnopop: FIFORD48HNOPOP,
    pub id: ID,
    // some fields omitted
}

Register block

Fields

cfg1: CFG1

0xc00 - Configuration register 1 for the primary channel pair.

cfg2: CFG2

0xc04 - Configuration register 2 for the primary channel pair.

stat: STAT

0xc08 - Status register for the primary channel pair.

div: DIV

0xc1c - Clock divider, used by all channel pairs.

fifocfg: FIFOCFG

0xe00 - FIFO configuration and enable register.

fifostat: FIFOSTAT

0xe04 - FIFO status register.

fifotrig: FIFOTRIG

0xe08 - FIFO trigger settings for interrupt and DMA request.

fifointenset: FIFOINTENSET

0xe10 - FIFO interrupt enable set (enable) and read register.

fifointenclr: FIFOINTENCLR

0xe14 - FIFO interrupt enable clear (disable) and read register.

fifointstat: FIFOINTSTAT

0xe18 - FIFO interrupt status register.

fifowr: FIFOWR

0xe20 - FIFO write data.

fifowr48h: FIFOWR48H

0xe24 - FIFO write data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

fiford: FIFORD

0xe30 - FIFO read data.

fiford48h: FIFORD48H

0xe34 - FIFO read data for upper data bits. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

fifordnopop: FIFORDNOPOP

0xe40 - FIFO data read with no FIFO pop.

fiford48hnopop: FIFORD48HNOPOP

0xe44 - FIFO data read for upper data bits with no FIFO pop. May only be used if the I2S is configured for 2x 24-bit data and not using DMA.

id: ID

0xffc - I2S Module identification

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.