|
RTEMS
5.0.0
|
Go to the documentation of this file. 23 #ifndef LIBBSP_ARM_SHARED_LPC_I2S_H 24 #define LIBBSP_ARM_SHARED_LPC_I2S_H 64 #define I2S_DAIO_WORDWIDTH(val) BSP_FLD32(val, 0, 1) 65 #define I2S_DAIO_MONO BSP_BIT32(2) 66 #define I2S_DAIO_STOP BSP_BIT32(3) 67 #define I2S_DAIO_RESET BSP_BIT32(4) 68 #define I2S_DAIO_WS_SEL BSP_BIT32(5) 69 #define I2S_DAIO_WS_HALFPERIOD(val) BSP_FLD32(val, 6, 14) 70 #define I2S_DAIO_MUTE BSP_BIT32(15) 80 #define I2S_STATE_IRQ BSP_BIT32(0) 81 #define I2S_STATE_DMAREQ_0 BSP_BIT32(1) 82 #define I2S_STATE_DMAREQ_1 BSP_BIT32(2) 83 #define I2S_STATE_RX_LEVEL_GET(reg) BSP_FLD32GET(reg, 8, 11) 84 #define I2S_STATE_TX_LEVEL_GET(reg) BSP_FLD32GET(reg, 16, 19) 94 #define I2S_DMA_RX_ENABLE BSP_BIT32(0) 95 #define I2S_DMA_TX_ENABLE BSP_BIT32(1) 96 #define I2S_DMA_RX_DEPTH(val) BSP_FLD32(val, 8, 11) 97 #define I2S_DMA_TX_DEPTH(val) BSP_FLD32(val, 16, 19) 107 #define I2S_IRQ_RX BSP_BIT32(0) 108 #define I2S_IRQ_TX BSP_BIT32(1) 109 #define I2S_IRQ_RX_DEPTH(val) BSP_FLD32(val, 8, 11) 110 #define I2S_IRQ_TX_DEPTH(val) BSP_FLD32(val, 16, 19) 120 #define LPC24XX_I2S_RATE(val) BSP_FLD32(val, 0, 9) 121 #define LPC32XX_I2S_RATE_X_DIVIDER(val) BSP_FLD32(val, 0, 7) 122 #define LPC32XX_I2S_RATE_Y_DIVIDER(val) BSP_FLD32(val, 8, 15) I2S control block.
Definition: lpc-i2s.h:46