summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/xml_data/16F882.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pic/xml_data/16F882.xml')
-rw-r--r--src/devices/pic/xml_data/16F882.xml175
1 files changed, 175 insertions, 0 deletions
diff --git a/src/devices/pic/xml_data/16F882.xml b/src/devices/pic/xml_data/16F882.xml
new file mode 100644
index 0000000..db2c723
--- /dev/null
+++ b/src/devices/pic/xml_data/16F882.xml
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--************************************************************************-->
+<!--* Copyright (C) 2007 Nicolas Hadacek <hadacek@kde.org> *-->
+<!--* *-->
+<!--* This program is free software; you can redistribute it and/or modify *-->
+<!--* it under the terms of the GNU General Public License as published by *-->
+<!--* the Free Software Foundation; either version 2 of the License, or *-->
+<!--* (at your option) any later version. *-->
+<!--************************************************************************-->
+<device name="16F882" status="IP" memory_technology="FLASH" self_write="yes" architecture="16X" id="0x2000"
+ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+ xsi:noNamespaceSchemaLocation='pic.xsd'>
+
+<!--* Documents ************************************************************-->
+ <documents webpage="530146" datasheet="41291" progsheet="41287" erratas="80302" />
+
+<!--* Checksums ************************************************************-->
+ <checksums>
+ <checksum protected="Off" bchecksum="0x3EFF" cchecksum="0x0ACD" />
+ <checksum protected="All" bchecksum="0x85BE" cchecksum="0x518C" />
+ </checksums>
+
+<!--* Operating characteristics ********************************************-->
+ <frequency_range name="extended" >
+ <frequency start="0" end="8" vdd_min="2.0" vdd_max="5.5" />
+ <frequency start="8" end="10" vdd_min="3.0" vdd_max="5.5" />
+ <frequency start="10" end="20" vdd_min="4.5" vdd_max="5.5" />
+ </frequency_range>
+
+ <voltages name="vpp" min="10" max="12" nominal="12" />
+ <voltages name="vdd_prog" min="4.5" max="5.5" nominal="5" />
+ <voltages name="vdd_prog_write" min="2" max="5.5" nominal="5" />
+
+<!--* Memory ***************************************************************-->
+ <memory name="code" start="0x0000" end="0x07FF" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
+ <memory name="device_id" start="0x2006" end="0x2006" />
+ <memory name="config" start="0x2007" end="0x2008" />
+ <memory name="eeprom" start="0x0000" end="0x007F" hexfile_offset="0x2100" />
+ <memory name="debug_vector" start="0x2004" end="0x2004" />
+
+<!--* Configuration bits ***************************************************-->
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0007" >
+ <value value="0x0000" name="LP" cname="_LP_OSC" />
+ <value value="0x0001" name="XT" cname="_XT_OSC" />
+ <value value="0x0002" name="HS" cname="_HS_OSC" />
+ <value value="0x0003" name="EC_IO" cname="_EC_OSC" />
+ <value value="0x0004" name="INTRC_IO" cname="_INTRC_OSC_NOCLKOUT" ecnames="_INTOSCIO" />
+ <value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
+ <value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
+ <value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
+ </mask>
+ <mask name="WDT" value="0x0008" >
+ <value value="0x0000" name="Off" cname="_WDT_OFF" />
+ <value value="0x0008" name="On" cname="_WDT_ON" />
+ </mask>
+ <mask name="PWRTE" value="0x0010" >
+ <value value="0x0000" name="On" cname="_PWRTE_ON" />
+ <value value="0x0010" name="Off" cname="_PWRTE_OFF" />
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
+ <value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
+ <value value="0x0020" name="External" cname="_MCLRE_ON" />
+ </mask>
+ <mask name="CP" value="0x0040" >
+ <value value="0x0000" name="All" cname="_CP_ON" />
+ <value value="0x0040" name="Off" cname="_CP_OFF" />
+ </mask>
+ <mask name="CPD" value="0x0080" >
+ <value value="0x0000" name="All" cname="_CPD_ON" />
+ <value value="0x0080" name="Off" cname="_CPD_OFF" />
+ </mask>
+ <mask name="BODEN" value="0x0300" >
+ <value value="0x0000" name="Off" cname="_BOR_OFF" />
+ <value value="0x0100" name="Software" cname="_BOR_SBODEN" />
+ <value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
+ <value value="0x0300" name="On" cname="_BOR_ON" />
+ </mask>
+ <mask name="IESO" value="0x0400" >
+ <value value="0x0000" name="Off" cname="_IESO_OFF" />
+ <value value="0x0400" name="On" cname="_IESO_ON" />
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
+ <value value="0x0000" name="Off" cname="_FCMEN_OFF" />
+ <value value="0x0800" name="On" cname="_FCMEN_ON" />
+ </mask>
+ <mask name="LVP" value="0x1000" >
+ <value value="0x0000" name="Off" cname="_LVP_OFF" />
+ <value value="0x1000" name="On" cname="_LVP_ON" />
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
+ <value value="0x0000" name="On" cname="_DEBUG_ON" />
+ <value value="0x2000" name="Off" cname="_DEBUG_OFF" />
+ </mask>
+ </config>
+
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
+ <value value="0x0100" name="4.0" cname="_BOR40V" />
+ <value value="0x0000" name="2.1" cname="_BOR21V" />
+ </mask>
+ <mask name="WRT" value="0x0600" >
+ <value value="0x0000" name="0000:03FF" cname="_WRT_HALF" />
+ <value value="0x0200" name="0000:00FF" cname="_WRT_1FOURTH" />
+ <value value="0x0400" name="invalid" />
+ <value value="0x0600" name="Off" cname="_WRT_OFF" />
+ </mask>
+ </config>
+
+<!--* Packages *************************************************************-->
+ <package types="pdip soic ssop" nb_pins="28" >
+ <pin index="1" name="" />
+ <pin index="2" name="" />
+ <pin index="3" name="" />
+ <pin index="4" name="" />
+ <pin index="5" name="" />
+ <pin index="6" name="" />
+ <pin index="7" name="" />
+ <pin index="8" name="" />
+ <pin index="9" name="" />
+ <pin index="10" name="" />
+ <pin index="11" name="" />
+ <pin index="12" name="" />
+ <pin index="13" name="" />
+ <pin index="14" name="" />
+ <pin index="15" name="" />
+ <pin index="16" name="" />
+ <pin index="17" name="" />
+ <pin index="18" name="" />
+ <pin index="19" name="" />
+ <pin index="20" name="" />
+ <pin index="21" name="" />
+ <pin index="22" name="" />
+ <pin index="23" name="" />
+ <pin index="24" name="" />
+ <pin index="25" name="" />
+ <pin index="26" name="" />
+ <pin index="27" name="" />
+ <pin index="28" name="" />
+ </package>
+
+ <package types="qfn" nb_pins="28" >
+ <pin index="1" name="" />
+ <pin index="2" name="" />
+ <pin index="3" name="" />
+ <pin index="4" name="" />
+ <pin index="5" name="" />
+ <pin index="6" name="" />
+ <pin index="7" name="" />
+ <pin index="8" name="" />
+ <pin index="9" name="" />
+ <pin index="10" name="" />
+ <pin index="11" name="" />
+ <pin index="12" name="" />
+ <pin index="13" name="" />
+ <pin index="14" name="" />
+ <pin index="15" name="" />
+ <pin index="16" name="" />
+ <pin index="17" name="" />
+ <pin index="18" name="" />
+ <pin index="19" name="" />
+ <pin index="20" name="" />
+ <pin index="21" name="" />
+ <pin index="22" name="" />
+ <pin index="23" name="" />
+ <pin index="24" name="" />
+ <pin index="25" name="" />
+ <pin index="26" name="" />
+ <pin index="27" name="" />
+ <pin index="28" name="" />
+ </package>
+
+</device>