How to program routine to service Source Event of ADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I am using DAVE 3 with XMC1100 processor and could use service request routines for USIC and CCU successfully

But I do not quite understand, how to set up ADC for interrupts and what program code is required.

Basically, I am looking for the equivilent to
USIC0_CH0->INPR
NVIC_EnableIRQ((IRQn_Type)Node)
void IRQ_Hdlr_9 (void) {CH0_RxInterruptCall();}
void CH0_RxInterruptCall() {};

as used for USIC.

Could somebody give me an example with the base code for Source Event handling, please.
0 Likes
0 Replies