#define tmrTIMER_0_1_FREQUENCY ( 2000UL )\r
#define tmrTIMER_2_3_FREQUENCY ( 2001UL )\r
\r
-/* Handlers for the two timers used. */\r
-void vT0_1InterruptHandler( void ) __attribute((naked));\r
-void vT2_3InterruptHandler( void ) __attribute((naked));\r
+/* Wrappers and handlers for the two timers used. See the documentation page\r
+for this port on http://www.FreeRTOS.org for more information on writing\r
+interrupt handlers. */\r
+void vT0_1_ISR_Wrapper( void ) __attribute((naked));\r
+void vT2_3_ISR_Wrapper( void ) __attribute((naked));\r
\r
void vInitialiseTimerForIntQueueTest( void )\r
{\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vT0_1InterruptHandler( void )\r
+void vT0_1_ISR_Wrapper( void )\r
{\r
/* This is a naked function. This macro saves registers then re-enables\r
- interrupts. */\r
+ interrupts. See the documentation for htis port on http://www.FreeRTOS.org\r
+ for more information on writing interrupts. */\r
portENTER_INTERRUPT();\r
- \r
- portYIELD_FROM_ISR( xFirstTimerHandler() );\r
- \r
+\r
+ /* Call the handler that is part of the common code - this is where the\r
+ non-portable code ends and the actual test is performed. */\r
+ portYIELD_FROM_ISR( xFirstTimerHandler() ); \r
+\r
/* Restore registers, then return. */\r
portEXIT_INTERRUPT();\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vT2_3InterruptHandler( void )\r
+void vT2_3_ISR_Wrapper( void )\r
{\r
/* This is a naked function. This macro saves registers then re-enables\r
- interrupts. */\r
+ interrupts. See the documentation for htis port on http://www.FreeRTOS.org\r
+ for more information on writing interrupts. */\r
portENTER_INTERRUPT();\r
- \r
- portYIELD_FROM_ISR( xSecondTimerHandler() );\r
- \r
+\r
+ /* Call the handler that is part of the common code - this is where the\r
+ non-portable code ends and the actual test is performed. */\r
+ portYIELD_FROM_ISR( xSecondTimerHandler() ); \r
+\r
/* Restore registers, then return. */\r
portEXIT_INTERRUPT();\r
}\r
+/*-----------------------------------------------------------*/\r
+\r
+\r
\r
\r
\r