FreeRTOScpp
CallBack.h File Reference
#include <FreeRTOScpp.h>
#include <timers.h>
#include <stdint.h>
Include dependency graph for CallBack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >
 Base callback with two parameters. More...
 
class  FreeRTOScpp::CallBack< Tr >
 Specialization of CallBack with no parameters. More...
 
class  FreeRTOScpp::CallBack< Tr, Tp >
 Specialization of CallBack with only one parameter. More...
 
class  FreeRTOScpp::CallBack< void, uint32_t >
 Specialization for One parameter of uint32_t, as that can be pended by FreeRTOS. More...
 
class  FreeRTOScpp::FunctionCallback< Tr, Tp1, Tp2 >
 Derived Callback to call to a function. More...
 
class  FreeRTOScpp::FunctionCallback< Tr >
 
class  FreeRTOScpp::FunctionCallback< Tr, Tp >
 
class  FreeRTOScpp::MemberFunctionCallback< Tc, Tr, Tp1, Tp2 >
 
class  FreeRTOScpp::MemberFunctionCallback< Tc, Tr >
 
class  FreeRTOScpp::MemberFunctionCallback< Tc, Tr, Tp >
 

Namespaces

 FreeRTOScpp
 

Functions

void voidCallbackU32 (void *cb, uint32_t parm)
 Define a "C" Callback trampline suitable for Timer Callbacks. More...
 

Function Documentation

◆ voidCallbackU32()

void voidCallbackU32 ( void *  cb,
uint32_t  parm 
)

Define a "C" Callback trampline suitable for Timer Callbacks.

This is a "C" API function that takes a void* and a uint32_t points, like a FreeRTOS Timer callback that makes that FreeRTOS callback link to our CallBack templates using the "C" Callbacks void* parameter. This allows a CallBack<void, uint32_t> to be used for a timer

Parameters
cbThe Callback Object to use
parmThe Parameter to send to the Callback

References FreeRTOScpp::CallBack< void, uint32_t >::callback().

Referenced by FreeRTOScpp::CallBack< void, uint32_t >::~CallBack().

Here is the call graph for this function:
Here is the caller graph for this function: