| 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 | /* Microcontroller MIPs (FCY) */ |
| 12 | #define SYS_FREQ 32000000L |
| 13 | #define FCY SYS_FREQ/4 |
| 14 | #define _XTAL_FREQ SYS_FREQ |
| 15 | |
| 16 | |
| 17 | /******************************************************************************/ |
| 18 | /* System Function Prototypes */ |
| 19 | /******************************************************************************/ |
| 20 | |
| 21 | #include <xc.h> |
| 22 | #include <pic12f1840.h> |
| 23 | |
| 24 | |
| 25 | /* TODO User level functions prototypes (i.e. InitApp) go here */ |
| 26 | |
| 27 | void InitApp(void); /* I/O and Peripheral Initialization */ |
| 28 | |