41 #ifndef UART_DEFAULT_CONFIG_H_
42 #define UART_DEFAULT_CONFIG_H_
53 .uart_device.uart = (avr32_usart_t *)&AVR32_USART4,
54 .uart_device.IRQ = AVR32_USART4_IRQ,
55 .uart_device.receive_stream = NULL,
60 .paritytype = USART_NO_PARITY,
61 .stopbits = USART_1_STOPBIT,
62 .channelmode = USART_NORMAL_CHMODE
64 .rx_pin_map = {AVR32_USART4_RXD_2_PIN, AVR32_USART4_RXD_2_FUNCTION},
65 .tx_pin_map = {AVR32_USART4_TXD_2_PIN, AVR32_USART4_TXD_2_FUNCTION}
72 .uart_device.uart = (avr32_usart_t *)&AVR32_USART3,
73 .uart_device.IRQ = AVR32_USART3_IRQ,
74 .uart_device.receive_stream = NULL,
79 .paritytype = USART_NO_PARITY,
80 .stopbits = USART_1_STOPBIT,
81 .channelmode = USART_NORMAL_CHMODE
83 .rx_pin_map = {AVR32_USART3_RXD_0_0_PIN, AVR32_USART3_RXD_0_0_FUNCTION},
84 .tx_pin_map = {AVR32_USART3_TXD_0_0_PIN, AVR32_USART3_TXD_0_0_FUNCTION}
91 .uart_device.uart = (avr32_usart_t *)&AVR32_USART1,
92 .uart_device.IRQ = AVR32_USART1_IRQ,
93 .uart_device.receive_stream = NULL,
98 .paritytype = USART_NO_PARITY,
99 .stopbits = USART_1_STOPBIT,
100 .channelmode = USART_NORMAL_CHMODE
102 .rx_pin_map = { AVR32_USART1_RXD_0_1_PIN, AVR32_USART1_RXD_0_1_FUNCTION },
103 .tx_pin_map = { AVR32_USART1_TXD_0_1_PIN, AVR32_USART1_TXD_0_1_FUNCTION }
110 .uart_device.uart = (avr32_usart_t *)&AVR32_USART0,
111 .uart_device.IRQ = AVR32_USART0_IRQ,
112 .uart_device.receive_stream = NULL,
117 .paritytype = USART_NO_PARITY,
118 .stopbits = USART_1_STOPBIT,
119 .channelmode = USART_NORMAL_CHMODE
121 .rx_pin_map = {AVR32_USART0_RXD_0_0_PIN, AVR32_USART0_RXD_0_0_FUNCTION},
122 .tx_pin_map = {AVR32_USART0_TXD_0_0_PIN, AVR32_USART0_TXD_0_0_FUNCTION}
130 #endif // UART_DEFAULT_CONFIG_H_
int32_t mode
UART mode.
Definition: uart_int.h:82
UART configuration structure.
Definition: uart_int.h:80