STM32L486xx HAL User Manual
Functions
Peripheral Control functions
Exported Functions

Peripheral Control functions. More...

Functions

HAL_StatusTypeDef HAL_TSC_IOConfig (TSC_HandleTypeDef *htsc, TSC_IOConfigTypeDef *config)
 Configure TSC IOs.
HAL_StatusTypeDef HAL_TSC_IODischarge (TSC_HandleTypeDef *htsc, uint32_t choice)
 Discharge TSC IOs.

Detailed Description

Peripheral Control functions.

 ===============================================================================
             ##### Peripheral Control functions #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Configure TSC IOs
      (+) Discharge TSC IOs

Function Documentation

HAL_StatusTypeDef HAL_TSC_IOConfig ( TSC_HandleTypeDef htsc,
TSC_IOConfigTypeDef config 
)

Configure TSC IOs.

Parameters:
htscPointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC.
configPointer to the configuration structure.
Return values:
HALstatus

Definition at line 883 of file stm32l4xx_hal_tsc.c.

References __HAL_TSC_STOP_ACQ, assert_param, TSC_IOConfigTypeDef::ChannelIOs, __TSC_HandleTypeDef::Instance, IS_TSC_GROUP, TSC_IOConfigTypeDef::SamplingIOs, TSC_IOConfigTypeDef::ShieldIOs, and TSC_extract_groups().

HAL_StatusTypeDef HAL_TSC_IODischarge ( TSC_HandleTypeDef htsc,
uint32_t  choice 
)

Discharge TSC IOs.

Parameters:
htscPointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC.
choiceThis parameter can be set to ENABLE or DISABLE.
Return values:
HALstatus

Definition at line 923 of file stm32l4xx_hal_tsc.c.

References __HAL_TSC_SET_IODEF_INFLOAT, __HAL_TSC_SET_IODEF_OUTPPLOW, assert_param, and __TSC_HandleTypeDef::Instance.