SAM3S8/SD8 Software Package: libraries/libboard_sam3s-ek2/include/ads7843.h File Reference

SAM3S8/SD8 Software Package 1.2
Functions

# ads7843.h File Reference

`#include <stdint.h>`

Go to the source code of this file.

## Functions

void | ADS7843_Initialize (void)
| Initialization of the SPI for communication with ADS7843 component.
void | ADS7843_Reset (void)
| Reset the ADS7843.
void | ADS7843_GetPosition (uint32_t *px_pos, uint32_t *py_pos)
| Get position of the pen by ask the ADS controller (SPI).

## Detailed Description

Interface for ADS7843 driver.

Definition in file ads7843.h.

## Function Documentation

void ADS7843_GetPosition | ( | uint32_t * | px_pos,
|  | uint32_t * | py_pos
| ) |  |

Get position of the pen by ask the ADS controller (SPI).

Parameters:

  px_pos | pointer to the horizontal position
  py_pos | pointer to the vertical position

Definition at line 149 of file ads7843.c.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines