STM32746G-Discovery board drivers V1.0.0
Dependents: DISCO-F746NG_LCDTS_CC3000_NTP DISCO-F746NG_ROPE_WIFI F746_SpectralAnalysis_NoPhoto ecte433 ... more
STM32746G_DISCOVERY_TS Exported Functions
[STM32746G_DISCOVERY_TS]
Modules | |
TS Private Functions | |
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_DeInit (void) |
DeInitializes the TouchScreen. | |
uint8_t | BSP_TS_ITConfig (void) |
Configures and enables the touch screen interrupts. | |
uint8_t | BSP_TS_ITGetStatus (void) |
Gets the touch screen interrupt status. | |
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. | |
void | BSP_TS_ITClear (void) |
Clears all touch screen interrupts. |
Function Documentation
uint8_t BSP_TS_DeInit | ( | void | ) |
DeInitializes the TouchScreen.
- Return values:
-
TS state
Definition at line 176 of file stm32746g_discovery_ts.c.
uint8_t BSP_TS_Get_GestureId | ( | TS_StateTypeDef * | TS_State ) |
Update gesture Id following a touch detected.
- Parameters:
-
TS_State,: Pointer to touch screen current state structure
- Return values:
-
TS_OK if all initializations are OK. Other value if error.
Definition at line 342 of file stm32746g_discovery_ts.c.
uint8_t BSP_TS_GetState | ( | TS_StateTypeDef * | TS_State ) |
Returns status and positions of the touch screen.
- Parameters:
-
TS_State,: Pointer to touch screen current state structure
- Return values:
-
TS_OK if all initializations are OK. Other value if error.
Definition at line 222 of file stm32746g_discovery_ts.c.
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..).
- Parameters:
-
ts_SizeX,: Maximum X size of the TS area on LCD ts_SizeY,: Maximum Y size of the TS area on LCD
- Return values:
-
TS_OK if all initializations are OK. Other value if error.
Definition at line 146 of file stm32746g_discovery_ts.c.
void BSP_TS_ITClear | ( | void | ) |
Clears all touch screen interrupts.
Definition at line 386 of file stm32746g_discovery_ts.c.
uint8_t BSP_TS_ITConfig | ( | void | ) |
Configures and enables the touch screen interrupts.
- Return values:
-
TS_OK if all initializations are OK. Other value if error.
Definition at line 186 of file stm32746g_discovery_ts.c.
uint8_t BSP_TS_ITGetStatus | ( | void | ) |
Gets the touch screen interrupt status.
- Return values:
-
TS_OK if all initializations are OK. Other value if error.
Definition at line 211 of file stm32746g_discovery_ts.c.
Generated on Tue Jul 12 2022 13:20:45 by 1.7.2