ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Static Public Member Functions

chibios_rt::System Class Reference

Class encapsulating the base system functionalities. More...

#include <ch.hpp>

Static Public Member Functions

static void Init (void)
 ChibiOS/RT initialization.
static void Lock (void)
 Kernel lock.
static void Unlock (void)
 Kernel unlock.
static systime_t GetTime (void)
 Returns the system time as system ticks.

Detailed Description

Class encapsulating the base system functionalities.

Definition at line 44 of file ch.hpp.


Member Function Documentation

void chibios_rt::System::Init ( void   )  [static]

ChibiOS/RT initialization.

The system is initialized, the idle thread is spawned and the current instruction flow becomes the main thread with priority NORMALPRIO.

Definition at line 39 of file ch.cpp.

References chSysInit().

Here is the call graph for this function:

void chibios_rt::System::Lock ( void   )  [static]

Kernel lock.

Note:
On some ports it is faster to invoke chSysLock() directly because inlining.

Definition at line 44 of file ch.cpp.

References chSysLock.

void chibios_rt::System::Unlock ( void   )  [static]

Kernel unlock.

Note:
On some ports it is faster to invoke chSysUnlock() directly because inlining.

Definition at line 49 of file ch.cpp.

References chSysUnlock.

systime_t chibios_rt::System::GetTime ( void   )  [static]

Returns the system time as system ticks.

Note:
the system tick time interval is implementation dependent.

Definition at line 54 of file ch.cpp.

References chTimeNow.


Generated on Sun Nov 28 2010 14:09:59 for ChibiOS/RT by doxygen 1.7.1