summaryrefslogtreecommitdiffstats
path: root/app/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/prototypes.h')
-rw-r--r--app/prototypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/prototypes.h b/app/prototypes.h
index 7f5498a..9a89a8c 100644
--- a/app/prototypes.h
+++ b/app/prototypes.h
@@ -52,7 +52,12 @@ extern void lcd_reset(void);
extern void lcd_init(void);
extern void lcd_shutdown(void);
/* keypad.c */
-extern int i2c2_bb(int scl, int sda);
+extern uint16_t keypad_raw_read(void);
extern uint16_t keypad_read(void);
extern void keypad_tick(void);
extern void keypad_init(void);
+/* code.c */
+extern void code_display(void);
+extern int vendor_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, int (**complete)(usbd_device *usbd_dev, struct usb_setup_data *req));
+extern void code_tick(void);
+extern void key_event(uint8_t v, int ud);