Atmel Software Framework

device/example/uart_uc3.c File Reference

UART functions.

Copyright (c) 2009 - 2012 Atmel Corporation. All rights reserved.

#include <asf.h>
#include "uart.h"
#include "main.h"
#include "ui.h"

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
 

void uart_close ( uint8_t  port)

Closes communication line.

Referenced by main_cdc_disable().

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.

Referenced by main_cdc_enable().

void uart_rx_notify ( uint8_t  port)

Called by CDC interface Callback running when CDC device have received data.

usart_options_t usart_options
static