Initialization and de-initialization functions.
More...
Initialization and de-initialization functions.
===============================================================================
##### Initialization and de-initialization functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to initialize the PWMx.
(+) The parameters below can only be configured in breath mode:
(++) BreathPeriod
(++) HoldPeriod
◆ hal_pwm_deinit()
De-initialize the PWM peripheral.
- Parameters
-
[in] | p_pwm | Pointer to a PWM handle that contains the configuration information for the specified PWM module. |
- Return values
-
◆ hal_pwm_init()
Initialize the PWM mode according to the specified parameters in the pwm_init_t and initialize the associated handle.
- Parameters
-
[in] | p_pwm | Pointer to a PWM handle that contains the configuration information for the specified PWM module. |
- Return values
-
◆ hal_pwm_msp_deinit()
De-initialize the PWM MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_pwm_msp_deinit can be implemented in the user file.
- Parameters
-
[in] | p_pwm | Pointer to a PWM handle that contains the configuration information for the specified PWM module. |
◆ hal_pwm_msp_init()
Initialize the PWM MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_pwm_msp_init can be implemented in the user file.
- Parameters
-
[in] | p_pwm | Pointer to a PWM handle that contains the configuration information for the specified PWM module. |