summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/xml_data/16CR58B.xml
blob: 17b9c8368130127446d967dd715c01fea6139111 (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
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<!--************************************************************************-->
<!--* Copyright (C) 2005-2007 Nicolas Hadacek <[email protected]>            *-->
<!--*                                                                      *-->
<!--* 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="16CR58B" document="010196" status="IP" memory_technology="ROM" architecture="10X" pc="11"
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='pic.xsd'>

<!--* Checksums ************************************************************-->
  <checksums>
    <checksum protected="Off"     bchecksum="0x07FF" cchecksum="0xF647" />
    <checksum protected="040:7FF" bchecksum="0x07C6" cchecksum="0xED32" />
  </checksums>

<!--* Operating characteristics ********************************************-->
  <frequency_range name="industrial" >
    <frequency start="0" end="4"   vdd_min="3"   vdd_max="5.5" osc="RC" />
    <frequency start="0" end="4"   vdd_min="3"   vdd_max="5.5" osc="XT" />
    <frequency start="0" end="20"  vdd_min="4.5" vdd_max="5.5" osc="HS" />
    <frequency start="0" end="0.2" vdd_min="3"   vdd_max="5.5" osc="LP" />
  </frequency_range>
  <frequency_range name="industrial" special="low_power" >
    <frequency start="0" end="4"   vdd_min="3"   vdd_max="5.5" osc="RC" />
    <frequency start="0" end="4"   vdd_min="3"   vdd_max="5.5" osc="XT" />
    <frequency start="0" end="0.2" vdd_min="2.5" vdd_max="5.5" osc="LP" />
  </frequency_range>
  <frequency_range name="extended"   >
    <frequency start="0" end="4"  vdd_min="3"   vdd_max="5.5" osc="RC" />
    <frequency start="0" end="4"  vdd_min="3"   vdd_max="5.5" osc="XT" />
    <frequency start="0" end="20" vdd_min="4.5" vdd_max="5.5" osc="HS" />
  </frequency_range>

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

<!--* Memory ***************************************************************-->
  <memory name="code"  start="0x000" end="0x7FF" />
  <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
  <memory name="config"   start="0xFFF" end="0xFFF" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
    <tqmask name="FOSC" value="0x003" >
      <value value="0x000" name="LP"           cname="_LP_OSC" />
      <value value="0x001" name="XT"           cname="_XT_OSC" />
      <value value="0x002" name="HS"           cname="_HS_OSC" />
      <value value="0x003" name="EXTRC_CLKOUT" cname="_RC_OSC" />
    </tqmask>
    <tqmask name="WDT"  value="0x004" >
      <value value="0x000" name="Off" cname="_WDT_OFF" />
      <value value="0x004" name="On"  cname="_WDT_ON"  />
    </tqmask>
    <tqmask name="CP"   value="0xFF8" >
      <value value="0x000" name="040:7FF" cname="_CP_ON"  />
      <value value="0xFF8" name="Off"     cname="_CP_OFF" />
      <value value="default" name="invalid" />
    </tqmask>
  </config>

<!--* Packages *************************************************************-->
  <package types="pdip soic" nb_pins="18" >
    <pin index="1"  name="RA2"         />
    <pin index="2"  name="RA3"         />
    <pin index="3"  name="T0CKI"       />
    <pin index="4"  name="MCLR/VPP"    />
    <pin index="5"  name="VSS"         />
    <pin index="6"  name="RB0"         />
    <pin index="7"  name="RB1"         />
    <pin index="8"  name="RB2"         />
    <pin index="9"  name="RB3"         />
    <pin index="10" name="RB4"         />
    <pin index="11" name="RB5"         />
    <pin index="12" name="RB6"         />
    <pin index="13" name="RB7"         />
    <pin index="14" name="VDD"         />
    <pin index="15" name="OSC2/CLKOUT" />
    <pin index="16" name="OSC1/CLKIN"  />
    <pin index="17" name="RA0"         />
    <pin index="18" name="RA1"         />
  </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>