Macros | |
#define | __HAL_CALENDAR_ENABLE() SET_BITS(AON->CALENDAR_TIMER_CTL, AON_CALENDAR_TIMER_CTL_EN) |
Enable the specified CALENDAR peripheral. More... | |
#define | __HAL_CALENDAR_DISABLE() CLEAR_BITS(AON->CALENDAR_TIMER_CTL, AON_CALENDAR_TIMER_CTL_EN) |
Disable the specified CALENDAR peripheral. More... | |
#define | __HAL_CALENDAR_ENABLE_IT(__INTERRUPT__) SET_BITS(AON->CALENDAR_TIMER_CTL, (__INTERRUPT__)) |
Enable the specified CALENDAR interrupts. More... | |
#define | __HAL_CALENDAR_DISABLE_IT(__INTERRUPT__) CLEAR_BITS(AON->CALENDAR_TIMER_CTL, (__INTERRUPT__)) |
Disable the specified CALENDAR interrupts. More... | |
#define | __HAL_CALENDAR_GET_IT_SOURCE(__FLAG__) (READ_BITS(AON->SLP_EVENT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified CALENDAR interrupt flag is set or not. More... | |
#define | __HAL_CALENDAR_CLEAR_FLAG(__FLAG__) WRITE_REG(AON->SLP_EVENT, ~(__FLAG__)) |
Clear the specified CALENDAR flag. More... | |
#define __HAL_CALENDAR_CLEAR_FLAG | ( | __FLAG__ | ) | WRITE_REG(AON->SLP_EVENT, ~(__FLAG__)) |
Clear the specified CALENDAR flag.
<strong>FLAG</strong> | Specifies the flag to clear. This parameter can be one of the following values:
|
None |
#define __HAL_CALENDAR_DISABLE | ( | ) | CLEAR_BITS(AON->CALENDAR_TIMER_CTL, AON_CALENDAR_TIMER_CTL_EN) |
Disable the specified CALENDAR peripheral.
None |
#define __HAL_CALENDAR_DISABLE_IT | ( | __INTERRUPT__ | ) | CLEAR_BITS(AON->CALENDAR_TIMER_CTL, (__INTERRUPT__)) |
Disable the specified CALENDAR interrupts.
<strong>INTERRUPT</strong> | Specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
#define __HAL_CALENDAR_ENABLE | ( | ) | SET_BITS(AON->CALENDAR_TIMER_CTL, AON_CALENDAR_TIMER_CTL_EN) |
Enable the specified CALENDAR peripheral.
None |
#define __HAL_CALENDAR_ENABLE_IT | ( | __INTERRUPT__ | ) | SET_BITS(AON->CALENDAR_TIMER_CTL, (__INTERRUPT__)) |
Enable the specified CALENDAR interrupts.
<strong>INTERRUPT</strong> | Specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
#define __HAL_CALENDAR_GET_IT_SOURCE | ( | __FLAG__ | ) | (READ_BITS(AON->SLP_EVENT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified CALENDAR interrupt flag is set or not.
<strong>FLAG</strong> | Specifies the interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |