Struct stm32f429_hal::i2s::I2sOutput
[−]
[src]
pub struct I2sOutput<Role, Data, SPI, SD, CK, WS> { /* fields omitted */ }I2S peripheral
Methods
impl<'s, Role, S: I2sData + Sized + 's, SD, CK, WS> I2sOutput<Role, S, SPI1, SD, CK, WS>[src]
pub fn into_i2s(self) -> I2s<SPI1, SD, CK, WS>[src]
Disable and return I2s
pub fn write(&mut self, data: S)[src]
Write data word
pub fn dma_transfer<X: Transfer<STREAM>, STREAM, C>(
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI1, C, DmaTx>,
C: DmaChannel, [src]
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI1, C, DmaTx>,
C: DmaChannel,
Start writing with DMA
impl<'s, Role, S: I2sData + Sized + 's, SD, CK, WS> I2sOutput<Role, S, SPI2, SD, CK, WS>[src]
pub fn into_i2s(self) -> I2s<SPI2, SD, CK, WS>[src]
Disable and return I2s
pub fn write(&mut self, data: S)[src]
Write data word
pub fn dma_transfer<X: Transfer<STREAM>, STREAM, C>(
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI2, C, DmaTx>,
C: DmaChannel, [src]
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI2, C, DmaTx>,
C: DmaChannel,
Start writing with DMA
impl<'s, Role, S: I2sData + Sized + 's, SD, CK, WS> I2sOutput<Role, S, SPI3, SD, CK, WS>[src]
pub fn into_i2s(self) -> I2s<SPI3, SD, CK, WS>[src]
Disable and return I2s
pub fn write(&mut self, data: S)[src]
Write data word
pub fn dma_transfer<X: Transfer<STREAM>, STREAM, C>(
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI3, C, DmaTx>,
C: DmaChannel, [src]
&mut self,
stream: STREAM,
_channel: C,
data: (&'s [S], &'s [S])
) -> X where
STREAM: DmaStreamTransfer<S, X> + I2sDmaStream<SPI3, C, DmaTx>,
C: DmaChannel,
Start writing with DMA
Trait Implementations
Auto Trait Implementations
impl<Role, Data, SPI, SD, CK, WS> Send for I2sOutput<Role, Data, SPI, SD, CK, WS> where
CK: Send,
Data: Send,
Role: Send,
SD: Send,
SPI: Send,
WS: Send,
CK: Send,
Data: Send,
Role: Send,
SD: Send,
SPI: Send,
WS: Send,
impl<Role, Data, SPI, SD, CK, WS> Sync for I2sOutput<Role, Data, SPI, SD, CK, WS> where
CK: Sync,
Data: Sync,
Role: Sync,
SD: Sync,
SPI: Sync,
WS: Sync,
CK: Sync,
Data: Sync,
Role: Sync,
SD: Sync,
SPI: Sync,
WS: Sync,