Prusa MINI Firmware overview
|
Go to the documentation of this file.
26 #define XPT2046_DFR_MODE 0x00
27 #define XPT2046_SER_MODE 0x04
28 #define XPT2046_CONTROL 0x80
37 #ifndef XPT2046_Z1_THRESHOLD
38 #define XPT2046_Z1_THRESHOLD 10
#define XPT2046_CONTROL
Definition: xpt2046.h:28
#define WITHIN(N, L, H)
Definition: macros.h:195
#define OUT_WRITE(IO, V)
Definition: fastio.h:108
XPTCoordinate
Definition: xpt2046.h:30
#define LOW
Definition: wiring_constants.h:70
#define _MAX(V...)
Definition: macros.h:346
uint8_t data[8]
Definition: masstorage.h:49
uint8_t i
Definition: screen_test_graph.c:72
#define _MIN(V...)
Definition: macros.h:333
void waitForTouch(uint16_t &x, uint16_t &y)
Definition: xpt2046.h:48
#define SET_OUTPUT(IO)
Definition: fastio.h:101
#define XPT2046_DFR_MODE
Definition: xpt2046.h:26
#define SET_INPUT(IO)
Definition: fastio.h:99
bool getTouchPoint(uint16_t &x, uint16_t &y)
#define WRITE(IO, V)
Definition: fastio.h:96
#define PIN_EXISTS(V...)
Definition: macros.h:188
const uint8_t[]
Definition: 404_html.c:3
static uint8_t read_buttons()
#define HIGH
Definition: wiring_constants.h:71
#define XPT2046_Z1_THRESHOLD
Definition: xpt2046.h:38
#define READ(IO)
Definition: fastio.h:95
void waitForRelease()
Definition: xpt2046.h:47