Macros | |
| #define | LOGGER_NEWLINE "\r\n" |
| #define | LOGGER_BUFFER 128 |
| #define | PPCAT_NX(A, B) |
| #define | PPCAT(A, B) |
| #define | STRINGIZE_NX(A) |
| #define | STRINGIZE(A) |
| #define | FLT_FMT(_n) |
| #define | FLT_VAR(_n, _x) |
| #define | FLT_FMT3 FLT_FMT(3) |
| #define | FLT_VAR3(_x) |
| #define FLT_FMT | ( | _n | ) |
Floating point output formatting string. Include in your printf-style format string example: printf("float value = " FLT_FMT(3) " continue like that", FLT_VAR(3, x));
| #define FLT_FMT3 FLT_FMT(3) |
Shorthand for 10^-3 fraction, output equivalent to %.3f
| #define FLT_VAR | ( | _n, | |
| _x ) |
Floating point output variable preprocessing Note: uses truncation instead of rounding -> the last digit may be off
| #define FLT_VAR3 | ( | _x | ) |
| #define LOGGER_BUFFER 128 |
size in bytes
| #define LOGGER_NEWLINE "\r\n" |
Logger configuration custom newline character sequence
| #define PPCAT | ( | A, | |
| B ) |
| #define PPCAT_NX | ( | A, | |
| B ) |
Helper macros for string concatenation and macro expansion non-expanding concatenation
| #define STRINGIZE | ( | A | ) |
make a string
| #define STRINGIZE_NX | ( | A | ) |
non-expanding stringize