EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #661 background imageLoading...
Page #661 background image
UM1940
HAL UART Generic Driver
DocID028236 Rev 2
661/1371
Return values
HAL: status
HAL_HalfDuplex_EnableReceiver
Function name
HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver
(UART_HandleTypeDef * huart)
Function description
Enables the UART receiver and disables the UART transmitter.
Parameters
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
Return values
HAL: status
HAL_UART_GetState
Function name
HAL_UART_StateTypeDef HAL_UART_GetState
(UART_HandleTypeDef * huart)
Function description
Returns the UART state.
Parameters
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
Return values
HAL: state
HAL_UART_GetError
Function name
uint32_t HAL_UART_GetError (UART_HandleTypeDef * huart)
Function description
Return the UART error code.
Parameters
huart: : pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART.
Return values
UART: Error Code
47.3 UART Firmware driver defines
47.3.1 UART
UART Error Code
HAL_UART_ERROR_NONE
No error
HAL_UART_ERROR_PE
Parity error
HAL_UART_ERROR_NE
Noise error
HAL_UART_ERROR_FE
Frame error
HAL_UART_ERROR_ORE
Overrun error
HAL_UART_ERROR_DMA
DMA transfer error
UART Exported Macros
__HAL_UART_RESET_HANDLE_STATE
Description:
Reset UART handle gstate &

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals