void nvic_disable_irq(uint8_t irqn) { NVIC_ICER(irqn / 32) = (1 << (irqn % 32)); }
/* * Disable interrupt * Disables the interrupt specified in intvec. */ EXPORT void DisableInt( INTVEC intvec ) { *(_UW*)(NVIC_ICER(intvec)) = (0x01U << (intvec % 32)); }
static void chx_disable_intr (uint8_t irq_num) { NVIC_ICER (irq_num) = 1 << (irq_num & 0x1f); }