TNeoKernel
v1.0
|
PIC32 architecture-dependent routines.
Definition in file tn_arch_pic32.h.
Go to the source code of this file.
Macros | |
#define | tn_soft_isr(vec) |
Interrupt handler wrapper macro for software context saving. More... | |
#define | tn_srs_isr(vec) |
Interrupt handler wrapper macro for shadow register context saving. More... | |
#define tn_soft_isr | ( | vec | ) |
Interrupt handler wrapper macro for software context saving.
Usage looks like the following:
tn_soft_isr(_TIMER_1_VECTOR) { INTClearFlag(INT_T1); //-- do something useful }
Note that you should not use __ISR(_TIMER_1_VECTOR)
macro for that.
vec | interrupt vector number, such as _TIMER_1_VECTOR , etc. |
Definition at line 269 of file tn_arch_pic32.h.
#define tn_srs_isr | ( | vec | ) |
Interrupt handler wrapper macro for shadow register context saving.
Usage looks like the following:
tn_srs_isr(_INT_UART_1_VECTOR) { INTClearFlag(INT_U1); //-- do something useful }
Note that you should not use __ISR(_INT_UART_1_VECTOR)
macro for that.
vec | interrupt vector number, such as _TIMER_1_VECTOR , etc. |
Definition at line 429 of file tn_arch_pic32.h.