Initialization and de-initialization functions.
More...
Initialization and de-initialization functions.
===============================================================================
##### Initialization and de-initialization functions #####
===============================================================================
[..]
This section provides functions allowing to:
(+) Initialize and configure the TIMER.
(+) De-initialize the TIMER.
(+) Start the Timer.
(+) Stop the Timer.
(+) Start the Timer and enable interrupt.
(+) Stop the Timer and disable interrupt.
◆ hal_timer_base_deinit()
De-initialize the TIMER peripheral.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-
◆ hal_timer_base_init()
Initialize the TIMER according to the specified parameters in the timer_init_t and initialize the associated handle.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-
◆ hal_timer_base_msp_deinit()
De-initialize the TIMER MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_timer_base_msp_deinit could be implemented in the user file.
- Parameters
-
[in] | p_timer | Pointer to a TIM handle which contains the configuration information for the specified TIMER module. |
◆ hal_timer_base_msp_init()
Initialize the TIMER MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_timer_base_msp_init could be implemented in the user file.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
◆ hal_timer_base_start()
Starts the TIMER counter.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-
◆ hal_timer_base_start_it()
Starts the TIMER counter in interrupt mode.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-
◆ hal_timer_base_stop()
Stops the TIMER counter.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-
◆ hal_timer_base_stop_it()
Stops the TIMER counter in interrupt mode.
- Parameters
-
[in] | p_timer | Pointer to a TIMER handle which contains the configuration information for the specified TIMER module. |
- Return values
-