Home
last modified time | relevance | path

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

/hal_nuvoton-latest/m46x/StdDriver/inc/
Di2s.h130 __STATIC_INLINE void I2S_ENABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_ENABLE_TX_ZCD()
145 __STATIC_INLINE void I2S_DISABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_DISABLE_TX_ZCD()
159 #define I2S_ENABLE_TXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXPDMAEN_Msk ) argument
167 #define I2S_DISABLE_TXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXPDMAEN_Msk ) argument
175 #define I2S_ENABLE_RXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXPDMAEN_Msk ) argument
183 #define I2S_DISABLE_RXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXPDMAEN_Msk ) argument
191 #define I2S_ENABLE_TX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXEN_Msk ) argument
199 #define I2S_DISABLE_TX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXEN_Msk ) argument
207 #define I2S_ENABLE_RX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXEN_Msk ) argument
215 #define I2S_DISABLE_RX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXEN_Msk ) argument
[all …]
Dspi.h363 __STATIC_INLINE void SPII2S_ENABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_ENABLE_TX_ZCD()
384 __STATIC_INLINE void SPII2S_DISABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_DISABLE_TX_ZCD()
403 #define SPII2S_ENABLE_TXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_TXPDMAEN_Msk ) argument
412 #define SPII2S_DISABLE_TXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_TXPDMAEN_Msk ) argument
421 #define SPII2S_ENABLE_RXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_RXPDMAEN_Msk ) argument
430 #define SPII2S_DISABLE_RXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_RXPDMAEN_Msk ) argument
439 #define SPII2S_ENABLE_TX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_TXEN_Msk ) argument
448 #define SPII2S_DISABLE_TX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_TXEN_Msk ) argument
457 #define SPII2S_ENABLE_RX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_RXEN_Msk ) argument
466 #define SPII2S_DISABLE_RX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_RXEN_Msk ) argument
[all …]
/hal_nuvoton-latest/m48x/StdDriver/inc/
Di2s.h127 __STATIC_INLINE void I2S_ENABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_ENABLE_TX_ZCD()
142 __STATIC_INLINE void I2S_DISABLE_TX_ZCD(I2S_T *i2s, uint32_t u32ChMask) in I2S_DISABLE_TX_ZCD()
156 #define I2S_ENABLE_TXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXPDMAEN_Msk ) argument
164 #define I2S_DISABLE_TXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXPDMAEN_Msk ) argument
172 #define I2S_ENABLE_RXDMA(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXPDMAEN_Msk ) argument
180 #define I2S_DISABLE_RXDMA(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXPDMAEN_Msk ) argument
188 #define I2S_ENABLE_TX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_TXEN_Msk ) argument
196 #define I2S_DISABLE_TX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_TXEN_Msk ) argument
204 #define I2S_ENABLE_RX(i2s) ( (i2s)->CTL0 |= I2S_CTL0_RXEN_Msk ) argument
212 #define I2S_DISABLE_RX(i2s) ( (i2s)->CTL0 &= ~I2S_CTL0_RXEN_Msk ) argument
[all …]
Dspi.h340 __STATIC_INLINE void SPII2S_ENABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_ENABLE_TX_ZCD()
361 __STATIC_INLINE void SPII2S_DISABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_DISABLE_TX_ZCD()
380 #define SPII2S_ENABLE_TXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_TXPDMAEN_Msk ) argument
389 #define SPII2S_DISABLE_TXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_TXPDMAEN_Msk ) argument
398 #define SPII2S_ENABLE_RXDMA(i2s) ( (i2s)->PDMACTL |= SPI_PDMACTL_RXPDMAEN_Msk ) argument
407 #define SPII2S_DISABLE_RXDMA(i2s) ( (i2s)->PDMACTL &= ~SPI_PDMACTL_RXPDMAEN_Msk ) argument
416 #define SPII2S_ENABLE_TX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_TXEN_Msk ) argument
425 #define SPII2S_DISABLE_TX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_TXEN_Msk ) argument
434 #define SPII2S_ENABLE_RX(i2s) ( (i2s)->I2SCTL |= SPI_I2SCTL_RXEN_Msk ) argument
443 #define SPII2S_DISABLE_RX(i2s) ( (i2s)->I2SCTL &= ~SPI_I2SCTL_RXEN_Msk ) argument
[all …]
/hal_nuvoton-latest/m2l31x/StdDriver/inc/
Dspi.h365 __STATIC_INLINE void SPII2S_ENABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_ENABLE_TX_ZCD()
386 __STATIC_INLINE void SPII2S_DISABLE_TX_ZCD(SPI_T *i2s, uint32_t u32ChMask) in SPII2S_DISABLE_TX_ZCD()
405 #define SPII2S_ENABLE_TXDMA(i2s) ((i2s)->PDMACTL |= SPI_PDMACTL_TXPDMAEN_Msk) argument
414 #define SPII2S_DISABLE_TXDMA(i2s) ((i2s)->PDMACTL &= ~SPI_PDMACTL_TXPDMAEN_Msk) argument
423 #define SPII2S_ENABLE_RXDMA(i2s) ((i2s)->PDMACTL |= SPI_PDMACTL_RXPDMAEN_Msk) argument
432 #define SPII2S_DISABLE_RXDMA(i2s) ((i2s)->PDMACTL &= ~SPI_PDMACTL_RXPDMAEN_Msk) argument
441 #define SPII2S_ENABLE_TX(i2s) ((i2s)->I2SCTL |= SPI_I2SCTL_TXEN_Msk) argument
450 #define SPII2S_DISABLE_TX(i2s) ((i2s)->I2SCTL &= ~SPI_I2SCTL_TXEN_Msk) argument
459 #define SPII2S_ENABLE_RX(i2s) ((i2s)->I2SCTL |= SPI_I2SCTL_RXEN_Msk) argument
468 #define SPII2S_DISABLE_RX(i2s) ((i2s)->I2SCTL &= ~SPI_I2SCTL_RXEN_Msk) argument
[all …]
/hal_nuvoton-latest/m46x/StdDriver/src/
Di2s.c32 static uint32_t I2S_GetSourceClockFreq(I2S_T *i2s) in I2S_GetSourceClockFreq()
138 uint32_t I2S_Open(I2S_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordWidt… in I2S_Open()
177 void I2S_Close(I2S_T *i2s) in I2S_Close()
189 void I2S_EnableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_EnableInt()
201 void I2S_DisableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_DisableInt()
212 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock) in I2S_EnableMCLK()
250 void I2S_DisableMCLK(I2S_T *i2s) in I2S_DisableMCLK()
263 void I2S_SetFIFO(I2S_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in I2S_SetFIFO()
289 void I2S_ConfigureTDM(I2S_T *i2s, uint32_t u32ChannelWidth, uint32_t u32ChannelNum, uint32_t u32Syn… in I2S_ConfigureTDM()
Dspi.c1656 static uint32_t SPII2S_GetSourceClockFreq(SPI_T *i2s) in SPII2S_GetSourceClockFreq()
1798 uint32_t SPII2S_Open(SPI_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordW… in SPII2S_Open()
1914 void SPII2S_Close(SPI_T *i2s) in SPII2S_Close()
1935 void SPII2S_EnableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_EnableInt()
2001 void SPII2S_DisableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_DisableInt()
2059 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock) in SPII2S_EnableMCLK()
2103 void SPII2S_DisableMCLK(SPI_T *i2s) in SPII2S_DisableMCLK()
2116 void SPII2S_SetFIFO(SPI_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in SPII2S_SetFIFO()
/hal_nuvoton-latest/m48x/StdDriver/src/
Di2s.c32 static uint32_t I2S_GetSourceClockFreq(I2S_T *i2s) in I2S_GetSourceClockFreq()
91 uint32_t I2S_Open(I2S_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordWidt… in I2S_Open()
123 void I2S_Close(I2S_T *i2s) in I2S_Close()
135 void I2S_EnableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_EnableInt()
147 void I2S_DisableInt(I2S_T *i2s, uint32_t u32Mask) in I2S_DisableInt()
158 uint32_t I2S_EnableMCLK(I2S_T *i2s, uint32_t u32BusClock) in I2S_EnableMCLK()
196 void I2S_DisableMCLK(I2S_T *i2s) in I2S_DisableMCLK()
209 void I2S_SetFIFO(I2S_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in I2S_SetFIFO()
236 void I2S_ConfigureTDM(I2S_T *i2s, uint32_t u32ChannelWidth, uint32_t u32ChannelNum, uint32_t u32Syn… in I2S_ConfigureTDM()
Dspi.c1019 static uint32_t SPII2S_GetSourceClockFreq(SPI_T *i2s) in SPII2S_GetSourceClockFreq()
1133 uint32_t SPII2S_Open(SPI_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordW… in SPII2S_Open()
1240 void SPII2S_Close(SPI_T *i2s) in SPII2S_Close()
1260 void SPII2S_EnableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_EnableInt()
1320 void SPII2S_DisableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_DisableInt()
1373 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock) in SPII2S_EnableMCLK()
1417 void SPII2S_DisableMCLK(SPI_T *i2s) in SPII2S_DisableMCLK()
1430 void SPII2S_SetFIFO(SPI_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in SPII2S_SetFIFO()
/hal_nuvoton-latest/m2l31x/StdDriver/src/
Dspi.c1018 static uint32_t SPII2S_GetSourceClockFreq(SPI_T *i2s) in SPII2S_GetSourceClockFreq()
1132 uint32_t SPII2S_Open(SPI_T *i2s, uint32_t u32MasterSlave, uint32_t u32SampleRate, uint32_t u32WordW… in SPII2S_Open()
1239 void SPII2S_Close(SPI_T *i2s) in SPII2S_Close()
1259 void SPII2S_EnableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_EnableInt()
1319 void SPII2S_DisableInt(SPI_T *i2s, uint32_t u32Mask) in SPII2S_DisableInt()
1372 uint32_t SPII2S_EnableMCLK(SPI_T *i2s, uint32_t u32BusClock) in SPII2S_EnableMCLK()
1416 void SPII2S_DisableMCLK(SPI_T *i2s) in SPII2S_DisableMCLK()
1429 void SPII2S_SetFIFO(SPI_T *i2s, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in SPII2S_SetFIFO()