A31G12x F/W Packages  2.5.0
ABOV Cortex-M0+ Core based MCUs Integrated Driver
Data Fields
USART1n_CFG_Type Struct Reference

#include <A31G12x_hal_usart1n.h>

Collaboration diagram for USART1n_CFG_Type:

Data Fields

uint32_t Baudrate
 
USART1n_OPMODE_Type Mode
 
USART1n_SPI_ORDER_Type Order
 
USART1n_ACK_Type ACK
 
USART1n_EDGE_Type Edge
 
USART1n_DATA_BIT_Type Databits
 
USART1n_PARITY_BIT_Type Parity
 
USART1n_STOP_BIT_Type Stopbits
 

Detailed Description

Definition at line 186 of file A31G12x_hal_usart1n.h.

Field Documentation

◆ ACK

◆ Baudrate

uint32_t Baudrate

◆ Databits

Number of Data Bits, should be:

  • USART_DATABIT_5: 5 Data Bits
  • USART_DATABIT_6: 6 Data Bits
  • USART_DATABIT_7: 7 Data Bits
  • USART_DATABIT_8: 8 Data Bits
  • USART_DATABIT_9: 9 Data Bits

Definition at line 193 of file A31G12x_hal_usart1n.h.

Referenced by HAL_USART_Init(), HAL_USART_SPI_Mode_Config(), HAL_USART_UART_Mode_Config(), and HAL_USART_USRT_Mode_Config().

◆ Edge

◆ Mode

◆ Order

◆ Parity

Number of Parity Bits, should be:

  • USART_PARITY_NONE: No Parity
  • USART_PARITY_ODD: Odd Parity
  • USART_PARITY_EVEN: Even Parity
  • USART_PARITY_SP_1: Forced "1" Stick Parity
  • USART_PARITY_SP_0: Forced "0" Stick Parity

Definition at line 200 of file A31G12x_hal_usart1n.h.

Referenced by HAL_USART_Init(), HAL_USART_SPI_Mode_Config(), HAL_USART_UART_Mode_Config(), and HAL_USART_USRT_Mode_Config().

◆ Stopbits

Number of Stop Bits, should be:

  • USART_STOPBIT_1: 1 Stop Bits
  • USART_STOPBIT_2: 2 Stop Bits

Definition at line 207 of file A31G12x_hal_usart1n.h.

Referenced by HAL_USART_Init(), HAL_USART_SPI_Mode_Config(), HAL_USART_UART_Mode_Config(), and HAL_USART_USRT_Mode_Config().


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