API driver for component ADS7843.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
Functions | |
void | ads7843_disable_interrupt (void) |
Disable interrupts on touch event. More... | |
void | ads7843_enable_interrupt (void) |
Enable interrupts on touch event. More... | |
void | ads7843_get_raw_point (uint32_t *p_x, uint32_t *p_y) |
Get the touch raw coordinates. More... | |
uint32_t | ads7843_init (void) |
Initialize the SPI communication with the ADS7843 controller. More... | |
uint32_t | ads7843_is_pressed (void) |
Return the touch screen status, pressed or not. More... | |
void | ads7843_set_handler (void(*p_handler)(uint32_t, uint32_t)) |
Set the touch interrupt handler. More... | |