A31L12x F/W Packages  1.4.0
ABOV Cortex-M0+ Core based MCUs Integrated Driver
Data Fields
UARTn_CFG_Type Struct Reference

#include <A31L12x_hal_uartn.h>

Collaboration diagram for UARTn_CFG_Type:

Data Fields

uint32_t Baudrate
 
UARTn_DATA_BIT_Type Databits
 
UARTn_PARITY_BIT_Type Parity
 
UARTn_STOP_BIT_Type Stopbits
 

Detailed Description

UARTn Configuration Structure definition

Definition at line 168 of file A31L12x_hal_uartn.h.

Field Documentation

◆ Baudrate

uint32_t Baudrate

◆ Databits

Number of Data Bits, should be:

  • UARTn_DATA_BIT_5: 5 Data Bits
  • UARTn_DATA_BIT_6: 6 Data Bits
  • UARTn_DATA_BIT_7: 7 Data Bits
  • UARTn_DATA_BIT_8: 8 Data Bits

Definition at line 171 of file A31L12x_hal_uartn.h.

Referenced by HAL_UART_ConfigStructInit(), and HAL_UART_Init().

◆ Parity

Number of Parity Bits, should be:

  • UARTn_PARITY_BIT_NONE: No Parity
  • UARTn_PARITY_BIT_ODD: Odd Parity
  • UARTn_PARITY_BIT_EVEN: Even Parity
  • UARTn_PARITY_BIT_SP_1: Forced "1" Stick Parity
  • UARTn_PARITY_BIT_SP_0: Forced "0" Stick Parity

Definition at line 177 of file A31L12x_hal_uartn.h.

Referenced by HAL_UART_ConfigStructInit(), and HAL_UART_Init().

◆ Stopbits

Number of Stop Bits, should be:

  • UARTn_STOP_BIT_1: 1 Stop Bits
  • UARTn_STOP_BIT_2: 2 Stop Bits

Definition at line 184 of file A31L12x_hal_uartn.h.

Referenced by HAL_UART_ConfigStructInit(), and HAL_UART_Init().


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