Microchip® Advanced Software Framework

composite/device/example4/uart.h File Reference

UART functions.

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

Functions

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...
 

void uart_close ( uint8_t  port)

Closes communication line.

void uart_config ( uint8_t  port,
usb_cdc_line_coding_t cfg 
)

Configures communication line.

Parameters
cfgline 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.