STM32H735xx HAL User Manual
|
Functions | |
static void | TIM_OC1_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 1 configuration. | |
static void | TIM_OC3_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 3 configuration. | |
static void | TIM_OC4_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 4 configuration. | |
static void | TIM_OC5_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 5 configuration. | |
static void | TIM_OC6_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 6 configuration. | |
static void | TIM_TI1_ConfigInputStage (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) |
Configure the Polarity and Filter for TI1. | |
static void | TIM_TI2_SetConfig (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter) |
Configure the TI2 as Input. | |
static void | TIM_TI2_ConfigInputStage (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter) |
Configure the Polarity and Filter for TI2. | |
static void | TIM_TI3_SetConfig (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter) |
Configure the TI3 as Input. | |
static void | TIM_TI4_SetConfig (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter) |
Configure the TI4 as Input. | |
static void | TIM_ITRx_SetConfig (TIM_TypeDef *TIMx, uint32_t InputTriggerSource) |
Selects the Input Trigger source. | |
static void | TIM_DMAPeriodElapsedCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Period Elapse complete callback. | |
static void | TIM_DMAPeriodElapsedHalfCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Period Elapse half complete callback. | |
static void | TIM_DMADelayPulseCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Delay Pulse complete callback. | |
static void | TIM_DMATriggerCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Trigger callback. | |
static void | TIM_DMATriggerHalfCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Trigger half complete callback. | |
static HAL_StatusTypeDef | TIM_SlaveTimer_SetConfig (TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlaveConfig) |
Slave Timer configuration function. | |
void | TIM_DMAError (DMA_HandleTypeDef *hdma) |
TIM DMA error callback. | |
void | TIM_DMADelayPulseHalfCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Delay Pulse half complete callback. | |
void | TIM_DMACaptureCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Capture complete callback. | |
void | TIM_DMACaptureHalfCplt (DMA_HandleTypeDef *hdma) |
TIM DMA Capture half complete callback. | |
void | TIM_Base_SetConfig (TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) |
Time Base configuration. | |
void | TIM_OC2_SetConfig (TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) |
Timer Output Compare 2 configuration. | |
void | TIM_TI1_SetConfig (TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter) |
Configure the TI1 as Input. | |
void | TIM_ETR_SetConfig (TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter) |
Configures the TIMx External Trigger (ETR). | |
void | TIM_CCxChannelCmd (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState) |
Enables or disables the TIM Capture Compare Channel x. | |
void | TIM_ResetCallback (TIM_HandleTypeDef *htim) |
Reset interrupt callbacks to the legacy weak callbacks. |
void TIM_Base_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_Base_InitTypeDef * | Structure | ||
) |
Time Base configuration.
TIMx | TIM peripheral |
Structure | TIM Base configuration structure |
None |
Definition at line 6933 of file stm32h7xx_hal_tim.c.
References TIM_Base_InitTypeDef::AutoReloadPreload, TIM_Base_InitTypeDef::ClockDivision, TIM_Base_InitTypeDef::CounterMode, TIM_Base_InitTypeDef::Period, TIM_Base_InitTypeDef::Prescaler, and TIM_Base_InitTypeDef::RepetitionCounter.
Referenced by HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), and HAL_TIMEx_HallSensor_Init().
void TIM_CCxChannelCmd | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | ChannelState | ||
) |
Enables or disables the TIM Capture Compare Channel x.
TIMx | to select the TIM peripheral |
Channel | specifies the TIM Channel This parameter can be one of the following values:
|
ChannelState | specifies the TIM Channel CCxE bit new state. This parameter can be: TIM_CCx_ENABLE or TIM_CCx_DISABLE. |
None |
Definition at line 7856 of file stm32h7xx_hal_tim.c.
References assert_param, and IS_TIM_CHANNELS.
Referenced by HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT(), HAL_TIM_Encoder_Stop(), HAL_TIM_Encoder_Stop_DMA(), HAL_TIM_Encoder_Stop_IT(), HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT(), HAL_TIM_IC_Stop(), HAL_TIM_IC_Stop_DMA(), HAL_TIM_IC_Stop_IT(), HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT(), HAL_TIM_OC_Stop(), HAL_TIM_OC_Stop_DMA(), HAL_TIM_OC_Stop_IT(), HAL_TIM_OnePulse_Start(), HAL_TIM_OnePulse_Start_IT(), HAL_TIM_OnePulse_Stop(), HAL_TIM_OnePulse_Stop_IT(), HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT(), HAL_TIM_PWM_Stop(), HAL_TIM_PWM_Stop_DMA(), HAL_TIM_PWM_Stop_IT(), HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA(), HAL_TIMEx_HallSensor_Start_IT(), HAL_TIMEx_HallSensor_Stop(), HAL_TIMEx_HallSensor_Stop_DMA(), HAL_TIMEx_HallSensor_Stop_IT(), HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePulseN_Start_IT(), HAL_TIMEx_OnePulseN_Stop(), and HAL_TIMEx_OnePulseN_Stop_IT().
void TIM_DMACaptureCplt | ( | DMA_HandleTypeDef * | hdma | ) |
TIM DMA Capture complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6756 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Channel, DMA_NORMAL, HAL_TIM_ACTIVE_CHANNEL_1, HAL_TIM_ACTIVE_CHANNEL_2, HAL_TIM_ACTIVE_CHANNEL_3, HAL_TIM_ACTIVE_CHANNEL_4, HAL_TIM_ACTIVE_CHANNEL_CLEARED, HAL_TIM_CHANNEL_STATE_READY, HAL_TIM_IC_CaptureCallback(), __TIM_HandleTypeDef::hdma, __TIM_HandleTypeDef::IC_CaptureCallback, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::Mode, TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_CHANNEL_N_STATE_SET, TIM_CHANNEL_STATE_SET, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, and TIM_DMA_ID_CC4.
Referenced by HAL_TIM_DMABurst_MultiReadStart(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_IC_Start_DMA(), and HAL_TIMEx_HallSensor_Start_DMA().
void TIM_DMACaptureHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) |
TIM DMA Capture half complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6819 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Channel, HAL_TIM_ACTIVE_CHANNEL_1, HAL_TIM_ACTIVE_CHANNEL_2, HAL_TIM_ACTIVE_CHANNEL_3, HAL_TIM_ACTIVE_CHANNEL_4, HAL_TIM_ACTIVE_CHANNEL_CLEARED, HAL_TIM_IC_CaptureHalfCpltCallback(), __TIM_HandleTypeDef::hdma, __TIM_HandleTypeDef::IC_CaptureHalfCpltCallback, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, and TIM_DMA_ID_CC4.
Referenced by HAL_TIM_DMABurst_MultiReadStart(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_IC_Start_DMA(), and HAL_TIMEx_HallSensor_Start_DMA().
static void TIM_DMADelayPulseCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
TIM DMA Delay Pulse complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6658 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Channel, DMA_NORMAL, HAL_TIM_ACTIVE_CHANNEL_1, HAL_TIM_ACTIVE_CHANNEL_2, HAL_TIM_ACTIVE_CHANNEL_3, HAL_TIM_ACTIVE_CHANNEL_4, HAL_TIM_ACTIVE_CHANNEL_CLEARED, HAL_TIM_CHANNEL_STATE_READY, HAL_TIM_PWM_PulseFinishedCallback(), __TIM_HandleTypeDef::hdma, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::Mode, __TIM_HandleTypeDef::PWM_PulseFinishedCallback, TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_CHANNEL_STATE_SET, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, and TIM_DMA_ID_CC4.
Referenced by HAL_TIM_DMABurst_MultiWriteStart(), HAL_TIM_OC_Start_DMA(), and HAL_TIM_PWM_Start_DMA().
void TIM_DMADelayPulseHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) |
TIM DMA Delay Pulse half complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6717 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Channel, HAL_TIM_ACTIVE_CHANNEL_1, HAL_TIM_ACTIVE_CHANNEL_2, HAL_TIM_ACTIVE_CHANNEL_3, HAL_TIM_ACTIVE_CHANNEL_4, HAL_TIM_ACTIVE_CHANNEL_CLEARED, HAL_TIM_PWM_PulseFinishedHalfCpltCallback(), __TIM_HandleTypeDef::hdma, __TIM_HandleTypeDef::PWM_PulseFinishedHalfCpltCallback, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, and TIM_DMA_ID_CC4.
Referenced by HAL_TIM_DMABurst_MultiWriteStart(), HAL_TIM_OC_Start_DMA(), HAL_TIM_PWM_Start_DMA(), HAL_TIMEx_OCN_Start_DMA(), and HAL_TIMEx_PWMN_Start_DMA().
void TIM_DMAError | ( | DMA_HandleTypeDef * | hdma | ) |
TIM DMA error callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6615 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Channel, __TIM_HandleTypeDef::ErrorCallback, HAL_TIM_ACTIVE_CHANNEL_1, HAL_TIM_ACTIVE_CHANNEL_2, HAL_TIM_ACTIVE_CHANNEL_3, HAL_TIM_ACTIVE_CHANNEL_4, HAL_TIM_ACTIVE_CHANNEL_CLEARED, HAL_TIM_CHANNEL_STATE_READY, HAL_TIM_ErrorCallback(), HAL_TIM_STATE_READY, __TIM_HandleTypeDef::hdma, __TIM_HandleTypeDef::State, TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_CHANNEL_STATE_SET, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, and TIM_DMA_ID_CC4.
Referenced by HAL_TIM_Base_Start_DMA(), HAL_TIM_DMABurst_MultiReadStart(), HAL_TIM_DMABurst_MultiWriteStart(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_IC_Start_DMA(), HAL_TIM_OC_Start_DMA(), HAL_TIM_PWM_Start_DMA(), HAL_TIMEx_ConfigCommutEvent_DMA(), and HAL_TIMEx_HallSensor_Start_DMA().
static void TIM_DMAPeriodElapsedCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
TIM DMA Period Elapse complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6858 of file stm32h7xx_hal_tim.c.
References DMA_NORMAL, HAL_TIM_PeriodElapsedCallback(), HAL_TIM_STATE_READY, __TIM_HandleTypeDef::hdma, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::Mode, __TIM_HandleTypeDef::PeriodElapsedCallback, __TIM_HandleTypeDef::State, and TIM_DMA_ID_UPDATE.
Referenced by HAL_TIM_Base_Start_DMA(), HAL_TIM_DMABurst_MultiReadStart(), and HAL_TIM_DMABurst_MultiWriteStart().
static void TIM_DMAPeriodElapsedHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
TIM DMA Period Elapse half complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6879 of file stm32h7xx_hal_tim.c.
References HAL_TIM_PeriodElapsedHalfCpltCallback(), and __TIM_HandleTypeDef::PeriodElapsedHalfCpltCallback.
Referenced by HAL_TIM_Base_Start_DMA(), HAL_TIM_DMABurst_MultiReadStart(), and HAL_TIM_DMABurst_MultiWriteStart().
static void TIM_DMATriggerCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
TIM DMA Trigger callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6895 of file stm32h7xx_hal_tim.c.
References DMA_NORMAL, HAL_TIM_STATE_READY, HAL_TIM_TriggerCallback(), __TIM_HandleTypeDef::hdma, __DMA_HandleTypeDef::Init, DMA_InitTypeDef::Mode, __TIM_HandleTypeDef::State, TIM_DMA_ID_TRIGGER, and __TIM_HandleTypeDef::TriggerCallback.
Referenced by HAL_TIM_DMABurst_MultiReadStart(), and HAL_TIM_DMABurst_MultiWriteStart().
static void TIM_DMATriggerHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
TIM DMA Trigger half complete callback.
hdma | pointer to DMA handle. |
None |
Definition at line 6916 of file stm32h7xx_hal_tim.c.
References HAL_TIM_TriggerHalfCpltCallback(), and __TIM_HandleTypeDef::TriggerHalfCpltCallback.
Referenced by HAL_TIM_DMABurst_MultiReadStart(), and HAL_TIM_DMABurst_MultiWriteStart().
void TIM_ETR_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ExtTRGPrescaler, | ||
uint32_t | TIM_ExtTRGPolarity, | ||
uint32_t | ExtTRGFilter | ||
) |
Configures the TIMx External Trigger (ETR).
TIMx | to select the TIM peripheral |
TIM_ExtTRGPrescaler | The external Trigger Prescaler. This parameter can be one of the following values:
|
TIM_ExtTRGPolarity | The external Trigger Polarity. This parameter can be one of the following values:
|
ExtTRGFilter | External Trigger Filter. This parameter must be a value between 0x00 and 0x0F |
None |
Definition at line 7824 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_ConfigClockSource(), HAL_TIM_ConfigOCrefClear(), and TIM_SlaveTimer_SetConfig().
static void TIM_ITRx_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | InputTriggerSource | ||
) | [static] |
Selects the Input Trigger source.
TIMx | to select the TIM peripheral |
InputTriggerSource | The Input Trigger source. This parameter can be one of the following values:
|
None |
Definition at line 7794 of file stm32h7xx_hal_tim.c.
References TIM_SLAVEMODE_EXTERNAL1.
Referenced by HAL_TIM_ConfigClockSource().
static void TIM_OC1_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) | [static] |
Timer Output Compare 1 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 6981 of file stm32h7xx_hal_tim.c.
References assert_param, IS_TIM_OCIDLE_STATE, IS_TIM_OCN_POLARITY, IS_TIM_OCNIDLE_STATE, TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCNIdleState, TIM_OC_InitTypeDef::OCNPolarity, TIM_OC_InitTypeDef::OCPolarity, TIM_OC_InitTypeDef::Pulse, and TIM_CHANNEL_1.
Referenced by HAL_TIM_OC_ConfigChannel(), HAL_TIM_OnePulse_ConfigChannel(), and HAL_TIM_PWM_ConfigChannel().
void TIM_OC2_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) |
Timer Output Compare 2 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 7056 of file stm32h7xx_hal_tim.c.
References assert_param, IS_TIM_OCIDLE_STATE, IS_TIM_OCN_POLARITY, IS_TIM_OCNIDLE_STATE, TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCNIdleState, TIM_OC_InitTypeDef::OCNPolarity, TIM_OC_InitTypeDef::OCPolarity, TIM_OC_InitTypeDef::Pulse, and TIM_CHANNEL_2.
Referenced by HAL_TIM_OC_ConfigChannel(), HAL_TIM_OnePulse_ConfigChannel(), HAL_TIM_PWM_ConfigChannel(), and HAL_TIMEx_HallSensor_Init().
static void TIM_OC3_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) | [static] |
Timer Output Compare 3 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 7132 of file stm32h7xx_hal_tim.c.
References assert_param, IS_TIM_OCIDLE_STATE, IS_TIM_OCN_POLARITY, IS_TIM_OCNIDLE_STATE, TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCNIdleState, TIM_OC_InitTypeDef::OCNPolarity, TIM_OC_InitTypeDef::OCPolarity, TIM_OC_InitTypeDef::Pulse, and TIM_CHANNEL_3.
Referenced by HAL_TIM_OC_ConfigChannel(), and HAL_TIM_PWM_ConfigChannel().
static void TIM_OC4_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) | [static] |
Timer Output Compare 4 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 7206 of file stm32h7xx_hal_tim.c.
References assert_param, IS_TIM_OCIDLE_STATE, TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCPolarity, and TIM_OC_InitTypeDef::Pulse.
Referenced by HAL_TIM_OC_ConfigChannel(), and HAL_TIM_PWM_ConfigChannel().
static void TIM_OC5_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) | [static] |
Timer Output Compare 5 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 7266 of file stm32h7xx_hal_tim.c.
References TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCPolarity, and TIM_OC_InitTypeDef::Pulse.
Referenced by HAL_TIM_OC_ConfigChannel(), and HAL_TIM_PWM_ConfigChannel().
static void TIM_OC6_SetConfig | ( | TIM_TypeDef * | TIMx, |
TIM_OC_InitTypeDef * | OC_Config | ||
) | [static] |
Timer Output Compare 6 configuration.
TIMx | to select the TIM peripheral |
OC_Config | The output configuration structure |
None |
Definition at line 7319 of file stm32h7xx_hal_tim.c.
References TIM_OC_InitTypeDef::OCIdleState, TIM_OC_InitTypeDef::OCMode, TIM_OC_InitTypeDef::OCPolarity, and TIM_OC_InitTypeDef::Pulse.
Referenced by HAL_TIM_OC_ConfigChannel(), and HAL_TIM_PWM_ConfigChannel().
void TIM_ResetCallback | ( | TIM_HandleTypeDef * | htim | ) |
Reset interrupt callbacks to the legacy weak callbacks.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
None |
Definition at line 7880 of file stm32h7xx_hal_tim.c.
References __TIM_HandleTypeDef::Break2Callback, __TIM_HandleTypeDef::BreakCallback, __TIM_HandleTypeDef::CommutationCallback, __TIM_HandleTypeDef::CommutationHalfCpltCallback, __TIM_HandleTypeDef::ErrorCallback, HAL_TIM_ErrorCallback(), HAL_TIM_IC_CaptureCallback(), HAL_TIM_IC_CaptureHalfCpltCallback(), HAL_TIM_OC_DelayElapsedCallback(), HAL_TIM_PeriodElapsedCallback(), HAL_TIM_PeriodElapsedHalfCpltCallback(), HAL_TIM_PWM_PulseFinishedCallback(), HAL_TIM_PWM_PulseFinishedHalfCpltCallback(), HAL_TIM_TriggerCallback(), HAL_TIM_TriggerHalfCpltCallback(), HAL_TIMEx_Break2Callback(), HAL_TIMEx_BreakCallback(), HAL_TIMEx_CommutCallback(), HAL_TIMEx_CommutHalfCpltCallback(), __TIM_HandleTypeDef::IC_CaptureCallback, __TIM_HandleTypeDef::IC_CaptureHalfCpltCallback, __TIM_HandleTypeDef::OC_DelayElapsedCallback, __TIM_HandleTypeDef::PeriodElapsedCallback, __TIM_HandleTypeDef::PeriodElapsedHalfCpltCallback, __TIM_HandleTypeDef::PWM_PulseFinishedCallback, __TIM_HandleTypeDef::PWM_PulseFinishedHalfCpltCallback, __TIM_HandleTypeDef::TriggerCallback, and __TIM_HandleTypeDef::TriggerHalfCpltCallback.
Referenced by HAL_TIM_Base_Init(), HAL_TIM_Encoder_Init(), HAL_TIM_IC_Init(), HAL_TIM_OC_Init(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_Init(), and HAL_TIMEx_HallSensor_Init().
static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig | ( | TIM_HandleTypeDef * | htim, |
TIM_SlaveConfigTypeDef * | sSlaveConfig | ||
) | [static] |
Slave Timer configuration function.
htim | TIM handle |
sSlaveConfig | Slave timer configuration |
None |
Definition at line 7373 of file stm32h7xx_hal_tim.c.
References assert_param, TIM_SlaveConfigTypeDef::InputTrigger, __TIM_HandleTypeDef::Instance, IS_TIM_TRIGGERFILTER, IS_TIM_TRIGGERPOLARITY, IS_TIM_TRIGGERPRESCALER, TIM_SlaveConfigTypeDef::SlaveMode, TIM_ETR_SetConfig(), TIM_SLAVEMODE_GATED, TIM_TI1_ConfigInputStage(), TIM_TI2_ConfigInputStage(), TIM_TS_ETRF, TIM_TS_ITR0, TIM_TS_ITR1, TIM_TS_ITR10, TIM_TS_ITR11, TIM_TS_ITR12, TIM_TS_ITR13, TIM_TS_ITR2, TIM_TS_ITR3, TIM_TS_ITR4, TIM_TS_ITR5, TIM_TS_ITR6, TIM_TS_ITR7, TIM_TS_ITR8, TIM_TS_ITR9, TIM_TS_TI1F_ED, TIM_TS_TI1FP1, TIM_TS_TI2FP2, TIM_SlaveConfigTypeDef::TriggerFilter, TIM_SlaveConfigTypeDef::TriggerPolarity, and TIM_SlaveConfigTypeDef::TriggerPrescaler.
Referenced by HAL_TIM_SlaveConfigSynchro(), and HAL_TIM_SlaveConfigSynchro_IT().
static void TIM_TI1_ConfigInputStage | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICFilter | ||
) | [static] |
Configure the Polarity and Filter for TI1.
TIMx | to select the TIM peripheral. |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7564 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_ConfigClockSource(), and TIM_SlaveTimer_SetConfig().
void TIM_TI1_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICSelection, | ||
uint32_t | TIM_ICFilter | ||
) |
Configure the TI1 as Input.
TIMx | to select the TIM peripheral. |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICSelection | specifies the input to be used. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7517 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_IC_ConfigChannel(), HAL_TIM_OnePulse_ConfigChannel(), and HAL_TIMEx_HallSensor_Init().
static void TIM_TI2_ConfigInputStage | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICFilter | ||
) | [static] |
Configure the Polarity and Filter for TI2.
TIMx | to select the TIM peripheral. |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7647 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_ConfigClockSource(), and TIM_SlaveTimer_SetConfig().
static void TIM_TI2_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICSelection, | ||
uint32_t | TIM_ICFilter | ||
) | [static] |
Configure the TI2 as Input.
TIMx | to select the TIM peripheral |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICSelection | specifies the input to be used. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7607 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_IC_ConfigChannel(), and HAL_TIM_OnePulse_ConfigChannel().
static void TIM_TI3_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICSelection, | ||
uint32_t | TIM_ICFilter | ||
) | [static] |
Configure the TI3 as Input.
TIMx | to select the TIM peripheral |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICSelection | specifies the input to be used. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7690 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_IC_ConfigChannel().
static void TIM_TI4_SetConfig | ( | TIM_TypeDef * | TIMx, |
uint32_t | TIM_ICPolarity, | ||
uint32_t | TIM_ICSelection, | ||
uint32_t | TIM_ICFilter | ||
) | [static] |
Configure the TI4 as Input.
TIMx | to select the TIM peripheral |
TIM_ICPolarity | The Input Polarity. This parameter can be one of the following values:
|
TIM_ICSelection | specifies the input to be used. This parameter can be one of the following values:
|
TIM_ICFilter | Specifies the Input Capture Filter. This parameter must be a value between 0x00 and 0x0F. |
None |
Definition at line 7738 of file stm32h7xx_hal_tim.c.
Referenced by HAL_TIM_IC_ConfigChannel().