STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
ts3510.c File Reference

This file provides a set of functions needed to manage the TS3510 IO Expander devices. More...

#include "ts3510.h"

Go to the source code of this file.

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...
 

Variables

TS_DrvTypeDef ts3510_ts_drv
 

Detailed Description

This file provides a set of functions needed to manage the TS3510 IO Expander devices.

Author
MCD Application Team
Version
V1.0.1
Date
02-December-2014
Attention

© COPYRIGHT(c) 2014 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file ts3510.c.