Home
last modified time | relevance | path

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

/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/SPIMSS/
Dspimss_reva.c313 int tx_channel_id = -1; in MXC_SPIMSS_RevA_MasterTransDMA() local
343 tx_channel_id = MXC_DMA_AcquireChannel(); in MXC_SPIMSS_RevA_MasterTransDMA()
344 if (tx_channel_id < 0) { in MXC_SPIMSS_RevA_MasterTransDMA()
345 return tx_channel_id; in MXC_SPIMSS_RevA_MasterTransDMA()
347 MXC_SPIMSS_RevA_SetTXDMAChannel(spi, tx_channel_id); in MXC_SPIMSS_RevA_MasterTransDMA()
350 tx_channel_id = MXC_SPIMSS_RevA_GetTXDMAChannel(spi); in MXC_SPIMSS_RevA_MasterTransDMA()
351 if (tx_channel_id < 0) { in MXC_SPIMSS_RevA_MasterTransDMA()
356 MXC_NVIC_SetVector(MXC_DMA_CH_GET_IRQ(tx_channel_id), MXC_DMA_Handler); in MXC_SPIMSS_RevA_MasterTransDMA()
376 dma_config_tx.ch = tx_channel_id; in MXC_SPIMSS_RevA_MasterTransDMA()
384 dma_adv_config_tx.ch = tx_channel_id; in MXC_SPIMSS_RevA_MasterTransDMA()
[all …]