![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_USART_STATE_RESET) |
Reset USART handle state. More... | |
#define | __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified USART flag is set or not. More... | |
#define | __HAL_USART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enables the specified USART interrupt. More... | |
#define | __HAL_USART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disables the specified USART interrupt. More... | |
#define | __HAL_USART_GET_IT(__HANDLE__, __IT__) ((__HANDLE__)->Instance->ISR & ((uint32_t)1 << ((__IT__)>> 0x08))) |
Checks whether the specified USART interrupt has occurred or not. More... | |
#define | __HAL_USART_GET_IT_SOURCE(__HANDLE__, __IT__) |
Checks whether the specified USART interrupt source is enabled. More... | |
#define | __HAL_USART_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clears the specified USART ISR flag, in setting the proper ICR register flag. More... | |
#define | __HAL_USART_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific USART request flag. More... | |
#define | __HAL_USART_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable USART. More... | |
#define | __HAL_USART_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable USART. More... | |
#define __HAL_USART_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clears the specified USART ISR flag, in setting the proper ICR register flag.
<strong>HANDLE</strong> | specifies the USART Handle. |
<strong>IT_CLEAR</strong> | specifies the interrupt clear register flag that needs to be set to clear the corresponding interrupt This parameter can be one of the following values:
|
None |
Definition at line 451 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable USART.
<strong>HANDLE</strong> | specifies the USART Handle. |
None |
Definition at line 474 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disables the specified USART interrupt.
<strong>HANDLE</strong> | specifies the USART Handle. |
<strong>INTERRUPT</strong> | specifies the USART interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 397 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable USART.
<strong>HANDLE</strong> | specifies the USART Handle. |
None |
Definition at line 468 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enables the specified USART interrupt.
<strong>HANDLE</strong> | specifies the USART Handle |
<strong>INTERRUPT</strong> | specifies the USART interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 381 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified USART flag is set or not.
<strong>HANDLE</strong> | specifies the USART Handle |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 366 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_GET_IT | ( | __HANDLE__, | |
__IT__ | |||
) | ((__HANDLE__)->Instance->ISR & ((uint32_t)1 << ((__IT__)>> 0x08))) |
Checks whether the specified USART interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the USART Handle |
<strong>IT</strong> | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 416 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_GET_IT_SOURCE | ( | __HANDLE__, | |
__IT__ | |||
) |
Checks whether the specified USART interrupt source is enabled.
<strong>HANDLE</strong> | specifies the USART Handle. |
<strong>IT</strong> | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 432 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_USART_STATE_RESET) |
Reset USART handle state.
<strong>HANDLE</strong> | USART handle. |
None |
Definition at line 346 of file stm32f7xx_hal_usart.h.
#define __HAL_USART_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific USART request flag.
<strong>HANDLE</strong> | specifies the USART Handle. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 462 of file stm32f7xx_hal_usart.h.