HAL_TIM_Encoder_Stop_IT. STMicroelectronics STM32F4
Werbung
Werbung
Return values
UM1725
selectedTIM_CHANNEL_ALL: TIM Channel 1 and TIM
Channel 2 are selected
HAL status
61.3.68 HAL_TIM_Encoder_Stop_IT
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT
(TIM_HandleTypeDef * htim, uint32_t Channel)
Function Description Stops the TIM Encoder Interface in interrupt mode.
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.69 HAL_TIM_Encoder_Start_DMA
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA
(TIM_HandleTypeDef * htim, uint32_t Channel, uint32_t *
pData1, uint32_t * pData2, uint16_t Length)
Function Description Starts the TIM Encoder Interface in DMA mode.
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
pData1: The destination Buffer address for IC1.
pData2: The destination Buffer address for IC2.
Length: The length of data to be transferred from TIM peripheral to memory.
HAL status
61.3.70 HAL_TIM_Encoder_Stop_DMA
Function Name
HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA
(TIM_HandleTypeDef * htim, uint32_t Channel)
Function Description Stops the TIM Encoder Interface in DMA 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 selectedTIM_CHANNEL_ALL: TIM Channel 1 and TIM
Channel 2 are selected
856/963 DOCID025834 Rev 3
Herunterladen
Werbung