git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More keypad fixes.
[uccvend-snackrom.git]
/
ROM2
/
vend.h
diff --git
a/ROM2/vend.h
b/ROM2/vend.h
index
a756e25
..
10d3171
100644
(file)
--- a/
ROM2/vend.h
+++ b/
ROM2/vend.h
@@
-30,6
+30,7
@@
void delay(u16 ms);
/******** Some meaningful bits ******/
#define PORTA_DISP_RESET 0x80 /* active low */
/******** 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 */
#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);
/******* from main.c *******/
int __attribute__((noreturn)) main (void);
+void __attribute__((interrupt)) rti (void);
#endif /* _VEND_H_ */
#endif /* _VEND_H_ */
UCC
git Repository :: git.ucc.asn.au