Struct stm32f429_hal::i2s::I2s
[−]
[src]
pub struct I2s<SPI, SD, CK, WS> { /* fields omitted */ }I2S peripheral
Methods
impl<SD, CK, WS> I2s<SPI1, SD, CK, WS>[src]
I2S interface on SPI pins
pub fn spi1(
spi: SPI1,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB2
) -> Self where
SD: SdPin<SPI1>,
CK: CkPin<SPI1>,
WS: WsPin<SPI1>, [src]
spi: SPI1,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB2
) -> Self where
SD: SdPin<SPI1>,
CK: CkPin<SPI1>,
WS: WsPin<SPI1>,
Initialize I2S interface
pub fn into_slave_output<S: I2sData>(
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI1, SD, CK, WS>[src]
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI1, SD, CK, WS>
Configure in slave mode as output
impl<SD, CK, WS> I2s<SPI2, SD, CK, WS>[src]
I2S interface on SPI pins
pub fn spi2(
spi: SPI2,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB1
) -> Self where
SD: SdPin<SPI2>,
CK: CkPin<SPI2>,
WS: WsPin<SPI2>, [src]
spi: SPI2,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB1
) -> Self where
SD: SdPin<SPI2>,
CK: CkPin<SPI2>,
WS: WsPin<SPI2>,
Initialize I2S interface
pub fn into_slave_output<S: I2sData>(
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI2, SD, CK, WS>[src]
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI2, SD, CK, WS>
Configure in slave mode as output
impl<SD, CK, WS> I2s<SPI3, SD, CK, WS>[src]
I2S interface on SPI pins
pub fn spi3(
spi: SPI3,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB1
) -> Self where
SD: SdPin<SPI3>,
CK: CkPin<SPI3>,
WS: WsPin<SPI3>, [src]
spi: SPI3,
sd: SD,
ck: CK,
ws: WS,
_clocks: Clocks,
apb: &mut APB1
) -> Self where
SD: SdPin<SPI3>,
CK: CkPin<SPI3>,
WS: WsPin<SPI3>,
Initialize I2S interface
pub fn into_slave_output<S: I2sData>(
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI3, SD, CK, WS>[src]
self,
standard: I2sStandard
) -> I2sOutput<SlaveRole, S, SPI3, SD, CK, WS>
Configure in slave mode as output