|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/cm3/common.h>

Go to the source code of this file.
Macros | |
| #define | CM3_LIKELY(expr) (__builtin_expect(!!(expr), 1)) |
| #define | cm3_assert(expr) |
| Check if assertion is true. More... | |
| #define | cm3_assert_not_reached() cm3_assert_failed() |
| Check if unreachable code is reached. More... | |
Functions | |
| void | cm3_assert_failed (void) |
| Called on a failed assertion. More... | |
| void | cm3_assert_failed_verbose (const char *file, int line, const char *func, const char *assert_expr) |
| Called on a failed assertion with verbose messages enabled. More... | |