HAL_UART_Init. STMicroelectronics STM32F4
광고
광고
UM1725
63.3.6 HAL_UART_Init
Function Name
HAL_StatusTypeDef HAL_UART_Init (UART_HandleTypeDef *
huart)
Function Description Initializes the UART mode according to the specified parameters in the UART_InitTypeDef and create the associated handle.
Parameters
Return values
huart: pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
HAL status
63.3.7 HAL_HalfDuplex_Init
Function Name
HAL_StatusTypeDef HAL_HalfDuplex_Init
(UART_HandleTypeDef * huart)
Function Description Initializes the half-duplex mode according to the specified parameters in the UART_InitTypeDef and create the associated handle.
Parameters
Return values
huart: pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
HAL status
63.3.8 HAL_LIN_Init
Function Name
HAL_StatusTypeDef HAL_LIN_Init (UART_HandleTypeDef *
huart, uint32_t BreakDetectLength)
Function Description Initializes the LIN mode according to the specified parameters in the UART_InitTypeDef and create the associated handle.
Parameters
Return values
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 detectionUART_LINBREAKDETECTLENGTH_11B: 11-bit break detection
HAL status
63.3.9 HAL_MultiProcessor_Init
Function Name
HAL_StatusTypeDef HAL_MultiProcessor_Init
(UART_HandleTypeDef * huart, uint8_t Address, uint32_t
WakeUpMethod)
Function Description Initializes the Multi-Processor mode according to the specified parameters in the UART_InitTypeDef and create the associated
DOCID025834 Rev 3 903/963
다운로드
광고