RainbowBS Manual: Port.h File Reference

RainbowBS

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.

Author
QWQ jacob.nosp@m.qwq@.nosp@m.iclou.nosp@m.d.co.nosp@m.m

Function Documentation

void Port_Delay ( U32  millisec)
Parameters
[in]millisecmillisecond count.

Here is the caller graph for this function:

BOOL Port_FreeMutex ( HMUTEX  hMutex)
Parameters
[in]hMutexhandle of mutex.

Here is the caller graph for this function:

void Port_GetLocalTime ( tTime pTime)
Parameters
[out]pTimetime structure.

Here is the caller graph for this function:

BOOL Port_GetMutex ( HMUTEX  hMutex)
Parameters
[in]hMutexhandle 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
TRUEsuccessful.
FALSEfailed.

Here is the caller graph for this function:

void Port_Printf_Error ( const char *  s)
Parameters
[in]sstring.
void Port_Printf_Log ( const char *  s)
Parameters
[in]sstring.
void Port_Printf_Warn ( const char *  s)
Parameters
[in]sstring.
Generated by   doxygen 1.8.9.1