Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>
Go to the source code of this file.
Functions | |
void | uart_register_input (struct k_fifo *avail, struct k_fifo *lines, uint8_t(*completion)(char *str, uint8_t len)) |
Register uart input processing. | |
void uart_register_input | ( | struct k_fifo * | avail, |
struct k_fifo * | lines, | ||
uint8_t(* | completion )(char *str, uint8_t len) ) |
Register uart input processing.
Input processing is started when string is typed in the console. Carriage return is translated to NULL making string always NULL terminated. Application before calling register function need to initialize two fifo queues mentioned below.