Functions | |
__STATIC_INLINE void | ll_calendar_enable (void) |
Enable calendar counter. More... | |
__STATIC_INLINE void | ll_calendar_disable (void) |
Disable calendar counter. More... | |
__STATIC_INLINE uint32_t | ll_calendar_is_enabled (void) |
Check if the CALENDAR peripheral is enabled or disabled. More... | |
__STATIC_INLINE void | ll_calendar_reload_counter (uint32_t counter) |
Reloads CALENDAR counter. More... | |
__STATIC_INLINE void | ll_calendar_reload_alarm (uint32_t alarm) |
Reloads CALENDAR alarm. More... | |
__STATIC_INLINE uint32_t | ll_calendar_get_counter (void) |
Read the CALENDAR counter current value. More... | |
__STATIC_INLINE uint32_t | ll_calendar_get_alarm (void) |
Read the CALENDAR counter alarm value. More... | |
__STATIC_INLINE uint32_t | ll_calendar_get_wrapcnt (void) |
Get the CALENDAR wrap-around value. More... | |
__STATIC_INLINE void | ll_calendar_set_clock_div (uint32_t div) |
Select the CALENDAR clock divider. More... | |
__STATIC_INLINE void | ll_calendar_it_enable_alarm (void) |
Enable calendar alarm interrupt. More... | |
__STATIC_INLINE void | ll_calendar_it_disable_alarm (void) |
Disable calendar alarm interrupt. More... | |
__STATIC_INLINE uint32_t | ll_calendar_it_is_enabled_alarm (void) |
Check if the CALENDAR alarm interrupt is enabled or disabled. More... | |
__STATIC_INLINE void | ll_calendar_it_enable_wrap (void) |
Enable calendar wrap interrupt. More... | |
__STATIC_INLINE void | ll_calendar_it_disable_wrap (void) |
Disable calendar warp interrupt. More... | |
__STATIC_INLINE uint32_t | ll_calendar_it_is_enabled_wrap (void) |
Check if the CALENDAR wrap interrupt is enabled or disabled. More... | |
__STATIC_INLINE void ll_calendar_disable | ( | void | ) |
Disable calendar counter.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 127 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_enable | ( | void | ) |
Enable calendar counter.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 109 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_get_alarm | ( | void | ) |
Read the CALENDAR counter alarm value.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AON_PAD_CTL1 | CAL_ALARM | +-------------------—+--------------------------------—+ \endrst TIMER_VAL | TIMER_VAL_READ
Value | for current alarm which should ranging between 0 ~ 0xFFFF_FFFF |
Definition at line 226 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_get_counter | ( | void | ) |
Read the CALENDAR counter current value.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | AON_PAD_CTL1 | CAL_TIMER | +-------------------—+--------------------------------—+ \endrst TIMER_VAL | TIMER_VAL_READ
Value | for current counter which should ranging between 0 ~ 0xFFFF_FFFF |
Definition at line 204 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_get_wrapcnt | ( | void | ) |
Get the CALENDAR wrap-around value.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | WRAP_CNT | +-------------------—+--------------------------------—+ \endrst
Value | between Min_Data=0 and Max_Data=0xF |
Definition at line 248 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_is_enabled | ( | void | ) |
Check if the CALENDAR peripheral is enabled or disabled.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | EN | +-------------------—+--------------------------------—+ \endrst
State | of bit (1 or 0). |
Definition at line 145 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_it_disable_alarm | ( | void | ) |
Disable calendar alarm interrupt.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | ALARM_INT_EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 309 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_it_disable_wrap | ( | void | ) |
Disable calendar warp interrupt.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | WRAP_INT_EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 363 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_it_enable_alarm | ( | void | ) |
Enable calendar alarm interrupt.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | ALARM_INT_EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 291 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_it_enable_wrap | ( | void | ) |
Enable calendar wrap interrupt.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | WRAP_INT_EN | +-------------------—+--------------------------------—+ \endrst
None |
Definition at line 345 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_it_is_enabled_alarm | ( | void | ) |
Check if the CALENDAR alarm interrupt is enabled or disabled.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | ALARM_INT_EN | +-------------------—+--------------------------------—+ \endrst
State | of bit (1 or 0). |
Definition at line 327 of file gr55xx_ll_calendar.h.
__STATIC_INLINE uint32_t ll_calendar_it_is_enabled_wrap | ( | void | ) |
Check if the CALENDAR wrap interrupt is enabled or disabled.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | WRAP_INT_EN | +-------------------—+--------------------------------—+ \endrst
State | of bit (1 or 0). |
Definition at line 381 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_reload_alarm | ( | uint32_t | alarm | ) |
Reloads CALENDAR alarm.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | ALARM_VAL_LOAD | +-------------------—+--------------------------------—+ \endrst TIMER_VALUE | TIMER_VALUE
None |
Definition at line 184 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_reload_counter | ( | uint32_t | counter | ) |
Reloads CALENDAR counter.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | VAL_LOAD | +-------------------—+--------------------------------—+ \endrst TIMER_VALUE | TIMER_VALUE
None |
Definition at line 164 of file gr55xx_ll_calendar.h.
__STATIC_INLINE void ll_calendar_set_clock_div | ( | uint32_t | div | ) |
Select the CALENDAR clock divider.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CALENDAR_TIMER_CTL | CLK_SEL | +-------------------—+--------------------------------—+ \endrst
div | This parameter can be one of the following values: |
None |
Definition at line 273 of file gr55xx_ll_calendar.h.