![]() |
RainbowBS Manual
v0.1.0
Written by QWQ([email protected])
|
Port.h File Reference
#include "RainbowBS.h"
Include dependency graph for Port.h:

Functions | |
BOOL | Port_Init (void) |
Initialize hardware. More... | |
TICK | Port_GetTickCount (void) |
Get system tick. More... | |
void | Port_GetLocalTime (tTime *pTime) |
Get system local time. More... | |
void | Port_Delay (U32 millisec) |
Delay some millisecond. More... | |
void | Port_Printf_Error (const char *s) |
Output error information. More... | |
void | Port_Printf_Warn (const char *s) |
Output warning information. More... | |
void | Port_Printf_Log (const char *s) |
Output log information. More... | |
BOOL | Port_GetMutex (HMUTEX hMutex) |
Wait for a mutex. More... | |
BOOL | Port_FreeMutex (HMUTEX hMutex) |
Release a mutex. More... | |
Detailed Description
Implementation of porting.
Function Documentation
void Port_Delay | ( | U32 | millisec | ) |
- Parameters
-
[in] millisec millisecond count.
Here is the caller graph for this function:

BOOL Port_FreeMutex | ( | HMUTEX | hMutex | ) |
- Parameters
-
[in] hMutex handle of mutex.
Here is the caller graph for this function:

void Port_GetLocalTime | ( | tTime * | pTime | ) |
- Parameters
-
[out] pTime time structure.
Here is the caller graph for this function:

BOOL Port_GetMutex | ( | HMUTEX | hMutex | ) |
- Parameters
-
[in] hMutex handle of mutex.
Here is the caller graph for this function:

TICK Port_GetTickCount | ( | void | ) |
- Returns
- system tick.
Here is the caller graph for this function:

BOOL Port_Init | ( | void | ) |
- Return values
-
TRUE successful. FALSE failed.
Here is the caller graph for this function:

void Port_Printf_Error | ( | const char * | s | ) |
- Parameters
-
[in] s string.
void Port_Printf_Log | ( | const char * | s | ) |
- Parameters
-
[in] s string.
void Port_Printf_Warn | ( | const char * | s | ) |
- Parameters
-
[in] s string.
Generated by
