STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions

Functions

void exc7200_Init (uint16_t DeviceAddr)
 Initialize the exc7200 and configure the needed hardware resources. More...
 
void exc7200_Reset (uint16_t DeviceAddr)
 Reset the exc7200 by Software. More...
 
uint16_t exc7200_ReadID (uint16_t DeviceAddr)
 Read the exc7200 IO Expander device ID. More...
 
void exc7200_TS_Start (uint16_t DeviceAddr)
 Configures the touch Screen Controller (Single point detection) More...
 
uint8_t exc7200_TS_DetectTouch (uint16_t DeviceAddr)
 Return if there is touch detected or not. More...
 
void exc7200_TS_GetXY (uint16_t DeviceAddr, uint16_t *X, uint16_t *Y)
 Get the touch screen X and Y positions values. More...
 
void exc7200_TS_EnableIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
void exc7200_TS_DisableIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
uint8_t exc7200_TS_ITStatus (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 
void exc7200_TS_ClearIT (uint16_t DeviceAddr)
 Configure the selected source to generate a global interrupt or not. More...
 

Detailed Description

Function Documentation

void exc7200_Init ( uint16_t  DeviceAddr)

Initialize the exc7200 and configure the needed hardware resources.

exc7200 Control functions

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 118 of file exc7200.c.

uint16_t exc7200_ReadID ( uint16_t  DeviceAddr)

Read the exc7200 IO Expander device ID.

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

Definition at line 140 of file exc7200.c.

void exc7200_Reset ( uint16_t  DeviceAddr)

Reset the exc7200 by Software.

Parameters
DeviceAddrDevice address on communication Bus.
Return values
None

Definition at line 130 of file exc7200.c.

void exc7200_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 223 of file exc7200.c.

uint8_t exc7200_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 159 of file exc7200.c.

void exc7200_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 204 of file exc7200.c.

void exc7200_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 195 of file exc7200.c.

void exc7200_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 180 of file exc7200.c.

uint8_t exc7200_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 213 of file exc7200.c.

void exc7200_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 150 of file exc7200.c.