Macros | |
#define | __HAL_CALENDAR_ENABLE() WRITE_REG(CALENDAR->CFG0, RTC_CFG0_CFG | RTC_CFG0_EN) |
Enable the specified CALENDAR peripheral. More... | |
#define | __HAL_CALENDAR_DISABLE() MODIFY_REG(CALENDAR->CFG0, 0xFFFFFFFFU, RTC_CFG0_CFG); |
Disable the specified CALENDAR peripheral. More... | |
#define | __HAL_CALENDAR_ENABLE_IT(__INTERRUPT__) SET_BITS(CALENDAR->INT_EN, (__INTERRUPT__)) |
Enable the specified CALENDAR interrupts. More... | |
#define | __HAL_CALENDAR_DISABLE_IT(__INTERRUPT__) CLEAR_BITS(CALENDAR->INT_EN, (__INTERRUPT__)) |
Disable the specified CALENDAR interrupts. More... | |
#define | __HAL_CALENDAR_GET_IT_SOURCE(__FLAG__) (READ_BITS(CALENDAR->INT_STAT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified CALENDAR interrupt flag is set or not. More... | |
#define | __HAL_CALENDAR_CLEAR_FLAG(__FLAG__) WRITE_REG(CALENDAR->INT_STAT, (__FLAG__)) |
Clear the specified CALENDAR flag. More... | |
#define | __HAL_CALENDAR_BUSY_FLAG() ((READ_BITS(CALENDAR->STAT, RTC_STAT_BUSY) == RTC_STAT_BUSY)) |
Get the CALENDAR busy flag. More... | |
#define __HAL_CALENDAR_BUSY_FLAG | ( | ) | ((READ_BITS(CALENDAR->STAT, RTC_STAT_BUSY) == RTC_STAT_BUSY)) |
Get the CALENDAR busy flag.
The | new state of __BUSY__ (TRUE or FALSE). |
Definition at line 290 of file hal_calendar.h.
#define __HAL_CALENDAR_CLEAR_FLAG | ( | __FLAG__ | ) | WRITE_REG(CALENDAR->INT_STAT, (__FLAG__)) |
Clear the specified CALENDAR flag.
[in] | __FLAG__ | Specifies the flag to clear. This parameter can be one of the following values:
|
None |
Definition at line 285 of file hal_calendar.h.
#define __HAL_CALENDAR_DISABLE | ( | ) | MODIFY_REG(CALENDAR->CFG0, 0xFFFFFFFFU, RTC_CFG0_CFG); |
Disable the specified CALENDAR peripheral.
None |
Definition at line 247 of file hal_calendar.h.
#define __HAL_CALENDAR_DISABLE_IT | ( | __INTERRUPT__ | ) | CLEAR_BITS(CALENDAR->INT_EN, (__INTERRUPT__)) |
Disable the specified CALENDAR interrupts.
[in] | __INTERRUPT__ | Specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 266 of file hal_calendar.h.
#define __HAL_CALENDAR_ENABLE | ( | ) | WRITE_REG(CALENDAR->CFG0, RTC_CFG0_CFG | RTC_CFG0_EN) |
Enable the specified CALENDAR peripheral.
None |
Definition at line 243 of file hal_calendar.h.
#define __HAL_CALENDAR_ENABLE_IT | ( | __INTERRUPT__ | ) | SET_BITS(CALENDAR->INT_EN, (__INTERRUPT__)) |
Enable the specified CALENDAR interrupts.
[in] | __INTERRUPT__ | Specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 257 of file hal_calendar.h.
#define __HAL_CALENDAR_GET_IT_SOURCE | ( | __FLAG__ | ) | (READ_BITS(CALENDAR->INT_STAT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified CALENDAR interrupt flag is set or not.
[in] | __FLAG__ | Specifies the interrupt source to check. This parameter can be one of the following values:
|
The | new state of __IT__ (TRUE or FALSE). |
Definition at line 276 of file hal_calendar.h.