You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
554 B
31 lines
554 B
/* |
|
* Copyright (c) 2018 Nordic Semiconductor ASA |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
#ifndef LOG_BACKEND_UART_H |
|
#define LOG_BACKEND_UART_H |
|
|
|
#include <logging/log_backend.h> |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
extern const struct log_backend_api log_backend_uart_api; |
|
|
|
/** |
|
* @brief UART backend definition |
|
* |
|
* @param _name Name of the instance. |
|
*/ |
|
#define LOG_BACKEND_UART_DEFINE(_name) \ |
|
LOG_BACKEND_DEFINE(_name, log_backend_uart_api) |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
void log_backend_uart_init(void); |
|
|
|
#endif /* LOG_BACKEND_UART_H */
|
|
|