STM32L443xx HAL User Manual
|
Input and Output operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_TSC_Start (TSC_HandleTypeDef *htsc) |
Start the acquisition. | |
HAL_StatusTypeDef | HAL_TSC_Start_IT (TSC_HandleTypeDef *htsc) |
Start the acquisition in interrupt mode. | |
HAL_StatusTypeDef | HAL_TSC_Stop (TSC_HandleTypeDef *htsc) |
Stop the acquisition previously launched in polling mode. | |
HAL_StatusTypeDef | HAL_TSC_Stop_IT (TSC_HandleTypeDef *htsc) |
Stop the acquisition previously launched in interrupt mode. | |
HAL_StatusTypeDef | HAL_TSC_PollForAcquisition (TSC_HandleTypeDef *htsc) |
Start acquisition and wait until completion. | |
TSC_GroupStatusTypeDef | HAL_TSC_GroupGetStatus (TSC_HandleTypeDef *htsc, uint32_t gx_index) |
Get the acquisition status for a group. | |
uint32_t | HAL_TSC_GroupGetValue (TSC_HandleTypeDef *htsc, uint32_t gx_index) |
Get the acquisition measure for a group. |
Input and Output operation functions.
=============================================================================== ##### IO Operation functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Start acquisition in polling mode. (+) Start acquisition in interrupt mode. (+) Stop conversion in polling mode. (+) Stop conversion in interrupt mode. (+) Poll for acquisition completed. (+) Get group acquisition status. (+) Get group acquisition value.
TSC_GroupStatusTypeDef HAL_TSC_GroupGetStatus | ( | TSC_HandleTypeDef * | htsc, |
uint32_t | gx_index | ||
) |
Get the acquisition status for a group.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
gx_index | Index of the group |
Group | status |
Definition at line 825 of file stm32l4xx_hal_tsc.c.
References __HAL_TSC_GET_GROUP_STATUS, assert_param, __TSC_HandleTypeDef::Instance, and IS_TSC_GROUP_INDEX.
uint32_t HAL_TSC_GroupGetValue | ( | TSC_HandleTypeDef * | htsc, |
uint32_t | gx_index | ||
) |
Get the acquisition measure for a group.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
gx_index | Index of the group |
Acquisition | measure |
Definition at line 842 of file stm32l4xx_hal_tsc.c.
References assert_param, __TSC_HandleTypeDef::Instance, and IS_TSC_GROUP_INDEX.
HAL_StatusTypeDef HAL_TSC_PollForAcquisition | ( | TSC_HandleTypeDef * | htsc | ) |
Start acquisition and wait until completion.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
HAL | state |
Definition at line 798 of file stm32l4xx_hal_tsc.c.
References assert_param, HAL_TSC_GetState(), HAL_TSC_STATE_BUSY, and __TSC_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_TSC_Start | ( | TSC_HandleTypeDef * | htsc | ) |
Start the acquisition.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
HAL | status |
Definition at line 630 of file stm32l4xx_hal_tsc.c.
References __HAL_TSC_CLEAR_FLAG, __HAL_TSC_DISABLE_IT, __HAL_TSC_SET_IODEF_INFLOAT, __HAL_TSC_SET_IODEF_OUTPPLOW, __HAL_TSC_START_ACQ, assert_param, HAL_TSC_STATE_BUSY, __TSC_HandleTypeDef::Init, __TSC_HandleTypeDef::Instance, TSC_InitTypeDef::IODefaultMode, __TSC_HandleTypeDef::State, TSC_FLAG_EOA, TSC_FLAG_MCE, TSC_IODEF_OUT_PP_LOW, TSC_IT_EOA, and TSC_IT_MCE.
HAL_StatusTypeDef HAL_TSC_Start_IT | ( | TSC_HandleTypeDef * | htsc | ) |
Start the acquisition in interrupt mode.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
HAL | status. |
Definition at line 673 of file stm32l4xx_hal_tsc.c.
References __HAL_TSC_CLEAR_FLAG, __HAL_TSC_DISABLE_IT, __HAL_TSC_ENABLE_IT, __HAL_TSC_SET_IODEF_INFLOAT, __HAL_TSC_SET_IODEF_OUTPPLOW, __HAL_TSC_START_ACQ, assert_param, HAL_TSC_STATE_BUSY, __TSC_HandleTypeDef::Init, __TSC_HandleTypeDef::Instance, TSC_InitTypeDef::IODefaultMode, IS_TSC_MCE_IT, TSC_InitTypeDef::MaxCountInterrupt, __TSC_HandleTypeDef::State, TSC_FLAG_EOA, TSC_FLAG_MCE, TSC_IODEF_OUT_PP_LOW, TSC_IT_EOA, and TSC_IT_MCE.
HAL_StatusTypeDef HAL_TSC_Stop | ( | TSC_HandleTypeDef * | htsc | ) |
Stop the acquisition previously launched in polling mode.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
HAL | status |
Definition at line 727 of file stm32l4xx_hal_tsc.c.
References __HAL_TSC_CLEAR_FLAG, __HAL_TSC_SET_IODEF_OUTPPLOW, __HAL_TSC_STOP_ACQ, assert_param, HAL_TSC_STATE_READY, __TSC_HandleTypeDef::Instance, __TSC_HandleTypeDef::State, TSC_FLAG_EOA, and TSC_FLAG_MCE.
HAL_StatusTypeDef HAL_TSC_Stop_IT | ( | TSC_HandleTypeDef * | htsc | ) |
Stop the acquisition previously launched in interrupt mode.
htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
HAL | status |
Definition at line 760 of file stm32l4xx_hal_tsc.c.
References __HAL_TSC_CLEAR_FLAG, __HAL_TSC_DISABLE_IT, __HAL_TSC_SET_IODEF_OUTPPLOW, __HAL_TSC_STOP_ACQ, assert_param, HAL_TSC_STATE_READY, __TSC_HandleTypeDef::Instance, __TSC_HandleTypeDef::State, TSC_FLAG_EOA, TSC_FLAG_MCE, TSC_IT_EOA, and TSC_IT_MCE.