CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

arch.c File Reference

arch.c File Reference

This file provides InitTaskContext() and SysTick_Handler(). More...

Go to the source code of this file.

Functions

OS_STK * InitTaskContext (FUNCPtr task, void *param, OS_STK *pstk)
 Initial task context.
void SysTick_Handler (void)
 System tick interrupt handler.

Variables

U64 OSTickCnt = 0

Detailed Description

This file provides InitTaskContext() and SysTick_Handler().

Version:
V1.1.4
Date:
2011.04.20 WRITE COPY INFORMATION USE CAPITAL LETTER

© COPYRIGHT 2009 CooCox

Definition in file arch.c.


Function Documentation

OS_STK* InitTaskContext ( FUNCPtr  task,
void *  param,
OS_STK *  pstk 
)

Initial task context.

Parameters:
[in]taskEntry point of task.
[in]paramThe parameter pass to task.
[in]pstkThe pointer to stack top.
[out]None
Return values:
Returnslocation of new stack top.
Description

This function is called to initialize the stack frame of the task being created.

Definition at line 33 of file arch.c.

void SysTick_Handler ( void   )

System tick interrupt handler.

Parameters:
[in]None
[out]None
Return values:
None
Description

This is system tick interrupt headler.

Note:
CoOS may schedule when exiting this ISR.

Definition at line 61 of file arch.c.


Variable Documentation

U64 OSTickCnt = 0

Current system tick counter

Definition at line 17 of file arch.c.