Functions | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Init (GPT_HandleTypeDef *htim, GPT_Encoder_InitTypeDef *sConfig) |
Initializes the TIM Encoder Interface and create the associated handle. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_DeInit (GPT_HandleTypeDef *htim) |
DeInitializes the TIM Encoder interface. More... | |
void | HAL_GPT_Encoder_MspInit (GPT_HandleTypeDef *htim) |
Initializes the TIM Encoder Interface MSP. More... | |
void | HAL_GPT_Encoder_MspDeInit (GPT_HandleTypeDef *htim) |
DeInitializes TIM Encoder Interface MSP. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Start (GPT_HandleTypeDef *htim, uint32_t Channel) |
Starts the TIM Encoder Interface. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Stop (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Encoder Interface. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Start_IT (GPT_HandleTypeDef *htim, uint32_t Channel) |
Starts the TIM Encoder Interface in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Stop_IT (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Encoder Interface in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Start_DMA (GPT_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1, uint32_t *pData2, uint16_t Length) |
Starts the TIM Encoder Interface in DMA mode. More... | |
HAL_StatusTypeDef | HAL_GPT_Encoder_Stop_DMA (GPT_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM Encoder Interface in DMA mode. More... | |
HAL_StatusTypeDef HAL_GPT_Encoder_DeInit | ( | GPT_HandleTypeDef * | htim | ) |
DeInitializes the TIM Encoder interface.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
HAL | status |
HAL_StatusTypeDef HAL_GPT_Encoder_Init | ( | GPT_HandleTypeDef * | htim, |
GPT_Encoder_InitTypeDef * | sConfig | ||
) |
Initializes the TIM Encoder Interface and create the associated handle.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
sConfig | TIM Encoder Interface configuration structure |
HAL | status |
void HAL_GPT_Encoder_MspDeInit | ( | GPT_HandleTypeDef * | htim | ) |
DeInitializes TIM Encoder Interface MSP.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
None |
void HAL_GPT_Encoder_MspInit | ( | GPT_HandleTypeDef * | htim | ) |
Initializes the TIM Encoder Interface MSP.
htim | pointer to a GPT_HandleTypeDef structure that contains the configuration information for TIM module. |
None |
HAL_StatusTypeDef HAL_GPT_Encoder_Start | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the TIM Encoder Interface.
htim | pointer to a GPT_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:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_Encoder_Start_DMA | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel, | ||
uint32_t * | pData1, | ||
uint32_t * | pData2, | ||
uint16_t | Length | ||
) |
Starts the TIM Encoder Interface in DMA mode.
htim | pointer to a GPT_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:
|
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 |
HAL_StatusTypeDef HAL_GPT_Encoder_Start_IT | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the TIM Encoder Interface in interrupt mode.
htim | pointer to a GPT_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:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_Encoder_Stop | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Encoder Interface.
htim | pointer to a GPT_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:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_Encoder_Stop_DMA | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Encoder Interface in DMA mode.
htim | pointer to a GPT_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:
|
HAL | status |
HAL_StatusTypeDef HAL_GPT_Encoder_Stop_IT | ( | GPT_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM Encoder Interface in interrupt mode.
htim | pointer to a GPT_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:
|
HAL | status |