![]() |
RTEMS 6.3
|
Macros | |
| #define | __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) |
| Reset USART handle state. | |
| #define | __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) |
| Check whether the specified USART flag is set or not. | |
| #define | __HAL_USART_CLEAR_FLAG(__HANDLE__, __FLAG__) |
| Clear the specified USART pending flag. | |
| #define | __HAL_USART_CLEAR_PEFLAG(__HANDLE__) |
| Clear the USART PE pending flag. | |
| #define | __HAL_USART_CLEAR_FEFLAG(__HANDLE__) |
| Clear the USART FE pending flag. | |
| #define | __HAL_USART_CLEAR_NEFLAG(__HANDLE__) |
| Clear the USART NE pending flag. | |
| #define | __HAL_USART_CLEAR_OREFLAG(__HANDLE__) |
| Clear the USART ORE pending flag. | |
| #define | __HAL_USART_CLEAR_IDLEFLAG(__HANDLE__) |
| Clear the USART IDLE pending flag. | |
| #define | __HAL_USART_CLEAR_TXFECF(__HANDLE__) |
| Clear the USART TX FIFO empty clear flag. | |
| #define | __HAL_USART_CLEAR_UDRFLAG(__HANDLE__) |
| Clear SPI slave underrun error flag. | |
| #define | __HAL_USART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
| Enable the specified USART interrupt. | |
| #define | __HAL_USART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| Disable the specified USART interrupt. | |
| #define | __HAL_USART_GET_IT(__HANDLE__, __INTERRUPT__) |
| Check whether the specified USART interrupt has occurred or not. | |
| #define | __HAL_USART_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
| Check whether the specified USART interrupt source is enabled or not. | |
| #define | __HAL_USART_CLEAR_IT(__HANDLE__, __IT_CLEAR__) |
| Clear the specified USART ISR flag, in setting the proper ICR register flag. | |
| #define | __HAL_USART_SEND_REQ(__HANDLE__, __REQ__) |
| Set a specific USART request flag. | |
| #define | __HAL_USART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) |
| Enable the USART one bit sample method. | |
| #define | __HAL_USART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) |
| Disable the USART one bit sample method. | |
| #define | __HAL_USART_ENABLE(__HANDLE__) |
| Enable USART. | |
| #define | __HAL_USART_DISABLE(__HANDLE__) |
| Disable USART. | |
| #define __HAL_USART_CLEAR_FEFLAG | ( | __HANDLE__ | ) |
Clear the USART FE pending flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Clear the specified USART pending flag.
| __HANDLE__ | specifies the USART Handle. |
| __FLAG__ | specifies the flag to check. This parameter can be any combination of the following values:
|
| None |
| #define __HAL_USART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) |
Clear the USART IDLE pending flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_IT | ( | __HANDLE__, | |
| __IT_CLEAR__ ) |
Clear the specified USART ISR flag, in setting the proper ICR register flag.
| __HANDLE__ | specifies the USART Handle. |
| __IT_CLEAR__ | 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 |
| #define __HAL_USART_CLEAR_NEFLAG | ( | __HANDLE__ | ) |
Clear the USART NE pending flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_OREFLAG | ( | __HANDLE__ | ) |
Clear the USART ORE pending flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_PEFLAG | ( | __HANDLE__ | ) |
Clear the USART PE pending flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_TXFECF | ( | __HANDLE__ | ) |
Clear the USART TX FIFO empty clear flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_CLEAR_UDRFLAG | ( | __HANDLE__ | ) |
Clear SPI slave underrun error flag.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_DISABLE | ( | __HANDLE__ | ) |
Disable USART.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Disable the specified USART interrupt.
| __HANDLE__ | specifies the USART Handle. |
| __INTERRUPT__ | specifies the USART interrupt source to disable. This parameter can be one of the following values:
|
| None |
| #define __HAL_USART_ENABLE | ( | __HANDLE__ | ) |
Enable USART.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Enable the specified USART interrupt.
| __HANDLE__ | specifies the USART Handle. |
| __INTERRUPT__ | specifies the USART interrupt source to enable. This parameter can be one of the following values:
|
| None |
| #define __HAL_USART_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Check whether the specified USART flag is set or not.
| __HANDLE__ | specifies the USART Handle |
| __FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (TRUE or FALSE). |
| #define __HAL_USART_GET_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified USART interrupt has occurred or not.
| __HANDLE__ | specifies the USART Handle. |
| __INTERRUPT__ | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
| The | new state of INTERRUPT (SET or RESET). |
| #define __HAL_USART_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified USART interrupt source is enabled or not.
| __HANDLE__ | specifies the USART Handle. |
| __INTERRUPT__ | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
| The | new state of INTERRUPT (SET or RESET). |
| #define __HAL_USART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) |
Disable the USART one bit sample method.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) |
Enable the USART one bit sample method.
| __HANDLE__ | specifies the USART Handle. |
| None |
| #define __HAL_USART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset USART handle state.
| __HANDLE__ | USART handle. |
| None |
| #define __HAL_USART_SEND_REQ | ( | __HANDLE__, | |
| __REQ__ ) |
Set a specific USART request flag.
| __HANDLE__ | specifies the USART Handle. |
| __REQ__ | specifies the request flag to set. This parameter can be one of the following values:
|
| None |