<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<!DOCTYPE deviceDefinitions SYSTEM "deviceDefinitions.dtd"[]>
<deviceDefinitions name="dsPIC30F2020" rev="C" type="16-bit MCU" family="smps">
	
	<operatingTemperature>
		<temperature minmax="-40 degC, +85 degC">
			<voltage minmax="2.5V, 5.5V">
				<frequency minmax="0 MHz, 40 MHz"></frequency>
			</voltage>
			<voltage minmax="4.5V, 5.5V">
				<frequency minmax="0 MHz, 120 MHz"></frequency>
			</voltage>
		</temperature>
		<temperature minmax="-40 degC, +125 degC">
			<voltage minmax="4.5V, 5.5V">
				<frequency minmax="0 MHz, 80 MHz"></frequency>
			</voltage>
		</temperature>
	</operatingTemperature>
	
	<memory RAM="512" programFLASH="12288" EEPROM="0"></memory>
	
	<resources>
		<pinDefinitions name="dsPIC30/dsPIC30F2020 28-Pin SDIP PinsDefinitions"></pinDefinitions>
		<interrupts name="dsPIC30/dsPIC30F2020 Interrupts" IVTStart="" AIVTStart="" SFRAddressSize=""></interrupts>
		<configurationRegisters name="dsPIC30/dsPIC30F2020 ConfigurationRegisters"></configurationRegisters>
	</resources>
	
	<packageList>
		<type name="28-Pin SDIP"></type>
		<type name="28-Pin SOIC"></type>
		<type name="28-Pin QFN-S"></type>
	</packageList>
	
	<codeTemplate name="dsPIC30/dsPIC30F2020 CodeTemplate"></codeTemplate>
	
	<errata name="*80290D*"></errata>
	
	<dataSheet name="*70178C*"></dataSheet>
	
	<programRef name="dsPIC30F ProgrammersReferenceManual"></programRef>
	
	<familyRef name="dsPIC30F FamilyReferenceManual"></familyRef>
	
	<features type="required">
		<group name="integration" type="integration" caption="integration">
			<feature name="Oscillator1" oldinstance="1" caption="Oscillator" file="dsPIC30/dsPIC30F1010_202X Oscillator"
				feature="Oscillator1" image="oscillator"></feature>
		</group>
		<group name="integration" type="integration" caption="integration">
			<feature name="Interrupts30" caption="Interrupts and Traps" file="dsPIC30/dsPIC30F1010_202XInterrupts" feature="Interrupts30"
				image="Interrupts" />
		</group>
	</features>
	
	<features type="optional">
		<group name="RTC" type="RTC" caption="RTC">
			<feature name="RTC" oldinstance="1" caption="RTC" file="dsPIC30/RTC" feature="Timer1" image="RTC"></feature>
		</group>
		
		<group name="DSP" type="DSP" caption="DSP">
			<feature name="DSP" oldinstance="1" caption="DSP" file="dsPIC30/DSP" feature="DSP" image="Dsp"></feature>
		</group>
		
		<group name="IOPort" type="IOPort" caption="I/O Ports">
			<feature name="IOPort" instance="A" caption="Port A" file="dsPIC30/IOPort" feature="IOPortA"
				image="IOPort"></feature>
			<feature name="IOPort" instance="B" caption="Port B" file="dsPIC30/IOPort" feature="IOPortB"
				image="IOPort"></feature>
			<feature name="IOPort" instance="D" caption="Port D" file="dsPIC30/IOPort" feature="IOPortD"
				image="IOPort"></feature>
			<feature name="IOPort" instance="E" caption="Port E" file="dsPIC30/IOPort" feature="IOPortE"
				image="IOPort"></feature>
			<feature name="IOPort" instance="F" caption="Port F" file="dsPIC30/IOPort" feature="IOPortF"
				image="IOPort"></feature>
			<feature name="CN" instance="1" caption="CN" file="dsPIC30/dsPIC30F1010_202XCN" feature="CN" image="IOPort"></feature>
		</group>
		
		<group name="timer" type="Timers" caption="Timers">
			<feature name="16bitTimer" instance="1" caption="16-bit Timer 1" file="dsPIC30/16bitTimer"
				feature="Timer1" image="TimerR"></feature>
			<feature name="16bitTimer" instance="2" caption="16-bit Timer 2" file="dsPIC30/16bitTimer" 
				feature="Timer2" image="TimerR"></feature>
			<feature name="16bitTimer" instance="3" caption="16-bit Timer 3" file="dsPIC30/dsPIC30F1010_202X16bitTimer3" 
				feature="Timer3" image="TimerR"></feature>
			<feature name="32bitTimer" instance="2" caption="32-bit Timer 2/3" file="dsPIC30/32bitTimer"
				feature="Timer2,Timer3" image="TimerR"></feature>
		</group>
		
		<group name="counter" type="Counters" caption="Counters">
			<feature name="16bitAsyncCounter" instance="1" caption="Async Counter 1" file="dsPIC30/16bitAsyncCounter"
				feature="Timer1" image="Counter"></feature>
			<feature name="16bitSyncCounter" instance="1" caption="Sync Counter 1" file="dsPIC30/16bitSyncCounter"
				feature="Timer1" image="Counter"></feature>
			<feature name="16bitSyncCounter" instance="2" caption="16-bit Counter 2" file="dsPIC30/16bitSyncCounter"
				feature="Timer2" image="Counter"></feature>
			<feature name="16bitSyncCounter" instance="3" caption="16-bit Counter 3" file="dsPIC30/16bitSyncCounter"
				feature="Timer3" image="Counter"></feature>
			<feature name="32bitSyncCounter" instance="2" caption="32-bit Counter 2" file="dsPIC30/32bitSyncCounter"
				feature="Timer2, Timer3" image="Counter"></feature>
		</group>
		
		<group name="IC" type="IC" caption="IC">
			<feature name="IC" instance="1" caption="IC 1" file="dsPIC30/dsPIC30F1010_202XIC" feature="IC1" image="Compare"></feature>
		</group>
		
		<group name="OC" type="OC" caption="OC">
			<feature name="OC" instance="1" caption="OC 1" file="dsPIC30/dsPIC30F1010_202XOC" feature="OC1" image="Capture"></feature>
			<feature name="OC" instance="2" caption="OC 2" file="dsPIC30/dsPIC30F1010_202XOC" feature="OC2" image="Capture"></feature>
		</group>
		
		<group name="PWM" type="PWM" caption="PWM">
			<feature name="SMPSPWM" instance="1" caption="SMPS PWM" file="dsPIC30/dsPIC30F202xPWM" feature="SMPSPWM1" image="PWM"></feature>
		</group>
		
		<group name="SPI" type="SPI" caption="SPI">
			<feature name="SPI" instance="1" caption="SPI 1" file="dsPIC30/SPI" feature="SPI1" image="SPI"></feature>
		</group>
		
		<group name="I2C" type="I2C" caption="I2C">
			<feature name="I2C" oldinstance="1" caption="I2C" file="dsPIC30/I2C" feature="I2C" image="I2C"></feature>
		</group>
		
		<group name="UART" type="UART" caption="UART">
			<feature name="UART" instance="1" caption="UART 1" file="dsPIC30/UARTwithALTIO_IrDA" feature="UART1" image="UART"></feature>
		</group>
		
		<group name="A2D" type="A2D" caption="A to D">
			<feature name="A2D10bit" oldinstance="1" caption="10-bit A to D" file="dsPIC30/dsPIC2020A2D"
				feature="A2D10bit" image="ACD"></feature>
		</group>

		<group name="Comparator" type="Comparator" caption="SMPS Comparator">
			<feature name="SMPSComp" instance="1" caption="SMPS Comparator 1"  file="dsPIC30/dsPIC30F1010_202X SMPSCompare"
				feature="SMPSComp1" image="Compare"></feature>

			<feature name="SMPSComp" instance="2" caption="SMPS Comparator 2" file="dsPIC30/dsPIC30F1010_202X SMPSCompare"
				feature="SMPSComp2" image="Compare"></feature>

			<feature name="SMPSComp" instance="3" caption="SMPS Comparator 3" file="dsPIC30/dsPIC30F1010_202X SMPSCompare"
				feature="SMPSComp3" image="Compare"></feature>
				
			<feature name="SMPSComp" instance="4" caption="SMPS Comparator 4" file="dsPIC30/dsPIC30F1010_202X SMPSCompare"
				feature="SMPSComp4" image="Compare"></feature>
		</group>

		<group name="reset" type="Reset" caption="Reset">
			<feature name="BOR" oldinstance="1" caption="Reset" file="dsPIC30/BOR" feature="BOR" image="Brownout"></feature>
			<feature name="WDT" oldinstance="1" caption="WDT" file="dsPIC30/WDT" feature="WDT" image="WDT"></feature>
		</group>
		
	</features>
</deviceDefinitions>