// DSPIC30F2010 Configuration Bit Settings
// 'C' source line config statements
#include <p30Fxxxx.h>
int FOSC __attribute__((space(prog), address(0xF80000))) = 0xFDF0 ;
//_FOSC(
// XTL & // Primary Oscillator Mode (XTL)
// FRC & // Oscillator Source (Internal Fast RC)
// CSW_FSCM_OFF // Clock Switching and Monitor (Sw Disabled, Mon Disabled)
//);
int FWDT __attribute__((space(prog), address(0xF80002))) = 0x7FFF ;
//_FWDT(
// WDTPSB_16 & // WDT Prescaler B (1:16)
// WDTPSA_512 & // WDT Prescaler A (1:512)
// WDT_OFF // Watchdog Timer (Disabled)
//);
int FBORPOR __attribute__((space(prog), address(0xF80004))) = 0x7F7C ;
//_FBORPOR(
// PWRT_OFF & // POR Timer Value (Timer Disabled)
// NONE & // Brown Out Voltage (Reserved)
// PBOR_OFF & // PBOR Enable (Disabled)
// PWMxL_ACT_HI & // Low-side PWM Output Polarity (Active High)
// PWMxH_ACT_HI & // High-side PWM Output Polarity (Active High)
// RST_IOPIN & // PWM Output Pin Reset (Control with PORT/TRIS regs)
// MCLR_DIS // Master Clear Enable (Disabled)
//);
int FGS __attribute__((space(prog), address(0xF8000A))) = 0xFFFF ;
//_FGS(
// GWRP_OFF & // General Code Segment Write Protect (Disabled)
// CODE_PROT_OFF // General Segment Code Protection (Disabled)
//);
int FICD __attribute__((space(prog), address(0xF8000C))) = 0xFFFF ;
//_FICD(
// PGD // Comm Channel Select (Use PGC/EMUC and PGD/EMUD)
//);
#define __XTAL_FREQ 8000000
#ifndef _XC_H_
#define _XC_H_
#ifdef __XC8
#include <htc.h>
#endif
#endif //_XC_H