STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
Ts3510_Exported_Functions

Functions

void ts3510_Init (uint16_t DeviceAddr)
 ts3510 Control functions 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...
 
void IOE_Init (void)
 
void IOE_Delay (uint32_t delay)
 
uint8_t IOE_Read (uint8_t addr, uint8_t reg)
 
uint16_t IOE_ReadMultiple (uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length)
 
void IOE_WriteMultiple (uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length)
 

Variables

TS_DrvTypeDef ts3510_ts_drv
 

Detailed Description

Function Documentation

void IOE_Delay ( uint32_t  delay)
void IOE_Init ( void  )
uint8_t IOE_Read ( uint8_t  addr,
uint8_t  reg 
)
uint16_t IOE_ReadMultiple ( uint8_t  addr,
uint8_t  reg,
uint8_t *  buffer,
uint16_t  length 
)
void IOE_WriteMultiple ( uint8_t  addr,
uint8_t  reg,
uint8_t *  buffer,
uint16_t  length 
)
void ts3510_Init ( uint16_t  DeviceAddr)

ts3510 Control functions

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.

Variable Documentation

TS_DrvTypeDef ts3510_ts_drv

Definition at line 79 of file ts3510.c.