ST / BSP_DISCO_L4R9I

Dependents:   DISCO_L4R9I-LCD-demo

Embed: (wiki syntax)

« Back to documentation index

stm32l4r9i_discovery_ts.c File Reference

stm32l4r9i_discovery_ts.c File Reference

This file provides a set of functions needed to manage the Touch Screen on DSI LCD of STM32L4R9I_DISCOVERY discovery board. More...

Go to the source code of this file.

Functions

uint8_t BSP_TS_Init (uint16_t ts_SizeX, uint16_t ts_SizeY)
 Initialize and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, I2C, clocks..).
uint8_t BSP_TS_DeInit (void)
 Deinitialize the TouchScreen.
uint8_t BSP_TS_GetState (TS_StateTypeDef *TS_State)
 Return status and positions of the touch screen.
uint8_t BSP_TS_GestureConfig (FunctionalState State)
 Configure gesture feature.
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)
 Reset all touch data before a new acquisition of touch information.
uint8_t BSP_TS_ITConfig (void)
 Configure and enable the touch screen interrupts.
uint8_t BSP_TS_ITDisable (void)
 Deconfigure and disable the touch screen interrupts.
void BSP_TS_ITClear (void)
 Clear all touch screen interrupts.
uint8_t BSP_TS_ITGetStatus (void)
 Get the touch screen interrupt status.

Detailed Description

This file provides a set of functions needed to manage the Touch Screen on DSI LCD of STM32L4R9I_DISCOVERY discovery board.

Author:
MCD Application Team
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 stm32l4r9i_discovery_ts.c.