ChibiOS/RT
Macros | Functions
ChibiOS_AVR.h File Reference

ChibiOS for AVR Arduinos. More...

This graph shows which files directly or indirectly include this file:

Macros

#define CHIBIOS_AVR_VERSION   20151117
 

Functions

void chBegin (void(*mainThread)())
 
size_t chHeapMainSize ()
 
size_t chUnusedHeapMain ()
 
size_t chUnusedStack (void *wsp, size_t size)
 

Detailed Description

ChibiOS for AVR Arduinos.

Macro Definition Documentation

#define CHIBIOS_AVR_VERSION   20151117

ChibiOS_AVR version YYYYMMDD

Function Documentation

void chBegin ( void(*)()  mainThread)

Start ChibiOS/RT - does not return

Parameters
[in]mainThreadFunction to be called before repeated calls to loop().
size_t chHeapMainSize ( )
inline
Returns
size of heap/main stack in bytes
size of heap/loop stack in bytes
size_t chUnusedHeapMain ( )

Determine unused bytes in the heap/main stack area

Returns
number of unused bytes

Determine unused bytes in the heap/loop stack area

Returns
number of unused bytes
size_t chUnusedStack ( void *  wsp,
size_t  size 
)

Determine unused stack for a thread

Parameters
[in]wsppointer to working space for thread
[in]sizeworking space size
Returns
number of unused stack locations