DIY Logging Volt/Ampmeter
|
macros to manage the specified RCC Flags and interrupts. More...
Macros | |
#define | __HAL_RCC_ENABLE_IT(__INTERRUPT__) (*(__IO uint8_t *) RCC_CIR_BYTE1_ADDRESS |= (__INTERRUPT__)) |
Enable RCC interrupt. More... | |
#define | __HAL_RCC_DISABLE_IT(__INTERRUPT__) (*(__IO uint8_t *) RCC_CIR_BYTE1_ADDRESS &= (uint8_t)(~(__INTERRUPT__))) |
Disable RCC interrupt. More... | |
#define | __HAL_RCC_CLEAR_IT(__INTERRUPT__) (*(__IO uint8_t *) RCC_CIR_BYTE2_ADDRESS = (__INTERRUPT__)) |
Clear the RCC's interrupt pending bits. More... | |
#define | __HAL_RCC_GET_IT(__INTERRUPT__) ((RCC->CIR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Check the RCC's interrupt has occurred or not. More... | |
#define | __HAL_RCC_CLEAR_RESET_FLAGS() (*(__IO uint32_t *)RCC_CSR_RMVF_BB = ENABLE) |
Set RMVF bit to clear the reset flags. The reset flags are RCC_FLAG_PINRST, RCC_FLAG_PORRST, RCC_FLAG_SFTRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST, RCC_FLAG_LPWRRST. More... | |
#define | __HAL_RCC_GET_FLAG(__FLAG__) |
Check RCC flag is set or not. More... | |
macros to manage the specified RCC Flags and interrupts.
#define __HAL_RCC_CLEAR_IT | ( | __INTERRUPT__ | ) | (*(__IO uint8_t *) RCC_CIR_BYTE2_ADDRESS = (__INTERRUPT__)) |
Clear the RCC's interrupt pending bits.
<strong>INTERRUPT</strong> | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|
Definition at line 1080 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_CLEAR_RESET_FLAGS | ( | ) | (*(__IO uint32_t *)RCC_CSR_RMVF_BB = ENABLE) |
Set RMVF bit to clear the reset flags. The reset flags are RCC_FLAG_PINRST, RCC_FLAG_PORRST, RCC_FLAG_SFTRST, RCC_FLAG_IWDGRST, RCC_FLAG_WWDGRST, RCC_FLAG_LPWRRST.
Definition at line 1106 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_DISABLE_IT | ( | __INTERRUPT__ | ) | (*(__IO uint8_t *) RCC_CIR_BYTE1_ADDRESS &= (uint8_t)(~(__INTERRUPT__))) |
Disable RCC interrupt.
<strong>INTERRUPT</strong> | specifies the RCC interrupt sources to be disabled. This parameter can be any combination of the following values:
|
Definition at line 1061 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_ENABLE_IT | ( | __INTERRUPT__ | ) | (*(__IO uint8_t *) RCC_CIR_BYTE1_ADDRESS |= (__INTERRUPT__)) |
Enable RCC interrupt.
<strong>INTERRUPT</strong> | specifies the RCC interrupt sources to be enabled. This parameter can be any combination of the following values:
|
Definition at line 1043 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_GET_FLAG | ( | __FLAG__ | ) |
Check RCC flag is set or not.
<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 1131 of file stm32f1xx_hal_rcc.h.
#define __HAL_RCC_GET_IT | ( | __INTERRUPT__ | ) | ((RCC->CIR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Check the RCC's interrupt has occurred or not.
<strong>INTERRUPT</strong> | specifies the RCC interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (TRUE or FALSE). |
Definition at line 1100 of file stm32f1xx_hal_rcc.h.