NUC1xx
驱动参考指南
V1.01.003
- 16 -
16.4. 类型定义............................................................................................................................ 361
E_I2S_CHANNEL ......................................................................................................................................... 361
E_I2S_CALLBACK_TYPE ........................................................................................................................... 361
16.5. 宏 362
_DRVI2S_WRITE_TX_FIFO ........................................................................................................................ 362
_DRVI2S_READ_RX_FIFO ......................................................................................................................... 362
_DRVI2S_READ_TX_FIFO_LEVEL ........................................................................................................... 363
_DRVI2S_READ_RX_FIFO_LEVEL ........................................................................................................... 364
16.6. 函数 364
DrvI2S_Open .................................................................................................................................................. 364
DrvI2S_Close ................................................................................................................................................. 366
DrvI2S_EnableInt ........................................................................................................................................... 367
DrvI2S_DisableInt .......................................................................................................................................... 367
DrvI2S_GetBCLKFreq ................................................................................................................................... 368
DrvI2S_SetBCLKFreq ................................................................................................................................... 369
DrvI2S_GetMCLKFreq .................................................................................................................................. 369
DrvI2S_SetMCLKFreq ................................................................................................................................... 370
DrvI2S_SetChannelZeroCrossDetect ............................................................................................................. 370
DrvI2S_EnableTxDMA .................................................................................................................................. 371
DrvI2S_DisableTxDMA ................................................................................................................................. 372
DrvI2S_EnableRxDMA.................................................................................................................................. 372
DrvI2S_DisableRxDMA ................................................................................................................................ 373
DrvI2S_EnableTx ........................................................................................................................................... 373
DrvI2S_DisableTx .......................................................................................................................................... 374
DrvI2S_EnableRx ........................................................................................................................................... 374
DrvI2S_DisableRx .......................................................................................................................................... 375
DrvI2S_EnableTxMute ................................................................................................................................... 375
DrvI2S_DisableTxMute.................................................................................................................................. 376
DrvI2S_EnableMCLK .................................................................................................................................... 376
DrvI2S_DisableMCLK ................................................................................................................................... 377
DrvI2S_ClearTxFIFO ..................................................................................................................................... 377
DrvI2S_ClearRxFIFO ..................................................................................................................................... 378
DrvI2S_SelectClockSource ............................................................................................................................ 378
DrvI2S_GetSourceClockFreq ......................................................................................................................... 379
DrvI2S_GetVersion ........................................................................................................................................ 379
17. EBI 驱动 ............................................................................................................... 381
17.1. EBI 介绍 ............................................................................................................................ 381
17.2. EBI 特性 ............................................................................................................................ 381
17.3. 类型定义............................................................................................................................ 382
E_DRVEBI_BUS_WIDTH ............................................................................................................................ 382
E_DRVEBI_MCLKDIV ................................................................................................................................ 382
17.4. API 函数 ............................................................................................................................ 382
DrvEBI_Open ................................................................................................................................................. 382
DrvEBI_Close................................................................................................................................................. 383
DrvEBI_SetBusTiming ................................................................................................................................... 383