Home
last modified time | relevance | path

Searched refs:oneChannel (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/flexcomm/i2s/
Dfsl_i2s.c249 config->oneChannel = false; in I2S_TxGetDefaultConfig()
303 config->oneChannel = false; in I2S_RxGetDefaultConfig()
346 cfg1 |= I2S_CFG1_ONECHANNEL(config->oneChannel); in I2S_Config()
484 if (handle->oneChannel) in I2S_ValidateBuffer()
516 void I2S_EnableSecondaryChannel(I2S_Type *base, uint32_t channel, bool oneChannel, uint32_t positio… in I2S_EnableSecondaryChannel() argument
527 pcfg1 |= I2S_CFG1_MAINENABLE_MASK | I2S_CFG1_ONECHANNEL(oneChannel); in I2S_EnableSecondaryChannel()
563 …handle->oneChannel = ((base->CFG1 & I2S_CFG1_ONECHANNEL_MASK) >> I2S_CFG1_ONECHANNEL_SHIFT) != 0U … in I2S_TxTransferCreateHandle()
667 …handle->oneChannel = ((base->CFG1 & I2S_CFG1_ONECHANNEL_MASK) >> I2S_CFG1_ONECHANNEL_SHIFT) != 0UL… in I2S_RxTransferCreateHandle()
863 if (handle->oneChannel) in I2S_TxHandleIRQ()
881 if (handle->oneChannel) in I2S_TxHandleIRQ()
[all …]
Dfsl_i2s.h102 bool oneChannel; /*!< true mono, false stereo */ member
142 bool oneChannel; /*!< true mono, false stereo */ member
410 void I2S_EnableSecondaryChannel(I2S_Type *base, uint32_t channel, bool oneChannel, uint32_t positio…
/hal_nxp-latest/mcux/mcux-sdk/components/audio/
Dfsl_adapter_flexcomm_i2s.c142 i2sConfig.oneChannel = true; in HAL_AudioCommonInit()
147 i2sConfig.oneChannel = true; in HAL_AudioCommonInit()
153 i2sConfig.oneChannel = true; in HAL_AudioCommonInit()
265 bool oneChannel = (channelNum % 2U != 0U) ? true : false; in HAL_AudioCommonInit() local
269 … I2S_EnableSecondaryChannel(s_i2sBases[audioHandle->instance], kI2S_SecondaryChannel1, oneChannel, in HAL_AudioCommonInit()
276 … I2S_EnableSecondaryChannel(s_i2sBases[audioHandle->instance], kI2S_SecondaryChannel2, oneChannel, in HAL_AudioCommonInit()
285 … I2S_EnableSecondaryChannel(s_i2sBases[audioHandle->instance], kI2S_SecondaryChannel3, oneChannel, in HAL_AudioCommonInit()