CooCox 1.1.4 on mbed with simple blinky example
Implement function declare related to Cortex-M3(ARM-v7) More...
Go to the source code of this file.
Functions | |
OS_STK * | InitTaskContext (FUNCPtr task, void *param, OS_STK *pstk) |
Initial task context. | |
void | SwitchContext (void) |
Do ready work to Switch Context for task change. | |
void | SetEnvironment (OS_STK *pstk) |
Set environment for Coocox OS running. | |
U8 | Inc8 (volatile U8 *data) |
Plus a byte integers and Saved into memory cell. | |
U8 | Dec8 (volatile U8 *data) |
Decrease a byte integers and Saved into memory cell. | |
void | IRQ_ENABLE_RESTORE (void) |
ENABLE Interrupt. | |
void | IRQ_DISABLE_SAVE (void) |
Close Interrupt. | |
Variables | |
U64 | OSTickCnt |
Detailed Description
Implement function declare related to Cortex-M3(ARM-v7)
- Version:
- V1.1.4
- Date:
- 2011.04.20
This header file including functions or defines related to Cortex-M3(ARM-v7).
INTERNAL FILE,DON'T PUBLIC.
© COPYRIGHT 2009 CooCox
Definition in file OsArch.h.
Function Documentation
U8 Dec8 | ( | volatile U8 * | data ) |
U8 Inc8 | ( | volatile U8 * | data ) |
OS_STK* InitTaskContext | ( | FUNCPtr | task, |
void * | param, | ||
OS_STK * | pstk | ||
) |
Initial task context.
- Parameters:
-
[in] task Entry point of task. [in] param The parameter pass to task. [in] pstk The pointer to stack top. [out] None
- Return values:
-
Returns location of new stack top.
- Description
This function is called to initialize the stack frame of the task being created.
void IRQ_DISABLE_SAVE | ( | void | ) |
void IRQ_ENABLE_RESTORE | ( | void | ) |
void SetEnvironment | ( | OS_STK * | pstk ) |
void SwitchContext | ( | void | ) |
Variable Documentation
Generated on Tue Jul 12 2022 18:19:10 by 1.7.2