]> git.sur5r.net Git - freertos/blobdiff - Demo/PIC32MX_MPLAB/IntQueueTimer.c
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / PIC32MX_MPLAB / IntQueueTimer.c
index 2b18b7d8154ed894768e6911da15df4ac0ffb374..edfaef2b51c5940d658d5177e638aa2755642802 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.0.2 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+    FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.\r
        \r
 \r
     ***************************************************************************\r
     FreeRTOS WEB site.\r
 \r
     1 tab == 4 spaces!\r
+    \r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    Having a problem?  Start by reading the FAQ "My application does   *\r
+     *    not run, what could be wrong?                                      *\r
+     *                                                                       *\r
+     *    http://www.FreeRTOS.org/FAQHelp.html                               *\r
+     *                                                                       *\r
+    ***************************************************************************\r
 \r
-    http://www.FreeRTOS.org - Documentation, latest information, license and\r
-    contact details.\r
-\r
-    http://www.SafeRTOS.com - A version that is certified for use in safety\r
-    critical systems.\r
-\r
-    http://www.OpenRTOS.com - Commercial support, development, porting,\r
-    licensing and training services.\r
+    \r
+    http://www.FreeRTOS.org - Documentation, training, latest information, \r
+    license and contact details.\r
+    \r
+    http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
+    including FreeRTOS+Trace - an indispensable productivity tool.\r
+\r
+    Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell \r
+    the code with commercial support, indemnification, and middleware, under \r
+    the OpenRTOS brand: http://www.OpenRTOS.com.  High Integrity Systems also\r
+    provide a safety engineered and independently SIL3 certified version under \r
+    the SafeRTOS brand: http://www.SafeRTOS.com.\r
 */\r
 \r
 #include "FreeRTOS.h"\r
@@ -110,14 +123,14 @@ void vInitialiseTimerForIntQueueTest( void )
 \r
 void vT3InterruptHandler( void )\r
 {\r
-       IFS0bits.T3IF = 0;\r
+       IFS0CLR = _IFS0_T3IF_MASK;\r
        portEND_SWITCHING_ISR( xFirstTimerHandler() );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
 void vT4InterruptHandler( void )\r
 {\r
-       IFS0bits.T4IF = 0;\r
+       IFS0CLR = _IFS0_T4IF_MASK;\r
        portEND_SWITCHING_ISR( xSecondTimerHandler() );\r
 }\r
 \r