TNeoKernel  v1.03
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
tn_arch_pic32.h File Reference

Detailed Description

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...
 

Macro Definition Documentation

#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.

Parameters
vecinterrupt vector number, such as _TIMER_1_VECTOR, etc.

Definition at line 283 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.

Parameters
vecinterrupt vector number, such as _TIMER_1_VECTOR, etc.

Definition at line 432 of file tn_arch_pic32.h.