STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions

Functions

void ts3510_Init (uint16_t DeviceAddr)
 Initialize the ts3510 and configure the needed hardware resources. More...
 
void ts3510_Reset (uint16_t DeviceAddr)
 Reset the ts3510 by Software. More...
 
uint16_t ts3510_ReadID (uint16_t DeviceAddr)
 Read the ts3510 IO Expander device ID. More...
 
void ts3510_TS_Start (uint16_t DeviceAddr)
 Configures the touch Screen Controller (Single point detection) More...
 
uint8_t ts3510_TS_DetectTouch (uint16_t DeviceAddr)
 Return if there is touch detected or not. More...
 
void ts3510_TS_GetXY (uint16_t DeviceAddr, uint16_t *X, uint16_t *Y)
 Get the touch screen X and Y positions values. More...
 
void ts3510_TS_EnableIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
void ts3510_TS_DisableIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
uint8_t ts3510_TS_ITStatus (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
void ts3510_TS_ClearIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 

Detailed Description

Function Documentation

void ts3510_Init ( uint16_t  DeviceAddr)

Initialize the ts3510 and configure the needed hardware resources.

ts3510 Control functions

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 116 of file ts3510.c.

uint16_t ts3510_ReadID ( uint16_t  DeviceAddr)

Read the ts3510 IO Expander device ID.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
TheDevice ID (two bytes).

Definition at line 138 of file ts3510.c.

void ts3510_Reset ( uint16_t  DeviceAddr)

Reset the ts3510 by Software.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 128 of file ts3510.c.

void ts3510_TS_ClearIT ( uint16_t  DeviceAddr)

Configure the selected source to generate a global interrupt or not.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 237 of file ts3510.c.

uint8_t ts3510_TS_DetectTouch ( uint16_t  DeviceAddr)

Return if there is touch detected or not.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
Touchdetected state.

Definition at line 157 of file ts3510.c.

void ts3510_TS_DisableIT ( uint16_t  DeviceAddr)

Configure the selected source to generate a global interrupt or not.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 218 of file ts3510.c.

void ts3510_TS_EnableIT ( uint16_t  DeviceAddr)

Configure the selected source to generate a global interrupt or not.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 209 of file ts3510.c.

void ts3510_TS_GetXY ( uint16_t  DeviceAddr,
uint16_t *  X,
uint16_t *  Y 
)

Get the touch screen X and Y positions values.

Parameters
DeviceAddrDevice address on communication Bus.
XPointer to X position value
YPointer to Y position value
Return values
None.

Definition at line 186 of file ts3510.c.

uint8_t ts3510_TS_ITStatus ( uint16_t  DeviceAddr)

Configure the selected source to generate a global interrupt or not.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
TSinterrupts status

Definition at line 227 of file ts3510.c.

void ts3510_TS_Start ( uint16_t  DeviceAddr)

Configures the touch Screen Controller (Single point detection)

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None.

Definition at line 148 of file ts3510.c.