nRF Connect SDK API 0.1.0
|
#include <errno.h>
Go to the source code of this file.
Macros | |
#define | PRINT_AND_OOPS(code) |
#define | ERR_CHK(err_code) |
#define | ERR_CHK_MSG(err_code, msg) |
#define | STACK_USAGE_PRINT(thread_name, p_stack) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | COLOR_BLACK "\x1B[0;30m" |
#define | COLOR_RED "\x1B[0;31m" |
#define | COLOR_GREEN "\x1B[0;32m" |
#define | COLOR_YELLOW "\x1B[0;33m" |
#define | COLOR_BLUE "\x1B[0;34m" |
#define | COLOR_MAGENTA "\x1B[0;35m" |
#define | COLOR_CYAN "\x1B[0;36m" |
#define | COLOR_WHITE "\x1B[0;37m" |
#define | COLOR_RESET "\x1b[0m" |
#define | BIT_SET(REG, BIT) ((REG) |= (BIT)) |
#define | BIT_CLEAR(REG, BIT) ((REG) &= ~(BIT)) |