|
STM32L4xx_HAL_Driver
1.14.0
|
Header file of TSC HAL module. More...
Go to the source code of this file.
Data Structures | |
| struct | TSC_InitTypeDef |
| TSC init structure definition. More... | |
| struct | TSC_IOConfigTypeDef |
| TSC IOs configuration structure definition. More... | |
| struct | __TSC_HandleTypeDef |
| TSC handle Structure definition. More... | |
Typedefs | |
| typedef struct __TSC_HandleTypeDef | TSC_HandleTypeDef |
| TSC handle Structure definition. More... | |
| typedef void(* | pTSC_CallbackTypeDef) (TSC_HandleTypeDef *htsc) |
| HAL TSC Callback pointer definition. More... | |
Enumerations | |
| enum | HAL_TSC_StateTypeDef { HAL_TSC_STATE_RESET = 0x00UL, HAL_TSC_STATE_READY = 0x01UL, HAL_TSC_STATE_BUSY = 0x02UL, HAL_TSC_STATE_ERROR = 0x03UL } |
| TSC state structure definition. More... | |
| enum | TSC_GroupStatusTypeDef { TSC_GROUP_ONGOING = 0x00UL, TSC_GROUP_COMPLETED = 0x01UL } |
| TSC group status structure definition. More... | |
| enum | { TSC_GROUP1_IDX = 0x00UL, TSC_GROUP2_IDX, TSC_GROUP3_IDX, TSC_GROUP4_IDX, TSC_GROUP5_IDX, TSC_GROUP6_IDX, TSC_GROUP7_IDX, TSC_GROUP8_IDX, TSC_NB_OF_GROUPS } |
| enum | HAL_TSC_CallbackIDTypeDef { HAL_TSC_CONV_COMPLETE_CB_ID = 0x00UL, HAL_TSC_ERROR_CB_ID = 0x01UL, HAL_TSC_MSPINIT_CB_ID = 0x02UL, HAL_TSC_MSPDEINIT_CB_ID = 0x03UL } |
| HAL TSC Callback ID enumeration definition. More... | |
Functions | |
| HAL_StatusTypeDef | HAL_TSC_Init (TSC_HandleTypeDef *htsc) |
| Initialize the TSC peripheral according to the specified parameters in the TSC_InitTypeDef structure and initialize the associated handle. More... | |
| HAL_StatusTypeDef | HAL_TSC_DeInit (TSC_HandleTypeDef *htsc) |
| Deinitialize the TSC peripheral registers to their default reset values. More... | |
| void | HAL_TSC_MspInit (TSC_HandleTypeDef *htsc) |
| Initialize the TSC MSP. More... | |
| void | HAL_TSC_MspDeInit (TSC_HandleTypeDef *htsc) |
| DeInitialize the TSC MSP. More... | |
| HAL_StatusTypeDef | HAL_TSC_RegisterCallback (TSC_HandleTypeDef *htsc, HAL_TSC_CallbackIDTypeDef CallbackID, pTSC_CallbackTypeDef pCallback) |
| Register a User TSC Callback To be used instead of the weak predefined callback. More... | |
| HAL_StatusTypeDef | HAL_TSC_UnRegisterCallback (TSC_HandleTypeDef *htsc, HAL_TSC_CallbackIDTypeDef CallbackID) |
| Unregister an TSC Callback TSC callback is redirected to the weak predefined callback. More... | |
| HAL_StatusTypeDef | HAL_TSC_Start (TSC_HandleTypeDef *htsc) |
| Start the acquisition. More... | |
| HAL_StatusTypeDef | HAL_TSC_Start_IT (TSC_HandleTypeDef *htsc) |
| Start the acquisition in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TSC_Stop (TSC_HandleTypeDef *htsc) |
| Stop the acquisition previously launched in polling mode. More... | |
| HAL_StatusTypeDef | HAL_TSC_Stop_IT (TSC_HandleTypeDef *htsc) |
| Stop the acquisition previously launched in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TSC_PollForAcquisition (TSC_HandleTypeDef *htsc) |
| Start acquisition and wait until completion. More... | |
| TSC_GroupStatusTypeDef | HAL_TSC_GroupGetStatus (TSC_HandleTypeDef *htsc, uint32_t gx_index) |
| Get the acquisition status for a group. More... | |
| uint32_t | HAL_TSC_GroupGetValue (TSC_HandleTypeDef *htsc, uint32_t gx_index) |
| Get the acquisition measure for a group. More... | |
| HAL_StatusTypeDef | HAL_TSC_IOConfig (TSC_HandleTypeDef *htsc, TSC_IOConfigTypeDef *config) |
| Configure TSC IOs. More... | |
| HAL_StatusTypeDef | HAL_TSC_IODischarge (TSC_HandleTypeDef *htsc, FunctionalState choice) |
| Discharge TSC IOs. More... | |
| HAL_TSC_StateTypeDef | HAL_TSC_GetState (TSC_HandleTypeDef *htsc) |
| Return the TSC handle state. More... | |
| void | HAL_TSC_IRQHandler (TSC_HandleTypeDef *htsc) |
| Handle TSC interrupt request. More... | |
| void | HAL_TSC_ConvCpltCallback (TSC_HandleTypeDef *htsc) |
| Acquisition completed callback in non-blocking mode. More... | |
| void | HAL_TSC_ErrorCallback (TSC_HandleTypeDef *htsc) |
| Error callback in non-blocking mode. More... | |
Header file of TSC HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_hal_tsc.h.