<?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="16C433" document="010118" status="IP" memory_technology="EPROM" architecture="16X"
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='pic.xsd'>

<!--* Checksums ************************************************************-->
  <checksums>
    <checksum protected="Off"     bchecksum="0xF800" cchecksum="0xC3CE" />
    <checksum protected="400:7FE" bchecksum="0x1EDF" cchecksum="0xD094" />
    <checksum protected="200:7FE" bchecksum="0x0BBF" cchecksum="0xBD74" />
    <checksum protected="All"     bchecksum="0xF89F" cchecksum="0xC46D" />
  </checksums>

<!--* Operating characteristics ********************************************-->
  <frequency_range name="industrial" >
    <frequency start="0" end="10" vdd_min="4.5" vdd_max="5.5" />
  </frequency_range>

  <voltages name="vpp"      min="12.75" max="13.25" nominal="13" />
  <voltages name="vdd_prog" min="4.75"  max="5.25"  nominal="5"  />

<!--* Memory ***************************************************************-->
  <memory name="code"     start="0x0000" end="0x07FE" />
  <memory name="calibration" start="0x07FF" end="0x07FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
  <memory name="user_ids"    start="0x2000" end="0x2003" rmask="0x007F"      />
  <memory name="config"      start="0x2007" end="0x2007" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="" 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="invalid" />
      <value value="0x0004" name="INTRC_IO"     cname="_INTRC_OSC_NOCLKOUT" ecnames="_INTRC_OSC" />
      <value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT"   />
      <value value="0x0006" name="EXTRC_IO"     cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRC_OSC" />
      <value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT"   />
    </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="0x0080" >
      <value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
      <value value="0x0080" name="External" cname="_MCLRE_ON"  />
    </mask>
    <mask name="CP"    value="0x3F60" >
      <value value="0x0000" name="All"     cname="_CP_ALL" />
      <value value="0x1520" name="200:7FE" cname="_CP_75"  />
      <value value="0x2A40" name="400:7FE" cname="_CP_50"  />
      <value value="0x3F60" name="Off"     cname="_CP_OFF" />
      <value value="default" name="invalid" />
    </mask>
  </config>

<!--* Packages *************************************************************-->
  <package types="pdip soic" nb_pins="18" >
    <pin index="1"  name="LIN"                 />
    <pin index="2"  name="N/C"                 />
    <pin index="3"  name="VSS"                 />
    <pin index="4"  name="VDD"                 />
    <pin index="5"  name="AVDD"                />
    <pin index="6"  name="GP5/OSC1/CLKIN"      />
    <pin index="7"  name="GP4/OSC2/AN3/CLKOUT" />
    <pin index="8"  name="GP3/MCLR/VPP"        />
    <pin index="9"  name="N/C"                 />
    <pin index="10" name="N/C"                 />
    <pin index="11" name="GP2/T0CKI/AN2/INT"   />
    <pin index="12" name="GP1/AN1/VREF"        />
    <pin index="13" name="GP0/AN0"             />
    <pin index="14" name="VSS"                 />
    <pin index="15" name="AVSS"                />
    <pin index="16" name="VSS"                 />
    <pin index="17" name="BACT"                />
    <pin index="18" name="VBAT"                />
  </package>

</device>
