Microchip® Advanced 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
 

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

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:
=
{
{T2BF_USART_RX_PIN_SETTING, T2BF_USART_RX_FUNCTION_SETTING},
{T2BF_USART_TX_PIN_SETTING, T2BF_USART_TX_FUNCTION_SETTING}
}

Referenced by 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:81
#define T2BF_HCI_BAUD_SETTING
Definition: uart_config.c:36
#define USART_NORMAL_CHMODE
Normal communication.
Definition: usart.h:96
#define USART_1_STOPBIT
Use 1 stop bit.
Definition: usart.h:88

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