<?xml version="1.0" encoding="UTF-8"?>
<!--************************************************************************-->
<!--* Copyright (C) 2005-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="16F716" status="IP" memory_technology="FLASH" self_write="no" architecture="16X" id="0x1140"
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='pic.xsd'>

<!--* Documents ************************************************************-->
  <documents webpage="010216" datasheet="41206" progsheet="40245" erratas="80184" />

<!--* Checksums ************************************************************-->
  <checksums>
    <checksum protected="Off"     bchecksum="0x18CF" cchecksum="0xE49D" />
    <checksum protected="All"     bchecksum="0x199E" cchecksum="0xE56C" />
  </checksums>

<!--* Operating characteristics ********************************************-->
  <frequency_range name="industrial" >
    <frequency start="0"  end="4"  vdd_min="2" vdd_max="5.5" />
    <frequency start="4"  end="10" vdd_min="3" vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="3" vdd_max="5.5" vdd_min_end="4.5" />
  </frequency_range>
  <frequency_range name="extended"   >
    <frequency start="0"  end="10" vdd_min="3" vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="3" vdd_max="5.5" vdd_min_end="4.5" />
  </frequency_range>

  <voltages name="vpp"      min="11"  max="13.5" nominal="13" />
  <voltages name="vdd_prog" min="4.5" max="5.5"  nominal="5"  />

<!--* Memory ***************************************************************-->
  <memory name="code"      start="0x0000" end="0x07FF" />
  <memory name="user_ids"     start="0x2000" end="0x2003" rmask="0x007F" />
  <memory name="device_id"    start="0x2006" end="0x2006" />
  <memory name="config"       start="0x2007" end="0x2007" />
  <memory name="debug_vector" start="0x2004" end="0x2004" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x20CF" >
    <mask name="FOSC"  value="0x0003" >
      <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="EXTRC_CLKOUT" cname="_RC_OSC" />
    </mask>
    <mask name="WDT"   value="0x0004" >
      <value value="0x0000" name="Off" cname="_WDT_OFF" />
      <value value="0x0004" name="On"  cname="_WDT_ON"  />
    </mask>
    <mask name="PWRTE" value="0x0008" >
      <value value="0x0000" name="On"  cname="_PWRTE_ON"  />
      <value value="0x0008" name="Off" cname="_PWRTE_OFF" />
    </mask>
    <mask name="BODEN" value="0x0040" >
      <value value="0x0000" name="Off" cname="_BOREN_OFF" ecnames="_BODEN_OFF" />
      <value value="0x0040" name="On"  cname="_BOREN_ON"  ecnames="_BODEN_ON"  />
    </mask>
    <mask name="BORV"  value="0x0080" >
      <value value="0x0000" name="2.5" cname="_VBOR_25" />
      <value value="0x0080" name="4.0" cname="_VBOR_40" />
    </mask>
    <mask name="CP"    value="0x2000" >
      <value value="0x0000" name="All" cname="_CP_ON"  ecnames="_CP_ALL" />
      <value value="0x2000" name="Off" cname="_CP_OFF" />
    </mask>
  </config>

<!--* Packages *************************************************************-->
  <package types="pdip soic" nb_pins="18" >
    <pin index="1"  name="RA2/AN2"         />
    <pin index="2"  name="RA3/AN3/VREF"    />
    <pin index="3"  name="RA4/T0CKI"       />
    <pin index="4"  name="MCLR/VPP"        />
    <pin index="5"  name="VSS"             />
    <pin index="6"  name="RB0/INT/ECCPAS2" />
    <pin index="7"  name="RB1/T1OSO/T1CKI" />
    <pin index="8"  name="RB2/T1OSI"       />
    <pin index="9"  name="RB3/CCP1/P1A"    />
    <pin index="10" name="RB4/ECCPAS0"     />
    <pin index="11" name="RB5/P1B"         />
    <pin index="12" name="RB6/P1C"         />
    <pin index="13" name="RB7/P1D"         />
    <pin index="14" name="VDD"             />
    <pin index="15" name="OSC2/CLKOUT"     />
    <pin index="16" name="OSC1/CLKIN"      />
    <pin index="17" name="RA0/AN0"         />
    <pin index="18" name="RA1/AN1"         />
  </package>

  <package types="ssop"      nb_pins="20" >
    <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="" />
  </package>

</device>
