Home
last modified time | relevance | path

Searched refs:channelPair (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/asrc/
Dfsl_asrc.c36 …ASRC_Type *base, asrc_channel_pair_t channelPair, uint32_t *destAddress, uint32_t samples, uint32_…
49 asrc_channel_pair_t channelPair,
113 …ASRC_Type *base, asrc_channel_pair_t channelPair, uint32_t *destAddress, uint32_t samples, uint32_… in ASRC_ReadNonBlocking() argument
117 volatile uint32_t *srcAddr = ASRC_ASRDO_ADDR(base, channelPair); in ASRC_ReadNonBlocking()
127 asrc_channel_pair_t channelPair, in ASRC_WriteNonBlocking() argument
135 volatile uint32_t *destAddr = ASRC_ASRDI_ADDR(base, channelPair); in ASRC_WriteNonBlocking()
247 uint32_t ASRC_MapSamplesWidth(ASRC_Type *base, asrc_channel_pair_t channelPair, uint32_t *inWidth, … in ASRC_MapSamplesWidth() argument
250 …inRegWidth = (ASRC_ASRMCR1(base, channelPair) & ASRC_ASRMCR1_IWD_MASK) >> ASRC_ASRMCR1_IWD_SHIFT, in ASRC_MapSamplesWidth()
251 outRegWidth = ASRC_ASRMCR1(base, channelPair) & ASRC_ASRMCR1_OW16_MASK, in ASRC_MapSamplesWidth()
252 …inDataAlign = (ASRC_ASRMCR1(base, channelPair) & ASRC_ASRMCR1_IMSB_MASK) >> ASRC_ASRMCR1_IMSB_SHI… in ASRC_MapSamplesWidth()
[all …]
Dfsl_asrc.h349 asrc_channel_pair_t channelPair; /*!< channel pair mask */ member
414 asrc_channel_pair_t channelPair,
432 asrc_channel_pair_t channelPair,
447 uint32_t ASRC_MapSamplesWidth(ASRC_Type *base, asrc_channel_pair_t channelPair, uint32_t *inWidth, …
460 asrc_channel_pair_t channelPair,
490 static inline void ASRC_ChannelPairEnable(ASRC_Type *base, asrc_channel_pair_t channelPair, bool en… in ASRC_ChannelPairEnable() argument
494 base->ASRCTR |= 1UL << ((uint32_t)channelPair + 1U); in ASRC_ChannelPairEnable()
498 base->ASRCTR &= ~(1UL << ((uint32_t)channelPair + 1U)); in ASRC_ChannelPairEnable()
569 …tic inline uint32_t ASRC_GetChannelPairFifoStatus(ASRC_Type *base, asrc_channel_pair_t channelPair) in ASRC_GetChannelPairFifoStatus() argument
571 …return ASRC_ASRMCR(base, channelPair) & ((uint32_t)kASRC_OutputFifoNearFull | (uint32_t)kASRC_Inpu… in ASRC_GetChannelPairFifoStatus()
[all …]
Dfsl_asrc_edma.c119 asrc_channel_pair_t channelPair, in ASRC_TransferInCreateHandleEDMA() argument
138 handle->channelPair = channelPair; in ASRC_TransferInCreateHandleEDMA()
141 s_edmaPrivateHandle[instance][channelPair].base = base; in ASRC_TransferInCreateHandleEDMA()
142 s_edmaPrivateHandle[instance][channelPair].handle = handle; in ASRC_TransferInCreateHandleEDMA()
147 EDMA_SetCallback(inDmaHandle, ASRC_InEDMACallback, &s_edmaPrivateHandle[instance][channelPair]); in ASRC_TransferInCreateHandleEDMA()
166 asrc_channel_pair_t channelPair, in ASRC_TransferOutCreateHandleEDMA() argument
185 handle->channelPair = channelPair; in ASRC_TransferOutCreateHandleEDMA()
188 s_edmaPrivateHandle[instance][channelPair].base = base; in ASRC_TransferOutCreateHandleEDMA()
189 s_edmaPrivateHandle[instance][channelPair].handle = handle; in ASRC_TransferOutCreateHandleEDMA()
194 … EDMA_SetCallback(outDmaHandle, ASRC_OutEDMACallback, &s_edmaPrivateHandle[instance][channelPair]); in ASRC_TransferOutCreateHandleEDMA()
[all …]
Dfsl_asrc_edma.h83 asrc_channel_pair_t channelPair; /*!< channel pair */ member
116 asrc_channel_pair_t channelPair,
138 asrc_channel_pair_t channelPair,