UART functions.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
ISR (usart_interrupt, USART_IRQ_GROUP, 3) | |
void | uart_close (uint8_t port) |
Closes communication line. More... | |
void | uart_config (uint8_t port, usb_cdc_line_coding_t *cfg) |
Configures communication line. More... | |
void | uart_open (uint8_t port) |
Opens communication line. More... | |
void | uart_rx_notify (uint8_t port) |
Called by CDC interface Callback running when CDC device have received data. More... | |
Variables | |
static usart_options_t | usart_options |
ISR | ( | usart_interrupt | , |
USART_IRQ_GROUP | , | ||
3 | |||
) |
References udi_cdc_getc(), udi_cdc_is_rx_ready(), udi_cdc_is_tx_ready(), udi_cdc_putc(), udi_cdc_signal_framing_error(), udi_cdc_signal_overrun(), ui_com_error(), ui_com_overflow(), ui_com_rx_start(), ui_com_rx_stop(), ui_com_tx_start(), ui_com_tx_stop(), usart_read_char(), usart_reset_status(), USART_SUCCESS, and usart_write_char().
void uart_close | ( | uint8_t | port | ) |
Closes communication line.
void uart_config | ( | uint8_t | port, |
usb_cdc_line_coding_t * | cfg | ||
) |
Configures communication line.
cfg | line configuration |
void uart_open | ( | uint8_t | port | ) |
Opens communication line.
void uart_rx_notify | ( | uint8_t | port | ) |
Called by CDC interface Callback running when CDC device have received data.
|
static |