htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
sMasterConfig: pointer to a TIM_MasterConfigTypeDef
structure that contains the selected trigger output (TRGO) and
the Master/Slave mode.
HAL_TIMEx_ConfigBreakDeadTime
HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime
(TIM_HandleTypeDef * htim,
TIM_BreakDeadTimeConfigTypeDef * sBreakDeadTimeConfig)
Configures the Break feature, dead time, Lock level, OSSI/OSSR
State and the AOE(automatic output enable).
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
sBreakDeadTimeConfig: pointer to a
TIM_ConfigBreakDeadConfig_TypeDef structure that
contains the BDTR Register configuration information for the
TIM peripheral.
HAL_TIMEx_RemapConfig
HAL_StatusTypeDef HAL_TIMEx_RemapConfig
(TIM_HandleTypeDef * htim, uint32_t Remap)
Configures the TIM2, TIM5 and TIM11 Remapping input
capabilities.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
Remap: specifies the TIM input remapping source. This
parameter can be one of the following values:
TIM_TIM2_TIM8_TRGO: TIM2 ITR1 input is connected
to TIM8 Trigger output(default)
TIM_TIM2_ETH_PTP: TIM2 ITR1 input is connected to
ETH PTP trigger output.
TIM_TIM2_USBFS_SOF: TIM2 ITR1 input is connected
to USB FS SOF.
TIM_TIM2_USBHS_SOF: TIM2 ITR1 input is connected
to USB HS SOF.
TIM_TIM5_GPIO: TIM5 CH4 input is connected to
dedicated Timer pin(default)
TIM_TIM5_LSI: TIM5 CH4 input is connected to LSI
clock.
TIM_TIM5_LSE: TIM5 CH4 input is connected to LSE
clock.
TIM_TIM5_RTC: TIM5 CH4 input is connected to RTC
Output event.
TIM_TIM11_GPIO: TIM11 CH4 input is connected to
dedicated Timer pin(default)
TIM_TIM11_HSE: TIM11 CH4 input is connected to