SYS/BIOS
7.00
|
SystemSupport implementation for user callback functions.
This module provides a implementation of the SystemSupport.h interface that simply calls back the user defined functions to support the System module's functionality.
Configuration is as shown below. Not all fields need be specfied. If a field is not specified, a default (empty) implementation provided by SysCallback will be used.
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | SysCallback_defaultAbort (const char *str) |
Default abort function that does nothing. More... | |
void | SysCallback_defaultExit (int stat) |
Default exit function that does nothing. More... | |
void | SysCallback_defaultFlush (void) |
Default flush function that does nothing. More... | |
void | SysCallback_defaultInit (void) |
Default init function that does nothing. More... | |
void | SysCallback_defaultPutch (char c) |
Default putch function that does nothing. More... | |
bool | SysCallback_defaultReady (void) |
Default ready function that does nothing. More... | |
void SysCallback_defaultAbort | ( | const char * | str | ) |
Default abort function that does nothing.
This default abort function spins forever and never returns.
void SysCallback_defaultExit | ( | int | stat | ) |
Default exit function that does nothing.
The default exit function does nothing and returns.
void SysCallback_defaultFlush | ( | void | ) |
Default flush function that does nothing.
The default flush function does nothing and returns.
void SysCallback_defaultInit | ( | void | ) |
Default init function that does nothing.
The default init function does nothing and returns.
void SysCallback_defaultPutch | ( | char | c | ) |
Default putch function that does nothing.
The default putch function drops the characters.
bool SysCallback_defaultReady | ( | void | ) |
Default ready function that does nothing.
The default ready function returns TRUE
always.