DUAL TIMER Peripheral State functions.
More...
DUAL TIMER Peripheral State functions.
==============================================================================
##### Peripheral Control and State functions #####
==============================================================================
[..]
This subsection provides functions allowing to :
(+) Return the DUAL TIMER handle state.
(+) Configure the DUAL TIMER.
◆ hal_dual_timer_get_state()
Return the DUAL TIMER handle state.
- Parameters
-
[in] | p_dual_timer | Pointer to a DUAL_TIMER handle which contains the configuration information for the specified DUAL TIMER. |
- Return values
-
◆ hal_dual_timer_set_background_reload()
DUAL TIMER set background reload value The background reload value contains the value from which the counter is to decrement. This is the value used to reload the counter when Periodic mode is enabled, and the current count reaches 0. The difference is that writes to background reload value do not cause the counter to immediately restart from the new value.
- Parameters
-
[in] | p_dual_timer | Pointer to a DUAL_TIMER handle which contains the configuration information for the specified DUAL TIMER. |
[in] | reload_value | Background reload value |
- Return values
-
◆ hal_dual_timer_set_config()
DUAL TIMER configuration.
- Parameters
-
[in] | p_dual_timer | Pointer to a DUAL_TIMER handle which contains the configuration information for the specified DUAL TIMER. |
[in] | p_structure | The DUAL TIMER configuration structure |
- Return values
-