sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
|
Variables test inlines. More...
Functions | |
BOOL | inTolerance (const SDWORD val, const SDWORD ref, const float tolerance) |
Checks if val given as parameter is in tolerance. | |
BOOL | inRange (const SDWORD val, const SDWORD low, const SDWORD high) |
Checks if val given as parameter is in range. | |
Variables test inlines.
Checks if val given as parameter is in range.
[in] | val | - Value to check |
[in] | low | - Low range boundary |
[in] | high | - High range boundary |