Microchip® Advanced Software Framework

cdc/host/example/uart.h File Reference

UART functions.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Functions

void uart_close (void)
 Closes communication line. More...
 
void uart_config (usb_cdc_line_coding_t *cfg)
 Configures communication line. More...
 
void uart_open (void)
 Opens communication line. More...
 
void uart_rx_notify (void)
 Callback called by CDC interface when the CDC device has received data. More...
 

void uart_close ( void  )

Closes communication line.

References usart_disable(), and usart_module_edbg.

void uart_open ( void  )

Opens communication line.

References usart_enable(), and usart_module_edbg.

void uart_rx_notify ( void  )

Callback called by CDC interface when the CDC device has received data.

References tx_callback_flag, tx_data, uhi_cdc_getc(), ui_com_rx_start(), USART_CALLBACK_BUFFER_TRANSMITTED, usart_enable_callback(), usart_module_edbg, and usart_write_buffer_job().