Add some comments to the PIC32 demos that the IPL setting in an ISR prototype has no effect if the FreeRTOS assembly wrapper is being used.

pull/1/head
Richard Barry 14 years ago
parent 14472a9499
commit 46c4d33d28

@ -61,6 +61,9 @@
void vT3InterruptHandler( void );
void vT4InterruptHandler( void );
/* As these interrupts use the FreeRTOS interrupt entry point, the IPL settings
in the following prototypes have no effect. The interrupt priorities are set
by the ConfigIntTimerX() library calls in vInitialiseTimerForIntQueueTest(). */
void __attribute__( (interrupt(ipl0), vector(_TIMER_3_VECTOR))) vT3InterruptWrapper( void );
void __attribute__( (interrupt(ipl0), vector(_TIMER_4_VECTOR))) vT4InterruptWrapper( void );

@ -82,7 +82,10 @@ static portBASE_TYPE xTxHasEnded;
/*-----------------------------------------------------------*/
/* The UART interrupt handler. */
/* The UART interrupt handler. As this uses the FreeRTOS assembly interrupt
entry point the IPL setting in the following prototype has no effect. The
interrupt priority is set by the call to ConfigIntUART2() in
xSerialPortInitMinimal(). */
void __attribute__( (interrupt(ipl1), vector(_UART2_VECTOR))) vU2InterruptWrapper( void );
/*-----------------------------------------------------------*/

@ -60,7 +60,9 @@
/* The maximum value the 16bit timer can contain. */
#define timerMAX_COUNT 0xffff
/* The timer 2 interrupt handler. */
/* The timer 2 interrupt handler. As this interrupt uses the FreeRTOS assembly
entry point the IPL setting in the following function prototype has no effect.
The interrupt priority is set by ConfigIntTimer2() in vSetupTimerTest(). */
void __attribute__( (interrupt(ipl0), vector(_TIMER_2_VECTOR))) vT2InterruptWrapper( void );
/*-----------------------------------------------------------*/

Loading…
Cancel
Save