TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_TOUCH_TS3510_Functions

Library Functions. More...

Functions

uint8_t TM_TOUCH_TS3510_Init (TM_TOUCH_t *TS)
 Initializes TS3510 touch controller. More...
 
uint8_t TM_TOUCH_TS3510_Read (TM_TOUCH_t *TS)
 Reads touch data from TS3510 touch controller. More...
 

Detailed Description

Library Functions.

Function Documentation

uint8_t TM_TOUCH_TS3510_Init ( TM_TOUCH_t TS)

Initializes TS3510 touch controller.

Parameters
*TSPointer to TM_TOUCH_t structure with settings
Return values
Touchstatus:
  • 0: OK
  • > 0: Error
uint8_t TM_TOUCH_TS3510_Read ( TM_TOUCH_t TS)

Reads touch data from TS3510 touch controller.

Parameters
*TSPointer to TM_TOUCH_t to save data into
Return values
Touchstatus:
  • 0: OK
  • > 0: Error