Home
last modified time | relevance | path

Searched defs:i2s (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Di2s.h131 __STATIC_INLINE void I2S_ENABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_ENABLE_TX_ZCD()
146 __STATIC_INLINE void I2S_DISABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_DISABLE_TX_ZCD()
160 #define I2S_ENABLE_TXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXPDMAEN_Msk ) argument
168 #define I2S_DISABLE_TXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXPDMAEN_Msk ) argument
176 #define I2S_ENABLE_RXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXPDMAEN_Msk ) argument
184 #define I2S_DISABLE_RXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXPDMAEN_Msk ) argument
192 #define I2S_ENABLE_TX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXEN_Msk ) argument
200 #define I2S_DISABLE_TX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXEN_Msk ) argument
208 #define I2S_ENABLE_RX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXEN_Msk ) argument
216 #define I2S_DISABLE_RX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXEN_Msk ) argument
[all …]
Dspi.h349 __STATIC_INLINE void SPII2S_ENABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_ENABLE_TX_ZCD()
370 __STATIC_INLINE void SPII2S_DISABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_DISABLE_TX_ZCD()
388 #define SPII2S_ENABLE_TXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_TXPDMAEN_Msk ) argument
396 #define SPII2S_DISABLE_TXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_TXPDMAEN_Msk ) argument
404 #define SPII2S_ENABLE_RXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_RXPDMAEN_Msk ) argument
412 #define SPII2S_DISABLE_RXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_RXPDMAEN_Msk ) argument
420 #define SPII2S_ENABLE_TX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_TXEN_Msk ) argument
428 #define SPII2S_DISABLE_TX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_TXEN_Msk ) argument
436 #define SPII2S_ENABLE_RX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_RXEN_Msk ) argument
444 #define SPII2S_DISABLE_RX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_RXEN_Msk ) argument
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Di2s.c33 static uint32_t I2S_GetSourceClockFreq(I2S_T *i2s) in I2S_GetSourceClockFreq()
94 uint32_t I2S_Open(I2S_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordWidt… in I2S_Open()
134 void I2S_Close(I2S_T *i2s) in I2S_Close()
147 void I2S_EnableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_EnableInt()
160 void I2S_DisableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_DisableInt()
173 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock) in I2S_EnableMCLK()
212 void I2S_DisableMCLK(I2S_T *i2s) in I2S_DisableMCLK()
225 void I2S_SetFIFO(I2S_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in I2S_SetFIFO()
251 void I2S_ConfigureTDM(I2S_T *i2s, uint32_t u32ChannelWidth, uint32_t u32ChannelNum, uint32_t u32Syn… in I2S_ConfigureTDM()
Dspi.c1107 static uint32_t SPII2S_GetSourceClockFreq(SPI_T *i2s) in SPII2S_GetSourceClockFreq()
1218 uint32_t SPII2S_Open(SPI_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordW… in SPII2S_Open()
1434 void SPII2S_Close(SPI_T *i2s) in SPII2S_Close()
1455 void SPII2S_EnableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_EnableInt()
1522 void SPII2S_DisableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_DisableInt()
1581 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock) in SPII2S_EnableMCLK()
1625 void SPII2S_DisableMCLK(SPI_T *i2s) in SPII2S_DisableMCLK()
1638 void SPII2S_SetFIFO(SPI_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in SPII2S_SetFIFO()
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dspi.h349 __STATIC_INLINE void SPII2S_ENABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_ENABLE_TX_ZCD()
370 __STATIC_INLINE void SPII2S_DISABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_DISABLE_TX_ZCD()
388 #define SPII2S_ENABLE_TXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_TXPDMAEN_Msk ) argument
396 #define SPII2S_DISABLE_TXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_TXPDMAEN_Msk ) argument
404 #define SPII2S_ENABLE_RXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_RXPDMAEN_Msk ) argument
412 #define SPII2S_DISABLE_RXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_RXPDMAEN_Msk ) argument
420 #define SPII2S_ENABLE_TX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_TXEN_Msk ) argument
428 #define SPII2S_DISABLE_TX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_TXEN_Msk ) argument
436 #define SPII2S_ENABLE_RX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_RXEN_Msk ) argument
444 #define SPII2S_DISABLE_RX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_RXEN_Msk ) argument
[all …]