zephyr/drivers/console
Peter Mitsis b1c1020732 Add UART irq input hook to uart_console_isr()
Adds an input hook to be used by the interrupt handler uart_console_isr().
This hook permits the console input to detect a character escape sequence
that can be used to override the console's default input behavior.

This input hook can be set using the following API:
   void uart_irq_input_hook_set(struct device *dev,
                                int (*hook)(struct device *, uint8_t));

The hook returns 1 if the handler should stop processing the character,
and 0 if it should not stop.

Change-Id: I95e7da75e07fb6caaca2d45e80bfc4334a43c0ac
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:24:41 -05:00
..
Kconfig console: set range for UART_CONSOLE_INDEX 2016-02-05 20:24:37 -05:00
Makefile drivers/console: fix missing '+=' in Makefile 2016-02-05 20:24:18 -05:00
ipi_console_receiver.c checkpatch: error - open_brace 2016-02-05 20:24:31 -05:00
ipi_console_sender.c checkpatch: warning - block_comment_style 2016-02-05 20:24:33 -05:00
ram_console.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
uart_console.c Add UART irq input hook to uart_console_isr() 2016-02-05 20:24:41 -05:00