| 1 | /******************************************************************************/ |
| 2 | /* User Level #define Macros */ |
| 3 | /******************************************************************************/ |
| 4 | |
| 5 | /* TODO Application specific user parameters used in user.c may go here */ |
| 6 | |
| 7 | /******************************************************************************/ |
| 8 | /* User Function Prototypes */ |
| 9 | /******************************************************************************/ |
| 10 | |
| 11 | /* TODO User level functions prototypes (i.e. InitApp) go here */ |
| 12 | |
| 13 | void InitApp(void); /* I/O and Peripheral Initialization */ |
| 14 | bool msg_empty(void); |
| 15 | void msg_write(const char *msg); |
| 16 | void msg_writebyte(const char msg); |
| 17 | void msg_sendnext(void); |
| 18 | void tohex(char val[3], uint8_t i); |
| 19 | void msg_recvnext(void); |
| 20 | bool msg_recvready(void); |
| 21 | char msg_recv(void); |
| 22 | void putch(char); |
| 23 | |
| 24 | void int_disable(void); |
| 25 | void int_enable(void); |
| 26 | |
| 27 | void timer_rollover(void); |
| 28 | |