CARME-M4 BSP  V1.5
Assertion

CARME-M4 Assertion handling. More...

+ Collaboration diagram for Assertion:

Files

file  assert.c
 Print assert messages to the stdout.
If stdout is a serial port, please initialize the port at startup.
 

Functions

void __assert (const char *file, int line, const char *func)
 Reports the name of the source file and the source line number where the assert error has occurred. More...
 
void __assert_func (const char *file, int line, const char *func, const char *additional)
 Reports the name of the source file and the source line number where the assert error has occurred. More...
 

Detailed Description

CARME-M4 Assertion handling.

Function Documentation

void __assert ( const char *  file,
int  line,
const char *  func 
)

Reports the name of the source file and the source line number where the assert error has occurred.

Parameters
[in]filepointer to the source file name
[in]lineassert error line source number
[in]funcpointer to the source function name
Returns
None

Definition at line 106 of file assert.c.

void __assert_func ( const char *  file,
int  line,
const char *  func,
const char *  additional 
)

Reports the name of the source file and the source line number where the assert error has occurred.

Parameters
[in]filepointer to the source file name
[in]lineassert_param error line source number
[in]funcpointer to the source function name
[in]additionalpointer to additional informations
Returns
None

Definition at line 127 of file assert.c.