Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/components/audio/
Dfsl_adapter_sai.c336 saiConfig.frameSync.frameSyncWidth = config->bitWidth >> 1U; in HAL_AudioCommonInit()
342 saiConfig.frameSync.frameSyncWidth = config->bitWidth; in HAL_AudioCommonInit()
349 saiConfig.frameSync.frameSyncWidth = config->bitWidth * channelNum >> 1U; in HAL_AudioCommonInit()
405 if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthOneBitClk) in HAL_AudioCommonInit()
407 saiConfig.frameSync.frameSyncWidth = 1; in HAL_AudioCommonInit()
409 … else if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthPerWordWidth) in HAL_AudioCommonInit()
411 saiConfig.frameSync.frameSyncWidth = config->bitWidth; in HAL_AudioCommonInit()
422 if ((uint8_t)config->frameSyncWidth == (uint8_t)kHAL_AudioFrameSyncWidthOneBitClk) in HAL_AudioCommonInit()
424 saiConfig.frameSync.frameSyncWidth = 1; in HAL_AudioCommonInit()
426 … 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.7.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c381 config->frameSync.frameSyncWidth = (uint8_t)bitWidth; in SAI_GetCommonConfig()
1023 assert((config->frameSyncWidth - 1UL) <= (I2S_TCR4_SYWD_MASK >> I2S_TCR4_SYWD_SHIFT)); in SAI_TxSetFrameSyncConfig()
1037 I2S_TCR4_SYWD(config->frameSyncWidth - 1UL); in SAI_TxSetFrameSyncConfig()
1052 assert((config->frameSyncWidth - 1UL) <= (I2S_RCR4_SYWD_MASK >> I2S_RCR4_SYWD_SHIFT)); in SAI_RxSetFrameSyncConfig()
1066 I2S_RCR4_SYWD(config->frameSyncWidth - 1UL); in SAI_RxSetFrameSyncConfig()
1481 sai_frame_sync_len_t frameSyncWidth, in SAI_GetDSPConfig() argument
1492 switch (frameSyncWidth) in SAI_GetDSPConfig()
1495 config->frameSync.frameSyncWidth = 1U; in SAI_GetDSPConfig()
1514 sai_frame_sync_len_t frameSyncWidth, in SAI_GetTDMConfig() argument
1526 switch (frameSyncWidth) in SAI_GetTDMConfig()
[all …]
Dfsl_sai.h388 uint8_t frameSyncWidth; /*!< frame sync width in number of bit clocks */ member
796 sai_frame_sync_len_t frameSyncWidth,
825 sai_frame_sync_len_t frameSyncWidth,
/hal_nxp-3.7.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_sdma_adapter.c923 cfg->config.frameSync.frameSyncWidth = bitWidth; in SRTM_SaiSdmaAdapter_SetFormat()