Peripheral Control functions.
More...
Peripheral Control functions.
===============================================================================
##### Peripheral Control functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure TSC IOs
(+) Discharge TSC IOs
◆ HAL_TSC_IOConfig()
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
-
Definition at line 875 of file stm32l4xx_hal_tsc.c.
887 __HAL_TSC_STOP_ACQ(htsc);
static uint32_t TSC_extract_groups(uint32_t iomask)
Utility function used to set the acquired groups mask.
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))
◆ HAL_TSC_IODischarge()
| HAL_StatusTypeDef HAL_TSC_IODischarge |
( |
TSC_HandleTypeDef * |
htsc, |
|
|
FunctionalState |
choice |
|
) |
| |
Discharge TSC IOs.
- Parameters
-
| htsc | Pointer to a TSC_HandleTypeDef structure that contains the configuration information for the specified TSC. |
| choice | This parameter can be set to ENABLE or DISABLE. |
- Return values
-
Definition at line 915 of file stm32l4xx_hal_tsc.c.
923 if (choice == ENABLE)
925 __HAL_TSC_SET_IODEF_OUTPPLOW(htsc);
929 __HAL_TSC_SET_IODEF_INFLOAT(htsc);
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))