9#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_CONSOLE_H_
10#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_CONSOLE_H_
37#ifdef CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS
38#define UART_CONSOLE_DEBUG_HOOK_HANDLED 1
39#define UART_CONSOLE_OUT_DEBUG_HOOK_SIG(x) int(x)(char c)
40typedef UART_CONSOLE_OUT_DEBUG_HOOK_SIG(uart_console_out_debug_hook_t);
42void uart_console_out_debug_hook_install(
43 uart_console_out_debug_hook_t *hook);
45typedef int (*uart_console_in_debug_hook_t) (
uint8_t);
47void uart_console_in_debug_hook_install(uart_console_in_debug_hook_t hook);
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
Definition: kernel.h:2388
void uart_register_input(struct k_fifo *avail, struct k_fifo *lines, uint8_t(*completion)(char *str, uint8_t len))
Register uart input processing.