Hi,Jerry,
Regarding the difference between interrupt handler and callback functions, as you know that the interrupt handler is an ISR(interrupt service routine) exactly, when an event happens, an interrupt is triggered, the MCU stop the current code execution and jump to ISR with PC/SR register saved in stack automatically.
For the callback function, as the name implies, the callBack function is called by system, the caller which call the callback function is concealed by system.
For the LPC SDK package, almost all callback function is called by interrupt handler, regarding the multiple callback functions of CTimer, in the interrupt handler of CTimer, the core checks CTimer status register to identify which events trigger the interrupt handle and call corresponding callback functions.
For the exit barrier, just interrupt handler requires to add the exiting barrier code, it is NOT required for the callback function.
Hope it can help you
BR
Xiangjun Rong