More keypad fixes.
[uccvend-snackrom.git] / ROM2 / vend.h
index a756e25..10d3171 100644 (file)
@@ -30,6 +30,7 @@ void delay(u16 ms);
 
 /******** Some meaningful bits ******/
 #define PORTA_DISP_RESET    0x80 /* active low */
+#define PORTA_CHIME         0x10 /* chime is on when set */
 #define PORTD_KEYPAD_ROW    0x20 /* clear for row 0, set for row 1 */
 
 /* Address 3800 bits */
@@ -37,5 +38,6 @@ void delay(u16 ms);
 
 /******* from main.c *******/
 int __attribute__((noreturn)) main (void);
+void __attribute__((interrupt)) rti (void);
 
 #endif /* _VEND_H_ */

UCC git Repository :: git.ucc.asn.au