summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/gt911.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2023-04-21 21:19:29 +0200
committerUros Majstorovic <majstor@majstor.org>2023-04-21 21:19:29 +0200
commit5de3f3f70f5cb5e9860cf65df0c18b5ddb2989e2 (patch)
tree584337768cd24afebaa401a6823b5e710085f377 /fw/fe310/eos/dev/gt911.h
parent34f60314bedce036f982aa6591b5473ea4b0fa8b (diff)
fixed gt911 driver
Diffstat (limited to 'fw/fe310/eos/dev/gt911.h')
-rw-r--r--fw/fe310/eos/dev/gt911.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fw/fe310/eos/dev/gt911.h b/fw/fe310/eos/dev/gt911.h
index 179652b..2f91646 100644
--- a/fw/fe310/eos/dev/gt911.h
+++ b/fw/fe310/eos/dev/gt911.h
@@ -6,12 +6,12 @@
#define GT911_ADDR 0x5d
-void eos_gt911_init(void);
+int eos_gt911_init(uint8_t wakeup_cause);
void eos_gt911_intr_enable(void);
void eos_gt911_intr_disable(void);
int eos_gt911_intr_enabled(void);
-void eos_gt911_reset(void);
+int eos_gt911_reset(void);
void eos_gt911_sleep(void);
void eos_gt911_wake(void);
@@ -21,4 +21,4 @@ int eos_gt911_cfg_print(void);
void eos_gt911_set_reg(uint8_t *cfg_buf, uint16_t reg, uint8_t val);
uint8_t eos_gt911_get_reg(uint8_t *cfg_buf, uint16_t reg);
-int eos_gt911_set_threshold(void); \ No newline at end of file
+int eos_gt911_configure(void); \ No newline at end of file