Go to the documentation of this file.00001 #ifdef __ICC8051__
00002
00003 #define EXT_INT0_ISR() \
00004 _Pragma("vector=0x0003") \
00005 __interrupt void ext_int0_isr(void)
00006
00007 #define T0_ISR() \
00008 _Pragma("vector=0x000b") \
00009 __interrupt void t0_isr(void)
00010
00011 #define AES_RDY_ISR() \
00012 _Pragma("vector=0x0013") \
00013 __interrupt void aes_rdy_isr(void)
00014
00015 #define T1_ISR() \
00016 _Pragma("vector=0x001b") \
00017 __interrupt void t1_isr(void)
00018
00019 #define UART0_ISR() \
00020 _Pragma("vector=0x0023") \
00021 __interrupt void uart0_isr(void)
00022
00023 #define T2_ISR() \
00024 _Pragma("vector=0x002b") \
00025 __interrupt void t2_isr(void)
00026
00027 #define RF_RDY_ISR() \
00028 _Pragma("vector=0x0043") \
00029 __interrupt void rf_rdy_isr(void)
00030
00031 #define NRF_ISR() \
00032 _Pragma("vector=0x004b") \
00033 __interrupt void nrf_isr(void)
00034
00035 #define SPI_ISR() \
00036 _Pragma("vector=0x0053") \
00037 __interrupt void spi_isr(void)
00038
00039 #define USB_WU_ISR() \
00040 _Pragma("vector=0x005b") \
00041 __interrupt void usb_wu_isr(void)
00042
00043 #define USB_ISR() \
00044 _Pragma("vector=0x0063") \
00045 __interrupt void usb_isr(void)
00046
00047 #define WU_ISR() \
00048 _Pragma("vector=0x006b") \
00049 __interrupt void wu_isr(void)
00050
00051 #endif
00052
00053 #ifdef __C51__
00054
00055 #define EXT_INT0_ISR() void ext_int0_isr(void) interrupt INTERRUPT_EXT_INT0// External Interrupt0 (P0.3) (0x03)
00056 #define T0_ISR() void t0_isr(void) interrupt INTERRUPT_T0 // Timer0 Overflow (0x0b)
00057 #define AES_RDY_ISR() void aes_rdy_isr(void) interrupt INTERRUPT_AES_RDY // AES ready interrupt (0x13)
00058 #define T1_ISR() void t1_isr(void) interrupt INTERRUPT_T1 // Timer1 Overflow (0x1b)
00059 #define UART0_ISR() void uart0_isr(void) interrupt INTERRUPT_UART0 // UART0, Receive & Transmitt interrupt (0x0023)
00060 #define T2_ISR() void t2_isr(void) interrupt INTERRUPT_T2 // Timer2 Overflow (0x2b)
00061 #define RF_RDY_ISR() void rf_rdy_isr(void) interrupt INTERRUPT_RF_RDY // RF SPI ready interrupt (0x43)
00062 #define NRF_ISR() void nrf_isr(void) interrupt INTERRUPT_RFIRQ // RF interrupt (0x4b)
00063 #define SPI_ISR() void spi_isr(void) interrupt INTERRUPT_SPI // SPI interrupt (0x53)
00064 #define USB_WU_ISR() void usb_wu_isr(void) interrupt INTERRUPT_USB_WU // USB wakeup interrupt (0x5b)
00065 #define USB_ISR() void usb_isr(void) interrupt INTERRUPT_USB_INT // USB interrupt (0x63)
00066 #define WU_ISR() void wu_isr(void) interrupt INTERRUPT_WU // Internal wakeup interrupt (0x6b)
00067
00068 #endif
00069
00070
00071
00072