Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC4800 receive interrupt

$
0
0
Hi,

You need to enable the USIC channel to generate interrupts.

If you're using the Infineon UART app code, you can call the UART_StartReceiveIRQ() routine.

If you want to handle all the buffering on your own, you can simply call:

XMC_USIC_CH_EnableEvent(handle->channel, (uint32_t)((uint32_t)XMC_USIC_CH_EVENT_STANDARD_RE CEIVE | (uint32_t)XMC_USIC_CH_EVENT_ALTERNATIVE_RECEIVE));

Note that the call above does not use the USIC FIFO If you want to use the USIC FIFO, see the code inside UART_StartReceiveIRQ() for how to handle the FIFO.

rgds,

Gary

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>