HAL UART Generic Driver
47.2.6
Detailed description of functions
HAL_UART_Init
Function name
Function description
Parameters
Return values
HAL_HalfDuplex_Init
Function name
Function description
Parameters
Return values
HAL_LIN_Init
Function name
Function description
Parameters
Return values
HAL_MultiProcessor_Init
Function name
Function description
652/1371
HAL_StatusTypeDef HAL_UART_Init (UART_HandleTypeDef *
huart)
Initializes the UART mode according to the specified parameters in
the UART_InitTypeDef and create the associated handle.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
HAL: status
HAL_StatusTypeDef HAL_HalfDuplex_Init
(UART_HandleTypeDef * huart)
Initializes the half-duplex mode according to the specified
parameters in the UART_InitTypeDef and create the associated
handle.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
HAL: status
HAL_StatusTypeDef HAL_LIN_Init (UART_HandleTypeDef *
huart, uint32_t BreakDetectLength)
Initializes the LIN mode according to the specified parameters in
the UART_InitTypeDef and create the associated handle.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
BreakDetectLength: Specifies the LIN break detection
length. This parameter can be one of the following values:
UART_LINBREAKDETECTLENGTH_10B: 10-bit break
detection
UART_LINBREAKDETECTLENGTH_11B: 11-bit break
detection
HAL: status
HAL_StatusTypeDef HAL_MultiProcessor_Init
(UART_HandleTypeDef * huart, uint8_t Address, uint32_t
WakeUpMethod)
Initializes the Multi-Processor mode according to the specified
parameters in the UART_InitTypeDef and create the associated
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers