Microchip® Advanced Software Framework

uart_rs232_options Struct Reference

Input parameters when initializing RS232 and similar modes.

#include <uart_serial.h>

Data Fields

uint32_t baudrate
 Set baud rate of the USART (unused in slave modes). More...
 
uint32_t charlength
 Number of bits to transmit as a character (5-bit to 9-bit). More...
 
uint32_t paritytype
 Parity type: USART_PMODE_DISABLED_gc, USART_PMODE_EVEN_gc, USART_PMODE_ODD_gc. More...
 
uint32_t stopbits
 1, 1.5 or 2 stop bits. More...
 

uint32_t uart_rs232_options::baudrate

Set baud rate of the USART (unused in slave modes).

Referenced by main(), and usart_serial_init().

uint32_t uart_rs232_options::charlength

Number of bits to transmit as a character (5-bit to 9-bit).

Referenced by usart_serial_init().

uint32_t uart_rs232_options::paritytype

Parity type: USART_PMODE_DISABLED_gc, USART_PMODE_EVEN_gc, USART_PMODE_ODD_gc.

Referenced by usart_serial_init().

uint32_t uart_rs232_options::stopbits

1, 1.5 or 2 stop bits.

Referenced by usart_serial_init().