summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/xml_data/12F675.xml
blob: e226b4f99305aaec4604faf939893b8d949e798c (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?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="12F675" document="010114" status="IP" memory_technology="FLASH" self_write="no" self_write="no" architecture="16X" id="0x0FC0"
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='pic.xsd'>

<!--* Checksums ************************************************************-->
  <checksums>
    <checksum protected="Off" bchecksum="0xBE00" cchecksum="0x89CE" />
    <checksum protected="All" bchecksum="0xBF7F" cchecksum="0x8B4D" />
  </checksums>

<!--* Operating characteristics ********************************************-->
  <frequency_range name="commercial" >
    <frequency start="0"  end="4"  vdd_min="2"   vdd_max="5.5" special="AD off" />
    <frequency start="0"  end="4"  vdd_min="2.2" vdd_max="5.5" special="AD on"  />
    <frequency start="4"  end="10" vdd_min="3"   vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="4.5" vdd_max="5.5" />
  </frequency_range>
  <frequency_range name="extended"   >
    <frequency start="0"  end="4"  vdd_min="2"   vdd_max="5.5" special="AD off" />
    <frequency start="0"  end="4"  vdd_min="2.5" vdd_max="5.5" special="AD on"  />
    <frequency start="4"  end="10" vdd_min="3"   vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="4.5" vdd_max="5.5" />
  </frequency_range>

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

<!--* Memory ***************************************************************-->
  <memory name="code"      start="0x0000" end="0x03FE" />
  <memory name="calibration"  start="0x03FF" end="0x03FF" cal_optqmask="0x3C00"     cal_opcode="0x3400" />
  <memory name="user_ids"     start="0x2000" end="0x2003" rtqmask="0x007F"          />
  <memory name="device_id"    start="0x2006" end="0x2006" />
  <memory name="config"       start="0x2007" end="0x2007" />
  <memory name="eeprom"       start="0x0000" end="0x007F" hexfile_offset="0x2100" />
  <memory name="debug_vector" start="0x2004" end="0x2004" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="" wtqmask="0x31FF" bvalue="0x31FF" ptqmask="0x3000" >
    <tqmask 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"           cname="_EC_OSC"             />
      <value value="0x0004" name="INTRC_IO"     cname="_INTRC_OSC_NOCLKOUT" />
      <value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT"   />
      <value value="0x0006" name="EXTRC_IO"     cname="_EXTRC_OSC_NOCLKOUT" />
      <value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT"   />
    </tqmask>
    <tqmask name="WDT"   value="0x0008" >
      <value value="0x0000" name="Off" cname="_WDT_OFF" />
      <value value="0x0008" name="On"  cname="_WDT_ON"  />
    </tqmask>
    <tqmask name="PWRTE" value="0x0010" >
      <value value="0x0000" name="On"  cname="_PWRTE_ON"  />
      <value value="0x0010" name="Off" cname="_PWRTE_OFF" />
    </tqmask>
    <tqmask name="MCLRE" value="0x0020" >
      <value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
      <value value="0x0020" name="External" cname="_MCLRE_ON"  />
    </tqmask>
    <tqmask name="BODEN" value="0x0040" >
      <value value="0x0000" name="Off" cname="_BODEN_OFF" />
      <value value="0x0040" name="On"  cname="_BODEN_ON"  />
    </tqmask>
    <tqmask name="CP"    value="0x0080" >
      <value value="0x0000" name="All" cname="_CP_ON"  />
      <value value="0x0080" name="Off" cname="_CP_OFF" />
    </tqmask>
    <tqmask name="CPD"   value="0x0100" >
      <value value="0x0000" name="All" cname="_CPD_ON"  />
      <value value="0x0100" name="Off" cname="_CPD_OFF" />
    </tqmask>
    <tqmask name="BG"    value="0x3000">
      <value value="0x0000" name="Lowest"   />
      <value value="0x1000" name="Mid/Low"  />
      <value value="0x2000" name="Mid/High" />
      <value value="0x3000" name="Highest"  />
    </tqmask>
  </config>

<!--* Packages *************************************************************-->
  <package types="pdip soic dfns" nb_pins="8" >
    <pin index="1" name="VDD"                       />
    <pin index="2" name="GP5/T1CKI/OSC1/CLKIN"      />
    <pin index="3" name="GP4/AN3/T1G/OSC2/CLKOUT"   />
    <pin index="4" name="GP3/MCLR/VPP"              />
    <pin index="5" name="GP2/AN2/T0CKI/INT/COUT"    />
    <pin index="6" name="GP1/AN1/CIN-/VREF/ICSPCLK" />
    <pin index="7" name="GP0/AN0/CIN+/ICSPDAT"      />
    <pin index="8" name="VSS"                       />
  </package>

</device>