1 /******************************************************************************/
2 /* User Level #define Macros */
3 /******************************************************************************/
5 /* TODO Application specific user parameters used in user.c may go here */
7 /******************************************************************************/
8 /* User Function Prototypes */
9 /******************************************************************************/
11 /* Microcontroller MIPs (FCY) */
12 #define SYS_FREQ 32000000L
13 #define FCY SYS_FREQ/4
14 #define _XTAL_FREQ SYS_FREQ
17 /******************************************************************************/
18 /* System Function Prototypes */
19 /******************************************************************************/
22 #include <pic12f1840.h>
25 /* TODO User level functions prototypes (i.e. InitApp) go here */
27 void InitApp(void); /* I/O and Peripheral Initialization */