IO operation functions.
More...
IO operation functions.
==============================================================================
##### IO operation functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Init the CALENDAR time.
(+) Get the CALENDAR time.
(+) Set the CALENDAR alarm.
(+) Disable the CALENDAR alarm.
(+) Handle CALENDAR interrupt request and associated function callback.
◆ hal_calendar_disable_event()
Disable CALENDAR alarm event.
- Parameters
-
[in] | p_calendar | Pointer to a CALENDAR handle which contains the configuration information for the specified CALENDAR module. |
[in] | disable_mode | Disable specified CALENDAR alarm mode. This parameter can be the following values:
|
- Return values
-
◆ hal_calendar_get_time()
Get current CALENDAR time.
- Parameters
-
[in] | p_calendar | Pointer to a CALENDAR handle which contains the configuration information for the specified CALENDAR module. |
[in] | p_time | Pointer to a CALENDAR time struction. |
- Return values
-
◆ hal_calendar_init_time()
Initialize the CALENDAR time.
- Parameters
-
[in] | p_calendar | Pointer to a CALENDAR handle which contains the configuration information for the specified CALENDAR module. |
[in] | p_time | Pointer to a CALENDAR time struction. |
- Return values
-
◆ hal_calendar_set_alarm()
Set a CALENDAR date alarm.
- Parameters
-
[in] | p_calendar | Pointer to a CALENDAR handle which contains the configuration information for the specified CALENDAR module. |
[in] | p_alarm | After seconds will generate an date alarm interrupt. |
- Return values
-
◆ hal_calendar_set_tick()
Set a CALENDAR tick alarm.
- Parameters
-
[in] | p_calendar | Pointer to a CALENDAR handle which contains the configuration information for the specified CALENDAR module. |
[in] | interval | After milliseconds will generate an milliseconds alarm interrupt. The value of interval is greater than or equal to 5ms.(Max: 3600*1000 ms) |
- Return values
-