Go to the documentation of this file.
54 #ifndef INCLUDE_PIC32_PIC32_H_
55 #define INCLUDE_PIC32_PIC32_H_
75 #pragma config FNOSC = PRIPLL // Oscillator Selection
76 #pragma config FPLLIDIV = DIV_2 // PLL Input Divider (PIC32 Starter Kit: use divide by 2 only)
77 #pragma config FPLLMUL = MUL_20 // PLL Multiplier
78 #pragma config FPLLODIV = DIV_1 // PLL Output Divider
79 #pragma config FPBDIV = DIV_1 // Peripheral Clock divisor
80 #pragma config FWDTEN = OFF // Watchdog Timer
81 #pragma config WDTPS = PS32768 // Watchdog Timer Postscale
82 #pragma config FCKSM = CSDCMD // Clock Switching & Fail Safe Clock Monitor
83 #pragma config OSCIOFNC = OFF // CLKO Enable
84 #pragma config POSCMOD = HS // Primary Oscillator
85 #pragma config IESO = OFF // Internal/External Switch-over
86 #pragma config FSOSCEN = OFF // Secondary Oscillator Enable
87 #pragma config CP = OFF // Code Protect
88 #pragma config BWP = OFF // Boot Flash Write Protect
89 #pragma config PWP = OFF // Program Flash Write Protect
90 #pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select
91 #pragma config DEBUG = OFF // Debugger Disabled for Starter Kit
92 #pragma config FSRSSEL = PRIORITY_7
96 #pragma config FMIIEN = OFF
97 #pragma config FETHIO = ON
99 void pic32_init(
void);