irq.c 281 B

123456789101112131415161718
  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. {
  8. NVIC_ClearPendingIRQ( EINT3_IRQn );
  9. if ( SD_CHANGE_DETECT )
  10. {
  11. SD_CHANGE_CLR();
  12. sdn_changed();
  13. }
  14. }