Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO_L496AG-LCD-prova_1 DISCO_L496AG-LCD-prova_2 DISCO_L496AG-LCD-demo DISCO_L496AG-SRAM-demo
This file provides a set of functions needed to manage the Touch Screen on STM32L496G-DISCOVERY evaluation board. More...
Go to the source code of this file.
Functions | |
| uint8_t | BSP_TS_Init (uint16_t ts_SizeX, uint16_t ts_SizeY) |
| Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..). | |
| uint8_t | BSP_TS_InitEx (uint16_t ts_SizeX, uint16_t ts_SizeY, uint8_t orientation) |
| Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..) with a given orientation. | |
| uint8_t | BSP_TS_ITConfig (void) |
| Configures and enables the touch screen interrupts. | |
| uint8_t | BSP_TS_ITDeConfig (void) |
| deConfigures and enables the touch screen interrupts. | |
| uint8_t | BSP_TS_GetState (TS_StateTypeDef *TS_State) |
| Returns status and positions of the touch screen. | |
| uint8_t | BSP_TS_Get_GestureId (TS_StateTypeDef *TS_State) |
| Update gesture Id following a touch detected. | |
| uint8_t | BSP_TS_ResetTouchData (TS_StateTypeDef *TS_State) |
| Function used to reset all touch data before a new acquisition of touch information. | |
| __weak void | BSP_TS_INT_MspInit (void) |
| Initializes the TS_INT pin MSP. | |
| __weak void | BSP_TS_INT_MspDeInit (void) |
| Initializes the TS_INT pin MSP. | |
Variables | |
| char * | ts_event_string_tab [TOUCH_EVENT_NB_MAX] |
| Table for touchscreen event information display on LCD : table indexed on enum TS_TouchEventTypeDef information. | |
| char * | ts_gesture_id_string_tab [GEST_ID_NB_MAX] |
| Table for touchscreen gesture Id information display on LCD : table indexed on enum TS_GestureIdTypeDef information. | |
Detailed Description
This file provides a set of functions needed to manage the Touch Screen on STM32L496G-DISCOVERY evaluation board.
- Attention:
© Copyright (c) 2017 STMicroelectronics. All rights reserved.
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 stm32l496g_discovery_ts.c.
Generated on Tue Jul 12 2022 15:07:45 by
1.7.2