#include <uart.h>
#include <uart_defs.h>
#include <uart_private.h>
Go to the source code of this file.
Functions | |
void | uart_register_tx_event (uint8_t num, void(*f)(char)) |
void | uart_register_rx_event (uint8_t num, void(*f)(char)) |
void uart_register_rx_event | ( | uint8_t | num, | |
void(*)(char) | f | |||
) |
This function is used to register another function which will be executed at each byte reception (5, 6 ,7 ,8 bits)
Definition at line 42 of file uart_events.c.
References parse_symbols::f, IRQ_LOCK, IRQ_UNLOCK, rx_event, and UART_HW_NUM.
void uart_register_tx_event | ( | uint8_t | num, | |
void(*)(char) | f | |||
) |
This function is used to register another function which will be executed at each byte transmission (5, 6 ,7 ,8 bits)
Definition at line 30 of file uart_events.c.
References parse_symbols::f, IRQ_LOCK, IRQ_UNLOCK, tx_event, and UART_HW_NUM.