pub struct I2s { /* private fields */ }Expand description
LPC-Next0 I2S interface
Implementations§
Source§impl I2s
impl I2s
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn cfg1(self) -> Reg<Cfg1, RW>
pub const fn cfg1(self) -> Reg<Cfg1, RW>
Configuration register 1 for the primary channel pair.
Sourcepub const fn cfg2(self) -> Reg<Cfg2, RW>
pub const fn cfg2(self) -> Reg<Cfg2, RW>
Configuration register 2 for the primary channel pair.
Sourcepub const fn secchannel(self, n: usize) -> Secchannel
pub const fn secchannel(self, n: usize) -> Secchannel
Array of registers: PCFG1, PCFG2, PSTAT
Sourcepub const fn fifotrig(self) -> Reg<Fifotrig, RW>
pub const fn fifotrig(self) -> Reg<Fifotrig, RW>
FIFO trigger settings for interrupt and DMA request.
Sourcepub const fn fifointenset(self) -> Reg<Fifointenset, RW>
pub const fn fifointenset(self) -> Reg<Fifointenset, RW>
FIFO interrupt enable set (enable) and read register.
Sourcepub const fn fifointenclr(self) -> Reg<Fifointenclr, RW>
pub const fn fifointenclr(self) -> Reg<Fifointenclr, RW>
FIFO interrupt enable clear (disable) and read register.
Sourcepub const fn fifointstat(self) -> Reg<Fifointstat, R>
pub const fn fifointstat(self) -> Reg<Fifointstat, R>
FIFO interrupt status register.
Sourcepub const fn fifowr48h(self) -> Reg<Fifowr48h, W>
pub const fn fifowr48h(self) -> Reg<Fifowr48h, W>
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.
Sourcepub const fn fiford48h(self) -> Reg<Fiford48h, R>
pub const fn fiford48h(self) -> Reg<Fiford48h, R>
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.
Sourcepub const fn fifordnopop(self) -> Reg<Fifordnopop, R>
pub const fn fifordnopop(self) -> Reg<Fifordnopop, R>
FIFO data read with no FIFO pop.
Sourcepub const fn fiford48hnopop(self) -> Reg<Fiford48hnopop, R>
pub const fn fiford48hnopop(self) -> Reg<Fiford48hnopop, R>
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.