SYS/BIOS  7.00
Functions
SysCallback.h File Reference

Detailed Description

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.

const SysCallback = scripting.addModule("/ti/sysbios/runtime/SysCallback");
SysCallback.abortFxn = "userAbort";
SysCallback.exitFxn = "userExit";
SysCallback.flushFxn = "userFlush";
SysCallback.abortFxn = "userInit";
SysCallback.putchFxn = "userPutch";
SysCallback.readyFxn = "userReady";
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Include dependency graph for SysCallback.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...
 

Function Documentation

§ SysCallback_defaultAbort()

void SysCallback_defaultAbort ( const char *  str)

Default abort function that does nothing.

This default abort function spins forever and never returns.

§ SysCallback_defaultExit()

void SysCallback_defaultExit ( int  stat)

Default exit function that does nothing.

The default exit function does nothing and returns.

§ SysCallback_defaultFlush()

void SysCallback_defaultFlush ( void  )

Default flush function that does nothing.

The default flush function does nothing and returns.

§ SysCallback_defaultInit()

void SysCallback_defaultInit ( void  )

Default init function that does nothing.

The default init function does nothing and returns.

§ SysCallback_defaultPutch()

void SysCallback_defaultPutch ( char  c)

Default putch function that does nothing.

The default putch function drops the characters.

§ SysCallback_defaultReady()

bool SysCallback_defaultReady ( void  )

Default ready function that does nothing.

The default ready function returns TRUE always.

© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale