我去过我需要比评论更详细地理解这段代码,soemone可以帮忙吗?
void vicInstallIRQhandler(pVoidFunc_t pISR, uint32_t priority,
uint32_t vicIntSource) {
// store the handler address in the correct slot in the vector
*(&VICVECTADDR0 + vicIntSource) = (unsigned long)pISR;
// set the priority of the interrupt for this slot
*(&VICVECTPRIORITY0 + vicIntSource) = priority;
// clear FIQ select bit i.e. assign this interrupt source to IRQ
VICINTSELECT &= ~(1UL << vicIntSource);
// enable the interrupt
VICINTENABLE |= (1UL << vicIntSource);
}