diff options
Diffstat (limited to 'src/devices/pic/xml_data/18F8520.xml')
-rw-r--r-- | src/devices/pic/xml_data/18F8520.xml | 154 |
1 files changed, 77 insertions, 77 deletions
diff --git a/src/devices/pic/xml_data/18F8520.xml b/src/devices/pic/xml_data/18F8520.xml index 6bc1aae..ed9b7c7 100644 --- a/src/devices/pic/xml_data/18F8520.xml +++ b/src/devices/pic/xml_data/18F8520.xml @@ -37,17 +37,17 @@ <!--* Memory ***************************************************************--> <memory name="code" start="0x000000" end="0x007FFF" word_write_align="4" word_erase_align="32" /> - <memory name="user_ids" start="0x200000" end="0x200007" rmask="0x0F" /> + <memory name="user_ids" start="0x200000" end="0x200007" rtqmask="0x0F" /> <memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" /> <memory name="config" start="0x300000" end="0x30000D" /> <memory name="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" /> <memory name="debug_vector" start="0x200028" end="0x200037" /> <!--* Configuration bits ***************************************************--> - <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" /> + <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" /> - <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" > - <mask name="FOSC" value="0x07" > + <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" > + <tqmask name="FOSC" value="0x07" > <value value="0x00" name="LP" cname="_OSC_LP" /> <value value="0x01" name="XT" cname="_OSC_XT" /> <value value="0x02" name="HS" cname="_OSC_HS" /> @@ -56,36 +56,36 @@ <value value="0x05" name="EC_IO" cname="_OSC_ECIO" /> <value value="0x06" name="H4" cname="_OSC_HSPLL" /> <value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" /> - </mask> - <mask name="OSCSEN" value="0x20" > + </tqmask> + <tqmask name="OSCSEN" value="0x20" > <value value="0x00" name="On" cname="_OSCS_ON" /> <value value="0x20" name="Off" cname="_OSCS_OFF" /> - </mask> + </tqmask> </config> - <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" > - <mask name="PWRTE" value="0x01" > + <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" > + <tqmask name="PWRTE" value="0x01" > <value value="0x00" name="On" cname="_PWRT_ON" /> <value value="0x01" name="Off" cname="_PWRT_OFF" /> - </mask> - <mask name="BODEN" value="0x02" > + </tqmask> + <tqmask name="BODEN" value="0x02" > <value value="0x00" name="Off" cname="_BOR_OFF" /> <value value="0x02" name="On" cname="_BOR_ON" /> - </mask> - <mask name="BORV" value="0x0C" > + </tqmask> + <tqmask name="BORV" value="0x0C" > <value value="0x00" name="4.5" cname="_BORV_45" /> <value value="0x04" name="4.2" cname="_BORV_42" /> <value value="0x08" name="2.7" cname="_BORV_27" /> <value value="0x0C" name="2.5" cname="_BORV_25" /> - </mask> + </tqmask> </config> - <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" > - <mask name="WDT" value="0x01" > + <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" > + <tqmask name="WDT" value="0x01" > <value value="0x00" name="Off" cname="_WDT_OFF" /> <value value="0x01" name="On" cname="_WDT_ON" /> - </mask> - <mask name="WDTPS" value="0x0E" > + </tqmask> + <tqmask name="WDTPS" value="0x0E" > <value value="0x00" name="1:1" cname="_WDTPS_1" /> <value value="0x02" name="1:2" cname="_WDTPS_2" /> <value value="0x04" name="1:4" cname="_WDTPS_4" /> @@ -94,134 +94,134 @@ <value value="0x0A" name="1:32" cname="_WDTPS_32" /> <value value="0x0C" name="1:64" cname="_WDTPS_64" /> <value value="0x0E" name="1:128" cname="_WDTPS_128" /> - </mask> + </tqmask> </config> - <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" > - <mask name="PM" value="0x03" > + <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x83" > + <tqmask name="PM" value="0x03" > <value value="0x00" name="Extended microcontroller" cname="_MODE_EM" /> <value value="0x01" name="Microprocessor with boot" cname="_MODE_MPB" /> <value value="0x02" name="Microprocessor" cname="_MODE_MP" /> <value value="0x03" name="Microcontroller" cname="_MODE_MC" /> - </mask> - <mask name="WAIT" value="0x80" > + </tqmask> + <tqmask name="WAIT" value="0x80" > <value value="0x00" name="On" cname="_WAIT_ON" /> <value value="0x80" name="Off" cname="_WAIT_OFF" /> - </mask> + </tqmask> </config> - <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" cmask="0x02" > - <mask name="CCP2MX" value="0x01" > + <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" ctqmask="0x02" > + <tqmask name="CCP2MX" value="0x01" > <value value="0x00" name="RE7" cname="_CCP2MUX_RE7" /> <value value="0x01" name="RC1" cname="_CCP2MUX_RC1" /> - </mask> + </tqmask> </config> - <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" > - <mask name="STVREN" value="0x01" > + <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" > + <tqmask name="STVREN" value="0x01" > <value value="0x00" name="Off" cname="_STVR_OFF" /> <value value="0x01" name="On" cname="_STVR_ON" /> - </mask> - <mask name="LVP" value="0x04" > + </tqmask> + <tqmask name="LVP" value="0x04" > <value value="0x00" name="Off" cname="_LVP_OFF" /> <value value="0x04" name="On" cname="_LVP_ON" /> - </mask> - <mask name="DEBUG" value="0x80" > + </tqmask> + <tqmask name="DEBUG" value="0x80" > <value value="0x00" name="On" cname="_DEBUG_ON" /> <value value="0x80" name="Off" cname="_DEBUG_OFF" /> - </mask> + </tqmask> </config> - <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" /> + <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" /> - <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" > - <mask name="CP_0" value="0x01" > + <config offset="0x8" name="CONFIG5L" wtqmask="0xFF" bvalue="0x0F" > + <tqmask name="CP_0" value="0x01" > <value value="0x00" name="0800:1FFF" cname="_CP0_ON" /> <value value="0x01" name="Off" cname="_CP0_OFF" /> - </mask> - <mask name="CP_1" value="0x02" > + </tqmask> + <tqmask name="CP_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_CP1_ON" /> <value value="0x02" name="Off" cname="_CP1_OFF" /> - </mask> - <mask name="CP_2" value="0x04" > + </tqmask> + <tqmask name="CP_2" value="0x04" > <value value="0x00" name="4000:5FFF" cname="_CP2_ON" /> <value value="0x04" name="Off" cname="_CP2_OFF" /> - </mask> - <mask name="CP_3" value="0x08" > + </tqmask> + <tqmask name="CP_3" value="0x08" > <value value="0x00" name="6000:7FFF" cname="_CP3_ON" /> <value value="0x08" name="Off" cname="_CP3_OFF" /> - </mask> + </tqmask> </config> - <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x40" > - <mask name="CPB" value="0x40" > + <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" ctqmask="0x40" > + <tqmask name="CPB" value="0x40" > <value value="0x00" name="0000:07FF" cname="_CPB_ON" /> <value value="0x40" name="Off" cname="_CPB_OFF" /> - </mask> - <mask name="CPD" value="0x80" > + </tqmask> + <tqmask name="CPD" value="0x80" > <value value="0x00" name="All" cname="_CPD_ON" /> <value value="0x80" name="Off" cname="_CPD_OFF" /> - </mask> + </tqmask> </config> - <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" > - <mask name="WRT_0" value="0x01" > + <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" > + <tqmask name="WRT_0" value="0x01" > <value value="0x00" name="0800:1FFF" cname="_WRT0_ON" /> <value value="0x01" name="Off" cname="_WRT0_OFF" /> - </mask> - <mask name="WRT_1" value="0x02" > + </tqmask> + <tqmask name="WRT_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_WRT1_ON" /> <value value="0x02" name="Off" cname="_WRT1_OFF" /> - </mask> - <mask name="WRT_2" value="0x04" > + </tqmask> + <tqmask name="WRT_2" value="0x04" > <value value="0x00" name="4000:5FFF" cname="_WRT2_ON" /> <value value="0x04" name="Off" cname="_WRT2_OFF" /> - </mask> - <mask name="WRT_3" value="0x08" > + </tqmask> + <tqmask name="WRT_3" value="0x08" > <value value="0x00" name="6000:7FFF" cname="_WRT3_ON" /> <value value="0x08" name="Off" cname="_WRT3_OFF" /> - </mask> + </tqmask> </config> - <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x40" > - <mask name="WRTC" value="0x20" > + <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0x40" > + <tqmask name="WRTC" value="0x20" > <value value="0x00" name="All" cname="_WRTC_ON" /> <value value="0x20" name="Off" cname="_WRTC_OFF" /> - </mask> - <mask name="WRTB" value="0x40" > + </tqmask> + <tqmask name="WRTB" value="0x40" > <value value="0x00" name="0000:07FF" cname="_WRTB_ON" /> <value value="0x40" name="Off" cname="_WRTB_OFF" /> - </mask> - <mask name="WRTD" value="0x80" > + </tqmask> + <tqmask name="WRTD" value="0x80" > <value value="0x00" name="All" cname="_WRTD_ON" /> <value value="0x80" name="Off" cname="_WRTD_OFF" /> - </mask> + </tqmask> </config> - <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" > - <mask name="EBTR_0" value="0x01" > + <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" > + <tqmask name="EBTR_0" value="0x01" > <value value="0x00" name="0800:1FFF" cname="_EBTR0_ON" /> <value value="0x01" name="Off" cname="_EBTR0_OFF" /> - </mask> - <mask name="EBTR_1" value="0x02" > + </tqmask> + <tqmask name="EBTR_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" /> <value value="0x02" name="Off" cname="_EBTR1_OFF" /> - </mask> - <mask name="EBTR_2" value="0x04" > + </tqmask> + <tqmask name="EBTR_2" value="0x04" > <value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" /> <value value="0x04" name="Off" cname="_EBTR2_OFF" /> - </mask> - <mask name="EBTR_3" value="0x08" > + </tqmask> + <tqmask name="EBTR_3" value="0x08" > <value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" /> <value value="0x08" name="Off" cname="_EBTR3_OFF" /> - </mask> + </tqmask> </config> - <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x40" > - <mask name="EBTRB" value="0x40" > + <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x40" > + <tqmask name="EBTRB" value="0x40" > <value value="0x00" name="0000:07FF" cname="_EBTRB_ON" /> <value value="0x40" name="Off" cname="_EBTRB_OFF" /> - </mask> + </tqmask> </config> <!--* Packages *************************************************************--> |