irq.c 255 B

123456789101112131415
  1. #include <arm/NXP/LPC17xx/LPC17xx.h>
  2. #include "bits.h"
  3. #include "config.h"
  4. #include "sdnative.h"
  5. #include "uart.h"
  6. void EINT3_IRQHandler(void) {
  7. NVIC_ClearPendingIRQ(EINT3_IRQn);
  8. if(SD_CHANGE_DETECT) {
  9. SD_CHANGE_CLR();
  10. sdn_changed();
  11. }
  12. }