1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<!DOCTYPE SimulIDE>
<mcu name="p16F882" core="Pic14" data="512" prog="2048" progword="2" eeprom="128"
inst_cycle="4" freq="20000000">
<include file="pic/pic14_regs.xml" />
<include file="p16F88x/p16F88x_regs.xml" />
<!-- BANK 0 -->
<regblock name="SFR0" start="0x0008" end="0x0009" >
<register name="PORTE" addr="0x09" bits="" mask="00001000"/>
</regblock>
<!-- BANK 1 -->
<regblock name="SFR0" start="0x0088" end="0x0089" >
<register name="TRISE" addr="0x89" bits="" reset="00001000" mask="00001000"/>
</regblock>
<datablock name="GPR1" start="0x00A0" end="0x00BF"/>
<include file="p16F88x/p16F88x_int.xml" />
<include file="p16F88x/p16F88x_perif.xml" />
<port name="PORTE" pins="4" outreg="PORTE" dirreg="!TRISE"
pinmask="00001000" resetpin="PORTE3"/>
<adc name="ADC" type="10" bits="10" configregsA="ADCON0" configregsB="ADCON1"
dataregs="ADRESL,ADRESH"
interrupt="ADC"
prescalers="2,8,32"
adcpins="PORTA0,PORTA1,PORTA2,PORTA3,PORTA5,PORTB2,PORTB3,PORTB1,PORTB4,PORTB0,PORTB5"
vrefpins="PORTA3,PORTA2"/>
</mcu>
|