#include <avr/pgmspace.h>
Go to the source code of this file.
Functions | |
void | otosError (uint8_t *pMessage) |
Handle otOS error. | |
void | otosError_P (PGM_P pMessage) |
Handle otOS error. | |
void | otosSetErrorHandler (void(*pFunc)(uint8_t *)) |
Set error handler function (data space). | |
void | otosSetErrorHandler_P (void(*pFunc)(PGM_P)) |
Set error handler function (program space). |
Definition in file error.h.
|
Handle otOS error. This function will be called by otOS in case of a fatal error. If an error handler was set with otosSetErrorHandler(), this will be called, else the system is halted. otOS applications may call this function, too.
Definition at line 67 of file error.c. Referenced by otosScheduler(). |
|
Handle otOS error. This function will be called by otOS in case of a fatal error. If an error handler was set with otosSetErrorHandler_P(), this will be called, else the system is halted. otOS applications may call this function, too.
Definition at line 87 of file error.c. Referenced by otosCreateMainTask(), and otosWakeup(). |
|
Set error handler function (data space). This function sets the function, that handles error message strings from data space (RAM).
|
|
Set error handler function (program space). This function sets the function, that handles error message strings from program space (FLASH).
|