HAL_TIM_Encoder_MspDeInit. STMicroelectronics STM32F4
تبلیغات
تبلیغات
UM1725
Return values
None
61.3.64 HAL_TIM_Encoder_MspDeInit
Function Name
void HAL_TIM_Encoder_MspDeInit (TIM_HandleTypeDef *
htim)
Function Description DeInitializes TIM Encoder Interface MSP.
Parameters
Return values
htim: pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module.
None
61.3.65 HAL_TIM_Encoder_Start
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Start
(TIM_HandleTypeDef * htim, uint32_t Channel)
Function Description Starts the TIM Encoder Interface.
Parameters
Return values
htim: pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module.
Channel: TIM Channels to be enabled. This parameter can be one of the following values: TIM_CHANNEL_1: TIM
Channel 1 selectedTIM_CHANNEL_2: TIM Channel 2 selectedTIM_CHANNEL_ALL: TIM Channel 1 and TIM
Channel 2 are selected
HAL status
61.3.66 HAL_TIM_Encoder_Stop
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Stop
(TIM_HandleTypeDef * htim, uint32_t Channel)
Function Description Stops the TIM Encoder Interface.
Parameters
Return values
htim: pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module.
Channel: TIM Channels to be disabled. This parameter can be one of the following values: TIM_CHANNEL_1: TIM
Channel 1 selectedTIM_CHANNEL_2: TIM Channel 2 selectedTIM_CHANNEL_ALL: TIM Channel 1 and TIM
Channel 2 are selected
HAL status
61.3.67 HAL_TIM_Encoder_Start_IT
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT
(TIM_HandleTypeDef * htim, uint32_t Channel)
Function Description Starts the TIM Encoder Interface in interrupt mode.
Parameters
htim: pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module.
Channel: TIM Channels to be enabled. This parameter can be one of the following values: TIM_CHANNEL_1: TIM
Channel 1 selectedTIM_CHANNEL_2: TIM Channel 2
DOCID025834 Rev 3 855/963
دانلود
تبلیغات