Atmel Software Framework

uart_config.c File Reference
#include "board.h"
#include "gpio.h"
#include "usart.h"

Macros

#define T2BF_HCI_BAUD_SETTING   115200
 
#define T2BF_SELECTED_USART   0
 
#define T2BF_USART_IRQ_SETTING   AVR32_USART0_IRQ
 
#define T2BF_USART_PORT_SETTING   0
 
#define T2BF_USART_RX_FUNCTION_SETTING   AVR32_USART0_RXD_0_0_FUNCTION
 
#define T2BF_USART_RX_PIN_SETTING   AVR32_USART0_RXD_0_0_PIN
 
#define T2BF_USART_SETTING   (&AVR32_USART0)
 
#define T2BF_USART_TX_FUNCTION_SETTING   AVR32_USART0_TXD_0_0_FUNCTION
 
#define T2BF_USART_TX_PIN_SETTING   AVR32_USART0_TXD_0_0_PIN
 

Variables

volatile avr32_usart_t * T2BF_USART = T2BF_USART_SETTING
 
const unsigned long T2BF_USART_BAUDRATE = T2BF_HCI_BAUD_SETTING
 
const unsigned int T2BF_USART_IRQ = T2BF_USART_IRQ_SETTING
 
const unsigned char T2BF_USART_PORT = T2BF_USART_PORT_SETTING
 
const unsigned char T2BF_USART_RX_FUNCTION = T2BF_USART_RX_FUNCTION_SETTING
 
const unsigned char T2BF_USART_RX_PIN = T2BF_USART_RX_PIN_SETTING
 
const unsigned char T2BF_USART_TX_FUNCTION = T2BF_USART_TX_FUNCTION_SETTING
 
const unsigned char T2BF_USART_TX_PIN = T2BF_USART_TX_PIN_SETTING
 
const gpio_map_t USART_GPIO_MAP
 
const usart_options_t USART_OPTIONS
 

#define T2BF_HCI_BAUD_SETTING   115200
#define T2BF_SELECTED_USART   0
#define T2BF_USART_IRQ_SETTING   AVR32_USART0_IRQ
#define T2BF_USART_PORT_SETTING   0
#define T2BF_USART_RX_FUNCTION_SETTING   AVR32_USART0_RXD_0_0_FUNCTION
#define T2BF_USART_RX_PIN_SETTING   AVR32_USART0_RXD_0_0_PIN
#define T2BF_USART_SETTING   (&AVR32_USART0)
#define T2BF_USART_TX_FUNCTION_SETTING   AVR32_USART0_TXD_0_0_FUNCTION
#define T2BF_USART_TX_PIN_SETTING   AVR32_USART0_TXD_0_0_PIN

volatile avr32_usart_t* T2BF_USART = T2BF_USART_SETTING
const unsigned long T2BF_USART_BAUDRATE = T2BF_HCI_BAUD_SETTING
const unsigned int T2BF_USART_IRQ = T2BF_USART_IRQ_SETTING
const unsigned char T2BF_USART_PORT = T2BF_USART_PORT_SETTING
const unsigned char T2BF_USART_RX_FUNCTION = T2BF_USART_RX_FUNCTION_SETTING
const unsigned char T2BF_USART_RX_PIN = T2BF_USART_RX_PIN_SETTING
const unsigned char T2BF_USART_TX_FUNCTION = T2BF_USART_TX_FUNCTION_SETTING
const unsigned char T2BF_USART_TX_PIN = T2BF_USART_TX_PIN_SETTING
const gpio_map_t USART_GPIO_MAP
Initial value:
=
{
}
#define T2BF_USART_TX_FUNCTION_SETTING
Definition: uart_config.c:52
#define T2BF_USART_RX_PIN_SETTING
Definition: uart_config.c:49
#define T2BF_USART_RX_FUNCTION_SETTING
Definition: uart_config.c:50
#define T2BF_USART_TX_PIN_SETTING
Definition: uart_config.c:51

Referenced by dsp_debug_init(), init_usart(), main(), and xSerialPortInitMinimal().

const usart_options_t USART_OPTIONS
Initial value:
=
{
.baudrate = T2BF_HCI_BAUD_SETTING,
.charlength = 8,
.paritytype = USART_NO_PARITY,
.stopbits = USART_1_STOPBIT,
.channelmode = USART_NORMAL_CHMODE
}
#define USART_NO_PARITY
Don't use a parity bit.
Definition: usart.h:88
#define T2BF_HCI_BAUD_SETTING
Definition: uart_config.c:33
#define USART_NORMAL_CHMODE
Normal communication.
Definition: usart.h:103
#define USART_1_STOPBIT
Use 1 stop bit.
Definition: usart.h:95

Referenced by dsp_debug_init(), init_usart(), main(), xSerialPortInitMinimal(), and xUsartInit().