Hi @Luke_John,
You can configure event-specific callbacks depending on the module you are using. For example, ADC block can configure various notifications (end of normal chain, end of injected, end of ctu, end of channel, watchdog out of range...):

Depending on configuration, ADC IRQ Handler will invoke the respective callback, which you can modify in your main.c code:

Best regards,
Julián