Collaboration diagram for RTC Private Macros:Macros | |
| #define | __HAL_RTC_DISABLE(RTCx) MODIFY_REG(RTCx->CFG0, 0xFFFFFFFF, RTC_CFG0_CFG); |
| Disable RTC. More... | |
| #define | __HAL_RTC_ENABLE(RTCx) SET_BITS(RTCx->CFG0, RTC_CFG0_CFG | RTC_CFG0_EN); |
| Enable RTC. More... | |
| #define | __HAL_RTC_BUSY_FLAG(RTCx) ((READ_BITS(RTCx->STAT, RTC_STAT_BUSY) == RTC_STAT_BUSY)) |
| Check RTC busy state. More... | |
| #define | __HAL_RTC_CLEAR_FLAG(RTCx, __FLAG__) WRITE_REG(RTCx->INT_STAT, (__FLAG__)) |
| Clear RTC flag. More... | |
| #define | __HAL_RTC_ENABLE_IT(RTCx, __INTERRUPT__) SET_BITS(RTCx->INT_EN, (__INTERRUPT__)) |
| Enable RTC interrupt. More... | |
| #define | __HAL_RTC_DISABLE_IT(RTCx, __INTERRUPT__) CLEAR_BITS(RTCx->INT_EN, (__INTERRUPT__)) |
| Disable RTC interrupt. More... | |
| #define | __HAL_RTC_GET_IT_SOURCE(RTCx, __FLAG__) (READ_BITS(RTCx->INT_STAT, (__FLAG__)) == (__FLAG__)) |
| Get RTC interrupt source. More... | |
| #define | __HAL_RTC_CFG_EFFECT(RTCx) SET_BITS(RTCx->CFG0, RTC_CFG0_CFG) |
| Set RTC config takes effect. More... | |
| #define __HAL_RTC_BUSY_FLAG | ( | RTCx | ) | ((READ_BITS(RTCx->STAT, RTC_STAT_BUSY) == RTC_STAT_BUSY)) |
Check RTC busy state.
| RTCx | Specifies the RTC instance. |
| TRUE | or FALSE |
Definition at line 139 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_CFG_EFFECT | ( | RTCx | ) | SET_BITS(RTCx->CFG0, RTC_CFG0_CFG) |
Set RTC config takes effect.
| RTCx | Specifies the RTC instance. |
| None |
Definition at line 173 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_CLEAR_FLAG | ( | RTCx, | |
| __FLAG__ | |||
| ) | WRITE_REG(RTCx->INT_STAT, (__FLAG__)) |
Clear RTC flag.
| RTCx | Specifies the RTC instance. |
| <strong>FLAG</strong> | Specifies the RTC Interrupt Status. |
| None |
Definition at line 146 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_DISABLE | ( | RTCx | ) | MODIFY_REG(RTCx->CFG0, 0xFFFFFFFF, RTC_CFG0_CFG); |
Disable RTC.
| RTCx | Specifies the RTC instance. |
| None |
Definition at line 127 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_DISABLE_IT | ( | RTCx, | |
| __INTERRUPT__ | |||
| ) | CLEAR_BITS(RTCx->INT_EN, (__INTERRUPT__)) |
Disable RTC interrupt.
| RTCx | Specifies the RTC instance. |
| <strong>INTERRUPT</strong> | Specifies the RTC Interrupt Type. |
| None |
Definition at line 160 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_ENABLE | ( | RTCx | ) | SET_BITS(RTCx->CFG0, RTC_CFG0_CFG | RTC_CFG0_EN); |
Enable RTC.
| RTCx | Specifies the RTC instance. |
| None |
Definition at line 133 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_ENABLE_IT | ( | RTCx, | |
| __INTERRUPT__ | |||
| ) | SET_BITS(RTCx->INT_EN, (__INTERRUPT__)) |
Enable RTC interrupt.
| RTCx | Specifies the RTC instance. |
| <strong>INTERRUPT</strong> | Specifies the RTC Interrupt Type. |
| None |
Definition at line 153 of file gr55xx_hal_rtc.h.
| #define __HAL_RTC_GET_IT_SOURCE | ( | RTCx, | |
| __FLAG__ | |||
| ) | (READ_BITS(RTCx->INT_STAT, (__FLAG__)) == (__FLAG__)) |
Get RTC interrupt source.
| RTCx | Specifies the RTC instance. |
| <strong>FLAG</strong> | Specifies the RTC Interrupt Status. |
| TRUE | or FALSE |
Definition at line 167 of file gr55xx_hal_rtc.h.