TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Peripheral Control 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:
htsc,:pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC.
config,:pointer to the configuration structure.
Return values:
HALstatus

Definition at line 633 of file stm32l4xx_hal_tsc.c.

HAL_StatusTypeDef HAL_TSC_IODischarge ( TSC_HandleTypeDef *  htsc,
uint32_t  choice 
)

Discharge TSC IOs.

Parameters:
htsc,:pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC.
choice,:enable or disable
Return values:
HALstatus

Definition at line 670 of file stm32l4xx_hal_tsc.c.