diff options
Diffstat (limited to 'src/devices/pic/xml_data/18F2450.xml')
-rw-r--r-- | src/devices/pic/xml_data/18F2450.xml | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/src/devices/pic/xml_data/18F2450.xml b/src/devices/pic/xml_data/18F2450.xml index ad3994f..2388a92 100644 --- a/src/devices/pic/xml_data/18F2450.xml +++ b/src/devices/pic/xml_data/18F2450.xml @@ -27,14 +27,14 @@ <!--* Memory ***************************************************************--> <memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="32" /> - <memory name="user_ids" start="0x200000" end="0x200007" rtqmask="0x0F" /> + <memory name="user_ids" start="0x200000" end="0x200007" rmask="0x0F" /> <memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" /> <memory name="config" start="0x300000" end="0x30000D" /> <memory name="debug_vector" start="0x200028" end="0x200037" /> <!--* Configuration bits ***************************************************--> - <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x07" ctqmask="0x00" > - <tqmask name="PLLDIV" value="0x07" > + <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x07" cmask="0x00" > + <mask name="PLLDIV" value="0x07" > <value value="0x00" name="1" cname="_PLLDIV_1" /> <value value="0x01" name="2" cname="_PLLDIV_2" /> <value value="0x02" name="3" cname="_PLLDIV_3" /> @@ -43,21 +43,21 @@ <value value="0x05" name="6" cname="_PLLDIV_6" /> <value value="0x06" name="10" cname="_PLLDIV_10" /> <value value="0x07" name="12" cname="_PLLDIV_12" /> - </tqmask> - <tqmask name="CPUDIV" value="0x18" > + </mask> + <mask name="CPUDIV" value="0x18" > <value value="0x00" name="1" cname="_CPUDIV_OSC1_PLL2" /> <value value="0x08" name="2" cname="_CPUDIV_OSC2_PLL3" /> <value value="0x10" name="3" cname="_CPUDIV_OSC3_PLL4" /> <value value="0x18" name="4" cname="_CPUDIV_OSC4_PLL6" /> - </tqmask> - <tqmask name="USBDIV" value="0x20" > + </mask> + <mask name="USBDIV" value="0x20" > <value value="0x00" name="1" cname="_USBDIV_1" /> <value value="0x20" name="2" cname="_USBDIV_2" /> - </tqmask> + </mask> </config> - <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" ctqmask="0x00" > - <tqmask name="FOSC" value="0x0F" > + <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" cmask="0x00" > + <mask name="FOSC" value="0x0F" > <value value="0x00" name="XT" cname="_FOSC_XT_XT" /> <value value="0x01" name="XT" cname="_FOSC_XT_XT" /> <value value="0x02" name="XTPLL" cname="_FOSC_XTPLL" /> @@ -74,46 +74,46 @@ <value value="0x0D" name="HS" cname="_FOSC_HS" /> <value value="0x0E" name="HSPLL" cname="_FOSC_HSPLL_HS" /> <value value="0x0F" name="HSPLL" cname="_FOSC_HSPLL_HS" /> - </tqmask> - <tqmask name="FCMEN" value="0x40" > + </mask> + <mask name="FCMEN" value="0x40" > <value value="0x00" name="Off" cname="_FCMEN_OFF" /> <value value="0x40" name="On" cname="_FCMEN_ON" /> - </tqmask> - <tqmask name="IESO" value="0x80" > + </mask> + <mask name="IESO" value="0x80" > <value value="0x00" name="Off" cname="_IESO_OFF" /> <value value="0x80" name="On" cname="_IESO_ON" /> - </tqmask> + </mask> </config> - <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x1F" > - <tqmask name="PWRTE" value="0x01" > + <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x1F" > + <mask name="PWRTE" value="0x01" > <value value="0x00" name="On" cname="_PWRT_ON" /> <value value="0x01" name="Off" cname="_PWRT_OFF" /> - </tqmask> - <tqmask name="BODEN" value="0x06" > + </mask> + <mask name="BODEN" value="0x06" > <value value="0x00" name="Off" cname="_BOR_OFF" /> <value value="0x02" name="Software" cname="_BOR_SOFT" /> <value value="0x04" name="On_run" cname="_BOR_ON_ACTIVE" /> <value value="0x06" name="On" cname="_BOR_ON" /> - </tqmask> - <tqmask name="BORV" value="0x18" > + </mask> + <mask name="BORV" value="0x18" > <value value="0x00" name="4.6" cname="_BORV_46" /> <value value="0x08" name="4.3" cname="_BORV_43" /> <value value="0x10" name="2.8" cname="_BORV_28" /> <value value="0x18" name="2.1" cname="_BORV_21" /> - </tqmask> - <tqmask name="VREGEN" value="0x20" > + </mask> + <mask name="VREGEN" value="0x20" > <value value="0x00" name="Off" cname="_VREGEN_OFF" /> <value value="0x20" name="On" cname="_VREGEN_ON" /> - </tqmask> + </mask> </config> - <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x1F" > - <tqmask name="WDT" value="0x01" > + <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x1F" > + <mask name="WDT" value="0x01" > <value value="0x00" name="Off" cname="_WDT_OFF" /> <value value="0x01" name="On" cname="_WDT_ON" /> - </tqmask> - <tqmask name="WDTPS" value="0x1E" > + </mask> + <mask name="WDTPS" value="0x1E" > <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" /> @@ -130,107 +130,107 @@ <value value="0x1A" name="1:8192" cname="_WDTPS_8192" /> <value value="0x1C" name="1:16384" cname="_WDTPS_16384" /> <value value="0x1E" name="1:32768" cname="_WDTPS_32768" /> - </tqmask> + </mask> </config> - <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" /> + <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" /> - <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x82" ctqmask="0x00" > - <tqmask name="PBADEN" value="0x02" > + <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" cmask="0x00" > + <mask name="PBADEN" value="0x02" > <value value="0x00" name="digital" cname="_PBADEN_OFF" /> <value value="0x02" name="analog" cname="_PBADEN_ON" /> - </tqmask> - <tqmask name="LPT1OSC" value="0x04" > + </mask> + <mask name="LPT1OSC" value="0x04" > <value value="0x00" name="Off" cname="_LPT1OSC_OFF" /> <value value="0x04" name="On" cname="_LPT1OSC_ON" /> - </tqmask> - <tqmask name="MCLRE" value="0x80" > + </mask> + <mask name="MCLRE" value="0x80" > <value value="0x00" name="Internal" cname="_MCLRE_OFF" /> <value value="0x80" name="External" cname="_MCLRE_ON" /> - </tqmask> + </mask> </config> - <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" ctqmask="0x08" > - <tqmask name="STVREN" value="0x01" > + <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x08" > + <mask name="STVREN" value="0x01" > <value value="0x00" name="Off" cname="_STVREN_OFF" /> <value value="0x01" name="On" cname="_STVREN_ON" /> - </tqmask> - <tqmask name="LVP" value="0x04" > + </mask> + <mask name="LVP" value="0x04" > <value value="0x00" name="Off" cname="_LVP_OFF" /> <value value="0x04" name="On" cname="_LVP_ON" /> - </tqmask> - <tqmask name="BBSIZ" value="0x08" > + </mask> + <mask name="BBSIZ" value="0x08" > <value value="0x00" name="1024" cname="_BBSIZ_BB1K" /> <value value="0x08" name="2048" cname="_BBSIZ_BB2K" /> - </tqmask> - <tqmask name="XINST" value="0x40" > + </mask> + <mask name="XINST" value="0x40" > <value value="0x00" name="Off" cname="_XINST_OFF" /> <value value="0x40" name="On" cname="_XINST_ON" /> - </tqmask> - <tqmask name="DEBUG" value="0x80" > + </mask> + <mask name="DEBUG" value="0x80" > <value value="0x00" name="On" cname="_DEBUG_ON" /> <value value="0x80" name="Off" cname="_DEBUG_OFF" /> - </tqmask> + </mask> </config> - <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" /> + <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" /> - <config offset="0x8" name="CONFIG5L" wtqmask="0xFF" bvalue="0x03" > - <tqmask name="CP_0" value="0x01" > + <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x03" > + <mask name="CP_0" value="0x01" > <value value="0x00" name="0800/1000:1FFF" cname="_CP0_ON" /> <value value="0x01" name="Off" cname="_CP0_OFF" /> - </tqmask> - <tqmask name="CP_1" value="0x02" > + </mask> + <mask name="CP_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_CP1_ON" /> <value value="0x02" name="Off" cname="_CP1_OFF" /> - </tqmask> + </mask> </config> - <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x40" > - <tqmask name="CPB" value="0x40" > + <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x40" > + <mask name="CPB" value="0x40" > <value value="0x00" name="All" cname="_CPB_ON" /> <value value="0x40" name="Off" cname="_CPB_OFF" /> - </tqmask> + </mask> </config> - <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x03" > - <tqmask name="WRT_0" value="0x01" > + <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x03" > + <mask name="WRT_0" value="0x01" > <value value="0x00" name="0800/1000:1FFF" cname="_WRT0_ON" /> <value value="0x01" name="Off" cname="_WRT0_OFF" /> - </tqmask> - <tqmask name="WRT_1" value="0x02" > + </mask> + <mask name="WRT_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_WRT1_ON" /> <value value="0x02" name="Off" cname="_WRT1_OFF" /> - </tqmask> + </mask> </config> - <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x60" > - <tqmask name="WRTC" value="0x20" > + <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x60" > + <mask name="WRTC" value="0x20" > <value value="0x00" name="All" cname="_WRTC_ON" /> <value value="0x20" name="Off" cname="_WRTC_OFF" /> - </tqmask> - <tqmask name="WRTB" value="0x40" > + </mask> + <mask name="WRTB" value="0x40" > <value value="0x00" name="All" cname="_WRTB_ON" /> <value value="0x40" name="Off" cname="_WRTB_OFF" /> - </tqmask> + </mask> </config> - <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x03" > - <tqmask name="EBTR_0" value="0x01" > + <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x03" > + <mask name="EBTR_0" value="0x01" > <value value="0x00" name="0800/1000:1FFF" cname="_EBTR0_ON" /> <value value="0x01" name="Off" cname="_EBTR0_OFF" /> - </tqmask> - <tqmask name="EBTR_1" value="0x02" > + </mask> + <mask name="EBTR_1" value="0x02" > <value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" /> <value value="0x02" name="Off" cname="_EBTR1_OFF" /> - </tqmask> + </mask> </config> - <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x40" > - <tqmask name="EBTRB" value="0x40" > + <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x40" > + <mask name="EBTRB" value="0x40" > <value value="0x00" name="All" cname="_EBTRB_ON" /> <value value="0x40" name="Off" cname="_EBTRB_OFF" /> - </tqmask> + </mask> </config> <!--* Packages *************************************************************--> |