pxTopOfStack--;\r
*pxTopOfStack = ( portSTACK_TYPE ) 0x30303030; /* Initial Value of R30 */\r
pxTopOfStack--; \r
- *pxTopOfStack = ( portSTACK_TYPE ) 0x19191919; /* Initial Value of R19 */\r
+ *pxTopOfStack = ( portSTACK_TYPE ) 0x19191919; /* Initial Value of R19 */\r
pxTopOfStack--;\r
*pxTopOfStack = ( portSTACK_TYPE ) 0x18181818; /* Initial Value of R18 */\r
pxTopOfStack--;\r
pxTopOfStack--;\r
*pxTopOfStack = ( portSTACK_TYPE ) 0x14141414; /* Initial Value of R14 */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0x13131313; /* Initial Value of R13 */\r
+ *pxTopOfStack = ( portSTACK_TYPE ) 0x13131313; /* Initial Value of R13 */\r
pxTopOfStack--;\r
*pxTopOfStack = ( portSTACK_TYPE ) 0x12121212; /* Initial Value of R12 */\r
pxTopOfStack--;\r
#endif /* configDATA_MODE */\r
*pxTopOfStack = ( portSTACK_TYPE ) 0x22222222; /* Initial Value of R02 */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) pvParameters; /* R1 is expected to hold the function parameter*/\r
+ *pxTopOfStack = ( portSTACK_TYPE ) pvParameters; /* R1 is expected to hold the function parameter*/\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) portNO_CRITICAL_SECTION_NESTING; \r
- /*\r
- * Return a pointer to the top of the stack we have generated so this can\r
- * be stored in the task control block for the task.\r
- */\r
+ *pxTopOfStack = ( portSTACK_TYPE ) portNO_CRITICAL_SECTION_NESTING; \r
+\r
+ /*\r
+ * Return a pointer to the top of the stack we have generated so this can\r
+ * be stored in the task control block for the task.\r
+ */\r
return pxTopOfStack;\r
}\r
/*-----------------------------------------------------------*/\r
/* Setup the hardware to generate the tick. Interrupts are disabled when\r
this function is called. */\r
prvSetupTimerInterrupt();\r
+\r
/* Restore the context of the first task that is going to run. */\r
vPortStart();\r
+\r
/* Should not get here as the tasks are now running! */\r
return pdTRUE;\r
}\r
*/\r
static void prvSetupTimerInterrupt( void )\r
{\r
- TM0CE = 0; /* TMM0 operation disable */\r
+ TM0CE = 0; /* TMM0 operation disable */\r
TM0EQMK0 = 1; /* INTTM0EQ0 interrupt disable */\r
TM0EQIF0 = 0; /* clear INTTM0EQ0 interrupt flag */\r
\r
/* Set INTTM0EQ0 level 5 priority */\r
TM0EQIC0 &= 0xF8;\r
-/* TM0EQIC0 |= 0x05;*/\r
TM0CTL0 = 0x00;\r
TM0CMP0 = (((configCPU_CLOCK_HZ / configTICK_RATE_HZ) / 2)-1); /* divided by 2 because peripherals only run at CPU_CLOCK/2 */\r
- \r
- TM0EQIF0 = 0; /* clear INTTM0EQ0 interrupt flag */\r
+\r
+ TM0EQIF0 = 0; /* clear INTTM0EQ0 interrupt flag */\r
TM0EQMK0 = 0; /* INTTM0EQ0 interrupt enable */\r
TM0CE = 1; /* TMM0 operation enable */\r
}\r