Macros | |
#define | __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) |
Reset UART handle states. More... | |
#define | __HAL_UART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified UART interrupt. More... | |
#define | __HAL_UART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified UART interrupt. More... | |
#define | __HAL_UART_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->p_instance->SRR = (__REQ__)) |
Flush the UART FIFO and treat FIFO as empty. More... | |
#define __HAL_UART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified UART interrupt.
<strong>HANDLE</strong> | Specifies the UART Handle. |
<strong>INTERRUPT</strong> | Specifies the UART interrupt source to disable. This parameter can be one of the following values: |
None |
#define __HAL_UART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified UART interrupt.
<strong>HANDLE</strong> | Specifies the UART Handle. |
<strong>INTERRUPT</strong> | Specifies the UART interrupt source to enable. This parameter can be one of the following values: |
None |
#define __HAL_UART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset UART handle states.
<strong>HANDLE</strong> | UART handle. |
None |
#define __HAL_UART_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->p_instance->SRR = (__REQ__)) |
Flush the UART FIFO and treat FIFO as empty.
<strong>HANDLE</strong> | Specifies the UART Handle. |
<strong>REQ</strong> | Specifies the request flag to set This parameter can be one of the following values:
|
None |