|
#define | Assert(expr) ((void) 0) |
| This macro is used to test fatal errors. Mehr ...
|
|
#define | barrier() asm volatile("" ::: "memory") |
| Memory barrier.
|
|
#define | delay_ms(t) _delay_ms(t) |
|
#define | delay_s(t) _delay_ms( t * 1000 ) |
|
#define | delay_us(t) _delay_us(t) |
|
Compiler abstraction layer and code utilities for 8-bit AVR. This module provides various abstraction layers and utilities to make code compatible between different compilers.
#define Assert |
( |
|
expr | ) |
((void) 0) |
This macro is used to test fatal errors.
The macro tests if the expression is false. If it is, a fatal error is detected and the application hangs up. If TEST_SUITE_DEFINE_ASSERT_MACRO is defined, a unit test version of the macro is used, to allow execution of further tests after a false expression.
- Parameter
-
expr | Expression to evaluate and supposed to be nonzero. |
Definiert in Zeile 46 der Datei compiler.h.