-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsystem.h
22 lines (16 loc) · 959 Bytes
/
system.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/******************************************************************************/
/* System Level #define Macros */
/******************************************************************************/
/* TODO Define system operating frequency */
/* Microcontroller MIPs (FCY) */
//#define SYS_FREQ 7370000L
#define SYS_FREQ 140000000L //FOSC
#define FCY SYS_FREQ/2 //FOSC/2
/******************************************************************************/
/* System Function Prototypes */
/******************************************************************************/
/* Custom oscillator configuration funtions, reset source evaluation
functions, and other non-peripheral microcontroller initialization functions
go here. */
void ConfigureOscillator(void); /* Handles clock switching/osc initialization */
void configureUART(void);