ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
UartUserConfig Struct Reference

User configuration structure for UART driver. More...

#include <fsl_uart_driver.h>

Collaboration diagram for UartUserConfig:
Collaboration graph

Data Fields

uint32_t baudRate
 
uart_parity_mode_t parityMode
 
uart_stop_bit_count_t stopBitCount
 
uart_bit_count_per_char_t bitCountPerChar
 

Detailed Description

User configuration structure for UART driver.

Use an instance of this struct with uart_init(). This allows you to configure the most common settings of the UART peripheral with a single function call. Settings include: UART baud rate; UART parity mode: disabled (default), or even or odd; the number of stop bits; the number of bits per data word.

Definition at line 58 of file fsl_uart_driver.h.

Field Documentation

uint32_t baudRate

UART baud rate

Definition at line 59 of file fsl_uart_driver.h.

Referenced by uart_adapter_configure().

uart_bit_count_per_char_t bitCountPerChar

number of bits, 8-bit (default) or 9-bit in a word (up to 10-bits in some UART instances)

Definition at line 63 of file fsl_uart_driver.h.

Referenced by uart_adapter_configure().

uart_parity_mode_t parityMode

parity mode, disabled (default), even, odd

Definition at line 60 of file fsl_uart_driver.h.

Referenced by uart_adapter_configure().

uart_stop_bit_count_t stopBitCount

number of stop bits, 1 stop bit (default) or 2 stop bits

Definition at line 61 of file fsl_uart_driver.h.

Referenced by uart_adapter_configure().


The documentation for this struct was generated from the following file: