\r
/*-----------------------------------------------------------*/\r
\r
-/* Timers used to exercise external interrupt processing. */\r
-//static timer_instance_t g_timer0, g_timer1;\r
-\r
-/* Variables incremented by the peripheral timers used to exercise external\r
-interrupts. */\r
-volatile uint32_t ulTimer0Interrupts = 0, ulTimer1Interrupts = 0;\r
-\r
/* The following two variables are used to communicate the status of the\r
register check tasks to the check task. If the variables keep incrementing,\r
then the register check tasks have not discovered any errors. If a variable\r
TickType_t xDelayPeriod = mainNO_ERROR_CHECK_TASK_PERIOD;\r
TickType_t xLastExecutionTime;\r
uint32_t ulLastRegTest1Value = 0, ulLastRegTest2Value = 0;\r
-uint32_t ulLastTimer0Interrupts = 0, ulLastTimer1Interrupts = 0;\r
char * const pcPassMessage = ".";\r
char * pcStatusMessage = pcPassMessage;\r
extern void vSendString( const char * const pcString );\r
pcStatusMessage = "ERROR: Dynamic priority demo/tests.\r\n";\r
}\r
\r
- if ( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
+ if( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
{\r
pcStatusMessage = "ERROR: Block time demo/tests.\r\n";\r
}\r
\r
- if ( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
+ if( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
{\r
pcStatusMessage = "ERROR: Generic queue demo/tests.\r\n";\r
}\r
\r
- if ( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
+ if( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
{\r
pcStatusMessage = "ERROR: Recursive mutex demo/tests.\r\n";\r
}\r
}\r
ulLastRegTest2Value = ulRegTest2LoopCounter;\r
\r
- /* Check interrupts from the peripheral timers are being handled. */\r
- if( ulLastTimer0Interrupts == ulTimer0Interrupts )\r
- {\r
-// pcStatusMessage = "ERROR: Peripheral timer 0.\r\n";\r
- }\r
- ulLastTimer0Interrupts = ulTimer0Interrupts;\r
-\r
- if( ulLastTimer1Interrupts == ulTimer1Interrupts )\r
- {\r
-// pcStatusMessage = "ERROR: Peripheral timer 1.\r\n";\r
- }\r
- ulLastTimer1Interrupts = ulTimer1Interrupts;\r
-\r
/* Write the status message to the UART. */\r
vToggleLED();\r
vSendString( pcStatusMessage );\r
}\r
/*-----------------------------------------------------------*/\r
\r
-/*Core Timer 0 Interrupt Handler*/\r
-uint8_t External_30_IRQHandler( void )\r
-{\r
- ulTimer0Interrupts++;\r
- return 0;\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
-/*Core Timer 1 Interrupt Handler*/\r
-uint8_t External_31_IRQHandler( void )\r
-{\r
- ulTimer1Interrupts++;\r
- return 0;\r
-}\r