eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_Checks.h File Reference

this file contains various checkers like checkIdx More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void checkIdx (optVAL_t idx)
 [DEBUG_MODE] used to check if a pin index is in bounds More...
 
void setPin (optVAL_t idx, optVAL_t mode=OUTPUT)
 [COPY&PASTE] set a pin to a certain mode => checkPin() will return true then More...
 

Detailed Description

this file contains various checkers like checkIdx

Last Updated:

Version
3.2.0a

Definition in file eagle_Checks.h.

Function Documentation

◆ checkIdx()

void checkIdx ( optVAL_t  idx)

[DEBUG_MODE] used to check if a pin index is in bounds

Note
if not, an assert-error will be raised
Parameters
idxthe index of the pin to check
Returns
nothing, blocks on error

◆ setPin()

void setPin ( optVAL_t  idx,
optVAL_t  mode = OUTPUT 
)

[COPY&PASTE] set a pin to a certain mode => checkPin() will return true then

Parameters
idxthe index of the pin to set
modethe mode the pin should be set to