Home
last modified time | relevance | path

Searched refs:frameSyncWidth (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/audio/
Dfsl_adapter_sai.c339 saiConfig.frameSync.frameSyncWidth = config->bitWidth >> 1U; in HAL_AudioCommonInit()
345 saiConfig.frameSync.frameSyncWidth = config->bitWidth; in HAL_AudioCommonInit()
352 saiConfig.frameSync.frameSyncWidth = config->bitWidth * channelNum >> 1U; in HAL_AudioCommonInit()
408 if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthOneBitClk) in HAL_AudioCommonInit()
410 saiConfig.frameSync.frameSyncWidth = 1; in HAL_AudioCommonInit()
412 … else if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthPerWordWidth) in HAL_AudioCommonInit()
414 saiConfig.frameSync.frameSyncWidth = config->bitWidth; in HAL_AudioCommonInit()
425 if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthOneBitClk) in HAL_AudioCommonInit()
427 saiConfig.frameSync.frameSyncWidth = 1; in HAL_AudioCommonInit()
429 … else if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthPerWordWidth) in HAL_AudioCommonInit()
[all …]
Dfsl_adapter_flexcomm_i2s.c234 if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthOneBitClk) in HAL_AudioCommonInit()
238 … else if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthPerWordWidth) in HAL_AudioCommonInit()
Dfsl_adapter_audio.h352 …hal_audio_frame_sync_width_t frameSyncWidth; /*!< Only DSP mode uses this field. For other data fo… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c364 config->frameSync.frameSyncWidth = (uint8_t)bitWidth; in SAI_GetCommonConfig()
1318 assert((config->frameSyncWidth - 1UL) <= (I2S_TCR4_SYWD_MASK >> I2S_TCR4_SYWD_SHIFT)); in SAI_TxSetFrameSyncConfig()
1332 I2S_TCR4_SYWD(config->frameSyncWidth - 1UL); in SAI_TxSetFrameSyncConfig()
1347 assert((config->frameSyncWidth - 1UL) <= (I2S_RCR4_SYWD_MASK >> I2S_RCR4_SYWD_SHIFT)); in SAI_RxSetFrameSyncConfig()
1361 I2S_RCR4_SYWD(config->frameSyncWidth - 1UL); in SAI_RxSetFrameSyncConfig()
1536 handle->bitWidth = config->frameSync.frameSyncWidth; in SAI_TransferTxSetConfig()
1670 handle->bitWidth = config->frameSync.frameSyncWidth; in SAI_TransferRxSetConfig()
1774 sai_frame_sync_len_t frameSyncWidth, in SAI_GetDSPConfig() argument
1785 switch (frameSyncWidth) in SAI_GetDSPConfig()
1788 config->frameSync.frameSyncWidth = 1U; in SAI_GetDSPConfig()
[all …]
Dfsl_sai.h364 uint8_t frameSyncWidth; /*!< frame sync width in number of bit clocks */ member
844 sai_frame_sync_len_t frameSyncWidth,
873 sai_frame_sync_len_t frameSyncWidth,
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c918 cfg->config.frameSync.frameSyncWidth = bitWidth; in SRTM_SaiSdmaAdapter_SetFormat()