eBoard ๐Ÿ‰  โ‘ โ‘งโ‘จ
Written for SIA 2017/2018
eagle_Assert.h File Reference
#include <assert.h>
+ Include dependency graph for eagle_Assert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __assert (const char *__func, const char *__file, optVAL_t __lineno, const char *__sexp)
 [DEBUG_MODE] custom assert message More...
 

Function Documentation

◆ __assert()

void __assert ( const char *  __func,
const char *  __file,
optVAL_t  __lineno,
const char *  __sexp 
)

[DEBUG_MODE] custom assert message

Parameters
__functhe function name
__filethe file name
__linenothe line number
__sexpthe expression
Note
Example output when using a not-allowed pin:
Error with: checkIdx in /home/eagleoutice/Dokumente/proj/_sia/src/eBoard.h
        >>idx>0x1 && idx < 0xA
    This happens if an out of bounds exception
    has occured. Following pins shouldn't be used:
    D2&D3 : Used for Bluetooth communication
    D4&D5 : Used for main motor control
    D10-13: Used for smart-servo-shield