#include <stdint.h>
Go to the source code of this file.
◆ SERIAL_BYTE_PROTOCOL_ONLY
| #define SERIAL_BYTE_PROTOCOL_ONLY 2 |
◆ SERIAL_CRLF
| #define SERIAL_CRLF "\r\n" |
◆ SERIAL_DEBUG
◆ SERIAL_ERROR
◆ SERIAL_FATAL
◆ SERIAL_INFO
◆ SERIAL_NONE
The log levels follow more or less common conventions with a few exceptions.
There are some modes in which we run where even fatal messages will not be written to console. In production we use SERIAL_NONE, SERIAL_READ_ONLY, or SERIAL_BYTE_PROTOCOL_ONLY.
◆ SERIAL_READ_ONLY
| #define SERIAL_READ_ONLY 1 |
◆ SERIAL_VERBOSE
◆ SERIAL_VERBOSITY
◆ SERIAL_VERY_VERBOSE
| #define SERIAL_VERY_VERBOSE 9 |
◆ SERIAL_WARN
◆ serial_read_callback
| typedef void(* serial_read_callback) (uint8_t val) |
◆ serial_enable_t
| Enumerator |
|---|
| SERIAL_ENABLE_NONE | |
| SERIAL_ENABLE_RX_ONLY | |
| SERIAL_ENABLE_RX_AND_TX | |