CooCox 1.1.4 on mbed with simple blinky example
Dependencies:
mbed
« Back to documentation index
port.c File Reference
Compiler adapter for CooCox CoOS kernel.
More...
Go to the source code of this file.
Functions
__asm U8 Inc8 (volatile U8 *data)
Plus a byte integers and Saved into memory cell.
__asm U8 Dec8 (volatile U8 *data)
Decrease a byte integers and Saved into memory cell.
__asm void IRQ_ENABLE_RESTORE (void)
ENABLE Interrupt.
__asm void IRQ_DISABLE_SAVE (void)
Close Interrupt.
__asm void SetEnvironment (OS_STK *pstk)
Set environment for Coocox OS running.
__asm void SwitchContext (void)
Do ready work to Switch Context for task change.
__asm void PendSV_Handler ()
Switch Context for task change.
Detailed Description
Compiler adapter for CooCox CoOS kernel.
Version: V1.14
Date: 2011.04.20
INTERNAL FILE,DON'T PUBLIC.
© COPYRIGHT 2010 CooCox
Definition in file port.c .
Function Documentation
__asm U8 Dec8
(
volatile U8 *
data )
Decrease a byte integers and Saved into memory cell.
Parameters:
[in] data byte integers.
[out] None
Return values:
Description
This function is called to Decrease a byte integers and Saved into memory cell.
Definition at line 60 of file port.c .
__asm U8 Inc8
(
volatile U8 *
data )
Plus a byte integers and Saved into memory cell.
Parameters:
[in] data byte integers.
[out] None
Return values:
Description
This function is called to Plus a byte integers and Saved into memory cell.
Definition at line 32 of file port.c .
__asm void IRQ_DISABLE_SAVE
(
void
)
Close Interrupt.
Parameters:
Return values:
Description
This function is called to close Interrupt.
Definition at line 101 of file port.c .
__asm void IRQ_ENABLE_RESTORE
(
void
)
ENABLE Interrupt.
Parameters:
Return values:
Description
This function is called to ENABLE Interrupt.
Definition at line 85 of file port.c .
__asm void PendSV_Handler
(
)
Switch Context for task change.
Parameters:
Return values:
Description
This function is called to Switch Context for task change.
Definition at line 161 of file port.c .
__asm void SetEnvironment
(
OS_STK *
pstk )
Set environment for Coocox OS running.
Parameters:
[in] pstk stack pointer
[out] None
Return values:
Description
This function is called to Set environment for Coocox OS running.
Definition at line 118 of file port.c .
__asm void SwitchContext
(
void
)
Do ready work to Switch Context for task change.
Parameters:
Return values:
Description
This function is called to Do ready work to Switch Context for task change
Definition at line 139 of file port.c .