summaryrefslogtreecommitdiffstats
path: root/src/devices
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitf7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch)
treed1d583f11612d149bc0718c80779df4653699dbb /src/devices
parentd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff)
downloadpiklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.tar.gz
piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/gui/device_group_ui.h8
-rw-r--r--src/devices/gui/hex_view.cpp4
-rw-r--r--src/devices/gui/hex_view.h2
-rw-r--r--src/devices/gui/hex_word_editor.cpp8
-rw-r--r--src/devices/gui/hex_word_editor.h12
-rw-r--r--src/devices/gui/memory_editor.cpp16
-rw-r--r--src/devices/gui/memory_editor.h10
-rw-r--r--src/devices/gui/register_view.cpp16
-rw-r--r--src/devices/gui/register_view.h6
-rw-r--r--src/devices/mem24/gui/mem24_group_ui.cpp4
-rw-r--r--src/devices/mem24/gui/mem24_group_ui.h2
-rw-r--r--src/devices/mem24/gui/mem24_hex_view.cpp4
-rw-r--r--src/devices/mem24/gui/mem24_hex_view.h2
-rw-r--r--src/devices/mem24/gui/mem24_memory_editor.cpp12
-rw-r--r--src/devices/mem24/gui/mem24_memory_editor.h12
-rw-r--r--src/devices/mem24/mem24/mem24_memory.cpp10
-rw-r--r--src/devices/pic/base/pic.cpp2
-rw-r--r--src/devices/pic/base/pic.h2
-rw-r--r--src/devices/pic/base/pic_config.cpp62
-rw-r--r--src/devices/pic/base/pic_config.h22
-rw-r--r--src/devices/pic/base/pic_protection.cpp44
-rw-r--r--src/devices/pic/base/pic_protection.h4
-rw-r--r--src/devices/pic/gui/pic_config_editor.cpp8
-rw-r--r--src/devices/pic/gui/pic_config_editor.h4
-rw-r--r--src/devices/pic/gui/pic_config_word_editor.cpp52
-rw-r--r--src/devices/pic/gui/pic_config_word_editor.h6
-rw-r--r--src/devices/pic/gui/pic_group_ui.cpp16
-rw-r--r--src/devices/pic/gui/pic_group_ui.h8
-rw-r--r--src/devices/pic/gui/pic_hex_view.cpp4
-rw-r--r--src/devices/pic/gui/pic_hex_view.h2
-rw-r--r--src/devices/pic/gui/pic_memory_editor.cpp50
-rw-r--r--src/devices/pic/gui/pic_memory_editor.h24
-rw-r--r--src/devices/pic/gui/pic_prog_group_ui.cpp4
-rw-r--r--src/devices/pic/gui/pic_prog_group_ui.h2
-rw-r--r--src/devices/pic/gui/pic_register_view.cpp12
-rw-r--r--src/devices/pic/gui/pic_register_view.h6
-rw-r--r--src/devices/pic/pic/pic_memory.cpp90
-rw-r--r--src/devices/pic/prog/pic_prog.cpp12
-rw-r--r--src/devices/pic/prog/pic_prog_specific.cpp10
-rw-r--r--src/devices/pic/xml/pic_xml_to_data.cpp186
-rw-r--r--src/devices/pic/xml_data/10F200.xml22
-rw-r--r--src/devices/pic/xml_data/10F202.xml22
-rw-r--r--src/devices/pic/xml_data/10F204.xml22
-rw-r--r--src/devices/pic/xml_data/10F206.xml22
-rw-r--r--src/devices/pic/xml_data/10F220.xml26
-rw-r--r--src/devices/pic/xml_data/10F222.xml26
-rw-r--r--src/devices/pic/xml_data/12C508.xml22
-rw-r--r--src/devices/pic/xml_data/12C508A.xml22
-rw-r--r--src/devices/pic/xml_data/12C509.xml22
-rw-r--r--src/devices/pic/xml_data/12C509A.xml22
-rw-r--r--src/devices/pic/xml_data/12C671.xml26
-rw-r--r--src/devices/pic/xml_data/12C672.xml26
-rw-r--r--src/devices/pic/xml_data/12CE518.xml24
-rw-r--r--src/devices/pic/xml_data/12CE519.xml24
-rw-r--r--src/devices/pic/xml_data/12CE673.xml26
-rw-r--r--src/devices/pic/xml_data/12CE674.xml26
-rw-r--r--src/devices/pic/xml_data/12CR509A.xml22
-rw-r--r--src/devices/pic/xml_data/12F508.xml22
-rw-r--r--src/devices/pic/xml_data/12F509.xml22
-rw-r--r--src/devices/pic/xml_data/12F510.xml26
-rw-r--r--src/devices/pic/xml_data/12F519.xml30
-rw-r--r--src/devices/pic/xml_data/12F609.xml34
-rw-r--r--src/devices/pic/xml_data/12F615.xml34
-rw-r--r--src/devices/pic/xml_data/12F629.xml38
-rw-r--r--src/devices/pic/xml_data/12F635.xml46
-rw-r--r--src/devices/pic/xml_data/12F675.xml38
-rw-r--r--src/devices/pic/xml_data/12F683.xml42
-rw-r--r--src/devices/pic/xml_data/14000.xml30
-rw-r--r--src/devices/pic/xml_data/16C432.xml24
-rw-r--r--src/devices/pic/xml_data/16C433.xml26
-rw-r--r--src/devices/pic/xml_data/16C505.xml22
-rw-r--r--src/devices/pic/xml_data/16C52.xml10
-rw-r--r--src/devices/pic/xml_data/16C54.xml16
-rw-r--r--src/devices/pic/xml_data/16C54A.xml16
-rw-r--r--src/devices/pic/xml_data/16C54B.xml16
-rw-r--r--src/devices/pic/xml_data/16C54C.xml16
-rw-r--r--src/devices/pic/xml_data/16C55.xml16
-rw-r--r--src/devices/pic/xml_data/16C554.xml20
-rw-r--r--src/devices/pic/xml_data/16C557.xml20
-rw-r--r--src/devices/pic/xml_data/16C558.xml20
-rw-r--r--src/devices/pic/xml_data/16C55A.xml16
-rw-r--r--src/devices/pic/xml_data/16C56.xml16
-rw-r--r--src/devices/pic/xml_data/16C56A.xml16
-rw-r--r--src/devices/pic/xml_data/16C57.xml16
-rw-r--r--src/devices/pic/xml_data/16C57C.xml16
-rw-r--r--src/devices/pic/xml_data/16C58A.xml16
-rw-r--r--src/devices/pic/xml_data/16C58B.xml16
-rw-r--r--src/devices/pic/xml_data/16C61.xml20
-rw-r--r--src/devices/pic/xml_data/16C62.xml20
-rw-r--r--src/devices/pic/xml_data/16C620.xml24
-rw-r--r--src/devices/pic/xml_data/16C620A.xml24
-rw-r--r--src/devices/pic/xml_data/16C621.xml24
-rw-r--r--src/devices/pic/xml_data/16C621A.xml24
-rw-r--r--src/devices/pic/xml_data/16C622.xml24
-rw-r--r--src/devices/pic/xml_data/16C622A.xml24
-rw-r--r--src/devices/pic/xml_data/16C62A.xml24
-rw-r--r--src/devices/pic/xml_data/16C62B.xml24
-rw-r--r--src/devices/pic/xml_data/16C63.xml24
-rw-r--r--src/devices/pic/xml_data/16C63A.xml24
-rw-r--r--src/devices/pic/xml_data/16C64.xml20
-rw-r--r--src/devices/pic/xml_data/16C641.xml28
-rw-r--r--src/devices/pic/xml_data/16C642.xml28
-rw-r--r--src/devices/pic/xml_data/16C64A.xml24
-rw-r--r--src/devices/pic/xml_data/16C65.xml20
-rw-r--r--src/devices/pic/xml_data/16C65A.xml24
-rw-r--r--src/devices/pic/xml_data/16C65B.xml24
-rw-r--r--src/devices/pic/xml_data/16C66.xml24
-rw-r--r--src/devices/pic/xml_data/16C661.xml28
-rw-r--r--src/devices/pic/xml_data/16C662.xml28
-rw-r--r--src/devices/pic/xml_data/16C67.xml24
-rw-r--r--src/devices/pic/xml_data/16C71.xml20
-rw-r--r--src/devices/pic/xml_data/16C710.xml24
-rw-r--r--src/devices/pic/xml_data/16C711.xml24
-rw-r--r--src/devices/pic/xml_data/16C712.xml24
-rw-r--r--src/devices/pic/xml_data/16C715.xml28
-rw-r--r--src/devices/pic/xml_data/16C716.xml24
-rw-r--r--src/devices/pic/xml_data/16C717.xml32
-rw-r--r--src/devices/pic/xml_data/16C72.xml24
-rw-r--r--src/devices/pic/xml_data/16C72A.xml24
-rw-r--r--src/devices/pic/xml_data/16C73.xml20
-rw-r--r--src/devices/pic/xml_data/16C73A.xml24
-rw-r--r--src/devices/pic/xml_data/16C73B.xml24
-rw-r--r--src/devices/pic/xml_data/16C74.xml20
-rw-r--r--src/devices/pic/xml_data/16C745.xml20
-rw-r--r--src/devices/pic/xml_data/16C74A.xml24
-rw-r--r--src/devices/pic/xml_data/16C74B.xml24
-rw-r--r--src/devices/pic/xml_data/16C76.xml24
-rw-r--r--src/devices/pic/xml_data/16C765.xml20
-rw-r--r--src/devices/pic/xml_data/16C77.xml24
-rw-r--r--src/devices/pic/xml_data/16C770.xml32
-rw-r--r--src/devices/pic/xml_data/16C771.xml32
-rw-r--r--src/devices/pic/xml_data/16C773.xml28
-rw-r--r--src/devices/pic/xml_data/16C774.xml28
-rw-r--r--src/devices/pic/xml_data/16C781.xml32
-rw-r--r--src/devices/pic/xml_data/16C782.xml32
-rw-r--r--src/devices/pic/xml_data/16C84.xml20
-rw-r--r--src/devices/pic/xml_data/16C923.xml20
-rw-r--r--src/devices/pic/xml_data/16C924.xml20
-rw-r--r--src/devices/pic/xml_data/16C925.xml24
-rw-r--r--src/devices/pic/xml_data/16C926.xml24
-rw-r--r--src/devices/pic/xml_data/16CE623.xml24
-rw-r--r--src/devices/pic/xml_data/16CE624.xml24
-rw-r--r--src/devices/pic/xml_data/16CE625.xml24
-rw-r--r--src/devices/pic/xml_data/16CR54.xml_broken16
-rw-r--r--src/devices/pic/xml_data/16CR54A.xml16
-rw-r--r--src/devices/pic/xml_data/16CR54B.xml16
-rw-r--r--src/devices/pic/xml_data/16CR54C.xml16
-rw-r--r--src/devices/pic/xml_data/16CR56A.xml16
-rw-r--r--src/devices/pic/xml_data/16CR57B.xml16
-rw-r--r--src/devices/pic/xml_data/16CR57C.xml16
-rw-r--r--src/devices/pic/xml_data/16CR58A.xml16
-rw-r--r--src/devices/pic/xml_data/16CR58B.xml16
-rw-r--r--src/devices/pic/xml_data/16CR62.xml24
-rw-r--r--src/devices/pic/xml_data/16CR620A.xml24
-rw-r--r--src/devices/pic/xml_data/16CR63.xml24
-rw-r--r--src/devices/pic/xml_data/16CR64.xml24
-rw-r--r--src/devices/pic/xml_data/16CR65.xml24
-rw-r--r--src/devices/pic/xml_data/16CR72.xml24
-rw-r--r--src/devices/pic/xml_data/16CR73.xml24
-rw-r--r--src/devices/pic/xml_data/16CR74.xml24
-rw-r--r--src/devices/pic/xml_data/16CR76.xml24
-rw-r--r--src/devices/pic/xml_data/16CR77.xml24
-rw-r--r--src/devices/pic/xml_data/16CR83.xml24
-rw-r--r--src/devices/pic/xml_data/16CR84.xml24
-rw-r--r--src/devices/pic/xml_data/16F505.xml22
-rw-r--r--src/devices/pic/xml_data/16F506.xml26
-rw-r--r--src/devices/pic/xml_data/16F54.xml16
-rw-r--r--src/devices/pic/xml_data/16F57.xml16
-rw-r--r--src/devices/pic/xml_data/16F59.xml16
-rw-r--r--src/devices/pic/xml_data/16F610.xml34
-rw-r--r--src/devices/pic/xml_data/16F616.xml34
-rw-r--r--src/devices/pic/xml_data/16F627.xml36
-rw-r--r--src/devices/pic/xml_data/16F627A.xml36
-rw-r--r--src/devices/pic/xml_data/16F628.xml36
-rw-r--r--src/devices/pic/xml_data/16F628A.xml36
-rw-r--r--src/devices/pic/xml_data/16F630.xml38
-rw-r--r--src/devices/pic/xml_data/16F631.xml42
-rw-r--r--src/devices/pic/xml_data/16F636.xml46
-rw-r--r--src/devices/pic/xml_data/16F639.xml46
-rw-r--r--src/devices/pic/xml_data/16F648A.xml36
-rw-r--r--src/devices/pic/xml_data/16F676.xml38
-rw-r--r--src/devices/pic/xml_data/16F677.xml42
-rw-r--r--src/devices/pic/xml_data/16F684.xml42
-rw-r--r--src/devices/pic/xml_data/16F685.xml42
-rw-r--r--src/devices/pic/xml_data/16F687.xml42
-rw-r--r--src/devices/pic/xml_data/16F688.xml42
-rw-r--r--src/devices/pic/xml_data/16F689.xml42
-rw-r--r--src/devices/pic/xml_data/16F690.xml42
-rw-r--r--src/devices/pic/xml_data/16F716.xml28
-rw-r--r--src/devices/pic/xml_data/16F72.xml24
-rw-r--r--src/devices/pic/xml_data/16F73.xml24
-rw-r--r--src/devices/pic/xml_data/16F737.xml54
-rw-r--r--src/devices/pic/xml_data/16F74.xml24
-rw-r--r--src/devices/pic/xml_data/16F747.xml54
-rw-r--r--src/devices/pic/xml_data/16F76.xml24
-rw-r--r--src/devices/pic/xml_data/16F767.xml54
-rw-r--r--src/devices/pic/xml_data/16F77.xml24
-rw-r--r--src/devices/pic/xml_data/16F777.xml54
-rw-r--r--src/devices/pic/xml_data/16F785.xml42
-rw-r--r--src/devices/pic/xml_data/16F818.xml48
-rw-r--r--src/devices/pic/xml_data/16F819.xml48
-rw-r--r--src/devices/pic/xml_data/16F83.xml20
-rw-r--r--src/devices/pic/xml_data/16F84.xml20
-rw-r--r--src/devices/pic/xml_data/16F84A.xml20
-rw-r--r--src/devices/pic/xml_data/16F87.xml58
-rw-r--r--src/devices/pic/xml_data/16F870.xml40
-rw-r--r--src/devices/pic/xml_data/16F871.xml40
-rw-r--r--src/devices/pic/xml_data/16F872.xml40
-rw-r--r--src/devices/pic/xml_data/16F873.xml40
-rw-r--r--src/devices/pic/xml_data/16F873A.xml40
-rw-r--r--src/devices/pic/xml_data/16F874.xml40
-rw-r--r--src/devices/pic/xml_data/16F874A.xml40
-rw-r--r--src/devices/pic/xml_data/16F876.xml40
-rw-r--r--src/devices/pic/xml_data/16F876A.xml40
-rw-r--r--src/devices/pic/xml_data/16F877.xml40
-rw-r--r--src/devices/pic/xml_data/16F877A.xml40
-rw-r--r--src/devices/pic/xml_data/16F88.xml58
-rw-r--r--src/devices/pic/xml_data/16F882.xml60
-rw-r--r--src/devices/pic/xml_data/16F883.xml60
-rw-r--r--src/devices/pic/xml_data/16F884.xml60
-rw-r--r--src/devices/pic/xml_data/16F886.xml60
-rw-r--r--src/devices/pic/xml_data/16F887.xml60
-rw-r--r--src/devices/pic/xml_data/16F913.xml46
-rw-r--r--src/devices/pic/xml_data/16F914.xml46
-rw-r--r--src/devices/pic/xml_data/16F916.xml46
-rw-r--r--src/devices/pic/xml_data/16F917.xml46
-rw-r--r--src/devices/pic/xml_data/16F946.xml46
-rw-r--r--src/devices/pic/xml_data/16HV540.xml16
-rw-r--r--src/devices/pic/xml_data/17C42.xml14
-rw-r--r--src/devices/pic/xml_data/17C42A.xml14
-rw-r--r--src/devices/pic/xml_data/17C43.xml14
-rw-r--r--src/devices/pic/xml_data/17C44.xml14
-rw-r--r--src/devices/pic/xml_data/17C752.xml18
-rw-r--r--src/devices/pic/xml_data/17C756.xml18
-rw-r--r--src/devices/pic/xml_data/17C756A.xml18
-rw-r--r--src/devices/pic/xml_data/17C762.xml18
-rw-r--r--src/devices/pic/xml_data/17C766.xml18
-rw-r--r--src/devices/pic/xml_data/17CR42.xml14
-rw-r--r--src/devices/pic/xml_data/17CR43.xml14
-rw-r--r--src/devices/pic/xml_data/18C242.xml58
-rw-r--r--src/devices/pic/xml_data/18C252.xml58
-rw-r--r--src/devices/pic/xml_data/18C442.xml58
-rw-r--r--src/devices/pic/xml_data/18C452.xml58
-rw-r--r--src/devices/pic/xml_data/18C601.xml44
-rw-r--r--src/devices/pic/xml_data/18C658.xml54
-rw-r--r--src/devices/pic/xml_data/18C801.xml44
-rw-r--r--src/devices/pic/xml_data/18C858.xml54
-rw-r--r--src/devices/pic/xml_data/18F1220.xml126
-rw-r--r--src/devices/pic/xml_data/18F1230.xml150
-rw-r--r--src/devices/pic/xml_data/18F1320.xml126
-rw-r--r--src/devices/pic/xml_data/18F1330.xml150
-rw-r--r--src/devices/pic/xml_data/18F2220.xml134
-rw-r--r--src/devices/pic/xml_data/18F2221.xml146
-rw-r--r--src/devices/pic/xml_data/18F2320.xml158
-rw-r--r--src/devices/pic/xml_data/18F2321.xml146
-rw-r--r--src/devices/pic/xml_data/18F2331.xml146
-rw-r--r--src/devices/pic/xml_data/18F2410.xml134
-rw-r--r--src/devices/pic/xml_data/18F242.xml122
-rw-r--r--src/devices/pic/xml_data/18F2420.xml142
-rw-r--r--src/devices/pic/xml_data/18F2423.xml142
-rw-r--r--src/devices/pic/xml_data/18F2431.xml146
-rw-r--r--src/devices/pic/xml_data/18F2439.xml114
-rw-r--r--src/devices/pic/xml_data/18F2450.xml150
-rw-r--r--src/devices/pic/xml_data/18F2455.xml170
-rw-r--r--src/devices/pic/xml_data/18F248.xml118
-rw-r--r--src/devices/pic/xml_data/18F2480.xml142
-rw-r--r--src/devices/pic/xml_data/18F24J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F2510.xml158
-rw-r--r--src/devices/pic/xml_data/18F2515.xml146
-rw-r--r--src/devices/pic/xml_data/18F252.xml146
-rw-r--r--src/devices/pic/xml_data/18F2520.xml166
-rw-r--r--src/devices/pic/xml_data/18F2523.xml166
-rw-r--r--src/devices/pic/xml_data/18F2525.xml154
-rw-r--r--src/devices/pic/xml_data/18F2539.xml126
-rw-r--r--src/devices/pic/xml_data/18F2550.xml174
-rw-r--r--src/devices/pic/xml_data/18F258.xml142
-rw-r--r--src/devices/pic/xml_data/18F2580.xml166
-rw-r--r--src/devices/pic/xml_data/18F2585.xml154
-rw-r--r--src/devices/pic/xml_data/18F25J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F2610.xml158
-rw-r--r--src/devices/pic/xml_data/18F2620.xml158
-rw-r--r--src/devices/pic/xml_data/18F2680.xml166
-rw-r--r--src/devices/pic/xml_data/18F2682.xml178
-rw-r--r--src/devices/pic/xml_data/18F2685.xml190
-rw-r--r--src/devices/pic/xml_data/18F4220.xml134
-rw-r--r--src/devices/pic/xml_data/18F4221.xml150
-rw-r--r--src/devices/pic/xml_data/18F4320.xml158
-rw-r--r--src/devices/pic/xml_data/18F4321.xml150
-rw-r--r--src/devices/pic/xml_data/18F4331.xml162
-rw-r--r--src/devices/pic/xml_data/18F4410.xml134
-rw-r--r--src/devices/pic/xml_data/18F442.xml122
-rw-r--r--src/devices/pic/xml_data/18F4420.xml142
-rw-r--r--src/devices/pic/xml_data/18F4423.xml142
-rw-r--r--src/devices/pic/xml_data/18F4431.xml186
-rw-r--r--src/devices/pic/xml_data/18F4439.xml114
-rw-r--r--src/devices/pic/xml_data/18F4450.xml154
-rw-r--r--src/devices/pic/xml_data/18F4455.xml174
-rw-r--r--src/devices/pic/xml_data/18F448.xml118
-rw-r--r--src/devices/pic/xml_data/18F4480.xml142
-rw-r--r--src/devices/pic/xml_data/18F44J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F4510.xml158
-rw-r--r--src/devices/pic/xml_data/18F4515.xml146
-rw-r--r--src/devices/pic/xml_data/18F452.xml146
-rw-r--r--src/devices/pic/xml_data/18F4520.xml166
-rw-r--r--src/devices/pic/xml_data/18F4523.xml166
-rw-r--r--src/devices/pic/xml_data/18F4525.xml154
-rw-r--r--src/devices/pic/xml_data/18F4539.xml126
-rw-r--r--src/devices/pic/xml_data/18F4550.xml178
-rw-r--r--src/devices/pic/xml_data/18F458.xml142
-rw-r--r--src/devices/pic/xml_data/18F4580.xml166
-rw-r--r--src/devices/pic/xml_data/18F4585.xml154
-rw-r--r--src/devices/pic/xml_data/18F45J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F4610.xml158
-rw-r--r--src/devices/pic/xml_data/18F4620.xml158
-rw-r--r--src/devices/pic/xml_data/18F4680.xml166
-rw-r--r--src/devices/pic/xml_data/18F4682.xml178
-rw-r--r--src/devices/pic/xml_data/18F4685.xml190
-rw-r--r--src/devices/pic/xml_data/18F6310.xml106
-rw-r--r--src/devices/pic/xml_data/18F6390.xml106
-rw-r--r--src/devices/pic/xml_data/18F6393.xml106
-rw-r--r--src/devices/pic/xml_data/18F63J11.xml60
-rw-r--r--src/devices/pic/xml_data/18F63J90.xml60
-rw-r--r--src/devices/pic/xml_data/18F6410.xml106
-rw-r--r--src/devices/pic/xml_data/18F6490.xml106
-rw-r--r--src/devices/pic/xml_data/18F6493.xml106
-rw-r--r--src/devices/pic/xml_data/18F64J11.xml60
-rw-r--r--src/devices/pic/xml_data/18F64J90.xml60
-rw-r--r--src/devices/pic/xml_data/18F6520.xml146
-rw-r--r--src/devices/pic/xml_data/18F6525.xml138
-rw-r--r--src/devices/pic/xml_data/18F6527.xml154
-rw-r--r--src/devices/pic/xml_data/18F6585.xml138
-rw-r--r--src/devices/pic/xml_data/18F65J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F65J11.xml60
-rw-r--r--src/devices/pic/xml_data/18F65J15.xml60
-rw-r--r--src/devices/pic/xml_data/18F65J50.xml68
-rw-r--r--src/devices/pic/xml_data/18F65J90.xml60
-rw-r--r--src/devices/pic/xml_data/18F6620.xml146
-rw-r--r--src/devices/pic/xml_data/18F6621.xml150
-rw-r--r--src/devices/pic/xml_data/18F6622.xml166
-rw-r--r--src/devices/pic/xml_data/18F6627.xml190
-rw-r--r--src/devices/pic/xml_data/18F6680.xml150
-rw-r--r--src/devices/pic/xml_data/18F66J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F66J11.xml64
-rw-r--r--src/devices/pic/xml_data/18F66J15.xml60
-rw-r--r--src/devices/pic/xml_data/18F66J16.xml64
-rw-r--r--src/devices/pic/xml_data/18F66J50.xml68
-rw-r--r--src/devices/pic/xml_data/18F66J55.xml68
-rw-r--r--src/devices/pic/xml_data/18F66J60.xml60
-rw-r--r--src/devices/pic/xml_data/18F66J65.xml60
-rw-r--r--src/devices/pic/xml_data/18F6720.xml194
-rw-r--r--src/devices/pic/xml_data/18F6722.xml214
-rw-r--r--src/devices/pic/xml_data/18F67J10.xml60
-rw-r--r--src/devices/pic/xml_data/18F67J11.xml64
-rw-r--r--src/devices/pic/xml_data/18F67J50.xml68
-rw-r--r--src/devices/pic/xml_data/18F67J60.xml60
-rw-r--r--src/devices/pic/xml_data/18F8310.xml106
-rw-r--r--src/devices/pic/xml_data/18F8390.xml106
-rw-r--r--src/devices/pic/xml_data/18F8393.xml94
-rw-r--r--src/devices/pic/xml_data/18F83J11.xml80
-rw-r--r--src/devices/pic/xml_data/18F83J90.xml80
-rw-r--r--src/devices/pic/xml_data/18F8410.xml94
-rw-r--r--src/devices/pic/xml_data/18F8490.xml94
-rw-r--r--src/devices/pic/xml_data/18F8493.xml94
-rw-r--r--src/devices/pic/xml_data/18F84J11.xml80
-rw-r--r--src/devices/pic/xml_data/18F84J90.xml80
-rw-r--r--src/devices/pic/xml_data/18F8520.xml154
-rw-r--r--src/devices/pic/xml_data/18F8525.xml150
-rw-r--r--src/devices/pic/xml_data/18F8527.xml174
-rw-r--r--src/devices/pic/xml_data/18F8585.xml150
-rw-r--r--src/devices/pic/xml_data/18F85J10.xml80
-rw-r--r--src/devices/pic/xml_data/18F85J11.xml80
-rw-r--r--src/devices/pic/xml_data/18F85J15.xml80
-rw-r--r--src/devices/pic/xml_data/18F85J50.xml92
-rw-r--r--src/devices/pic/xml_data/18F85J90.xml80
-rw-r--r--src/devices/pic/xml_data/18F8620.xml154
-rw-r--r--src/devices/pic/xml_data/18F8621.xml162
-rw-r--r--src/devices/pic/xml_data/18F8622.xml186
-rw-r--r--src/devices/pic/xml_data/18F8627.xml210
-rw-r--r--src/devices/pic/xml_data/18F8680.xml162
-rw-r--r--src/devices/pic/xml_data/18F86J10.xml80
-rw-r--r--src/devices/pic/xml_data/18F86J11.xml88
-rw-r--r--src/devices/pic/xml_data/18F86J15.xml80
-rw-r--r--src/devices/pic/xml_data/18F86J16.xml88
-rw-r--r--src/devices/pic/xml_data/18F86J50.xml92
-rw-r--r--src/devices/pic/xml_data/18F86J55.xml92
-rw-r--r--src/devices/pic/xml_data/18F86J60.xml68
-rw-r--r--src/devices/pic/xml_data/18F86J65.xml68
-rw-r--r--src/devices/pic/xml_data/18F8720.xml202
-rw-r--r--src/devices/pic/xml_data/18F8722.xml234
-rw-r--r--src/devices/pic/xml_data/18F87J10.xml80
-rw-r--r--src/devices/pic/xml_data/18F87J11.xml88
-rw-r--r--src/devices/pic/xml_data/18F87J50.xml92
-rw-r--r--src/devices/pic/xml_data/18F87J60.xml68
-rw-r--r--src/devices/pic/xml_data/18F96J60.xml84
-rw-r--r--src/devices/pic/xml_data/18F96J65.xml84
-rw-r--r--src/devices/pic/xml_data/18F97J60.xml84
-rw-r--r--src/devices/pic/xml_data/24FJ128GA006.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ128GA008.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ128GA010.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ64GA002.xml70
-rw-r--r--src/devices/pic/xml_data/24FJ64GA004.xml70
-rw-r--r--src/devices/pic/xml_data/24FJ64GA006.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ64GA008.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ64GA010.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ96GA006.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ96GA008.xml62
-rw-r--r--src/devices/pic/xml_data/24FJ96GA010.xml62
-rw-r--r--src/devices/pic/xml_data/24HJ128GP206.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ128GP210.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ128GP306.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ128GP310.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ128GP506.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ128GP510.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ12GP201.xml102
-rw-r--r--src/devices/pic/xml_data/24HJ12GP202.xml102
-rw-r--r--src/devices/pic/xml_data/24HJ16GP304.xml102
-rw-r--r--src/devices/pic/xml_data/24HJ256GP206.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ256GP210.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ256GP610.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ32GP202.xml102
-rw-r--r--src/devices/pic/xml_data/24HJ32GP204.xml102
-rw-r--r--src/devices/pic/xml_data/24HJ64GP206.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ64GP210.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ64GP506.xml118
-rw-r--r--src/devices/pic/xml_data/24HJ64GP510.xml118
-rw-r--r--src/devices/pic/xml_data/30F1010.xml86
-rw-r--r--src/devices/pic/xml_data/30F2010.xml88
-rw-r--r--src/devices/pic/xml_data/30F2011.xml72
-rw-r--r--src/devices/pic/xml_data/30F2012.xml72
-rw-r--r--src/devices/pic/xml_data/30F2020.xml86
-rw-r--r--src/devices/pic/xml_data/30F2023.xml86
-rw-r--r--src/devices/pic/xml_data/30F3010.xml84
-rw-r--r--src/devices/pic/xml_data/30F3011.xml84
-rw-r--r--src/devices/pic/xml_data/30F3012.xml72
-rw-r--r--src/devices/pic/xml_data/30F3013.xml72
-rw-r--r--src/devices/pic/xml_data/30F3014.xml72
-rw-r--r--src/devices/pic/xml_data/30F4011.xml88
-rw-r--r--src/devices/pic/xml_data/30F4012.xml88
-rw-r--r--src/devices/pic/xml_data/30F4013.xml72
-rw-r--r--src/devices/pic/xml_data/30F5011.xml116
-rw-r--r--src/devices/pic/xml_data/30F5013.xml116
-rw-r--r--src/devices/pic/xml_data/30F5015.xml84
-rw-r--r--src/devices/pic/xml_data/30F5016.xml84
-rw-r--r--src/devices/pic/xml_data/30F6010.xml88
-rw-r--r--src/devices/pic/xml_data/30F6010A.xml124
-rw-r--r--src/devices/pic/xml_data/30F6011.xml76
-rw-r--r--src/devices/pic/xml_data/30F6011A.xml112
-rw-r--r--src/devices/pic/xml_data/30F6012.xml76
-rw-r--r--src/devices/pic/xml_data/30F6012A.xml112
-rw-r--r--src/devices/pic/xml_data/30F6013.xml76
-rw-r--r--src/devices/pic/xml_data/30F6013A.xml112
-rw-r--r--src/devices/pic/xml_data/30F6014.xml76
-rw-r--r--src/devices/pic/xml_data/30F6014A.xml112
-rw-r--r--src/devices/pic/xml_data/30F6015.xml124
-rw-r--r--src/devices/pic/xml_data/pic.xsd12
-rw-r--r--src/devices/pic/xml_data/registers/registers.xml306
456 files changed, 15421 insertions, 15421 deletions
diff --git a/src/devices/gui/device_group_ui.h b/src/devices/gui/device_group_ui.h
index d123d7d..7b76186 100644
--- a/src/devices/gui/device_group_ui.h
+++ b/src/devices/gui/device_group_ui.h
@@ -31,11 +31,11 @@ class MemoryEditor;
class GroupUI : public ::Group::BaseGui
{
public:
- virtual HexView *createHexView(const HexEditor &editor, TQWidget *tqparent) const = 0;
- virtual Register::View *createRegisterView(TQWidget *tqparent) const = 0;
- virtual MemoryEditor *createConfigEditor(Device::Memory &memory, TQWidget *tqparent) const = 0;
+ virtual HexView *createHexView(const HexEditor &editor, TQWidget *parent) const = 0;
+ virtual Register::View *createRegisterView(TQWidget *parent) const = 0;
+ virtual MemoryEditor *createConfigEditor(Device::Memory &memory, TQWidget *parent) const = 0;
virtual void fillWatchListContainer(ListContainer *container, TQValueVector<Register::TypeData> &ids) const = 0;
- virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *tqparent) const = 0;
+ virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *parent) const = 0;
};
inline const Device::GroupUI &groupui(const Device::Data &data) { return static_cast<const Device::GroupUI &>(*data.group().gui()); }
diff --git a/src/devices/gui/hex_view.cpp b/src/devices/gui/hex_view.cpp
index ac82ddf..4a6319f 100644
--- a/src/devices/gui/hex_view.cpp
+++ b/src/devices/gui/hex_view.cpp
@@ -9,8 +9,8 @@
***************************************************************************/
#include "hex_view.h"
-Device::HexView::HexView(const HexEditor &editor, TQWidget *tqparent, const char *name)
- : MemoryEditorGroup(0, tqparent, name), _editor(editor)
+Device::HexView::HexView(const HexEditor &editor, TQWidget *parent, const char *name)
+ : MemoryEditorGroup(0, parent, name), _editor(editor)
{}
void Device::HexView::display(Memory *memory)
diff --git a/src/devices/gui/hex_view.h b/src/devices/gui/hex_view.h
index f1b953b..4aadc90 100644
--- a/src/devices/gui/hex_view.h
+++ b/src/devices/gui/hex_view.h
@@ -21,7 +21,7 @@ class HexView : public MemoryEditorGroup
Q_OBJECT
TQ_OBJECT
public:
- HexView(const HexEditor &editor, TQWidget *tqparent, const char *name);
+ HexView(const HexEditor &editor, TQWidget *parent, const char *name);
virtual void display(Memory *memory);
virtual uint nbChecksumChars() const = 0;
virtual BitValue checksum() const = 0;
diff --git a/src/devices/gui/hex_word_editor.cpp b/src/devices/gui/hex_word_editor.cpp
index 5e8ab7a..163217c 100644
--- a/src/devices/gui/hex_word_editor.cpp
+++ b/src/devices/gui/hex_word_editor.cpp
@@ -16,8 +16,8 @@
#include <tqtimer.h>
//-----------------------------------------------------------------------------
-Device::HexWordEditor::HexWordEditor(Memory &memory, uint nbChars, TQWidget *tqparent)
- : GenericHexWordEditor(nbChars, true, tqparent), _memory(memory)
+Device::HexWordEditor::HexWordEditor(Memory &memory, uint nbChars, TQWidget *parent)
+ : GenericHexWordEditor(nbChars, true, parent), _memory(memory)
{
setOffset(-1);
}
@@ -29,8 +29,8 @@ void Device::HexWordEditor::setOffset(int offset)
}
//-----------------------------------------------------------------------------
-Device::RegisterHexWordEditor::RegisterHexWordEditor(TQWidget *tqparent, uint nbChars, BitValue tqmask)
- : GenericHexWordEditor(nbChars, true, tqparent), _tqmask(tqmask)
+Device::RegisterHexWordEditor::RegisterHexWordEditor(TQWidget *parent, uint nbChars, BitValue mask)
+ : GenericHexWordEditor(nbChars, true, parent), _mask(mask)
{
clear();
}
diff --git a/src/devices/gui/hex_word_editor.h b/src/devices/gui/hex_word_editor.h
index 8744d03..94b520c 100644
--- a/src/devices/gui/hex_word_editor.h
+++ b/src/devices/gui/hex_word_editor.h
@@ -21,7 +21,7 @@ class HexWordEditor : public GenericHexWordEditor
Q_OBJECT
TQ_OBJECT
public:
- HexWordEditor(Memory &memory, uint nbChars, TQWidget *tqparent);
+ HexWordEditor(Memory &memory, uint nbChars, TQWidget *parent);
void setOffset(int offset);
int offset() const { return _offset; }
@@ -30,7 +30,7 @@ protected:
int _offset;
virtual bool isValid() const { return _offset!=-1; }
- virtual BitValue tqmask() const = 0;
+ virtual BitValue mask() const = 0;
virtual BitValue normalizeWord(BitValue value) const = 0;
virtual BitValue word() const = 0;
virtual void setWord(BitValue value) = 0;
@@ -43,7 +43,7 @@ class RegisterHexWordEditor : public GenericHexWordEditor
Q_OBJECT
TQ_OBJECT
public:
- RegisterHexWordEditor(TQWidget *tqparent, uint nbChars, BitValue tqmask);
+ RegisterHexWordEditor(TQWidget *parent, uint nbChars, BitValue mask);
void clear() { setValue(BitValue()); }
void setValue(BitValue word);
BitValue value() const { return _word; }
@@ -51,11 +51,11 @@ public:
void unsetColor() { unsetPalette(); }
private:
- BitValue _tqmask, _word;
+ BitValue _mask, _word;
virtual bool isValid() const { return true; }
- virtual BitValue tqmask() const { return _tqmask; }
- virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(_tqmask); }
+ virtual BitValue mask() const { return _mask; }
+ virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(_mask); }
virtual BitValue word() const { return _word; }
virtual void setWord(BitValue value) { _word = value; }
virtual BitValue blankValue() const { return BitValue(); }
diff --git a/src/devices/gui/memory_editor.cpp b/src/devices/gui/memory_editor.cpp
index 6679a57..bee291e 100644
--- a/src/devices/gui/memory_editor.cpp
+++ b/src/devices/gui/memory_editor.cpp
@@ -28,8 +28,8 @@
#include "libgui/gui_prog_manager.h"
//-----------------------------------------------------------------------------
-Device::MemoryEditor::MemoryEditor(Device::Memory *memory, TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name), _memory(memory)
+Device::MemoryEditor::MemoryEditor(Device::Memory *memory, TQWidget *parent, const char *name)
+ : TQFrame(parent, name), _memory(memory)
{
_top = new TQVBoxLayout(this, 5, 10);
}
@@ -37,8 +37,8 @@ Device::MemoryEditor::MemoryEditor(Device::Memory *memory, TQWidget *tqparent, c
//-----------------------------------------------------------------------------
Device::MemoryRangeEditor::MemoryRangeEditor(Device::Memory &memory,
uint nbLines, uint nbCols, uint offset, int nb,
- TQWidget *tqparent, const char *name)
- : MemoryEditor(&memory, tqparent, name),
+ TQWidget *parent, const char *name)
+ : MemoryEditor(&memory, parent, name),
_nbLines(nbLines), _nbCols(nbCols), _offset(offset), _nb(nb)
{}
@@ -248,8 +248,8 @@ void Device::MemoryRangeEditor::movePrevPage()
}
//-----------------------------------------------------------------------------
-Device::MemoryEditorGroup::MemoryEditorGroup(Device::Memory *memory, TQWidget *tqparent, const char *name)
- : MemoryEditor(memory, tqparent, name)
+Device::MemoryEditorGroup::MemoryEditorGroup(Device::Memory *memory, TQWidget *parent, const char *name)
+ : MemoryEditor(memory, parent, name)
{}
void Device::MemoryEditorGroup::addEditor(MemoryEditor *editor)
@@ -284,8 +284,8 @@ const Device::ActionData Device::ACTION_DATA[Nb_Actions] = {
};
Device::MemoryTypeEditor::MemoryTypeEditor(const HexView *hexview, Device::Memory &memory,
- TQWidget *tqparent, const char *name)
- : MemoryEditorGroup(&memory, tqparent, name),
+ TQWidget *parent, const char *name)
+ : MemoryEditorGroup(&memory, parent, name),
_title(0), _comment(0), _hexview(hexview)
{
for (uint i=0; i<Nb_Actions; i++) _actions[i] = 0;
diff --git a/src/devices/gui/memory_editor.h b/src/devices/gui/memory_editor.h
index 2ef60d8..ac8bfdc 100644
--- a/src/devices/gui/memory_editor.h
+++ b/src/devices/gui/memory_editor.h
@@ -44,7 +44,7 @@ class MemoryEditor : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- MemoryEditor(Device::Memory *memory, TQWidget *tqparent, const char *name);
+ MemoryEditor(Device::Memory *memory, TQWidget *parent, const char *name);
virtual void setReadOnly(bool readOnly) = 0;
public slots:
@@ -65,7 +65,7 @@ Q_OBJECT
TQ_OBJECT
public:
MemoryRangeEditor(Device::Memory &memory, uint nbLines, uint nbCols,
- uint offset, int nb, TQWidget *tqparent, const char *name);
+ uint offset, int nb, TQWidget *parent, const char *name);
virtual void init();
virtual void setReadOnly(bool readOnly);
void setComment(const TQString &text);
@@ -101,7 +101,7 @@ protected:
virtual uint nbWords() const = 0;
virtual uint addressIncrement() const = 0;
virtual Address startAddress() const = 0;
- virtual HexWordEditor *createHexWordEditor(TQWidget *tqparent) = 0;
+ virtual HexWordEditor *createHexWordEditor(TQWidget *parent) = 0;
virtual bool isRangeReadOnly() const = 0;
virtual void updateAddressColor(uint i, Address address) { Q_UNUSED(i); Q_UNUSED(address); }
virtual void addLegend(TQVBoxLayout *vbox) { Q_UNUSED(vbox); }
@@ -113,7 +113,7 @@ class MemoryEditorGroup : public MemoryEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryEditorGroup(Device::Memory *memory, TQWidget *tqparent, const char *name);
+ MemoryEditorGroup(Device::Memory *memory, TQWidget *parent, const char *name);
void addEditor(MemoryEditor *editor);
virtual void setReadOnly(bool readOnly);
@@ -131,7 +131,7 @@ class MemoryTypeEditor : public MemoryEditorGroup
Q_OBJECT
TQ_OBJECT
public:
- MemoryTypeEditor(const HexView *hexview, Device::Memory &memory, TQWidget *tqparent, const char *name);
+ MemoryTypeEditor(const HexView *hexview, Device::Memory &memory, TQWidget *parent, const char *name);
virtual void init(bool first);
virtual void setReadOnly(bool readOnly);
diff --git a/src/devices/gui/register_view.cpp b/src/devices/gui/register_view.cpp
index c1fa3a6..264a04b 100644
--- a/src/devices/gui/register_view.cpp
+++ b/src/devices/gui/register_view.cpp
@@ -12,8 +12,8 @@
#include "libgui/gui_debug_manager.h"
//----------------------------------------------------------------------------
-Register::PortBitListViewItem::PortBitListViewItem(uint index, uint bit, KListViewItem *tqparent)
- : KListViewItem(tqparent), _index(index), _bit(bit)
+Register::PortBitListViewItem::PortBitListViewItem(uint index, uint bit, KListViewItem *parent)
+ : KListViewItem(parent), _index(index), _bit(bit)
{
const Device::RegistersData *rdata = Main::deviceData()->registersData();
setText(1, rdata->portBitName(_index, _bit));
@@ -75,8 +75,8 @@ TQString Register::PortBitListViewItem::tooltip(int col) const
}
//-----------------------------------------------------------------------------
-Register::ListViewItem::ListViewItem(const TypeData &data, KListViewItem *tqparent)
- : EditListViewItem(tqparent), _data(data), _base(NumberBase::Hex)
+Register::ListViewItem::ListViewItem(const TypeData &data, KListViewItem *parent)
+ : EditListViewItem(parent), _data(data), _base(NumberBase::Hex)
{
setSelectable(false);
const Device::RegistersData *rdata = Main::deviceData()->registersData();
@@ -164,8 +164,8 @@ void Register::ListViewItem::editDone(int col, const TQWidget *edit)
}
//----------------------------------------------------------------------------
-Register::LineEdit::LineEdit(TQWidget *tqparent, const char *name)
- : NumberLineEdit(tqparent, name), _base(NumberBase::Nb_Types)
+Register::LineEdit::LineEdit(TQWidget *parent, const char *name)
+ : NumberLineEdit(parent, name), _base(NumberBase::Nb_Types)
{
connect(this, TQT_SIGNAL(lostFocus()), TQT_SLOT(updateText()));
connect(this, TQT_SIGNAL(returnPressed()), TQT_SLOT(returnPressedSlot()));
@@ -203,6 +203,6 @@ void Register::LineEdit::keyPressEvent(TQKeyEvent *e)
}
//----------------------------------------------------------------------------
-Register::View::View(TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name), GenericView(list())
+Register::View::View(TQWidget *parent, const char *name)
+ : TQFrame(parent, name), GenericView(list())
{}
diff --git a/src/devices/gui/register_view.h b/src/devices/gui/register_view.h
index 60c8194..9459a8d 100644
--- a/src/devices/gui/register_view.h
+++ b/src/devices/gui/register_view.h
@@ -23,7 +23,7 @@ enum { PortBitRtti = 1000, RegisterRtti = 1001 };
class PortBitListViewItem : public KListViewItem
{
public:
- PortBitListViewItem(uint address, uint bit, KListViewItem *tqparent);
+ PortBitListViewItem(uint address, uint bit, KListViewItem *parent);
virtual int rtti() const { return PortBitRtti; }
void updateView();
TQString tooltip(int column) const;
@@ -68,7 +68,7 @@ class LineEdit : public NumberLineEdit
Q_OBJECT
TQ_OBJECT
public:
- LineEdit(TQWidget *tqparent, const char *name = 0);
+ LineEdit(TQWidget *parent, const char *name = 0);
void setValue(NumberBase base, BitValue value, uint nbChars);
BitValue value() const { return _value; }
@@ -94,7 +94,7 @@ class View : public TQFrame, public GenericView
Q_OBJECT
TQ_OBJECT
public:
- View(TQWidget *tqparent, const char *name);
+ View(TQWidget *parent, const char *name);
signals:
void readSignal(uint address);
diff --git a/src/devices/mem24/gui/mem24_group_ui.cpp b/src/devices/mem24/gui/mem24_group_ui.cpp
index 8a8bb5a..3cdf9e0 100644
--- a/src/devices/mem24/gui/mem24_group_ui.cpp
+++ b/src/devices/mem24/gui/mem24_group_ui.cpp
@@ -10,7 +10,7 @@
#include "mem24_hex_view.h"
-Device::HexView *Mem24::GroupUI::createHexView(const HexEditor &editor, TQWidget *tqparent) const
+Device::HexView *Mem24::GroupUI::createHexView(const HexEditor &editor, TQWidget *parent) const
{
- return new HexView(editor, tqparent);
+ return new HexView(editor, parent);
}
diff --git a/src/devices/mem24/gui/mem24_group_ui.h b/src/devices/mem24/gui/mem24_group_ui.h
index c2b3360..7f1f4c8 100644
--- a/src/devices/mem24/gui/mem24_group_ui.h
+++ b/src/devices/mem24/gui/mem24_group_ui.h
@@ -16,7 +16,7 @@ namespace Mem24
class GroupUI : public Device::GroupUI
{
public:
- virtual Device::HexView *createHexView(const HexEditor &editor, TQWidget *tqparent) const;
+ virtual Device::HexView *createHexView(const HexEditor &editor, TQWidget *parent) const;
virtual Register::View *createRegisterView(TQWidget *) const { return 0; }
virtual Device::MemoryEditor *createConfigEditor(Device::Memory &, TQWidget *) const { return 0; }
virtual void fillWatchListContainer(ListContainer *, TQValueVector<Register::TypeData> &) const {}
diff --git a/src/devices/mem24/gui/mem24_hex_view.cpp b/src/devices/mem24/gui/mem24_hex_view.cpp
index 7c30e9f..349e2fc 100644
--- a/src/devices/mem24/gui/mem24_hex_view.cpp
+++ b/src/devices/mem24/gui/mem24_hex_view.cpp
@@ -14,8 +14,8 @@
#include "mem24_memory_editor.h"
-Mem24::HexView::HexView(const HexEditor &editor, TQWidget *tqparent)
- : Device::HexView(editor, tqparent, "mem24_hex_view")
+Mem24::HexView::HexView(const HexEditor &editor, TQWidget *parent)
+ : Device::HexView(editor, parent, "mem24_hex_view")
{}
void Mem24::HexView::display()
diff --git a/src/devices/mem24/gui/mem24_hex_view.h b/src/devices/mem24/gui/mem24_hex_view.h
index 199865a..6de6ca0 100644
--- a/src/devices/mem24/gui/mem24_hex_view.h
+++ b/src/devices/mem24/gui/mem24_hex_view.h
@@ -21,7 +21,7 @@ class HexView : public Device::HexView
Q_OBJECT
TQ_OBJECT
public:
- HexView(const HexEditor &editor, TQWidget *tqparent);
+ HexView(const HexEditor &editor, TQWidget *parent);
virtual uint nbChecksumChars() const { return 4; }
virtual BitValue checksum() const;
diff --git a/src/devices/mem24/gui/mem24_memory_editor.cpp b/src/devices/mem24/gui/mem24_memory_editor.cpp
index a5203b9..c395b17 100644
--- a/src/devices/mem24/gui/mem24_memory_editor.cpp
+++ b/src/devices/mem24/gui/mem24_memory_editor.cpp
@@ -19,19 +19,19 @@
#include "devices/base/device_group.h"
//-----------------------------------------------------------------------------
-Mem24::MemoryRangeEditor::MemoryRangeEditor(Memory &memory, TQWidget *tqparent)
- : Device::MemoryRangeEditor(memory, 16, 16, 0, -1, tqparent, "mem24_memory_range_editor"),
+Mem24::MemoryRangeEditor::MemoryRangeEditor(Memory &memory, TQWidget *parent)
+ : Device::MemoryRangeEditor(memory, 16, 16, 0, -1, parent, "mem24_memory_range_editor"),
MemoryCaster(memory)
{}
-Device::HexWordEditor *Mem24::MemoryRangeEditor::createHexWordEditor(TQWidget *tqparent)
+Device::HexWordEditor *Mem24::MemoryRangeEditor::createHexWordEditor(TQWidget *parent)
{
- return new HexWordEditor(memory(), tqparent);
+ return new HexWordEditor(memory(), parent);
}
//-----------------------------------------------------------------------------
-Mem24::MemoryTypeEditor::MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent)
- : Device::MemoryTypeEditor(hexview, memory, tqparent, "mem24_memory_type_editor"),
+Mem24::MemoryTypeEditor::MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *parent)
+ : Device::MemoryTypeEditor(hexview, memory, parent, "mem24_memory_type_editor"),
MemoryCaster(memory)
{}
diff --git a/src/devices/mem24/gui/mem24_memory_editor.h b/src/devices/mem24/gui/mem24_memory_editor.h
index 657810a..47916a4 100644
--- a/src/devices/mem24/gui/mem24_memory_editor.h
+++ b/src/devices/mem24/gui/mem24_memory_editor.h
@@ -36,11 +36,11 @@ class HexWordEditor : public Device::HexWordEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- HexWordEditor(Memory &memory, TQWidget *tqparent)
- : Device::HexWordEditor(memory, 2, tqparent), MemoryCaster(memory) {}
+ HexWordEditor(Memory &memory, TQWidget *parent)
+ : Device::HexWordEditor(memory, 2, parent), MemoryCaster(memory) {}
private:
- virtual BitValue tqmask() const { return 0xFF; }
+ virtual BitValue mask() const { return 0xFF; }
virtual BitValue normalizeWord(BitValue value) const { return value; }
virtual BitValue word() const { return memory().byte(_offset); }
virtual void setWord(BitValue value) { memory().setByte(_offset, value); }
@@ -52,13 +52,13 @@ class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- MemoryRangeEditor(Memory &memory, TQWidget *tqparent);
+ MemoryRangeEditor(Memory &memory, TQWidget *parent);
private:
virtual uint nbWords() const { return device().nbBytes(); }
virtual uint addressIncrement() const { return 1; }
virtual Address startAddress() const { return 0x0; }
- virtual Device::HexWordEditor *createHexWordEditor(TQWidget *tqparent);
+ virtual Device::HexWordEditor *createHexWordEditor(TQWidget *parent);
virtual bool isRangeReadOnly() const { return false; }
};
@@ -68,7 +68,7 @@ class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent);
+ MemoryTypeEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
virtual void init(bool first);
private:
diff --git a/src/devices/mem24/mem24/mem24_memory.cpp b/src/devices/mem24/mem24/mem24_memory.cpp
index a29cee7..f3ce758 100644
--- a/src/devices/mem24/mem24/mem24_memory.cpp
+++ b/src/devices/mem24/mem24/mem24_memory.cpp
@@ -76,17 +76,17 @@ HexBuffer Mem24::Memory::toHexBuffer() const
void Mem24::Memory::fromHexBuffer(const HexBuffer &hb, WarningTypes &result,
TQStringList &warnings, TQMap<uint, bool> &inRange)
{
- BitValue tqmask = 0xFF;
+ BitValue mask = 0xFF;
for (uint k=0; k<device().nbBytes(); k++) {
_data[k] = hb[k];
if ( _data[k].isInitialized() ) {
inRange[k] = true;
- if ( !(result & ValueTooLarge) && !_data[k].isInside(tqmask) ) {
+ if ( !(result & ValueTooLarge) && !_data[k].isInside(mask) ) {
result |= ValueTooLarge;
- warnings += i18n("At least one word (at offset %1) is larger (%2) than the corresponding tqmask (%3).")
- .tqarg(toHexLabel(k, 8)).tqarg(toHexLabel(_data[k], 8)).tqarg(toHexLabel(tqmask, 8));
+ warnings += i18n("At least one word (at offset %1) is larger (%2) than the corresponding mask (%3).")
+ .tqarg(toHexLabel(k, 8)).tqarg(toHexLabel(_data[k], 8)).tqarg(toHexLabel(mask, 8));
}
- _data[k] = _data[k].maskWith(tqmask);
+ _data[k] = _data[k].maskWith(mask);
}
}
}
diff --git a/src/devices/pic/base/pic.cpp b/src/devices/pic/base/pic.cpp
index e9df77e..94267e2 100644
--- a/src/devices/pic/base/pic.cpp
+++ b/src/devices/pic/base/pic.cpp
@@ -235,7 +235,7 @@ bool Pic::Data::checkCalibration(const Device::Array &data, TQString *message) c
Q_ASSERT( nbWords(MemoryRangeType::Cal)==data.count() );
for (uint i=0; i<data.count(); i++) {
TQString address = toHexLabel(range(MemoryRangeType::Cal).start + i*addressIncrement(MemoryRangeType::Cal), nbCharsAddress());
- if ( data[i]==tqmask(MemoryRangeType::Cal) ) {
+ if ( data[i]==mask(MemoryRangeType::Cal) ) {
if (message) *message = i18n("Calibration word at address %1 is blank.").tqarg(address);
return false;
}
diff --git a/src/devices/pic/base/pic.h b/src/devices/pic/base/pic.h
index 17fb96a..4005bae 100644
--- a/src/devices/pic/base/pic.h
+++ b/src/devices/pic/base/pic.h
@@ -121,7 +121,7 @@ public:
uint nbBitsWord(MemoryRangeType type) const { return _architecture.data().nbBits[type.type()]; }
uint nbBytesWord(MemoryRangeType type) const { return nbBitsToNbBytes(nbBitsWord(type)); }
uint nbCharsWord(MemoryRangeType type) const { return nbBitsToNbChars(nbBitsWord(type)); }
- BitValue tqmask(MemoryRangeType type) const { return uint(1 << nbBitsWord(type))-1; }
+ BitValue mask(MemoryRangeType type) const { return uint(1 << nbBitsWord(type))-1; }
BitValue userIdRecommendedMask() const { return _userIdRecommendedMask; }
const Config &config() const { return *_config; }
Architecture architecture() const { return _architecture; }
diff --git a/src/devices/pic/base/pic_config.cpp b/src/devices/pic/base/pic_config.cpp
index ac472e9..39c865f 100644
--- a/src/devices/pic/base/pic_config.cpp
+++ b/src/devices/pic/base/pic_config.cpp
@@ -218,8 +218,8 @@ const Pic::Config::Data Pic::Config::DATA[] = {
{ "20BIT", I18N_NOOP("20-bit external bus") }, { 0, 0 } } },
{ { "EASHFT", I18N_NOOP("External address bus shift") }, Toggle, { { 0, 0 } } },
{ { "MSSPSEL", I18N_NOOP("MSSP address select bit") }, Fixed, {
- { "7BIT", I18N_NOOP("7-bit address tqmask mode") },
- { "5BIT", I18N_NOOP("5-bit address tqmask mode") }, { 0, 0 } } },
+ { "7BIT", I18N_NOOP("7-bit address mask mode") },
+ { "5BIT", I18N_NOOP("5-bit address mask mode") }, { 0, 0 } } },
{ { "PMPMX", I18N_NOOP("PMP pin select bit") }, Fixed, {
{ "Connected", I18N_NOOP("Connected to EMB") },
{ "NotConnected", I18N_NOOP("Not connected to EMB") }, { 0, 0 } } },
@@ -285,35 +285,35 @@ TQMap<TQString, Pic::Config::MapData> &Pic::Config::masks()
{
if ( _masks==0 ) {
_masks = new TQMap<TQString, MapData>;
- for (uint i=0; DATA[i].tqmask.name; i++) {
- (*_masks)[DATA[i].tqmask.name] = MapData(i, -1);
+ for (uint i=0; DATA[i].mask.name; i++) {
+ (*_masks)[DATA[i].mask.name] = MapData(i, -1);
if ( DATA[i].type==MemoryRange ) {
for (uint k=0; k<Protection::MAX_NB_BLOCKS; k++)
- (*_masks)[TQString("%1_%2").tqarg(DATA[i].tqmask.name).tqarg(k)] = MapData(i, k);
+ (*_masks)[TQString("%1_%2").tqarg(DATA[i].mask.name).tqarg(k)] = MapData(i, k);
}
}
}
return *_masks;
}
-bool Pic::Config::hasMaskName(const TQString &tqmask)
+bool Pic::Config::hasMaskName(const TQString &mask)
{
- return masks().contains(tqmask);
+ return masks().contains(mask);
}
-TQString Pic::Config::maskLabel(const TQString &tqmask)
+TQString Pic::Config::maskLabel(const TQString &mask)
{
- const MapData &mp = masks()[tqmask];
- TQString s = i18n(DATA[mp.index].tqmask.label);
+ const MapData &mp = masks()[mask];
+ TQString s = i18n(DATA[mp.index].mask.label);
if ( mp.block>=0 ) return i18n("%1 for block %2").tqarg(s).tqarg(mp.block);
return s;
}
-const Pic::Config::Mask *Pic::Config::findMask(const TQString &tqmask, uint *wordIndex) const
+const Pic::Config::Mask *Pic::Config::findMask(const TQString &mask, uint *wordIndex) const
{
for (uint i=0; i<uint(_words.count()); i++)
for (uint k=0; k<uint(_words[i].masks.count()); k++) {
- if ( _words[i].masks[k].name==tqmask ) {
+ if ( _words[i].masks[k].name==mask ) {
if (wordIndex) *wordIndex = i;
return &_words[i].masks[k];
}
@@ -321,18 +321,18 @@ const Pic::Config::Mask *Pic::Config::findMask(const TQString &tqmask, uint *wor
return 0;
}
-const Pic::Config::Value *Pic::Config::findValue(const TQString &tqmask, const TQString &value) const
+const Pic::Config::Value *Pic::Config::findValue(const TQString &mask, const TQString &value) const
{
- const Mask *ctqmask = findMask(tqmask);
- if ( ctqmask==0 ) return 0;
- for (uint i=0; i<uint(ctqmask->values.count()); i++)
- if ( ctqmask->values[i].name==value ) return &ctqmask->values[i];
+ const Mask *cmask = findMask(mask);
+ if ( cmask==0 ) return 0;
+ for (uint i=0; i<uint(cmask->values.count()); i++)
+ if ( cmask->values[i].name==value ) return &cmask->values[i];
return 0;
}
-bool Pic::Config::checkValueName(const TQString &tqmask, const TQString &name) const
+bool Pic::Config::checkValueName(const TQString &mask, const TQString &name) const
{
- const Data &data = DATA[masks()[tqmask].index];
+ const Data &data = DATA[masks()[mask].index];
TQString pinRegexp = "[A-Z]+\\d*(/[A-Z]+\\d*)?";
switch (data.type) {
case Fixed: break;
@@ -359,7 +359,7 @@ bool Pic::Config::checkValueName(const TQString &tqmask, const TQString &name) c
break;
}
case MemoryRange:
- return _protection.checkRange(tqmask, name);
+ return _protection.checkRange(mask, name);
case Toggle:
if ( name=="On" || name=="Off" ) return true;
break;
@@ -379,9 +379,9 @@ bool Pic::Config::checkValueName(const TQString &tqmask, const TQString &name) c
return false;
}
-TQString Pic::Config::valueLabel(const TQString &tqmask, const TQString &name)
+TQString Pic::Config::valueLabel(const TQString &mask, const TQString &name)
{
- const Data &data = DATA[masks()[tqmask].index];
+ const Data &data = DATA[masks()[mask].index];
switch (data.type) {
case Fixed:
case ValueDouble:
@@ -405,9 +405,9 @@ TQString Pic::Config::valueLabel(const TQString &tqmask, const TQString &name)
BitValue Pic::Config::Word::usedMask() const
{
- BitValue tqmask = 0x0;
- for (uint i=0; i<uint(masks.count()); i++) tqmask |= masks[i].value;
- return tqmask;
+ BitValue mask = 0x0;
+ for (uint i=0; i<uint(masks.count()); i++) mask |= masks[i].value;
+ return mask;
}
//-----------------------------------------------------------------------------
@@ -422,25 +422,25 @@ TQDataStream &Pic::operator >>(TQDataStream &s, Config::Value &value)
return s;
}
-TQDataStream &Pic::operator <<(TQDataStream &s, const Config::Mask &tqmask)
+TQDataStream &Pic::operator <<(TQDataStream &s, const Config::Mask &mask)
{
- s << tqmask.name << tqmask.value << tqmask.values;
+ s << mask.name << mask.value << mask.values;
return s;
}
-TQDataStream &Pic::operator >>(TQDataStream &s, Config::Mask &tqmask)
+TQDataStream &Pic::operator >>(TQDataStream &s, Config::Mask &mask)
{
- s >> tqmask.name >> tqmask.value >> tqmask.values;
+ s >> mask.name >> mask.value >> mask.values;
return s;
}
TQDataStream &Pic::operator <<(TQDataStream &s, const Config::Word &word)
{
- s << word.name << word.ignoredCNames << word.wtqmask << word.ptqmask << word.ctqmask << word.bvalue << word.masks;
+ s << word.name << word.ignoredCNames << word.wmask << word.pmask << word.cmask << word.bvalue << word.masks;
return s;
}
TQDataStream &Pic::operator >>(TQDataStream &s, Config::Word &word)
{
- s >> word.name >> word.ignoredCNames >> word.wtqmask >> word.ptqmask >> word.ctqmask >> word.bvalue >> word.masks;
+ s >> word.name >> word.ignoredCNames >> word.wmask >> word.pmask >> word.cmask >> word.bvalue >> word.masks;
return s;
}
diff --git a/src/devices/pic/base/pic_config.h b/src/devices/pic/base/pic_config.h
index 6e13210..77a5be8 100644
--- a/src/devices/pic/base/pic_config.h
+++ b/src/devices/pic/base/pic_config.h
@@ -48,7 +48,7 @@ public:
public:
TQString name;
TQStringList ignoredCNames;
- BitValue wtqmask, ptqmask, ctqmask; // write, protected, and checksum bits masks
+ BitValue wmask, pmask, cmask; // write, protected, and checksum bits masks
BitValue bvalue; // blank value
TQValueVector<Mask> masks; // ordered from lower to higher
BitValue usedMask() const;
@@ -59,12 +59,12 @@ public:
TQValueVector<Word> _words;
const Protection &protection() const { return _protection; }
- const Value *findValue(const TQString &tqmask, const TQString &value) const;
- const Mask *findMask(const TQString &tqmask, uint *wordIndex = 0) const;
- static bool hasMaskName(const TQString &tqmask);
- static TQString maskLabel(const TQString &tqmask);
- bool checkValueName(const TQString &tqmask, const TQString &name) const;
- static TQString valueLabel(const TQString &tqmask, const TQString &name);
+ const Value *findValue(const TQString &mask, const TQString &value) const;
+ const Mask *findMask(const TQString &mask, uint *wordIndex = 0) const;
+ static bool hasMaskName(const TQString &mask);
+ static TQString maskLabel(const TQString &mask);
+ bool checkValueName(const TQString &mask, const TQString &name) const;
+ static TQString valueLabel(const TQString &mask, const TQString &name);
private:
class MapData {
@@ -74,7 +74,7 @@ private:
int index, block;
};
static TQMap<TQString, MapData> &masks();
- static TQMap<TQString, MapData> *_masks; // tqmask name -> index in DATA
+ static TQMap<TQString, MapData> *_masks; // mask name -> index in DATA
struct NameData {
const char *name, *label;
@@ -82,7 +82,7 @@ private:
enum Type { Fixed, ValueDouble, ValueUInt, Ratio, MemoryRange, Toggle, Pin, Pins };
class Data {
public:
- const NameData tqmask;
+ const NameData mask;
Type type;
const NameData values[50];
};
@@ -95,8 +95,8 @@ private:
TQDataStream &operator <<(TQDataStream &s, const Config::Value &value);
TQDataStream &operator >>(TQDataStream &s, Config::Value &value);
-TQDataStream &operator <<(TQDataStream &s, const Config::Mask &tqmask);
-TQDataStream &operator >>(TQDataStream &s, Config::Mask &tqmask);
+TQDataStream &operator <<(TQDataStream &s, const Config::Mask &mask);
+TQDataStream &operator >>(TQDataStream &s, Config::Mask &mask);
TQDataStream &operator <<(TQDataStream &s, const Config::Word &word);
TQDataStream &operator >>(TQDataStream &s, Config::Word &word);
TQDataStream &operator <<(TQDataStream &s, const Config &config);
diff --git a/src/devices/pic/base/pic_protection.cpp b/src/devices/pic/base/pic_protection.cpp
index 4c08c45..d91f1f7 100644
--- a/src/devices/pic/base/pic_protection.cpp
+++ b/src/devices/pic/base/pic_protection.cpp
@@ -29,9 +29,9 @@ bool Pic::Protection::isAllProtectedValueName(const TQString &name) const
Pic::Protection::Family Pic::Protection::family() const
{
if ( _config.findMask("WRTBS") ) return CodeGuard;
- TQString tqmask = maskName(ProgramProtected, MemoryRangeType::Code);
- if ( _config.findMask(TQString("%1_%2").tqarg(tqmask).tqarg(0)) ) return BlockProtection;
- if ( _config.findMask(tqmask) ) return BasicProtection;
+ TQString mask = maskName(ProgramProtected, MemoryRangeType::Code);
+ if ( _config.findMask(TQString("%1_%2").tqarg(mask).tqarg(0)) ) return BlockProtection;
+ if ( _config.findMask(mask) ) return BasicProtection;
return NoProtection;
}
@@ -165,11 +165,11 @@ AddressRangeVector Pic::Protection::extractRanges(const TQString &name, MemoryRa
return rv;
}
-bool Pic::Protection::checkRange(const TQString &tqmask, const TQString &name) const
+bool Pic::Protection::checkRange(const TQString &mask, const TQString &name) const
{
if ( family()!=CodeGuard ) {
bool ok;
- (void)extractRange(tqmask, name, ok);
+ (void)extractRange(mask, name, ok);
return ok;
}
@@ -181,7 +181,7 @@ bool Pic::Protection::checkRange(const TQString &tqmask, const TQString &name) c
block = i - 1;
for (uint k=0; k<Nb_Types; k++) {
TQString mname = (isBootBlock ? bootMaskName(Type(k)) : blockMaskName(Type(k), block));
- if ( tqmask!=mname ) continue;
+ if ( mask!=mname ) continue;
ptype = Type(k);
break;
}
@@ -195,15 +195,15 @@ bool Pic::Protection::checkRange(const TQString &tqmask, const TQString &name) c
return true;
}
-Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &tqmask, const TQString &name, bool &ok) const
+Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &mask, const TQString &name, bool &ok) const
{
Q_ASSERT( family()!=CodeGuard );
- //qDebug("extract range %s %s", tqmask.latin1(), name.latin1());
+ //qDebug("extract range %s %s", mask.latin1(), name.latin1());
ProtectedRange pr;
ok = false;
TQRegExp rexp("([A-Z]+)(?:_([0-9])|)");
- if ( !rexp.exactMatch(tqmask) ) {
+ if ( !rexp.exactMatch(mask) ) {
qDebug("Malformed block range");
return pr;
}
@@ -239,24 +239,24 @@ Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &tq
return pr;
}
- const Config::Mask *btqmask = _config.findMask(bootMaskName(ptype));
- const Config::Mask *bstqmask = _config.findMask(bootSizeMaskName());
+ const Config::Mask *bmask = _config.findMask(bootMaskName(ptype));
+ const Config::Mask *bsmask = _config.findMask(bootSizeMaskName());
const MemoryRangeData &rdata = _data.range(rtype);
if ( isAllProtectedValueName(name) ) {
- if ( rtype==MemoryRangeType::Code && !isBootBlock && btqmask ) {
+ if ( rtype==MemoryRangeType::Code && !isBootBlock && bmask ) {
qDebug("Protected range should be explicit with boot block");
return pr;
}
if (isBootBlock) {
- if ( bstqmask==0 ) {
+ if ( bsmask==0 ) {
qDebug("Protected range should be explicit when boot size not present");
return pr;
}
Address start = _data.range(MemoryRangeType::Code).start;
pr.starts.append(start);
- for (uint k=0; k<uint(bstqmask->values.count()); k++) {
+ for (uint k=0; k<uint(bsmask->values.count()); k++) {
bool ok1;
- uint size = bstqmask->values[k].name.toUInt(&ok1);
+ uint size = bsmask->values[k].name.toUInt(&ok1);
if ( !ok1 ) {
qDebug("Could not recognize boot size value");
return pr;
@@ -277,7 +277,7 @@ Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &tq
ok = true;
return pr;
}
- if ( isBootBlock && bstqmask ) {
+ if ( isBootBlock && bsmask ) {
qDebug("Protected range should not be explicit when boot size is present");
return pr;
}
@@ -294,7 +294,7 @@ Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &tq
qDebug("End is beyond memory range");
return pr;
}
- if ( (rtype!=MemoryRangeType::Code || isBootBlock) && (pr.starts.count()>1 || !rexp.cap(2).isEmpty() || btqmask==0) ) {
+ if ( (rtype!=MemoryRangeType::Code || isBootBlock) && (pr.starts.count()>1 || !rexp.cap(2).isEmpty() || bmask==0) ) {
qDebug("Only code with blocks and boot can have multiple protected ranges");
return pr;
}
@@ -306,14 +306,14 @@ Pic::Protection::ProtectedRange Pic::Protection::extractRange(const TQString &tq
// check with boot block
if ( pr.starts.count()>1 ) {
- if ( btqmask==0 ) {
- qDebug("No boot tqmask");
+ if ( bmask==0 ) {
+ qDebug("No boot mask");
return pr;
}
- for (uint i=0; i<uint(btqmask->values.count()); i++) {
- if ( btqmask->values[i].name=="Off" ) continue;
+ for (uint i=0; i<uint(bmask->values.count()); i++) {
+ if ( bmask->values[i].name=="Off" ) continue;
bool ok1;
- ProtectedRange bpr = extractRange(btqmask->name, btqmask->values[i].name, ok1);
+ ProtectedRange bpr = extractRange(bmask->name, bmask->values[i].name, ok1);
if ( !ok1 ) return pr;
if ( bpr.ends.count()!=pr.starts.count() ) {
qDebug("Boot number of ends (%i) should be the same as code number of starts (%i)", int(bpr.ends.count()), int(pr.starts.count()));
diff --git a/src/devices/pic/base/pic_protection.h b/src/devices/pic/base/pic_protection.h
index 86712f9..75d0032 100644
--- a/src/devices/pic/base/pic_protection.h
+++ b/src/devices/pic/base/pic_protection.h
@@ -37,7 +37,7 @@ public:
TQString blockMaskName(Type ptype, uint i) const;
TQString blockLabel(uint i) const;
AddressRangeVector extractRanges(const TQString &name, MemoryRangeType type) const;
- bool checkRange(const TQString &tqmask, const TQString &name) const;
+ bool checkRange(const TQString &mask, const TQString &name) const;
TQString maskName(Type type, MemoryRangeType mtype) const;
bool isAllProtectedValueName(const TQString &valueName) const;
bool isNoneProtectedValueName(const TQString &valueName) const;
@@ -52,7 +52,7 @@ private:
public:
TQValueVector<Address> starts, ends;
};
- ProtectedRange extractRange(const TQString &tqmask, const TQString &name, bool &ok) const;
+ ProtectedRange extractRange(const TQString &mask, const TQString &name, bool &ok) const;
};
} //namespace
diff --git a/src/devices/pic/gui/pic_config_editor.cpp b/src/devices/pic/gui/pic_config_editor.cpp
index 37917c7..4b70c3d 100644
--- a/src/devices/pic/gui/pic_config_editor.cpp
+++ b/src/devices/pic/gui/pic_config_editor.cpp
@@ -17,8 +17,8 @@
#include "common/gui/misc_gui.h"
//----------------------------------------------------------------------------
-Pic::MemoryConfigEditorWidget::MemoryConfigEditorWidget(Memory &memory, bool withWordEditor, TQWidget *tqparent)
- : Device::MemoryEditorGroup(&memory, tqparent, "pic_config_editor_widget"),
+Pic::MemoryConfigEditorWidget::MemoryConfigEditorWidget(Memory &memory, bool withWordEditor, TQWidget *parent)
+ : Device::MemoryEditorGroup(&memory, parent, "pic_config_editor_widget"),
MemoryCaster(MemoryRangeType::Config, memory)
{
TQHBoxLayout *hb = new TQHBoxLayout(_top);
@@ -55,8 +55,8 @@ Pic::MemoryConfigEditorWidget::MemoryConfigEditorWidget(Memory &memory, bool wit
}
//----------------------------------------------------------------------------
-Pic::MemoryConfigEditor::MemoryConfigEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent)
- : MemoryTypeEditor(hexview, MemoryRangeType::Config, memory, tqparent, "pic_config_editor")
+Pic::MemoryConfigEditor::MemoryConfigEditor(const HexView *hexview, Memory &memory, TQWidget *parent)
+ : MemoryTypeEditor(hexview, MemoryRangeType::Config, memory, parent, "pic_config_editor")
{}
void Pic::MemoryConfigEditor::init(bool first)
diff --git a/src/devices/pic/gui/pic_config_editor.h b/src/devices/pic/gui/pic_config_editor.h
index d8072ca..045ca4d 100644
--- a/src/devices/pic/gui/pic_config_editor.h
+++ b/src/devices/pic/gui/pic_config_editor.h
@@ -21,7 +21,7 @@ class MemoryConfigEditorWidget : public Device::MemoryEditorGroup, public Memory
Q_OBJECT
TQ_OBJECT
public:
- MemoryConfigEditorWidget(Memory &memory, bool withWordEditor, TQWidget *tqparent);
+ MemoryConfigEditorWidget(Memory &memory, bool withWordEditor, TQWidget *parent);
};
//----------------------------------------------------------------------------
@@ -30,7 +30,7 @@ class MemoryConfigEditor : public MemoryTypeEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryConfigEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent);
+ MemoryConfigEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
virtual void init(bool first);
};
diff --git a/src/devices/pic/gui/pic_config_word_editor.cpp b/src/devices/pic/gui/pic_config_word_editor.cpp
index 82b24b7..67c5cc9 100644
--- a/src/devices/pic/gui/pic_config_word_editor.cpp
+++ b/src/devices/pic/gui/pic_config_word_editor.cpp
@@ -18,8 +18,8 @@
#include "common/gui/misc_gui.h"
//----------------------------------------------------------------------------
-Pic::ConfigWordComboBox::ConfigWordComboBox(TQWidget *tqparent)
- : ComboBox(tqparent)
+Pic::ConfigWordComboBox::ConfigWordComboBox(TQWidget *parent)
+ : ComboBox(parent)
{
setIgnoreWheelEvent(true);
}
@@ -47,8 +47,8 @@ void Pic::ConfigWordComboBox::setInvalidItem(uint i, const TQString &label)
}
//----------------------------------------------------------------------------
-Pic::ConfigWordDialog::ConfigWordDialog(const Memory &memory, uint ci, TQWidget *tqparent)
- : Dialog(tqparent, "config_word_dialog", true, i18n("Config Word Details"), Close, Close, false)
+Pic::ConfigWordDialog::ConfigWordDialog(const Memory &memory, uint ci, TQWidget *parent)
+ : Dialog(parent, "config_word_dialog", true, i18n("Config Word Details"), Close, Close, false)
{
uint nbChars = memory.device().nbCharsWord(MemoryRangeType::Config);
const Config::Word &cword = memory.device().config()._words[ci];
@@ -87,24 +87,24 @@ Pic::ConfigWordDialog::ConfigWordDialog(const Memory &memory, uint ci, TQWidget
row++;
label = new TQLabel(i18n("Write Mask:"), mainWidget());
grid->addWidget(label, row, 0);
- label = new TQLabel(toHexLabel(cword.wtqmask, nbChars), mainWidget());
+ label = new TQLabel(toHexLabel(cword.wmask, nbChars), mainWidget());
grid->addWidget(label, row, 1);
row++;
label = new TQLabel(i18n("Protected Mask:"), mainWidget());
grid->addWidget(label, row, 0);
- label = new TQLabel(toHexLabel(cword.ptqmask, nbChars), mainWidget());
+ label = new TQLabel(toHexLabel(cword.pmask, nbChars), mainWidget());
grid->addWidget(label, row, 1);
row++;
label = new TQLabel(i18n("Checksum Mask:"), mainWidget());
grid->addWidget(label, row, 0);
- label = new TQLabel(toHexLabel(cword.ctqmask, nbChars), mainWidget());
+ label = new TQLabel(toHexLabel(cword.cmask, nbChars), mainWidget());
grid->addWidget(label, row, 1);
row++;
}
//----------------------------------------------------------------------------
-Pic::ConfigWordEditor::ConfigWordEditor(Memory &memory, uint ci, bool withWordEditor, TQWidget *tqparent)
- : MemoryEditor(MemoryRangeType::Config, memory, tqparent, "pic_config_word_editor"), _configIndex(ci)
+Pic::ConfigWordEditor::ConfigWordEditor(Memory &memory, uint ci, bool withWordEditor, TQWidget *parent)
+ : MemoryEditor(MemoryRangeType::Config, memory, parent, "pic_config_word_editor"), _configIndex(ci)
{
if (withWordEditor) {
TQHBoxLayout *hbox = new TQHBoxLayout(_top);
@@ -126,16 +126,16 @@ Pic::ConfigWordEditor::ConfigWordEditor(Memory &memory, uint ci, bool withWordEd
_combos.resize(cword.masks.count());
uint nbChars = device().nbCharsWord(MemoryRangeType::Config);
for (uint k=0; k<_combos.count(); k++) {
- const Config::Mask &ctqmask = cword.masks[k];
- TQLabel *label = new TQLabel(Config::maskLabel(ctqmask.name) + ":", this);
+ const Config::Mask &cmask = cword.masks[k];
+ TQLabel *label = new TQLabel(Config::maskLabel(cmask.name) + ":", this);
grid->addWidget(label, k, 0);
- label = new TQLabel(ctqmask.name, this);
+ label = new TQLabel(cmask.name, this);
grid->addWidget(label, k, 1);
_combos[k] = new ConfigWordComboBox(this);
- for (uint i=0; i<ctqmask.values.count(); i++) {
- if ( !ctqmask.values[i].isValid() ) continue;
- TQString label = Config::valueLabel(ctqmask.name, ctqmask.values[i].name);
- label += " (" + toHexLabel(ctqmask.values[i].value, nbChars) + ")";
+ for (uint i=0; i<cmask.values.count(); i++) {
+ if ( !cmask.values[i].isValid() ) continue;
+ TQString label = Config::valueLabel(cmask.name, cmask.values[i].name);
+ label += " (" + toHexLabel(cmask.values[i].value, nbChars) + ")";
_combos[k]->appendItem(label, i);
}
connect(_combos[k], TQT_SIGNAL(activated(int)), TQT_SLOT(slotModified()));
@@ -148,8 +148,8 @@ void Pic::ConfigWordEditor::setReadOnly(bool readOnly)
if (_mdb) _mdb->setReadOnly(readOnly);
const Config::Word &cword = device().config()._words[_configIndex];
for (uint k=0; k<_combos.count(); k++) {
- const Config::Mask &ctqmask = cword.masks[k];
- _combos[k]->setEnabled(!readOnly && !ctqmask.value.isOverlapping(cword.ptqmask) && ctqmask.values.count()!=1);
+ const Config::Mask &cmask = cword.masks[k];
+ _combos[k]->setEnabled(!readOnly && !cmask.value.isOverlapping(cword.pmask) && cmask.values.count()!=1);
}
}
@@ -158,9 +158,9 @@ void Pic::ConfigWordEditor::slotModified()
BitValue v = memory().word(MemoryRangeType::Config, _configIndex);
//qDebug("BinWordEditor::slotModified %i: %s", _configIndex, toHex(v, 4).data());
for (uint k=0; k<_combos.count(); k++) {
- const Config::Mask &ctqmask = device().config()._words[_configIndex].masks[k];
- v = v.clearMaskBits(ctqmask.value);
- v |= ctqmask.values[_combos[k]->index()].value; // set value
+ const Config::Mask &cmask = device().config()._words[_configIndex].masks[k];
+ v = v.clearMaskBits(cmask.value);
+ v |= cmask.values[_combos[k]->index()].value; // set value
}
memory().setWord(MemoryRangeType::Config, _configIndex, v);
//qDebug(" now: %s", toHex(v, 4).data());
@@ -174,12 +174,12 @@ void Pic::ConfigWordEditor::updateDisplay()
uint nbChars = device().nbCharsWord(MemoryRangeType::Config);
//qDebug("BinWordEditor::updateDisplay %i: %s", _configIndex, toHex(v, 4).data());
for (uint k=0; k<_combos.count(); k++) {
- const Config::Mask &ctqmask = device().config()._words[_configIndex].masks[k];
- for (int i=ctqmask.values.count()-1; i>=0; i--) {
- if ( ctqmask.values[i].value.isInside(v) ) {
- if ( ctqmask.values[i].isValid() ) _combos[k]->setItem(i);
+ const Config::Mask &cmask = device().config()._words[_configIndex].masks[k];
+ for (int i=cmask.values.count()-1; i>=0; i--) {
+ if ( cmask.values[i].value.isInside(v) ) {
+ if ( cmask.values[i].isValid() ) _combos[k]->setItem(i);
else {
- TQString label = i18n("<invalid>") + " (" + toHexLabel(ctqmask.values[i].value, nbChars) + ")";
+ TQString label = i18n("<invalid>") + " (" + toHexLabel(cmask.values[i].value, nbChars) + ")";
_combos[k]->setInvalidItem(i, label);
}
break;
diff --git a/src/devices/pic/gui/pic_config_word_editor.h b/src/devices/pic/gui/pic_config_word_editor.h
index 1b4077b..38f9573 100644
--- a/src/devices/pic/gui/pic_config_word_editor.h
+++ b/src/devices/pic/gui/pic_config_word_editor.h
@@ -24,7 +24,7 @@ class ConfigWordDialog : public Dialog
Q_OBJECT
TQ_OBJECT
public:
- ConfigWordDialog(const Memory &memory, uint index, TQWidget *tqparent);
+ ConfigWordDialog(const Memory &memory, uint index, TQWidget *parent);
};
//----------------------------------------------------------------------------
@@ -33,7 +33,7 @@ class ConfigWordComboBox : public ComboBox
Q_OBJECT
TQ_OBJECT
public:
- ConfigWordComboBox(TQWidget *tqparent);
+ ConfigWordComboBox(TQWidget *parent);
void appendItem(const TQString &text, uint index) { insertItem(text); _map.append(index); }
uint index() const;
void setItem(uint index);
@@ -52,7 +52,7 @@ class ConfigWordEditor : public MemoryEditor
Q_OBJECT
TQ_OBJECT
public:
- ConfigWordEditor(Memory &memory, uint index, bool withWordEditor, TQWidget *tqparent);
+ ConfigWordEditor(Memory &memory, uint index, bool withWordEditor, TQWidget *parent);
virtual void setReadOnly(bool readOnly);
public slots:
diff --git a/src/devices/pic/gui/pic_group_ui.cpp b/src/devices/pic/gui/pic_group_ui.cpp
index 5483ee4..fa4aa56 100644
--- a/src/devices/pic/gui/pic_group_ui.cpp
+++ b/src/devices/pic/gui/pic_group_ui.cpp
@@ -18,19 +18,19 @@
#include "libgui/gui_debug_manager.h"
#include "common/gui/list_container.h"
-Device::HexView *Pic::GroupUI::createHexView(const HexEditor &editor, TQWidget *tqparent) const
+Device::HexView *Pic::GroupUI::createHexView(const HexEditor &editor, TQWidget *parent) const
{
- return new HexView(editor, tqparent);
+ return new HexView(editor, parent);
}
-Register::View *Pic::GroupUI::createRegisterView(TQWidget *tqparent) const
+Register::View *Pic::GroupUI::createRegisterView(TQWidget *parent) const
{
- return new RegisterView(tqparent);
+ return new RegisterView(parent);
}
-Device::MemoryEditor *Pic::GroupUI::createConfigEditor(Device::Memory &memory, TQWidget *tqparent) const
+Device::MemoryEditor *Pic::GroupUI::createConfigEditor(Device::Memory &memory, TQWidget *parent) const
{
- return new MemoryConfigEditorWidget(static_cast<Memory &>(memory), false, tqparent);
+ return new MemoryConfigEditorWidget(static_cast<Memory &>(memory), false, parent);
}
void Pic::GroupUI::fillWatchListContainer(ListContainer *container, TQValueVector<Register::TypeData> &ids) const
@@ -81,7 +81,7 @@ void Pic::GroupUI::fillWatchListContainer(ListContainer *container, TQValueVecto
}
}
-Register::ListViewItem *Pic::GroupUI::createWatchItem(const Register::TypeData &data, KListViewItem *tqparent) const
+Register::ListViewItem *Pic::GroupUI::createWatchItem(const Register::TypeData &data, KListViewItem *parent) const
{
- return new Pic::RegisterListViewItem(data, tqparent);
+ return new Pic::RegisterListViewItem(data, parent);
}
diff --git a/src/devices/pic/gui/pic_group_ui.h b/src/devices/pic/gui/pic_group_ui.h
index ac97f22..d5dba86 100644
--- a/src/devices/pic/gui/pic_group_ui.h
+++ b/src/devices/pic/gui/pic_group_ui.h
@@ -17,11 +17,11 @@ namespace Pic
class GroupUI : public Device::GroupUI
{
public:
- virtual Device::HexView *createHexView(const HexEditor &editor, TQWidget *tqparent) const;
- virtual Register::View *createRegisterView(TQWidget *tqparent) const;
- virtual Device::MemoryEditor *createConfigEditor(Device::Memory &memory, TQWidget *tqparent) const;
+ virtual Device::HexView *createHexView(const HexEditor &editor, TQWidget *parent) const;
+ virtual Register::View *createRegisterView(TQWidget *parent) const;
+ virtual Device::MemoryEditor *createConfigEditor(Device::Memory &memory, TQWidget *parent) const;
virtual void fillWatchListContainer(ListContainer *container, TQValueVector<Register::TypeData> &ids) const;
- virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *tqparent) const;
+ virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *parent) const;
};
} // namespace
diff --git a/src/devices/pic/gui/pic_hex_view.cpp b/src/devices/pic/gui/pic_hex_view.cpp
index 760b1ed..bbcc161 100644
--- a/src/devices/pic/gui/pic_hex_view.cpp
+++ b/src/devices/pic/gui/pic_hex_view.cpp
@@ -17,8 +17,8 @@
#include "pic_memory_editor.h"
#include "pic_config_editor.h"
-Pic::HexView::HexView(const HexEditor &editor, TQWidget *tqparent)
- : Device::HexView(editor, tqparent, "pic_hex_view")
+Pic::HexView::HexView(const HexEditor &editor, TQWidget *parent)
+ : Device::HexView(editor, parent, "pic_hex_view")
{}
const Pic::MemoryRangeType::Type Pic::HexView::MEMORY_DATA[] = {
diff --git a/src/devices/pic/gui/pic_hex_view.h b/src/devices/pic/gui/pic_hex_view.h
index 54b679d..c3a53f8 100644
--- a/src/devices/pic/gui/pic_hex_view.h
+++ b/src/devices/pic/gui/pic_hex_view.h
@@ -23,7 +23,7 @@ class HexView : public Device::HexView
Q_OBJECT
TQ_OBJECT
public:
- HexView(const HexEditor &editor, TQWidget *tqparent);
+ HexView(const HexEditor &editor, TQWidget *parent);
Memory *memory() { return static_cast<Memory *>(_memory); }
const Memory *memory() const { return static_cast<Memory *>(_memory); }
virtual uint nbChecksumChars() const { return 4; }
diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp
index bb06f3d..a964988 100644
--- a/src/devices/pic/gui/pic_memory_editor.cpp
+++ b/src/devices/pic/gui/pic_memory_editor.cpp
@@ -34,17 +34,17 @@
#include "pic_hex_view.h"
//-----------------------------------------------------------------------------
-Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *tqparent)
+Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *parent)
{
- button = new PopupButton(text, tqparent);
+ button = new PopupButton(text, parent);
KActionCollection *ac = 0;
- KAction *a = new KAction(i18n("Go to start"), "top", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(gotoStart()), ac);
+ KAction *a = new KAction(i18n("Go to start"), "top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac);
actions.append(a);
button->appendAction(a);
- a = new KAction(i18n("Go to end"), "bottom", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(gotoEnd()), ac);
+ a = new KAction(i18n("Go to end"), "bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac);
actions.append(a);
button->appendAction(a);
- label = new TQLabel(tqparent);
+ label = new TQLabel(parent);
}
void Pic::MemoryEditorLegend::Data::setProtected(bool on)
@@ -64,8 +64,8 @@ const char * const Pic::MemoryEditorLegend::BLOCK_COLORS[Protection::MAX_NB_BLOC
"#88FF88", "#88FFFF", "#FFFF88", "#FF88FF", "#0088FF", "#88FF00", "#00FF88", "#FF8800"
};
-Pic::MemoryEditorLegend::MemoryEditorLegend(MemoryRangeType type, Memory &memory, TQWidget *tqparent)
- : MemoryEditor(type, memory, tqparent, "memory_displayer_legend")
+Pic::MemoryEditorLegend::MemoryEditorLegend(MemoryRangeType type, Memory &memory, TQWidget *parent)
+ : MemoryEditor(type, memory, parent, "memory_displayer_legend")
{
TQGridLayout *grid = new TQGridLayout(_top);
@@ -165,8 +165,8 @@ void Pic::MemoryEditorLegend::gotoEnd()
//-----------------------------------------------------------------------------
-Pic::HexWordEditor::HexWordEditor(MemoryRangeType type, Memory &memory, TQWidget *tqparent)
- : Device::HexWordEditor(memory, memory.device().nbCharsWord(type), tqparent),
+Pic::HexWordEditor::HexWordEditor(MemoryRangeType type, Memory &memory, TQWidget *parent)
+ : Device::HexWordEditor(memory, memory.device().nbCharsWord(type), parent),
MemoryCaster(type, memory)
{}
@@ -174,7 +174,7 @@ void Pic::HexWordEditor::setWord(BitValue value)
{
if ( type()==MemoryRangeType::Config ) {
const Config::Word &cword = device().config()._words[_offset];
- value |= cword.usedMask().complementInMask(device().tqmask(MemoryRangeType::Config));
+ value |= cword.usedMask().complementInMask(device().mask(MemoryRangeType::Config));
}
memory().setWord(type(), _offset, value);
}
@@ -182,8 +182,8 @@ void Pic::HexWordEditor::setWord(BitValue value)
//-----------------------------------------------------------------------------
Pic::MemoryRangeEditor::MemoryRangeEditor(MemoryRangeType type, Memory &memory,
uint nbLines, uint nbCols,
- uint wordOffset, int nbWords, TQWidget *tqparent)
- : Device::MemoryRangeEditor(memory, nbLines, nbCols, wordOffset, nbWords, tqparent, "pic_memory_range_editor"),
+ uint wordOffset, int nbWords, TQWidget *parent)
+ : Device::MemoryRangeEditor(memory, nbLines, nbCols, wordOffset, nbWords, parent, "pic_memory_range_editor"),
MemoryCaster(type, memory), _legend(0)
{
if ( type==MemoryRangeType::Code ) _blockRanges.resize(memory.device().config().protection().nbBlocks());
@@ -234,14 +234,14 @@ void Pic::MemoryRangeEditor::updateAddressColor(uint i, Address address)
}
}
-Device::HexWordEditor *Pic::MemoryRangeEditor::createHexWordEditor(TQWidget *tqparent)
+Device::HexWordEditor *Pic::MemoryRangeEditor::createHexWordEditor(TQWidget *parent)
{
- return new HexWordEditor(type(), memory(), tqparent);
+ return new HexWordEditor(type(), memory(), parent);
}
//-----------------------------------------------------------------------------
-Pic::MemoryTypeEditor::MemoryTypeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *tqparent, const char *name)
- : Device::MemoryTypeEditor(hexview, memory, tqparent, name), MemoryCaster(type, memory)
+Pic::MemoryTypeEditor::MemoryTypeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent, const char *name)
+ : Device::MemoryTypeEditor(hexview, memory, parent, name), MemoryCaster(type, memory)
{}
void Pic::MemoryTypeEditor::init(bool first)
@@ -251,10 +251,10 @@ void Pic::MemoryTypeEditor::init(bool first)
uint nbChars = device().nbCharsWord(type());
TQString add;
- if ( type()==MemoryRangeType::UserId ) add = i18n(" - recommended tqmask: %1").tqarg(toHexLabel(device().userIdRecommendedMask(), nbChars));
+ if ( type()==MemoryRangeType::UserId ) add = i18n(" - recommended mask: %1").tqarg(toHexLabel(device().userIdRecommendedMask(), nbChars));
if ( type()==MemoryRangeType::Cal && _hexview ) add = i18n(" - not programmed by default");
- TQString comment = i18n("%1-bit words - tqmask: %2")
- .tqarg(device().nbBitsWord(type())).tqarg(toHexLabel(device().tqmask(type()), nbChars));
+ TQString comment = i18n("%1-bit words - mask: %2")
+ .tqarg(device().nbBitsWord(type())).tqarg(toHexLabel(device().mask(type()), nbChars));
_comment->setText(comment + add);
}
@@ -291,8 +291,8 @@ bool Pic::MemoryTypeEditor::internalDoAction(Device::Action action)
}
//-----------------------------------------------------------------------------
-Pic::MemoryTypeRangeEditor::MemoryTypeRangeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *tqparent)
- : MemoryTypeEditor(hexview, type, memory, tqparent, "pic_memory_type_range_editor"), _mre(0)
+Pic::MemoryTypeRangeEditor::MemoryTypeRangeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent)
+ : MemoryTypeEditor(hexview, type, memory, parent, "pic_memory_type_range_editor"), _mre(0)
{}
void Pic::MemoryTypeRangeEditor::init(bool first)
@@ -309,8 +309,8 @@ void Pic::MemoryTypeRangeEditor::init(bool first)
}
//-----------------------------------------------------------------------------
-Pic::MemoryUserIdEditor::MemoryUserIdEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent)
- : MemoryTypeRangeEditor(hexview, MemoryRangeType::UserId, memory, tqparent), _saveReadOnly(false)
+Pic::MemoryUserIdEditor::MemoryUserIdEditor(const HexView *hexview, Memory &memory, TQWidget *parent)
+ : MemoryTypeRangeEditor(hexview, MemoryRangeType::UserId, memory, parent), _saveReadOnly(false)
{}
void Pic::MemoryUserIdEditor::init(bool first)
@@ -347,8 +347,8 @@ void Pic::MemoryUserIdEditor::setReadOnly(bool readOnly)
}
//-----------------------------------------------------------------------------
-Pic::MemoryCalibrationEditor::MemoryCalibrationEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent)
- : MemoryTypeEditor(hexview, MemoryRangeType::Cal, memory, tqparent, "pic_memory_calibration_editor")
+Pic::MemoryCalibrationEditor::MemoryCalibrationEditor(const HexView *hexview, Memory &memory, TQWidget *parent)
+ : MemoryTypeEditor(hexview, MemoryRangeType::Cal, memory, parent, "pic_memory_calibration_editor")
{}
void Pic::MemoryCalibrationEditor::init(bool first)
diff --git a/src/devices/pic/gui/pic_memory_editor.h b/src/devices/pic/gui/pic_memory_editor.h
index 2a6f72f..e641ec4 100644
--- a/src/devices/pic/gui/pic_memory_editor.h
+++ b/src/devices/pic/gui/pic_memory_editor.h
@@ -44,8 +44,8 @@ class MemoryEditor : public Device::MemoryEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- MemoryEditor(MemoryRangeType type, Memory &memory, TQWidget *tqparent, const char *name)
- : Device::MemoryEditor(&memory, tqparent, name), MemoryCaster(type, memory) {}
+ MemoryEditor(MemoryRangeType type, Memory &memory, TQWidget *parent, const char *name)
+ : Device::MemoryEditor(&memory, parent, name), MemoryCaster(type, memory) {}
};
//-----------------------------------------------------------------------------
@@ -54,7 +54,7 @@ class MemoryEditorLegend : public MemoryEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryEditorLegend(MemoryRangeType type, Memory &memory, TQWidget *tqparent);
+ MemoryEditorLegend(MemoryRangeType type, Memory &memory, TQWidget *parent);
virtual void setReadOnly(bool) {}
static TQColor protectedColor() { return TQColor("#FF8888"); }
@@ -76,7 +76,7 @@ private:
class Data {
public:
Data() : button(0), label(0) {}
- Data(const TQString &text, TQWidget *tqparent);
+ Data(const TQString &text, TQWidget *parent);
void setProtected(bool on);
bool hasAction(const KAction *action) const;
PopupButton *button;
@@ -95,10 +95,10 @@ class HexWordEditor : public Device::HexWordEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- HexWordEditor(MemoryRangeType type, Memory &memory, TQWidget *tqparent);
+ HexWordEditor(MemoryRangeType type, Memory &memory, TQWidget *parent);
private:
- virtual BitValue tqmask() const { return memory().device().tqmask(type()); }
+ virtual BitValue mask() const { return memory().device().mask(type()); }
virtual BitValue normalizeWord(BitValue value) const { return memory().normalizeWord(type(), _offset, value); }
virtual BitValue word() const { return memory().word(type(), _offset); }
virtual void setWord(BitValue value);
@@ -111,7 +111,7 @@ class MemoryRangeEditor : public Device::MemoryRangeEditor, public MemoryCaster
TQ_OBJECT
public:
MemoryRangeEditor(MemoryRangeType type, Memory &memory,
- uint nbLines, uint nbCols, uint wordOffset, int nbWords, TQWidget *tqparent);
+ uint nbLines, uint nbCols, uint wordOffset, int nbWords, TQWidget *parent);
public slots:
virtual void updateDisplay();
@@ -125,7 +125,7 @@ private:
virtual uint nbWords() const { return device().nbWords(type()); }
virtual uint addressIncrement() const { return device().addressIncrement(type()); }
virtual Address startAddress() const { return device().range(type()).start; }
- virtual Device::HexWordEditor *createHexWordEditor(TQWidget *tqparent);
+ virtual Device::HexWordEditor *createHexWordEditor(TQWidget *parent);
virtual void updateAddressColor(uint i, Address address);
virtual bool isRangeReadOnly() const;
virtual void addLegend(TQVBoxLayout *vbox);
@@ -137,7 +137,7 @@ class MemoryTypeEditor : public Device::MemoryTypeEditor, public MemoryCaster
Q_OBJECT
TQ_OBJECT
public:
- MemoryTypeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *tqparent, const char *name);
+ MemoryTypeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent, const char *name);
virtual void init(bool first);
private:
@@ -150,7 +150,7 @@ class MemoryTypeRangeEditor : public MemoryTypeEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryTypeRangeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *tqparent);
+ MemoryTypeRangeEditor(const HexView *hexview, MemoryRangeType type, Memory &memory, TQWidget *parent);
virtual void init(bool first);
protected:
@@ -163,7 +163,7 @@ class MemoryUserIdEditor : public MemoryTypeRangeEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryUserIdEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent);
+ MemoryUserIdEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
virtual void init(bool first);
virtual void setReadOnly(bool readOnly);
@@ -184,7 +184,7 @@ class MemoryCalibrationEditor : public MemoryTypeEditor
Q_OBJECT
TQ_OBJECT
public:
- MemoryCalibrationEditor(const HexView *hexview, Memory &memory, TQWidget *tqparent);
+ MemoryCalibrationEditor(const HexView *hexview, Memory &memory, TQWidget *parent);
virtual void init(bool first);
private:
diff --git a/src/devices/pic/gui/pic_prog_group_ui.cpp b/src/devices/pic/gui/pic_prog_group_ui.cpp
index 8f2f225..6e350ed 100644
--- a/src/devices/pic/gui/pic_prog_group_ui.cpp
+++ b/src/devices/pic/gui/pic_prog_group_ui.cpp
@@ -11,8 +11,8 @@
#include "progs/gui/prog_config_widget.h"
#include "progs/base/prog_group.h"
-Programmer::PicAdvancedDialog::PicAdvancedDialog(PicBase &base, TQWidget *tqparent, const char *name)
- : AdvancedDialog(base, tqparent, name)
+Programmer::PicAdvancedDialog::PicAdvancedDialog(PicBase &base, TQWidget *parent, const char *name)
+ : AdvancedDialog(base, parent, name)
{
if (_voltagesContainer) {
uint k = _voltagesContainer->numRows();
diff --git a/src/devices/pic/gui/pic_prog_group_ui.h b/src/devices/pic/gui/pic_prog_group_ui.h
index 1a8540e..c203da3 100644
--- a/src/devices/pic/gui/pic_prog_group_ui.h
+++ b/src/devices/pic/gui/pic_prog_group_ui.h
@@ -19,7 +19,7 @@ class PicAdvancedDialog : public ::Programmer::AdvancedDialog
Q_OBJECT
TQ_OBJECT
public:
- PicAdvancedDialog(PicBase &base, TQWidget *tqparent, const char *name);
+ PicAdvancedDialog(PicBase &base, TQWidget *parent, const char *name);
virtual void updateDisplay();
private:
diff --git a/src/devices/pic/gui/pic_register_view.cpp b/src/devices/pic/gui/pic_register_view.cpp
index ced5085..b640036 100644
--- a/src/devices/pic/gui/pic_register_view.cpp
+++ b/src/devices/pic/gui/pic_register_view.cpp
@@ -29,8 +29,8 @@
#include "coff/base/text_coff.h"
//-----------------------------------------------------------------------------
-Pic::BankWidget::BankWidget(uint i, TQWidget *tqparent)
- : TQFrame(tqparent, "bank_widget"), _bindex(i), _bankCombo(0)
+Pic::BankWidget::BankWidget(uint i, TQWidget *parent)
+ : TQFrame(parent, "bank_widget"), _bindex(i), _bankCombo(0)
{
setFrameStyle(WinPanel | Sunken);
TQGridLayout *top = new TQGridLayout(this, 1, 1, 5, 0);
@@ -245,8 +245,8 @@ void Pic::BankWidget::updateView()
}
//-----------------------------------------------------------------------------
-Pic::RegisterView::RegisterView(TQWidget *tqparent)
- : Register::View(tqparent, "pic_register_view"),
+Pic::RegisterView::RegisterView(TQWidget *parent)
+ : Register::View(parent, "pic_register_view"),
_readAllButton(0), _clearAllButton(0)
{
TQVBoxLayout *vbox = new TQVBoxLayout(this, 10, 10);
@@ -306,8 +306,8 @@ void Pic::RegisterView::stopWatchAllRegisters()
}
//----------------------------------------------------------------------------
-Pic::RegisterListViewItem::RegisterListViewItem(const Register::TypeData &data, KListViewItem *tqparent)
- : Register::ListViewItem(data, tqparent)
+Pic::RegisterListViewItem::RegisterListViewItem(const Register::TypeData &data, KListViewItem *parent)
+ : Register::ListViewItem(data, parent)
{}
uint Pic::RegisterListViewItem::nbCharsAddress() const
diff --git a/src/devices/pic/gui/pic_register_view.h b/src/devices/pic/gui/pic_register_view.h
index 0f347e4..f7a07ac 100644
--- a/src/devices/pic/gui/pic_register_view.h
+++ b/src/devices/pic/gui/pic_register_view.h
@@ -29,7 +29,7 @@ class BankWidget : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- BankWidget(uint bank, TQWidget *tqparent);
+ BankWidget(uint bank, TQWidget *parent);
void updateView();
private slots:
@@ -63,7 +63,7 @@ class RegisterView : public Register::View
Q_OBJECT
TQ_OBJECT
public:
- RegisterView(TQWidget *tqparent);
+ RegisterView(TQWidget *parent);
virtual void updateView();
private slots:
@@ -78,7 +78,7 @@ private:
class RegisterListViewItem : public Register::ListViewItem
{
public:
- RegisterListViewItem(const Register::TypeData &data, KListViewItem *tqparent);
+ RegisterListViewItem(const Register::TypeData &data, KListViewItem *parent);
private:
virtual uint nbCharsAddress() const;
diff --git a/src/devices/pic/pic/pic_memory.cpp b/src/devices/pic/pic/pic_memory.cpp
index 1a90efe..5f86517 100644
--- a/src/devices/pic/pic/pic_memory.cpp
+++ b/src/devices/pic/pic/pic_memory.cpp
@@ -58,7 +58,7 @@ Device::Array Pic::Memory::arrayForWriting(MemoryRangeType type) const
{
Device::Array data = _ranges[type];
for (uint i=0; i<data.count(); i++)
- data[i] = data[i].maskWith(type==MemoryRangeType::Config ? device().config()._words[i].wtqmask : device().tqmask(type));
+ data[i] = data[i].maskWith(type==MemoryRangeType::Config ? device().config()._words[i].wmask : device().mask(type));
return data;
}
@@ -75,7 +75,7 @@ BitValue Pic::Memory::normalizeWord(MemoryRangeType type, uint offset, BitValue
return value.maskWith(cword.usedMask());
}
if ( type==MemoryRangeType::UserId ) return value.maskWith(device().userIdRecommendedMask());
- return value.maskWith(device().tqmask(type));
+ return value.maskWith(device().mask(type));
}
BitValue Pic::Memory::normalizedWord(MemoryRangeType type, uint offset) const
@@ -100,11 +100,11 @@ TQString Pic::Memory::findValue(const TQString &maskName) const
{
if ( maskName.isEmpty() ) return TQString();
uint i;
- const Config::Mask *tqmask = device().config().findMask(maskName, &i);
- if ( tqmask==0 ) return TQString();
- BitValue v = word(MemoryRangeType::Config, i).maskWith(tqmask->value);
- for (uint k=0; k<uint(tqmask->values.count()); k++)
- if ( v.isInside(tqmask->values[k].value) ) return tqmask->values[k].name;
+ const Config::Mask *mask = device().config().findMask(maskName, &i);
+ if ( mask==0 ) return TQString();
+ BitValue v = word(MemoryRangeType::Config, i).maskWith(mask->value);
+ for (uint k=0; k<uint(mask->values.count()); k++)
+ if ( v.isInside(mask->values[k].value) ) return mask->values[k].name;
Q_ASSERT(false);
return TQString();
}
@@ -123,9 +123,9 @@ AddressRange Pic::Memory::bootRange() const
}
// only CPB
TQString maskName = protection.bootMaskName(Protection::ProgramProtected);
- const Config::Mask *tqmask = device().config().findMask(maskName);
- for (uint k=0; k<uint(tqmask->values.count()); k++) {
- AddressRangeVector rv = protection.extractRanges(tqmask->values[k].name, MemoryRangeType::Code);
+ const Config::Mask *mask = device().config().findMask(maskName);
+ for (uint k=0; k<uint(mask->values.count()); k++) {
+ AddressRangeVector rv = protection.extractRanges(mask->values[k].name, MemoryRangeType::Code);
if ( !rv.isEmpty() ) return rv[0];
}
Q_ASSERT(false);
@@ -153,9 +153,9 @@ AddressRange Pic::Memory::blockRange(uint i) const
return AddressRange(start, 2 * size - 1);
}
AddressRange previous = (i==0 ? bootRange() : blockRange(i-1));
- const Config::Mask *tqmask = device().config().findMask(maskName);
- for (uint k=0; k<uint(tqmask->values.count()); k++) {
- AddressRangeVector rv = protection.extractRanges(tqmask->values[k].name, MemoryRangeType::Code);
+ const Config::Mask *mask = device().config().findMask(maskName);
+ for (uint k=0; k<uint(mask->values.count()); k++) {
+ AddressRangeVector rv = protection.extractRanges(mask->values[k].name, MemoryRangeType::Code);
if ( !rv.isEmpty() ) return AddressRange(previous.end + 1, rv[0].end);
}
Q_ASSERT(false);
@@ -242,13 +242,13 @@ void Pic::Memory::setProtection(bool on, Protection::Type ptype, MemoryRangeType
void Pic::Memory::setConfigValue(const TQString &maskName, const TQString &valueName)
{
uint i;
- const Config::Mask *tqmask = device().config().findMask(maskName, &i);
- Q_ASSERT(tqmask);
+ const Config::Mask *mask = device().config().findMask(maskName, &i);
+ Q_ASSERT(mask);
BitValue v = word(MemoryRangeType::Config, i);
- v = v.clearMaskBits(tqmask->value);
- for (int k=tqmask->values.count()-1; k>=0; k--) { // important to get the highest value in case of identical values
- if ( tqmask->values[k].name!=valueName ) continue;
- setWord(MemoryRangeType::Config, i, v | tqmask->values[k].value);
+ v = v.clearMaskBits(mask->value);
+ for (int k=mask->values.count()-1; k>=0; k--) { // important to get the highest value in case of identical values
+ if ( mask->values[k].name!=valueName ) continue;
+ setWord(MemoryRangeType::Config, i, v | mask->values[k].value);
return;
}
Q_ASSERT(false);
@@ -256,16 +256,16 @@ void Pic::Memory::setConfigValue(const TQString &maskName, const TQString &value
void Pic::Memory::setProtection(bool on, const TQString &maskName, Protection::Type ptype)
{
- const Config::Mask *tqmask = device().config().findMask(maskName, 0);
- if( tqmask==0 ) return;
+ const Config::Mask *mask = device().config().findMask(maskName, 0);
+ if( mask==0 ) return;
const Protection &protection = device().config().protection();
TQString valueName;
if ( ptype==Protection::StandardSecurity || ptype==Protection::HighSecurity )
valueName = protection.securityValueName(ptype);
else {
- for (int k=tqmask->values.count()-1; k>=0; k--) {
- if ( (on && protection.isAllProtectedValueName(tqmask->values[k].name))
- || (!on && protection.isNoneProtectedValueName(tqmask->values[k].name)) ) valueName = tqmask->values[k].name;
+ for (int k=mask->values.count()-1; k>=0; k--) {
+ if ( (on && protection.isAllProtectedValueName(mask->values[k].name))
+ || (!on && protection.isNoneProtectedValueName(mask->values[k].name)) ) valueName = mask->values[k].name;
}
}
setConfigValue(maskName, valueName);
@@ -273,19 +273,19 @@ void Pic::Memory::setProtection(bool on, const TQString &maskName, Protection::T
bool Pic::Memory::hasFlagOn(const TQString &maskName, bool valueIfNotPresent) const
{
- const Config::Mask *tqmask = device().config().findMask(maskName, 0);
- if ( tqmask==0 ) return valueIfNotPresent;
- Q_ASSERT(tqmask);
- Q_ASSERT( tqmask->values.count()==2 );
+ const Config::Mask *mask = device().config().findMask(maskName, 0);
+ if ( mask==0 ) return valueIfNotPresent;
+ Q_ASSERT(mask);
+ Q_ASSERT( mask->values.count()==2 );
return ( findValue(maskName)=="On" );
}
void Pic::Memory::setFlagOn(const TQString &maskName, bool on)
{
- const Config::Mask *tqmask = device().config().findMask(maskName, 0);
- Q_UNUSED(tqmask);
- Q_ASSERT(tqmask);
- Q_ASSERT( tqmask->values.count()==2 );
+ const Config::Mask *mask = device().config().findMask(maskName, 0);
+ Q_UNUSED(mask);
+ Q_ASSERT(mask);
+ Q_ASSERT( mask->values.count()==2 );
setConfigValue(maskName, on ? "On" : "Off");
}
@@ -331,12 +331,12 @@ void Pic::Memory::checksumCheckFill()
BitValue Pic::Memory::checksum() const
{
// code
- BitValue tqmask = device().tqmask(MemoryRangeType::Code);
+ BitValue mask = device().mask(MemoryRangeType::Code);
AddressRangeVector rv = protectedRanges(Protection::ProgramProtected, MemoryRangeType::Code);
bool isProtected = !rv.isEmpty();
uint inc = device().addressIncrement(MemoryRangeType::Code);
//uint nbChars = device().nbCharsWord(MemoryRangeType::Code);
- //qDebug("protected: %i nb: %s (%s)", isProtected, toHexLabelAbs(inc*device().nbWords(MemoryRangeType::Code)).latin1(), toHexLabel(tqmask, nbChars).latin1());
+ //qDebug("protected: %i nb: %s (%s)", isProtected, toHexLabelAbs(inc*device().nbWords(MemoryRangeType::Code)).latin1(), toHexLabel(mask, nbChars).latin1());
//for (uint i=0; i<rv.count(); i++)
// qDebug("protected: %s:%s", toHex(rv[i].start, nbChars).latin1(), toHex(rv[i].end, nbChars).latin1());
if ( isProtected && (device().architecture()==Pic::Architecture::P18J || device().architecture()==Pic::Architecture::P24F) )
@@ -357,7 +357,7 @@ BitValue Pic::Memory::checksum() const
//qDebug("algo: %s", Checksum::ALGORITHM_DATA[algorithm].name);
for (uint i=0; i<device().nbWords(MemoryRangeType::Code); i++) {
if ( algorithm==Checksum::Algorithm::Normal && rv.contains(inc*i) ) continue;
- BitValue v = word(MemoryRangeType::Code, i).maskWith(tqmask);
+ BitValue v = word(MemoryRangeType::Code, i).maskWith(mask);
//if ( i==0 || i==device().nbWords(MemoryRangeType::Code)-1 ) qDebug("%s %s", toHexLabel(i, 4).latin1(), toHexLabel(v, 4).latin1());
switch (device().architecture().type()) {
case Architecture::P10X:
@@ -392,9 +392,9 @@ BitValue Pic::Memory::checksum() const
const Config &config = device().config();
for (uint i=0; i<uint(config._words.count()); i++) {
const Config::Word &cword = config._words[i];
- BitValue v = word(MemoryRangeType::Config, i).maskWith(cword.ctqmask);
+ BitValue v = word(MemoryRangeType::Config, i).maskWith(cword.cmask);
//uint nbChars = device().nbCharsWord(MemoryRangeType::Config);
- // qDebug("%i: %s %s", i, toHex(word(MemoryRangeType::Config, i), nbChars).latin1(), toHex(cword.ctqmask, nbChars).latin1());
+ // qDebug("%i: %s %s", i, toHex(word(MemoryRangeType::Config, i), nbChars).latin1(), toHex(cword.cmask, nbChars).latin1());
if ( ( device().name()=="16C61" || device().name()=="16C71" ) && isProtected ) cs += v | 0x0060;
else if ( device().is16bitFamily() ) cs += v.byte(0) + v.byte(1);
else cs += v;
@@ -462,7 +462,7 @@ void Pic::Memory::toHexBuffer(MemoryRangeType type, HexBuffer &hb) const
bool packed = device().architecture().data().packed;
uint offset = device().range(type).hexFileOffset;
if ( offset==0 ) offset = device().range(type).start.toUInt();
- BitValue tqmask = device().tqmask(type);
+ BitValue mask = device().mask(type);
uint wNbBytes = nbBytes;
if ( packed && type!=Pic::MemoryRangeType::Code ) {
offset /= 2;
@@ -474,7 +474,7 @@ void Pic::Memory::toHexBuffer(MemoryRangeType type, HexBuffer &hb) const
//qDebug("%s wnb=%i snb=%i div=%i", MEMORY_RANGE_TYPE_DATA[type].label, wNbBytes, sNbBytes, div);
for (uint k=0; k<wNbBytes*device().nbWords(type); k++) {
// set byte
- BitValue s = _ranges[type][wOffset].maskWith(tqmask);
+ BitValue s = _ranges[type][wOffset].maskWith(mask);
//if ( k<4 ) qDebug("s=%s so=%s sb=%i wo=%i wb=%i", toHex(s, 8).data(), toHex(sOffset, 8).data(), sByte, wOffset, wByte);
s = s.byte(wByte);
if ( (byte%2)==0 ) hb.insert(offset, s);
@@ -508,7 +508,7 @@ void Pic::Memory::fromHexBuffer(MemoryRangeType type, const HexBuffer &hb, Warni
bool packed = device().architecture().data().packed;
uint offset = device().range(type).hexFileOffset;
if ( offset==0 ) offset = device().range(type).start.toUInt();
- BitValue tqmask = device().tqmask(type);
+ BitValue mask = device().mask(type);
uint wNbBytes = nbBytes;
if ( packed && type!=Pic::MemoryRangeType::Code ) {
offset /= 2;
@@ -523,7 +523,7 @@ void Pic::Memory::fromHexBuffer(MemoryRangeType type, const HexBuffer &hb, Warni
BitValue s = hb[offset];
//if ( k<4 ) qDebug("s=%s so=%s sb=%i wo=%i wb=%i", toHex(s, 8).data(), toHex(offset, 8).data(), byte, wOffset, wByte);
if ( !s.isInitialized() ) {
- if ( type==MemoryRangeType::Config ) _ranges[type][wOffset] = tqmask;
+ if ( type==MemoryRangeType::Config ) _ranges[type][wOffset] = mask;
else _ranges[type][wOffset] = BitValue();
} else {
inRange[offset] = true;
@@ -540,12 +540,12 @@ void Pic::Memory::fromHexBuffer(MemoryRangeType type, const HexBuffer &hb, Warni
wByte++;
if ( (wByte%wNbBytes)==0 ) {
if ( _ranges[type][wOffset].isInitialized() ) {
- if ( !(result & ValueTooLarge) && _ranges[type][wOffset].maskWith(tqmask)!=_ranges[type][wOffset] ) {
+ if ( !(result & ValueTooLarge) && _ranges[type][wOffset].maskWith(mask)!=_ranges[type][wOffset] ) {
result |= ValueTooLarge;
- warnings += i18n("At least one word (at offset %1) is larger (%2) than the corresponding tqmask (%3).")
- .tqarg(toHexLabel(offset, 8)).tqarg(toHexLabel(_ranges[type][wOffset], 8)).tqarg(toHexLabel(tqmask, 8));
+ warnings += i18n("At least one word (at offset %1) is larger (%2) than the corresponding mask (%3).")
+ .tqarg(toHexLabel(offset, 8)).tqarg(toHexLabel(_ranges[type][wOffset], 8)).tqarg(toHexLabel(mask, 8));
}
- _ranges[type][wOffset] = _ranges[type][wOffset].maskWith(tqmask);
+ _ranges[type][wOffset] = _ranges[type][wOffset].maskWith(mask);
}
wByte = 0;
wOffset++;
diff --git a/src/devices/pic/prog/pic_prog.cpp b/src/devices/pic/prog/pic_prog.cpp
index 42eeafb..f0c917d 100644
--- a/src/devices/pic/prog/pic_prog.cpp
+++ b/src/devices/pic/prog/pic_prog.cpp
@@ -256,7 +256,7 @@ bool Programmer::PicBase::verifyDeviceId()
BitValue rawId = readDeviceId();
if ( hasError() ) return false;
uint nbChars = device()->nbWords(Pic::MemoryRangeType::DeviceId) * device()->nbCharsWord(Pic::MemoryRangeType::DeviceId);
- if ( rawId==0x0 || rawId==device()->tqmask(Pic::MemoryRangeType::DeviceId) ) {
+ if ( rawId==0x0 || rawId==device()->mask(Pic::MemoryRangeType::DeviceId) ) {
log(Log::LineType::Error, i18n("Missing or incorrect device (Read id is %1).").tqarg(toHexLabel(rawId, nbChars)));
return false;
}
@@ -366,16 +366,16 @@ bool Programmer::PicBase::restoreBandGapBits()
if ( !specific()->canReadRange(Pic::MemoryRangeType::Config) ) return true;
bool hasProtectedBits = false;
for (uint i=0; i<device()->nbWords(Pic::MemoryRangeType::Config); i++)
- if ( device()->config()._words[i].ptqmask!=0 ) hasProtectedBits = true;
+ if ( device()->config()._words[i].pmask!=0 ) hasProtectedBits = true;
if ( !hasProtectedBits ) return true;
Device::Array cdata;
if ( !specific()->read(Pic::MemoryRangeType::Config, cdata, 0) ) return false;
Device::Array data = _deviceMemory->arrayForWriting(Pic::MemoryRangeType::Config);
for (uint i=0; i<cdata.count(); i++) {
- BitValue ptqmask = device()->config()._words[i].ptqmask;
- if ( ptqmask==0 ) continue;
- cdata[i] = cdata[i].clearMaskBits(ptqmask);
- cdata[i] |= data[i].maskWith(ptqmask);
+ BitValue pmask = device()->config()._words[i].pmask;
+ if ( pmask==0 ) continue;
+ cdata[i] = cdata[i].clearMaskBits(pmask);
+ cdata[i] |= data[i].maskWith(pmask);
}
if ( !specific()->canWriteRange(Pic::MemoryRangeType::Config) ) {
log(Log::LineType::Warning, i18n("Could not restore band gap bits because programmer does not support writing config bits."));
diff --git a/src/devices/pic/prog/pic_prog_specific.cpp b/src/devices/pic/prog/pic_prog_specific.cpp
index ed13adf..c8d958b 100644
--- a/src/devices/pic/prog/pic_prog_specific.cpp
+++ b/src/devices/pic/prog/pic_prog_specific.cpp
@@ -28,7 +28,7 @@ uint Programmer::PicDeviceSpecific::findNonMaskStart(Pic::MemoryRangeType type,
{
uint start = 0;
for (; start<data.count(); start++)
- if ( data[start]!=device().tqmask(type) ) break;
+ if ( data[start]!=device().mask(type) ) break;
const_cast<PicDeviceSpecific *>(this)->log(Log::DebugLevel::Normal, TQString("start before align: %1").tqarg(start));
uint align = device().nbWordsWriteAlignment(type);
start -= start % align;
@@ -40,7 +40,7 @@ uint Programmer::PicDeviceSpecific::findNonMaskEnd(Pic::MemoryRangeType type, co
{
uint end = data.count()-1;
for (; end>0; end--)
- if ( data[end]!=device().tqmask(type) ) break;
+ if ( data[end]!=device().mask(type) ) break;
const_cast<PicDeviceSpecific *>(this)->log(Log::DebugLevel::Normal, TQString("end before align: %1").tqarg(end));
uint align = device().nbWordsWriteAlignment(type);
if ( (end+1) % align ) end += align - (end+1) % align;
@@ -113,9 +113,9 @@ bool Programmer::PicHardware::verifyWord(uint i, BitValue word, Pic::MemoryRange
BitValue v = static_cast<const Pic::Memory &>(vdata.memory).normalizedWord(type, i);
BitValue d = static_cast<const Pic::Memory &>(vdata.memory).normalizeWord(type, i, word);
if ( type==Pic::MemoryRangeType::Config ) {
- BitValue ptqmask = device().config()._words[i].ptqmask;
- v = v.clearMaskBits(ptqmask);
- d = d.clearMaskBits(ptqmask);
+ BitValue pmask = device().config()._words[i].pmask;
+ v = v.clearMaskBits(pmask);
+ d = d.clearMaskBits(pmask);
}
return compareWords(type, i, v, d, vdata.actions);
}
diff --git a/src/devices/pic/xml/pic_xml_to_data.cpp b/src/devices/pic/xml/pic_xml_to_data.cpp
index 18a5409..85eed73 100644
--- a/src/devices/pic/xml/pic_xml_to_data.cpp
+++ b/src/devices/pic/xml/pic_xml_to_data.cpp
@@ -52,9 +52,9 @@ bool getMemoryRange(MemoryRangeType type, TQDomElement element)
uint nbCharsWord = data()->nbCharsWord(type);
if ( data()->nbBitsWord(type)==0 ) qFatal(TQString("Architecture doesn't contain memory range %1").tqarg(type.key()));
if ( type==MemoryRangeType::UserId ) {
- data()->_userIdRecommendedMask = fromHexLabel(range.attribute("rtqmask"), nbCharsWord, &ok);
- if ( !ok ) qFatal("Cannot extract rtqmask value for user id");
- if ( !data()->_userIdRecommendedMask.isInside(data()->tqmask(type)) ) qFatal(TQString("rtqmask is not inside tqmask %1 (%2)").tqarg(toHexLabel(data()->_userIdRecommendedMask, 8)).tqarg(toHexLabel(data()->tqmask(type), 8)));
+ data()->_userIdRecommendedMask = fromHexLabel(range.attribute("rmask"), nbCharsWord, &ok);
+ if ( !ok ) qFatal("Cannot extract rmask value for user id");
+ if ( !data()->_userIdRecommendedMask.isInside(data()->mask(type)) ) qFatal(TQString("rmask is not inside mask %1 (%2)").tqarg(toHexLabel(data()->_userIdRecommendedMask, 8)).tqarg(toHexLabel(data()->mask(type), 8)));
}
if ( range.attribute("hexfile_offset")!="?" ) {
data()->_ranges[type].properties |= Programmable;
@@ -64,12 +64,12 @@ bool getMemoryRange(MemoryRangeType type, TQDomElement element)
}
}
if ( type==MemoryRangeType::Cal && !data()->is18Family() ) {
- data()->_calibration.opcodeMask = fromHexLabel(range.attribute("cal_optqmask"), nbCharsWord, &ok);
- if ( !ok ) qFatal("Cannot extract calibration opcode tqmask");
+ data()->_calibration.opcodeMask = fromHexLabel(range.attribute("cal_opmask"), nbCharsWord, &ok);
+ if ( !ok ) qFatal("Cannot extract calibration opcode mask");
data()->_calibration.opcode = fromHexLabel(range.attribute("cal_opcode"), nbCharsWord, &ok);
if ( !ok ) qFatal("Cannot extract calibration opcode");
- if ( !data()->_calibration.opcode.isInside(data()->_calibration.opcodeMask) ) qFatal("Calibration opcode should be inside opcode tqmask");
- if ( !data()->_calibration.opcodeMask.isInside(data()->tqmask(type)) ) qFatal("Calibration tqmask should be inside opcode tqmask");
+ if ( !data()->_calibration.opcode.isInside(data()->_calibration.opcodeMask) ) qFatal("Calibration opcode should be inside opcode mask");
+ if ( !data()->_calibration.opcodeMask.isInside(data()->mask(type)) ) qFatal("Calibration mask should be inside opcode mask");
}
TQString wwa = range.attribute("word_write_align");
TQString wea = range.attribute("word_erase_align");
@@ -88,31 +88,31 @@ bool getMemoryRange(MemoryRangeType type, TQDomElement element)
return true;
}
-bool hasValue(const Pic::Config::Mask &tqmask, BitValue value)
+bool hasValue(const Pic::Config::Mask &mask, BitValue value)
{
- for (uint i=0; i<uint(tqmask.values.count()); i++)
- if ( tqmask.values[i].value==value ) return true;
+ for (uint i=0; i<uint(mask.values.count()); i++)
+ if ( mask.values[i].value==value ) return true;
return false;
}
-void processName(const Pic::Config::Mask &ctqmask, BitValue ptqmask, Pic::Config::Value &cvalue)
+void processName(const Pic::Config::Mask &cmask, BitValue pmask, Pic::Config::Value &cvalue)
{
TQStringList &cnames = cvalue.configNames[Pic::ConfigNameType::Default];
if ( cvalue.name=="invalid" ) {
cvalue.name = TQString();
- if ( !cnames.isEmpty() ) qFatal(TQString("No cname should be defined for invalid value in tqmask %1").tqarg(ctqmask.name));
+ if ( !cnames.isEmpty() ) qFatal(TQString("No cname should be defined for invalid value in mask %1").tqarg(cmask.name));
return;
}
- if ( cvalue.name.isEmpty() ) qFatal(TQString("Empty value name in tqmask %1").tqarg(ctqmask.name));
- if ( ctqmask.value.isInside(ptqmask) ) { // protected bits
- if ( !cnames.isEmpty() ) qFatal(TQString("Config name should be null for protected config tqmask \"%1\"").tqarg(ctqmask.name));
+ if ( cvalue.name.isEmpty() ) qFatal(TQString("Empty value name in mask %1").tqarg(cmask.name));
+ if ( cmask.value.isInside(pmask) ) { // protected bits
+ if ( !cnames.isEmpty() ) qFatal(TQString("Config name should be null for protected config mask \"%1\"").tqarg(cmask.name));
} else {
- if ( cnames.isEmpty() && ctqmask.name!="BSSEC" && ctqmask.name!="BSSIZ" && ctqmask.name!="SSSEC" && ctqmask.name!="SSSIZ" ) {
+ if ( cnames.isEmpty() && cmask.name!="BSSEC" && cmask.name!="BSSIZ" && cmask.name!="SSSEC" && cmask.name!="SSSIZ" ) {
// ### FIXME: 18J 24H 30F1010/202X
if ( data()->architecture()!=Pic::Architecture::P18J && data()->architecture()!=Pic::Architecture::P24H
&& data()->architecture()!=Pic::Architecture::P24F && data()->architecture()!=Pic::Architecture::P33F
&& data()->name()!="30F1010" && data()->name()!="30F2020" && data()->name()!="30F2023" )
- qFatal(TQString("cname not defined for \"%1\" (%2)").tqarg(cvalue.name).tqarg(ctqmask.name));
+ qFatal(TQString("cname not defined for \"%1\" (%2)").tqarg(cvalue.name).tqarg(cmask.name));
}
if ( cnames.count()==1 && cnames[0]=="_" ) cnames.clear();
for (uint i=0; i<uint(cnames.count()); i++) {
@@ -121,10 +121,10 @@ void processName(const Pic::Config::Mask &ctqmask, BitValue ptqmask, Pic::Config
bool ok;
BitValue v = fromHexLabel(cnames[i], &ok);
uint nbChars = data()->nbCharsWord(MemoryRangeType::Config);
- BitValue tqmask = ctqmask.value.complementInMask(maxValue(NumberBase::Hex, nbChars));
- if ( ok && v==(tqmask | cvalue.value) ) continue;
+ BitValue mask = cmask.value.complementInMask(maxValue(NumberBase::Hex, nbChars));
+ if ( ok && v==(mask | cvalue.value) ) continue;
} else if ( XOR(cnames[i].startsWith("_"), data()->architecture()==Pic::Architecture::P30F) ) continue;
- qFatal(TQString("Invalid config name for \"%1\"/\"%2\"").tqarg(ctqmask.name).tqarg(cvalue.name));
+ qFatal(TQString("Invalid config name for \"%1\"/\"%2\"").tqarg(cmask.name).tqarg(cvalue.name));
}
TQStringList &ecnames = cvalue.configNames[Pic::ConfigNameType::Extra];
for (uint i=0; i<uint(ecnames.count()); i++)
@@ -132,61 +132,61 @@ void processName(const Pic::Config::Mask &ctqmask, BitValue ptqmask, Pic::Config
}
}
-Pic::Config::Mask toConfigMask(TQDomElement tqmask, BitValue ptqmask)
+Pic::Config::Mask toConfigMask(TQDomElement mask, BitValue pmask)
{
uint nbChars = data()->nbCharsWord(MemoryRangeType::Config);
bool ok;
TQString defName;
TQMap<Pic::ConfigNameType, TQStringList> defConfigNames;
- Config::Mask ctqmask;
- ctqmask.name = tqmask.attribute("name");
- if ( !Config::hasMaskName(ctqmask.name) ) qFatal(TQString("Unknown tqmask name %1").tqarg(ctqmask.name));
- ctqmask.value = fromHexLabel(tqmask.attribute("value"), nbChars, &ok);
- if ( !ok || ctqmask.value==0 || ctqmask.value>data()->tqmask(MemoryRangeType::Config) )
- qFatal(TQString("Malformed tqmask value in tqmask %1").tqarg(tqmask.attribute("name")));
+ Config::Mask cmask;
+ cmask.name = mask.attribute("name");
+ if ( !Config::hasMaskName(cmask.name) ) qFatal(TQString("Unknown mask name %1").tqarg(cmask.name));
+ cmask.value = fromHexLabel(mask.attribute("value"), nbChars, &ok);
+ if ( !ok || cmask.value==0 || cmask.value>data()->mask(MemoryRangeType::Config) )
+ qFatal(TQString("Malformed mask value in mask %1").tqarg(mask.attribute("name")));
//TQStringList names;
- TQDomNode child = tqmask.firstChild();
+ TQDomNode child = mask.firstChild();
while ( !child.isNull() ) {
TQDomElement value = child.toElement();
child = child.nextSibling();
if ( value.isNull() ) continue;
- if ( value.nodeName()!="value" ) qFatal(TQString("Non value child in tqmask %1").tqarg(ctqmask.name));
+ if ( value.nodeName()!="value" ) qFatal(TQString("Non value child in mask %1").tqarg(cmask.name));
if ( value.attribute("value")=="default" ) {
- if ( !defName.isEmpty() ) qFatal(TQString("Default value already defined for tqmask %1").tqarg(ctqmask.name));
+ if ( !defName.isEmpty() ) qFatal(TQString("Default value already defined for mask %1").tqarg(cmask.name));
defName = value.attribute("name");
- //if ( names.contains(defName) ) qFatal(TQString("Value name duplicated in tqmask %1").tqarg(ctqmask.name));
+ //if ( names.contains(defName) ) qFatal(TQString("Value name duplicated in mask %1").tqarg(cmask.name));
//names.append(defName);
FOR_EACH(Pic::ConfigNameType, type) defConfigNames[type] = TQStringList::split(' ', value.attribute(type.data().key));
continue;
}
Config::Value cvalue;
cvalue.value = fromHexLabel(value.attribute("value"), nbChars, &ok);
- if ( !ok || !cvalue.value.isInside(ctqmask.value) ) qFatal(TQString("Malformed value in tqmask %1").tqarg(ctqmask.name));
+ if ( !ok || !cvalue.value.isInside(cmask.value) ) qFatal(TQString("Malformed value in mask %1").tqarg(cmask.name));
cvalue.name = value.attribute("name");
- //if ( names.contains(cvalue.name) ) qFatal(TQString("Value name duplicated in tqmask %1").tqarg(ctqmask.name));
+ //if ( names.contains(cvalue.name) ) qFatal(TQString("Value name duplicated in mask %1").tqarg(cmask.name));
//names.append(cvalue.name);
FOR_EACH(Pic::ConfigNameType, type) cvalue.configNames[type] = TQStringList::split(' ', value.attribute(type.data().key));
- processName(ctqmask, ptqmask, cvalue);
- ctqmask.values.append(cvalue);
+ processName(cmask, pmask, cvalue);
+ cmask.values.append(cvalue);
}
// add default values
if ( !defName.isEmpty() ) {
uint nb = 0;
BitValue::const_iterator it;
- for (it=ctqmask.value.begin(); it!=ctqmask.value.end(); ++it) {
- if ( hasValue(ctqmask, *it) ) continue; // already set
+ for (it=cmask.value.begin(); it!=cmask.value.end(); ++it) {
+ if ( hasValue(cmask, *it) ) continue; // already set
nb++;
Config::Value cvalue;
cvalue.value = *it;
cvalue.name = defName;
cvalue.configNames = defConfigNames;
- processName(ctqmask, ptqmask, cvalue);
- ctqmask.values.append(cvalue);
+ processName(cmask, pmask, cvalue);
+ cmask.values.append(cvalue);
}
- if ( nb<=1 ) qFatal(TQString("Default value used less than twice in tqmask %1").tqarg(ctqmask.name));
+ if ( nb<=1 ) qFatal(TQString("Default value used less than twice in mask %1").tqarg(cmask.name));
}
- qHeapSort(ctqmask.values);
- return ctqmask;
+ qHeapSort(cmask.values);
+ return cmask;
}
Pic::Config::Word toConfigWord(TQDomElement config)
@@ -196,48 +196,48 @@ Pic::Config::Word toConfigWord(TQDomElement config)
cword.name = config.attribute("name");
if ( cword.name.isNull() ) qFatal("Config word name not specified.");
bool ok;
- cword.wtqmask = fromHexLabel(config.attribute("wtqmask"), nbChars, &ok);
- BitValue gtqmask = data()->tqmask(MemoryRangeType::Config);
- if ( !ok || cword.wtqmask>gtqmask ) qFatal(TQString("Missing or malformed config wtqmask \"%1\"").tqarg(config.attribute("wtqmask")));
+ cword.wmask = fromHexLabel(config.attribute("wmask"), nbChars, &ok);
+ BitValue gmask = data()->mask(MemoryRangeType::Config);
+ if ( !ok || cword.wmask>gmask ) qFatal(TQString("Missing or malformed config wmask \"%1\"").tqarg(config.attribute("wmask")));
cword.bvalue = fromHexLabel(config.attribute("bvalue"), nbChars, &ok);
if ( !ok ) qFatal(TQString("Missing or malformed config bvalue \"%1\"").tqarg(config.attribute("bvalue")));
- if ( config.attribute("ptqmask").isEmpty() ) cword.ptqmask = 0;
+ if ( config.attribute("pmask").isEmpty() ) cword.pmask = 0;
else {
bool ok;
- cword.ptqmask = fromHexLabel(config.attribute("ptqmask"), nbChars, &ok);
- if ( !ok || cword.ptqmask>gtqmask ) qFatal("Missing or malformed config ptqmask");
+ cword.pmask = fromHexLabel(config.attribute("pmask"), nbChars, &ok);
+ if ( !ok || cword.pmask>gmask ) qFatal("Missing or malformed config pmask");
}
cword.ignoredCNames = TQStringList::split(' ', config.attribute("icnames"));
for (uint i=0; i<uint(cword.ignoredCNames.count()); i++)
if ( cword.ignoredCNames[i][0]!='_' ) qFatal(TQString("Invalid ignored config name for %1").tqarg(cword.name));
TQDomNode child = config.firstChild();
while ( !child.isNull() ) {
- TQDomElement tqmask = child.toElement();
+ TQDomElement mask = child.toElement();
child = child.nextSibling();
- if ( tqmask.isNull() ) continue;
- if ( tqmask.nodeName()!="tqmask" ) qFatal(TQString("Non tqmask child in config %1").tqarg(cword.name));
- if ( tqmask.attribute("name").isEmpty() ) qFatal(TQString("Empty tqmask name in config %1").tqarg(cword.name));
- Config::Mask ctqmask = toConfigMask(tqmask, cword.ptqmask);
- if ( !ctqmask.value.isInside(gtqmask) ) qFatal(TQString("Mask value not inside tqmask in config %1").tqarg(cword.name));
+ if ( mask.isNull() ) continue;
+ if ( mask.nodeName()!="mask" ) qFatal(TQString("Non mask child in config %1").tqarg(cword.name));
+ if ( mask.attribute("name").isEmpty() ) qFatal(TQString("Empty mask name in config %1").tqarg(cword.name));
+ Config::Mask cmask = toConfigMask(mask, cword.pmask);
+ if ( !cmask.value.isInside(gmask) ) qFatal(TQString("Mask value not inside mask in config %1").tqarg(cword.name));
for (uint i=0; i<uint(cword.masks.count()); i++) {
- if ( cword.masks[i].name==ctqmask.name ) qFatal(TQString("Duplicated tqmask name %1 in config %2").tqarg(ctqmask.name).tqarg(cword.name));
- if ( ctqmask.value.isOverlapping(cword.masks[i].value) ) qFatal(TQString("Overlapping masks in config %1").tqarg(cword.name));
+ if ( cword.masks[i].name==cmask.name ) qFatal(TQString("Duplicated mask name %1 in config %2").tqarg(cmask.name).tqarg(cword.name));
+ if ( cmask.value.isOverlapping(cword.masks[i].value) ) qFatal(TQString("Overlapping masks in config %1").tqarg(cword.name));
}
- cword.masks.append(ctqmask);
+ cword.masks.append(cmask);
}
qHeapSort(cword.masks);
- BitValue tqmask = (cword.usedMask() | cword.bvalue).clearMaskBits(cword.ptqmask);
- if ( config.attribute("ctqmask").isEmpty() ) {
- if ( data()->_architecture==Pic::Architecture::P30F ) cword.ctqmask = cword.wtqmask;
- else cword.ctqmask = tqmask;
+ BitValue mask = (cword.usedMask() | cword.bvalue).clearMaskBits(cword.pmask);
+ if ( config.attribute("cmask").isEmpty() ) {
+ if ( data()->_architecture==Pic::Architecture::P30F ) cword.cmask = cword.wmask;
+ else cword.cmask = mask;
} else {
bool ok;
- cword.ctqmask = fromHexLabel(config.attribute("ctqmask"), nbChars, &ok);
- if ( !ok || cword.ctqmask>gtqmask ) qFatal("Missing or malformed config ctqmask");
- //if ( data()->_architecture==Pic::Architecture::P30X &&cword.ctqmask==cword.wtqmask ) qFatal(TQString("Redundant ctqmask in %1").tqarg(cword.name));
- if ( cword.ctqmask==tqmask ) qFatal(TQString("Redundant ctqmask in %1").tqarg(cword.name));
+ cword.cmask = fromHexLabel(config.attribute("cmask"), nbChars, &ok);
+ if ( !ok || cword.cmask>gmask ) qFatal("Missing or malformed config cmask");
+ //if ( data()->_architecture==Pic::Architecture::P30X &&cword.cmask==cword.wmask ) qFatal(TQString("Redundant cmask in %1").tqarg(cword.name));
+ if ( cword.cmask==mask ) qFatal(TQString("Redundant cmask in %1").tqarg(cword.name));
}
- if ( !cword.ptqmask.isInside(cword.usedMask()) ) qFatal("ptqmask should be inside or'ed tqmask values.");
+ if ( !cword.pmask.isInside(cword.usedMask()) ) qFatal("pmask should be inside or'ed mask values.");
return cword;
}
@@ -283,8 +283,8 @@ TQString getChecksumData(TQDomElement checksum)
if ( nb>0 ) cdata.protectedMaskNames += "CPB";
for (uint i=1; i<nb; i++) cdata.protectedMaskNames += "CP_" + TQString::number(i-1);
cdata.bbsize = checksum.attribute("bbsize");
- const Config::Mask *tqmask = data()->_config->findMask(protection.bootSizeMaskName());
- if ( tqmask==0 ) {
+ const Config::Mask *mask = data()->_config->findMask(protection.bootSizeMaskName());
+ if ( mask==0 ) {
if ( !cdata.bbsize.isEmpty() ) qFatal("Device does not have a variable boot size (no \"bbsize\" allowed in checksum)");
} else if ( cdata.bbsize.isEmpty() ) {
if ( nb==1 ) qFatal("\"bbsize\" should be define in checksum for \"protected_blocks\"==1");
@@ -319,14 +319,14 @@ TQString getChecksumData(TQDomElement checksum)
if ( !s.isEmpty() ) {
TQStringList list = TQStringList::split(" ", s);
for (uint i=0; i<uint(list.count()); i++) {
- const Config::Mask *tqmask = data()->config().findMask(list[i]);
- if ( tqmask==0 ) qFatal(TQString("Not valid tqmask name for \"protected\" tag in checksum: %1").tqarg(list[i]));
- if ( tqmask->values.count()==2 ) continue;
- for (uint k=0; k<uint(tqmask->values.count()); k++) {
- TQString valueName = tqmask->values[k].name;
+ const Config::Mask *mask = data()->config().findMask(list[i]);
+ if ( mask==0 ) qFatal(TQString("Not valid mask name for \"protected\" tag in checksum: %1").tqarg(list[i]));
+ if ( mask->values.count()==2 ) continue;
+ for (uint k=0; k<uint(mask->values.count()); k++) {
+ TQString valueName = mask->values[k].name;
if ( valueName.isEmpty() ) continue;
if ( !protection.isNoneProtectedValueName(valueName) && !protection.isAllProtectedValueName(valueName) )
- qFatal(TQString("Not switch protection from tqmask name for \"protected\" tag in checksum: %1").tqarg(list[i]));
+ qFatal(TQString("Not switch protection from mask name for \"protected\" tag in checksum: %1").tqarg(list[i]));
}
}
cdata.protectedMaskNames = list;
@@ -438,19 +438,19 @@ virtual void processDevice(TQDomElement device)
uint nbWords = data()->nbWords(MemoryRangeType::Config);
data()->_config->_words.resize(nbWords);
FOR_EACH(Pic::ConfigNameType, type) {
- TQMap<TQString, TQString> cnames; // cname -> tqmask name
+ TQMap<TQString, TQString> cnames; // cname -> mask name
for (uint i=0; i<nbWords; i++) {
if ( cwords[i].name.isNull() ) qFatal(TQString("Config word #%1 not defined").tqarg(i));
data()->_config->_words[i] = cwords[i];
const Config::Word &word = data()->_config->_words[i];
for (uint j=0; j<uint(word.masks.count()); j++) {
- const Config::Mask &tqmask = word.masks[j];
- for (uint k=0; k<uint(tqmask.values.count()); k++) {
- const TQStringList &vcnames = tqmask.values[k].configNames[type];
+ const Config::Mask &mask = word.masks[j];
+ for (uint k=0; k<uint(mask.values.count()); k++) {
+ const TQStringList &vcnames = mask.values[k].configNames[type];
for (uint l=0; l<uint(vcnames.count()); l++) {
if ( vcnames[l].startsWith("0x") ) continue;
- if ( cnames.contains(vcnames[l]) && cnames[vcnames[l]]!=tqmask.name )
- qFatal(TQString("Duplicated config name for %1/%2").tqarg(tqmask.name).tqarg(tqmask.values[k].name));
+ if ( cnames.contains(vcnames[l]) && cnames[vcnames[l]]!=mask.name )
+ qFatal(TQString("Duplicated config name for %1/%2").tqarg(mask.name).tqarg(mask.values[k].name));
cnames[vcnames[l]] = word.masks[j].name;
}
}
@@ -461,12 +461,12 @@ virtual void processDevice(TQDomElement device)
for (uint i=0; i<nbWords; i++) {
const Config::Word &word = data()->_config->_words[i];
for (uint j=0; j<uint(word.masks.count()); j++) {
- const Config::Mask &tqmask = word.masks[j];
- for (uint k=0; k<uint(tqmask.values.count()); k++) {
- const Config::Value &value = tqmask.values[k];
+ const Config::Mask &mask = word.masks[j];
+ for (uint k=0; k<uint(mask.values.count()); k++) {
+ const Config::Value &value = mask.values[k];
if ( !value.isValid() ) continue;
- if ( !data()->_config->checkValueName(tqmask.name, value.name) )
- qFatal(TQString("Malformed value name \"%1\" in tqmask %2").tqarg(value.name).tqarg(tqmask.name));
+ if ( !data()->_config->checkValueName(mask.name, value.name) )
+ qFatal(TQString("Malformed value name \"%1\" in mask %2").tqarg(value.name).tqarg(mask.name));
}
}
}
@@ -474,10 +474,10 @@ virtual void processDevice(TQDomElement device)
for (uint i=0; i<nbWords; i++) {
const Config::Word &word = data()->_config->_words[i];
for (uint j=0; j<uint(word.masks.count()); j++) {
- const Config::Mask &tqmask = word.masks[j];
+ const Config::Mask &mask = word.masks[j];
BitValue::const_iterator it;
- for (it=tqmask.value.begin(); it!=tqmask.value.end(); ++it)
- if ( !hasValue(tqmask, *it) ) qFatal(TQString("Value %1 not defined in tqmask %2").tqarg(toHexLabel(*it, data()->nbCharsWord(MemoryRangeType::Config))).tqarg(tqmask.name));
+ for (it=mask.value.begin(); it!=mask.value.end(); ++it)
+ if ( !hasValue(mask, *it) ) qFatal(TQString("Value %1 not defined in mask %2").tqarg(toHexLabel(*it, data()->nbCharsWord(MemoryRangeType::Config))).tqarg(mask.name));
}
}
@@ -490,9 +490,9 @@ virtual void processDevice(TQDomElement device)
const Pic::Protection &protection = data()->_config->protection();
if ( protection.family()==Protection::BasicProtection ) {
TQString maskName = protection.maskName(Protection::ProgramProtected, MemoryRangeType::Code);
- const Pic::Config::Mask *tqmask = data()->_config->findMask(maskName);
- Q_ASSERT(tqmask);
- for (uint i=0; i<uint(tqmask->values.count()); i++) valueNames[tqmask->values[i].name] = false;
+ const Pic::Config::Mask *mask = data()->_config->findMask(maskName);
+ Q_ASSERT(mask);
+ for (uint i=0; i<uint(mask->values.count()); i++) valueNames[mask->values[i].name] = false;
}
TQDomNode child = checksums.firstChild();
while ( !child.isNull() ) {
@@ -614,8 +614,8 @@ void processDeviceRegisters(TQDomElement element)
if ( data()->is18Family() ) {
rdata.accessBankSplit = fromHexLabel(element.attribute("access_bank_split_offset"), &ok);
if ( !ok || rdata.accessBankSplit==0 || rdata.accessBankSplit>=0xFF ) qFatal("Malformed access bank split offset");
- rdata.unusedBankMask = fromHexLabel(element.attribute("unused_bank_tqmask"), &ok);
- if ( !ok || rdata.unusedBankMask>=maxValue(NumberBase::Hex, rdata.nbBanks) ) qFatal("Malformed access unused bank tqmask");
+ rdata.unusedBankMask = fromHexLabel(element.attribute("unused_bank_mask"), &ok);
+ if ( !ok || rdata.unusedBankMask>=maxValue(NumberBase::Hex, rdata.nbBanks) ) qFatal("Malformed access unused bank mask");
} else {
rdata.accessBankSplit = 0;
rdata.unusedBankMask = 0;
diff --git a/src/devices/pic/xml_data/10F200.xml b/src/devices/pic/xml_data/10F200.xml
index eb3c1f1..11ce1ff 100644
--- a/src/devices/pic/xml_data/10F200.xml
+++ b/src/devices/pic/xml_data/10F200.xml
@@ -27,29 +27,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x0FE" />
- <memory name="calibration" start="0x0FF" end="0x0FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x100" end="0x103" rtqmask="0x00F" />
+ <memory name="calibration" start="0x0FF" end="0x0FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x100" end="0x103" rmask="0x00F" />
<memory name="config" start="0x1FF" end="0x1FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x104" end="0x104" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" ctqmask="0x01C" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" cmask="0x01C" >
+ <mask name="FOSC" value="0x003" >
<value value="default" name="invalid" />
<value value="0x003" name="INTRC" cname="_IntRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:0FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/10F202.xml b/src/devices/pic/xml_data/10F202.xml
index f7c420e..25ce72a 100644
--- a/src/devices/pic/xml_data/10F202.xml
+++ b/src/devices/pic/xml_data/10F202.xml
@@ -27,29 +27,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0x3FF" end="0x3FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x204" end="0x204" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" ctqmask="0x01C" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" cmask="0x01C" >
+ <mask name="FOSC" value="0x003" >
<value value="default" name="invalid" />
<value value="0x003" name="INTRC" cname="_IntRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/10F204.xml b/src/devices/pic/xml_data/10F204.xml
index 40631ef..e2d2e6d 100644
--- a/src/devices/pic/xml_data/10F204.xml
+++ b/src/devices/pic/xml_data/10F204.xml
@@ -27,29 +27,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x0FE" />
- <memory name="calibration" start="0x0FF" end="0x0FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x100" end="0x103" rtqmask="0x00F" />
+ <memory name="calibration" start="0x0FF" end="0x0FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x100" end="0x103" rmask="0x00F" />
<memory name="config" start="0x1FF" end="0x1FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x104" end="0x104" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" ctqmask="0x01C" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" cmask="0x01C" >
+ <mask name="FOSC" value="0x003" >
<value value="default" name="invalid" />
<value value="0x003" name="INTRC" cname="_IntRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:0FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/10F206.xml b/src/devices/pic/xml_data/10F206.xml
index c5030eb..4e66268 100644
--- a/src/devices/pic/xml_data/10F206.xml
+++ b/src/devices/pic/xml_data/10F206.xml
@@ -27,29 +27,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0x3FF" end="0x3FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x204" end="0x204" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" ctqmask="0x01C" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" cmask="0x01C" >
+ <mask name="FOSC" value="0x003" >
<value value="default" name="invalid" />
<value value="0x003" name="INTRC" cname="_IntRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/10F220.xml b/src/devices/pic/xml_data/10F220.xml
index 99e7019..694d161 100644
--- a/src/devices/pic/xml_data/10F220.xml
+++ b/src/devices/pic/xml_data/10F220.xml
@@ -28,33 +28,33 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x0FE" />
- <memory name="calibration" start="0x0FF" end="0x0FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x100" end="0x103" rtqmask="0x00F" />
+ <memory name="calibration" start="0x0FF" end="0x0FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x100" end="0x103" rmask="0x00F" />
<memory name="config" start="0x1FF" end="0x1FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x104" end="0x104" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" >
- <tqmask name="IOSCFS" value="0x001" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" >
+ <mask name="IOSCFS" value="0x001" >
<value value="0x000" name="4MHZ" cname="_IOFSCS_4MHZ" ecnames="_IOSCFS_4MHZ" />
<value value="0x001" name="8MHZ" cname="_IOFSCS_8MHZ" ecnames="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="MCPU" value="0x002" >
+ </mask>
+ <mask name="MCPU" value="0x002" >
<value value="0x000" name="On" cname="_MCPU_ON" />
<value value="0x002" name="Off" cname="_MCPU_OFF" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:0FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/10F222.xml b/src/devices/pic/xml_data/10F222.xml
index 3597849..4cba906 100644
--- a/src/devices/pic/xml_data/10F222.xml
+++ b/src/devices/pic/xml_data/10F222.xml
@@ -28,33 +28,33 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0x3FF" end="0x3FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x204" end="0x204" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x01F" >
- <tqmask name="IOSCFS" value="0x001" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x01F" >
+ <mask name="IOSCFS" value="0x001" >
<value value="0x000" name="4MHZ" cname="_IOFSCS_4MHZ" ecnames="_IOSCFS_4MHZ" />
<value value="0x001" name="8MHZ" cname="_IOFSCS_8MHZ" ecnames="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="MCPU" value="0x002" >
+ </mask>
+ <mask name="MCPU" value="0x002" >
<value value="0x000" name="On" cname="_MCPU_ON" />
<value value="0x002" name="Off" cname="_MCPU_OFF" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C508.xml b/src/devices/pic/xml_data/12C508.xml
index 2639704..cb39eae 100644
--- a/src/devices/pic/xml_data/12C508.xml
+++ b/src/devices/pic/xml_data/12C508.xml
@@ -30,30 +30,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C508A.xml b/src/devices/pic/xml_data/12C508A.xml
index a5c9497..f1ffb3f 100644
--- a/src/devices/pic/xml_data/12C508A.xml
+++ b/src/devices/pic/xml_data/12C508A.xml
@@ -27,30 +27,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C509.xml b/src/devices/pic/xml_data/12C509.xml
index 7b10e99..dbe885b 100644
--- a/src/devices/pic/xml_data/12C509.xml
+++ b/src/devices/pic/xml_data/12C509.xml
@@ -30,30 +30,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C509A.xml b/src/devices/pic/xml_data/12C509A.xml
index 0c41121..240783f 100644
--- a/src/devices/pic/xml_data/12C509A.xml
+++ b/src/devices/pic/xml_data/12C509A.xml
@@ -27,30 +27,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C671.xml b/src/devices/pic/xml_data/12C671.xml
index bcb6217..f675723 100644
--- a/src/devices/pic/xml_data/12C671.xml
+++ b/src/devices/pic/xml_data/12C671.xml
@@ -35,13 +35,13 @@
<!--* 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="0x000F" />
+ <memory name="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" icnames="_CP_50" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" icnames="_CP_50" >
+ <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" />
@@ -50,24 +50,24 @@
<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" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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="0x0080" >
+ </mask>
+ <mask name="MCLRE" value="0x0080" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0080" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F60" >
+ </mask>
+ <mask name="CP" value="0x3F60" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1520" name="200:3FE" cname="_CP_75" />
<value value="default" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12C672.xml b/src/devices/pic/xml_data/12C672.xml
index 17e100c..80511f1 100644
--- a/src/devices/pic/xml_data/12C672.xml
+++ b/src/devices/pic/xml_data/12C672.xml
@@ -36,13 +36,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FE" />
- <memory name="calibration" start="0x07FF" end="0x07FF" cal_optqmask="0x3C00" cal_opcode="0x3400" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="calibration" start="0x07FF" end="0x07FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <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" />
@@ -51,25 +51,25 @@
<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" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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="0x0080" >
+ </mask>
+ <mask name="MCLRE" value="0x0080" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0080" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F60" >
+ </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="default" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12CE518.xml b/src/devices/pic/xml_data/12CE518.xml
index 619dadc..e27cbb3 100644
--- a/src/devices/pic/xml_data/12CE518.xml
+++ b/src/devices/pic/xml_data/12CE518.xml
@@ -27,31 +27,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
- <memory name="eeprom" start="0x000" end="0x00F" rtqmask="0xFF" hexfile_offset="?" />
+ <memory name="eeprom" start="0x000" end="0x00F" rmask="0xFF" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12CE519.xml b/src/devices/pic/xml_data/12CE519.xml
index 483a926..210e186 100644
--- a/src/devices/pic/xml_data/12CE519.xml
+++ b/src/devices/pic/xml_data/12CE519.xml
@@ -27,31 +27,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
- <memory name="eeprom" start="0x000" end="0x00F" rtqmask="0xFF" hexfile_offset="?" />
+ <memory name="eeprom" start="0x000" end="0x00F" rmask="0xFF" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12CE673.xml b/src/devices/pic/xml_data/12CE673.xml
index 4d8ea34..3007c29 100644
--- a/src/devices/pic/xml_data/12CE673.xml
+++ b/src/devices/pic/xml_data/12CE673.xml
@@ -35,14 +35,14 @@
<!--* 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="0x000F" />
+ <memory name="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x000F" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" icnames="_CP_50" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" icnames="_CP_50" >
+ <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" />
@@ -51,24 +51,24 @@
<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" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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="0x0080" >
+ </mask>
+ <mask name="MCLRE" value="0x0080" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0080" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F60" >
+ </mask>
+ <mask name="CP" value="0x3F60" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1520" name="200:3FE" cname="_CP_75" />
<value value="default" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12CE674.xml b/src/devices/pic/xml_data/12CE674.xml
index 2f9198a..7670f3f 100644
--- a/src/devices/pic/xml_data/12CE674.xml
+++ b/src/devices/pic/xml_data/12CE674.xml
@@ -36,14 +36,14 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FE" />
- <memory name="calibration" start="0x07FF" end="0x07FF" cal_optqmask="0x3C00" cal_opcode="0x3400" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="calibration" start="0x07FF" end="0x07FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x000F" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <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" />
@@ -52,25 +52,25 @@
<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" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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="0x0080" >
+ </mask>
+ <mask name="MCLRE" value="0x0080" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0080" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F60" >
+ </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="default" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12CR509A.xml b/src/devices/pic/xml_data/12CR509A.xml
index 80d4d36..9a795da 100644
--- a/src/devices/pic/xml_data/12CR509A.xml
+++ b/src/devices/pic/xml_data/12CR509A.xml
@@ -27,30 +27,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F508.xml b/src/devices/pic/xml_data/12F508.xml
index 4bd60df..19fd956 100644
--- a/src/devices/pic/xml_data/12F508.xml
+++ b/src/devices/pic/xml_data/12F508.xml
@@ -29,31 +29,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FE" />
- <memory name="calibration" start="0x1FF" end="0x1FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="calibration" start="0x1FF" end="0x1FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0x3FF" end="0x3FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x204" end="0x204" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F509.xml b/src/devices/pic/xml_data/12F509.xml
index 449e009..8f3ae12 100644
--- a/src/devices/pic/xml_data/12F509.xml
+++ b/src/devices/pic/xml_data/12F509.xml
@@ -29,31 +29,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0x7FF" end="0x7FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x404" end="0x404" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x01F" bvalue="0x01F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x01F" bvalue="0x01F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F510.xml b/src/devices/pic/xml_data/12F510.xml
index ce2ab4a..15a2d81 100644
--- a/src/devices/pic/xml_data/12F510.xml
+++ b/src/devices/pic/xml_data/12F510.xml
@@ -28,35 +28,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0x7FF" end="0x7FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x404" end="0x404" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x03F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x03F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x020" >
+ </mask>
+ <mask name="IOSCFS" value="0x020" >
<value value="0x000" name="4MHZ" cname="_IOSCFS_OFF" />
<value value="0x020" name="8MHZ" cname="_IOSCFS_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F519.xml b/src/devices/pic/xml_data/12F519.xml
index 02dd3d1..600618c 100644
--- a/src/devices/pic/xml_data/12F519.xml
+++ b/src/devices/pic/xml_data/12F519.xml
@@ -31,40 +31,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
<memory name="eeprom" start="0x400" end="0x43F" />
- <memory name="user_ids" start="0x440" end="0x443" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x440" end="0x443" rmask="0x00F" />
<memory name="config" start="0x7FF" end="0x7FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x444" end="0x444" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x07F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x07F" >
+ <mask name="FOSC" value="0x003" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="INTRC" cname="_IntRC_OSC" />
<value value="0x003" name="EXTRC" cname="_ExtRC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x004" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x010" >
+ </mask>
+ <mask name="MCLRE" value="0x010" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x010" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x020" >
+ </mask>
+ <mask name="IOSCFS" value="0x020" >
<value value="0x000" name="4MHZ" cname="_IOSCFS_OFF" />
<value value="0x020" name="8MHZ" cname="_IOSCFS_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x040" >
+ </mask>
+ <mask name="CPD" value="0x040" >
<value value="0x000" name="All" cname="_CPDF_ON" />
<value value="0x040" name="Off" cname="_CPDF_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F609.xml b/src/devices/pic/xml_data/12F609.xml
index 07f4b1f..d3409ee 100644
--- a/src/devices/pic/xml_data/12F609.xml
+++ b/src/devices/pic/xml_data/12F609.xml
@@ -39,15 +39,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x03FF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x03FF" >
+ <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" />
@@ -56,32 +56,32 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x0080" >
+ </mask>
+ <mask name="IOSCFS" value="0x0080" >
<value value="0x0000" name="4MHZ" cname="_IOSCFS_4MHZ" />
<value value="0x0080" name="8MHZ" cname="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="default" name="Off" cname="_BOR_OFF" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F615.xml b/src/devices/pic/xml_data/12F615.xml
index e90d419..d59445e 100644
--- a/src/devices/pic/xml_data/12F615.xml
+++ b/src/devices/pic/xml_data/12F615.xml
@@ -39,15 +39,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x03FF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x03FF" >
+ <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" />
@@ -56,32 +56,32 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x0080" >
+ </mask>
+ <mask name="IOSCFS" value="0x0080" >
<value value="0x0000" name="4MHZ" cname="_IOSCFS_4MHZ" />
<value value="0x0080" name="8MHZ" cname="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="default" name="Off" cname="_BOR_OFF" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F629.xml b/src/devices/pic/xml_data/12F629.xml
index 9c4553a..53c0cf4 100644
--- a/src/devices/pic/xml_data/12F629.xml
+++ b/src/devices/pic/xml_data/12F629.xml
@@ -36,16 +36,16 @@
<!--* 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="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" >
+ <config offset="0x0" name="" wmask="0x31FF" bvalue="0x31FF" pmask="0x3000" >
+ <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" />
@@ -54,37 +54,37 @@
<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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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">
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F635.xml b/src/devices/pic/xml_data/12F635.xml
index 3bf332d..f06c3b6 100644
--- a/src/devices/pic/xml_data/12F635.xml
+++ b/src/devices/pic/xml_data/12F635.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -48,45 +48,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="WUREN" value="0x1000" >
+ </mask>
+ <mask name="WUREN" value="0x1000" >
<value value="0x0000" name="On" cname="_WUREN_ON" />
<value value="0x1000" name="Off" cname="_WUREN_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F675.xml b/src/devices/pic/xml_data/12F675.xml
index e226b4f..6e0f054 100644
--- a/src/devices/pic/xml_data/12F675.xml
+++ b/src/devices/pic/xml_data/12F675.xml
@@ -36,16 +36,16 @@
<!--* 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="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" >
+ <config offset="0x0" name="" wmask="0x31FF" bvalue="0x31FF" pmask="0x3000" >
+ <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" />
@@ -54,37 +54,37 @@
<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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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">
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/12F683.xml b/src/devices/pic/xml_data/12F683.xml
index d80b5c1..1c23260 100644
--- a/src/devices/pic/xml_data/12F683.xml
+++ b/src/devices/pic/xml_data/12F683.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/14000.xml b/src/devices/pic/xml_data/14000.xml
index 9ee23ed..8cf2db6 100644
--- a/src/devices/pic/xml_data/14000.xml
+++ b/src/devices/pic/xml_data/14000.xml
@@ -28,40 +28,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FBF" />
- <memory name="calibration" start="0x0FC0" end="0x0FFF" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x0FC0" end="0x0FFF" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FBD" ptqmask="0x0042" >
- <tqmask name="FOSC" value="0x0001" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FBD" pmask="0x0042" >
+ <mask name="FOSC" value="0x0001" >
<value value="0x0000" name="HS" cname="_FOSC_HS" />
<value value="0x0001" name="INTRC" cname="_FOSC_RC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="TRIM" value="0x0042" >
+ </mask>
+ <mask name="TRIM" value="0x0042" >
<value value="0x0000" name="00" />
<value value="0x0002" name="01" />
<value value="0x0040" name="10" />
<value value="0x0042" name="11" />
- </tqmask>
- <tqmask name="CP" value="0x1E30" >
+ </mask>
+ <mask name="CP" value="0x1E30" >
<value value="0x0000" name="All" cname="_CPP_ON _CPU_ON" />
<value value="0x1E30" name="Off" cname="_CPP_OFF _CPU_OFF" />
<value value="default" name="invalid" />
- </tqmask>
- <tqmask name="CPC" value="0x2180" >
+ </mask>
+ <mask name="CPC" value="0x2180" >
<value value="0x0000" name="All" cname="_CPC_ON" />
<value value="0x2180" name="Off" cname="_CPC_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C432.xml b/src/devices/pic/xml_data/16C432.xml
index bed76d2..e112d5c 100644
--- a/src/devices/pic/xml_data/16C432.xml
+++ b/src/devices/pic/xml_data/16C432.xml
@@ -29,36 +29,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C433.xml b/src/devices/pic/xml_data/16C433.xml
index 6dad096..cf07aaa 100644
--- a/src/devices/pic/xml_data/16C433.xml
+++ b/src/devices/pic/xml_data/16C433.xml
@@ -29,13 +29,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FE" />
- <memory name="calibration" start="0x07FF" end="0x07FF" cal_optqmask="0x3C00" cal_opcode="0x3400" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <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="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <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" />
@@ -44,26 +44,26 @@
<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" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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="0x0080" >
+ </mask>
+ <mask name="MCLRE" value="0x0080" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0080" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F60" >
+ </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" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C505.xml b/src/devices/pic/xml_data/16C505.xml
index 6fa7f11..2cbe2c9 100644
--- a/src/devices/pic/xml_data/16C505.xml
+++ b/src/devices/pic/xml_data/16C505.xml
@@ -35,13 +35,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x007" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0xFFF" >
+ <mask name="FOSC" value="0x007" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="HS" cname="_HS_OSC" />
@@ -50,20 +50,20 @@
<value value="0x005" name="INTRC_CLKOUT" cname="_IntRC_OSC_CLKOUTEN" />
<value value="0x006" name="EXTRC_IO" cname="_ExtRC_OSC_RB4EN" />
<value value="0x007" name="EXTRC_CLKOUT" cname="_ExtRC_OSC_CLKOUTEN" />
- </tqmask>
- <tqmask name="WDT" value="0x008" >
+ </mask>
+ <mask name="WDT" value="0x008" >
<value value="0x000" name="Off" cname="_WDT_OFF" />
<value value="0x008" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x020" >
+ </mask>
+ <mask name="MCLRE" value="0x020" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0xFD0" >
+ </mask>
+ <mask name="CP" value="0xFD0" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0xFD0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C52.xml b/src/devices/pic/xml_data/16C52.xml
index f9c1a59..6ef7753 100644
--- a/src/devices/pic/xml_data/16C52.xml
+++ b/src/devices/pic/xml_data/16C52.xml
@@ -30,16 +30,16 @@
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x008" bvalue="0x00B" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x008" bvalue="0x00B" >
+ <mask name="FOSC" value="0x003" >
<value value="default" name="invalid" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x003" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="CP" value="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C54.xml b/src/devices/pic/xml_data/16C54.xml
index 2620238..06455ee 100644
--- a/src/devices/pic/xml_data/16C54.xml
+++ b/src/devices/pic/xml_data/16C54.xml
@@ -36,25 +36,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x00C" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x00C" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C54A.xml b/src/devices/pic/xml_data/16C54A.xml
index ae365d8..c264f10 100644
--- a/src/devices/pic/xml_data/16C54A.xml
+++ b/src/devices/pic/xml_data/16C54A.xml
@@ -45,26 +45,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C54B.xml b/src/devices/pic/xml_data/16C54B.xml
index da0ae9a..d20ae0e 100644
--- a/src/devices/pic/xml_data/16C54B.xml
+++ b/src/devices/pic/xml_data/16C54B.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C54C.xml b/src/devices/pic/xml_data/16C54C.xml
index 629d54e..0d1907b 100644
--- a/src/devices/pic/xml_data/16C54C.xml
+++ b/src/devices/pic/xml_data/16C54C.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C55.xml b/src/devices/pic/xml_data/16C55.xml
index 30d2d4e..0d93443 100644
--- a/src/devices/pic/xml_data/16C55.xml
+++ b/src/devices/pic/xml_data/16C55.xml
@@ -36,25 +36,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x00C" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x00C" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C554.xml b/src/devices/pic/xml_data/16C554.xml
index 42bb60f..1723220 100644
--- a/src/devices/pic/xml_data/16C554.xml
+++ b/src/devices/pic/xml_data/16C554.xml
@@ -38,30 +38,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FBC" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FBC" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C557.xml b/src/devices/pic/xml_data/16C557.xml
index 0d37913..3a9ddab 100644
--- a/src/devices/pic/xml_data/16C557.xml
+++ b/src/devices/pic/xml_data/16C557.xml
@@ -43,32 +43,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FBC" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FBC" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C558.xml b/src/devices/pic/xml_data/16C558.xml
index 36cd4e8..484efee 100644
--- a/src/devices/pic/xml_data/16C558.xml
+++ b/src/devices/pic/xml_data/16C558.xml
@@ -40,32 +40,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FBC" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FBC" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C55A.xml b/src/devices/pic/xml_data/16C55A.xml
index 6bcc1be..27b9eac 100644
--- a/src/devices/pic/xml_data/16C55A.xml
+++ b/src/devices/pic/xml_data/16C55A.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C56.xml b/src/devices/pic/xml_data/16C56.xml
index cddfd3e..a8ec195 100644
--- a/src/devices/pic/xml_data/16C56.xml
+++ b/src/devices/pic/xml_data/16C56.xml
@@ -36,25 +36,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FF" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x00C" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x00C" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C56A.xml b/src/devices/pic/xml_data/16C56A.xml
index 6e29f70..0543765 100644
--- a/src/devices/pic/xml_data/16C56A.xml
+++ b/src/devices/pic/xml_data/16C56A.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FF" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:3FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C57.xml b/src/devices/pic/xml_data/16C57.xml
index 4791ee9..4aef05a 100644
--- a/src/devices/pic/xml_data/16C57.xml
+++ b/src/devices/pic/xml_data/16C57.xml
@@ -36,25 +36,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x00C" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x00C" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C57C.xml b/src/devices/pic/xml_data/16C57C.xml
index 4477c00..4d5f180 100644
--- a/src/devices/pic/xml_data/16C57C.xml
+++ b/src/devices/pic/xml_data/16C57C.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C58A.xml b/src/devices/pic/xml_data/16C58A.xml
index e4798ce..a12abb6 100644
--- a/src/devices/pic/xml_data/16C58A.xml
+++ b/src/devices/pic/xml_data/16C58A.xml
@@ -45,25 +45,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x00C" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0x00C" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C58B.xml b/src/devices/pic/xml_data/16C58B.xml
index 48e910e..04f56ce 100644
--- a/src/devices/pic/xml_data/16C58B.xml
+++ b/src/devices/pic/xml_data/16C58B.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C61.xml b/src/devices/pic/xml_data/16C61.xml
index 6812ee7..0b62c88 100644
--- a/src/devices/pic/xml_data/16C61.xml
+++ b/src/devices/pic/xml_data/16C61.xml
@@ -34,29 +34,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x001F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x001F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C62.xml b/src/devices/pic/xml_data/16C62.xml
index e1a3764..8eebe47 100644
--- a/src/devices/pic/xml_data/16C62.xml
+++ b/src/devices/pic/xml_data/16C62.xml
@@ -33,31 +33,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x003F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x003F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="200:7FF" cname="_CP_75" />
<value value="0x0020" name="400:7FF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C620.xml b/src/devices/pic/xml_data/16C620.xml
index 522beaa..8a676af 100644
--- a/src/devices/pic/xml_data/16C620.xml
+++ b/src/devices/pic/xml_data/16C620.xml
@@ -35,34 +35,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C620A.xml b/src/devices/pic/xml_data/16C620A.xml
index a36b1c6..9770da4 100644
--- a/src/devices/pic/xml_data/16C620A.xml
+++ b/src/devices/pic/xml_data/16C620A.xml
@@ -39,34 +39,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C621.xml b/src/devices/pic/xml_data/16C621.xml
index 745ba82..401ee06 100644
--- a/src/devices/pic/xml_data/16C621.xml
+++ b/src/devices/pic/xml_data/16C621.xml
@@ -36,35 +36,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:3FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C621A.xml b/src/devices/pic/xml_data/16C621A.xml
index 3e48bd4..97e136e 100644
--- a/src/devices/pic/xml_data/16C621A.xml
+++ b/src/devices/pic/xml_data/16C621A.xml
@@ -40,35 +40,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:3FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C622.xml b/src/devices/pic/xml_data/16C622.xml
index 9617071..f1675bc 100644
--- a/src/devices/pic/xml_data/16C622.xml
+++ b/src/devices/pic/xml_data/16C622.xml
@@ -37,36 +37,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C622A.xml b/src/devices/pic/xml_data/16C622A.xml
index 26b691e..04e0d9b 100644
--- a/src/devices/pic/xml_data/16C622A.xml
+++ b/src/devices/pic/xml_data/16C622A.xml
@@ -41,36 +41,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C62A.xml b/src/devices/pic/xml_data/16C62A.xml
index 00c16ea..71bf13f 100644
--- a/src/devices/pic/xml_data/16C62A.xml
+++ b/src/devices/pic/xml_data/16C62A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C62B.xml b/src/devices/pic/xml_data/16C62B.xml
index 749c9c8..6550cbb 100644
--- a/src/devices/pic/xml_data/16C62B.xml
+++ b/src/devices/pic/xml_data/16C62B.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C63.xml b/src/devices/pic/xml_data/16C63.xml
index 16432ee..7d21001 100644
--- a/src/devices/pic/xml_data/16C63.xml
+++ b/src/devices/pic/xml_data/16C63.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C63A.xml b/src/devices/pic/xml_data/16C63A.xml
index 6499148..2a3eac3 100644
--- a/src/devices/pic/xml_data/16C63A.xml
+++ b/src/devices/pic/xml_data/16C63A.xml
@@ -34,36 +34,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C64.xml b/src/devices/pic/xml_data/16C64.xml
index fa3998d..2bd6f77 100644
--- a/src/devices/pic/xml_data/16C64.xml
+++ b/src/devices/pic/xml_data/16C64.xml
@@ -33,31 +33,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x003F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x003F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="200:7FF" cname="_CP_75" />
<value value="0x0020" name="400:7FF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C641.xml b/src/devices/pic/xml_data/16C641.xml
index 74e5fd5..2a819ff 100644
--- a/src/devices/pic/xml_data/16C641.xml
+++ b/src/devices/pic/xml_data/16C641.xml
@@ -28,40 +28,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="MPEEN" value="0x0080" >
+ </mask>
+ <mask name="MPEEN" value="0x0080" >
<value value="0x0000" name="Off" cname="_MPEEN_OFF" />
<value value="0x0080" name="On" cname="_MPEEN_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:7FF" cname="_CP_50" />
<value value="0x2A20" name="200:7FF" cname="_CP_75" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C642.xml b/src/devices/pic/xml_data/16C642.xml
index e9bc07a..c5847a9 100644
--- a/src/devices/pic/xml_data/16C642.xml
+++ b/src/devices/pic/xml_data/16C642.xml
@@ -33,40 +33,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="MPEEN" value="0x0080" >
+ </mask>
+ <mask name="MPEEN" value="0x0080" >
<value value="0x0000" name="Off" cname="_MPEEN_OFF" />
<value value="0x0080" name="On" cname="_MPEEN_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C64A.xml b/src/devices/pic/xml_data/16C64A.xml
index 274da63..c5331e6 100644
--- a/src/devices/pic/xml_data/16C64A.xml
+++ b/src/devices/pic/xml_data/16C64A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C65.xml b/src/devices/pic/xml_data/16C65.xml
index 13ff265..1d5de06 100644
--- a/src/devices/pic/xml_data/16C65.xml
+++ b/src/devices/pic/xml_data/16C65.xml
@@ -33,31 +33,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x003F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x003F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="400:FFF" cname="_CP_75" />
<value value="0x0020" name="800:FFF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C65A.xml b/src/devices/pic/xml_data/16C65A.xml
index 32d4280..4220f2d 100644
--- a/src/devices/pic/xml_data/16C65A.xml
+++ b/src/devices/pic/xml_data/16C65A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C65B.xml b/src/devices/pic/xml_data/16C65B.xml
index 6463d62..c5eae8a 100644
--- a/src/devices/pic/xml_data/16C65B.xml
+++ b/src/devices/pic/xml_data/16C65B.xml
@@ -34,36 +34,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C66.xml b/src/devices/pic/xml_data/16C66.xml
index 08f25d5..bfa3307 100644
--- a/src/devices/pic/xml_data/16C66.xml
+++ b/src/devices/pic/xml_data/16C66.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C661.xml b/src/devices/pic/xml_data/16C661.xml
index 36f2bd0..612f636 100644
--- a/src/devices/pic/xml_data/16C661.xml
+++ b/src/devices/pic/xml_data/16C661.xml
@@ -28,40 +28,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="MPEEN" value="0x0080" >
+ </mask>
+ <mask name="MPEEN" value="0x0080" >
<value value="0x0000" name="Off" cname="_MPEEN_OFF" />
<value value="0x0080" name="On" cname="_MPEEN_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C662.xml b/src/devices/pic/xml_data/16C662.xml
index ffd6fdc..a09c5c5 100644
--- a/src/devices/pic/xml_data/16C662.xml
+++ b/src/devices/pic/xml_data/16C662.xml
@@ -33,40 +33,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="MPEEN" value="0x0080" >
+ </mask>
+ <mask name="MPEEN" value="0x0080" >
<value value="0x0000" name="Off" cname="_MPEEN_OFF" />
<value value="0x0080" name="On" cname="_MPEEN_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C67.xml b/src/devices/pic/xml_data/16C67.xml
index 26cbb43..43c1aa1 100644
--- a/src/devices/pic/xml_data/16C67.xml
+++ b/src/devices/pic/xml_data/16C67.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C71.xml b/src/devices/pic/xml_data/16C71.xml
index e453bfa..d23acc3 100644
--- a/src/devices/pic/xml_data/16C71.xml
+++ b/src/devices/pic/xml_data/16C71.xml
@@ -31,29 +31,29 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x001F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x001F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C710.xml b/src/devices/pic/xml_data/16C710.xml
index 62b36a3..d6a90c2 100644
--- a/src/devices/pic/xml_data/16C710.xml
+++ b/src/devices/pic/xml_data/16C710.xml
@@ -34,34 +34,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3FB0" >
+ </mask>
+ <mask name="CP" value="0x3FB0" >
<value value="0x0000" name="040:1FF" cname="_CP_ON" />
<value value="0x3FB0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C711.xml b/src/devices/pic/xml_data/16C711.xml
index b57c9f5..29518e3 100644
--- a/src/devices/pic/xml_data/16C711.xml
+++ b/src/devices/pic/xml_data/16C711.xml
@@ -34,34 +34,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3FB0" >
+ </mask>
+ <mask name="CP" value="0x3FB0" >
<value value="0x0000" name="040:3FF" cname="_CP_ON" />
<value value="0x3FB0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C712.xml b/src/devices/pic/xml_data/16C712.xml
index 400aa43..6979deb 100644
--- a/src/devices/pic/xml_data/16C712.xml
+++ b/src/devices/pic/xml_data/16C712.xml
@@ -29,35 +29,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2A20" name="200:3FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C715.xml b/src/devices/pic/xml_data/16C715.xml
index 8df94d0..501018f 100644
--- a/src/devices/pic/xml_data/16C715.xml
+++ b/src/devices/pic/xml_data/16C715.xml
@@ -33,40 +33,40 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="MPEEN" value="0x0080" >
+ </mask>
+ <mask name="MPEEN" value="0x0080" >
<value value="0x0000" name="Off" cname="_MPEEN_OFF" />
<value value="0x0080" name="On" cname="_MPEEN_ON" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C716.xml b/src/devices/pic/xml_data/16C716.xml
index 6885b77..f34e760 100644
--- a/src/devices/pic/xml_data/16C716.xml
+++ b/src/devices/pic/xml_data/16C716.xml
@@ -32,36 +32,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C717.xml b/src/devices/pic/xml_data/16C717.xml
index 9045ec7..19c6f6a 100644
--- a/src/devices/pic/xml_data/16C717.xml
+++ b/src/devices/pic/xml_data/16C717.xml
@@ -36,13 +36,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <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" />
@@ -51,34 +51,34 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0006" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0007" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3300" >
+ </mask>
+ <mask name="CP" value="0x3300" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3300" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C72.xml b/src/devices/pic/xml_data/16C72.xml
index ac7d9b7..e6b88a2 100644
--- a/src/devices/pic/xml_data/16C72.xml
+++ b/src/devices/pic/xml_data/16C72.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C72A.xml b/src/devices/pic/xml_data/16C72A.xml
index 7eb3705..cabb079 100644
--- a/src/devices/pic/xml_data/16C72A.xml
+++ b/src/devices/pic/xml_data/16C72A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C73.xml b/src/devices/pic/xml_data/16C73.xml
index 37f92de..78b69fa 100644
--- a/src/devices/pic/xml_data/16C73.xml
+++ b/src/devices/pic/xml_data/16C73.xml
@@ -33,31 +33,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x003F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x003F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="400:FFF" cname="_CP_75" />
<value value="0x0020" name="800:FFF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C73A.xml b/src/devices/pic/xml_data/16C73A.xml
index ee67734..df9a672 100644
--- a/src/devices/pic/xml_data/16C73A.xml
+++ b/src/devices/pic/xml_data/16C73A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C73B.xml b/src/devices/pic/xml_data/16C73B.xml
index 35694d2..b2418f1 100644
--- a/src/devices/pic/xml_data/16C73B.xml
+++ b/src/devices/pic/xml_data/16C73B.xml
@@ -34,36 +34,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C74.xml b/src/devices/pic/xml_data/16C74.xml
index 9f5747e..091501d 100644
--- a/src/devices/pic/xml_data/16C74.xml
+++ b/src/devices/pic/xml_data/16C74.xml
@@ -33,31 +33,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x003F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x003F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="400:FFF" cname="_CP_75" />
<value value="0x0020" name="800:FFF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C745.xml b/src/devices/pic/xml_data/16C745.xml
index daf0552..1a4ab42 100644
--- a/src/devices/pic/xml_data/16C745.xml
+++ b/src/devices/pic/xml_data/16C745.xml
@@ -29,32 +29,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="HS" cname="_HS_OSC" />
<value value="0x0001" name="EC_CLKOUT" cname="_EC_OSC" />
<value value="0x0002" name="H4" cname="_H4_OSC" />
<value value="0x0003" name="E4_CLKOUT" cname="_E4_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C74A.xml b/src/devices/pic/xml_data/16C74A.xml
index d859fc2..0d784c9 100644
--- a/src/devices/pic/xml_data/16C74A.xml
+++ b/src/devices/pic/xml_data/16C74A.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C74B.xml b/src/devices/pic/xml_data/16C74B.xml
index 325fda9..ce7274f 100644
--- a/src/devices/pic/xml_data/16C74B.xml
+++ b/src/devices/pic/xml_data/16C74B.xml
@@ -34,36 +34,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C76.xml b/src/devices/pic/xml_data/16C76.xml
index 7c6ed42..c5819a2 100644
--- a/src/devices/pic/xml_data/16C76.xml
+++ b/src/devices/pic/xml_data/16C76.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C765.xml b/src/devices/pic/xml_data/16C765.xml
index 360985e..c441e17 100644
--- a/src/devices/pic/xml_data/16C765.xml
+++ b/src/devices/pic/xml_data/16C765.xml
@@ -29,32 +29,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="HS" cname="_HS_OSC" />
<value value="0x0001" name="EC_CLKOUT" cname="_EC_OSC" />
<value value="0x0002" name="H4" cname="_H4_OSC" />
<value value="0x0003" name="E4_CLKOUT" cname="_E4_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C77.xml b/src/devices/pic/xml_data/16C77.xml
index 60d0a72..f863d24 100644
--- a/src/devices/pic/xml_data/16C77.xml
+++ b/src/devices/pic/xml_data/16C77.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="0800:1FFF" cname="_CP_75" />
<value value="0x2A20" name="1000:1FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C770.xml b/src/devices/pic/xml_data/16C770.xml
index cb00a24..de1d9e9 100644
--- a/src/devices/pic/xml_data/16C770.xml
+++ b/src/devices/pic/xml_data/16C770.xml
@@ -36,13 +36,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <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" />
@@ -51,34 +51,34 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0006" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0007" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3300" >
+ </mask>
+ <mask name="CP" value="0x3300" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3300" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C771.xml b/src/devices/pic/xml_data/16C771.xml
index 6f59244..4bf7fcd 100644
--- a/src/devices/pic/xml_data/16C771.xml
+++ b/src/devices/pic/xml_data/16C771.xml
@@ -36,13 +36,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <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" />
@@ -51,34 +51,34 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0006" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0007" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3300" >
+ </mask>
+ <mask name="CP" value="0x3300" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3300" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C773.xml b/src/devices/pic/xml_data/16C773.xml
index d5d4e06..1b74ed5 100644
--- a/src/devices/pic/xml_data/16C773.xml
+++ b/src/devices/pic/xml_data/16C773.xml
@@ -33,42 +33,42 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3330" >
+ </mask>
+ <mask name="CP" value="0x3330" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1110" name="400:FFF" cname="_CP_75" />
<value value="0x2220" name="800:FFF" cname="_CP_50" />
<value value="0x3330" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C774.xml b/src/devices/pic/xml_data/16C774.xml
index 7915805..1d577ee 100644
--- a/src/devices/pic/xml_data/16C774.xml
+++ b/src/devices/pic/xml_data/16C774.xml
@@ -33,42 +33,42 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3330" >
+ </mask>
+ <mask name="CP" value="0x3330" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1110" name="400:FFF" cname="_CP_75" />
<value value="0x2220" name="800:FFF" cname="_CP_50" />
<value value="0x3330" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C781.xml b/src/devices/pic/xml_data/16C781.xml
index 7533b24..2861a67 100644
--- a/src/devices/pic/xml_data/16C781.xml
+++ b/src/devices/pic/xml_data/16C781.xml
@@ -32,13 +32,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <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" />
@@ -47,34 +47,34 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0006" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0007" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3300" >
+ </mask>
+ <mask name="CP" value="0x3300" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3300" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C782.xml b/src/devices/pic/xml_data/16C782.xml
index 2b863ed..6192a30 100644
--- a/src/devices/pic/xml_data/16C782.xml
+++ b/src/devices/pic/xml_data/16C782.xml
@@ -32,13 +32,13 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <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" />
@@ -47,34 +47,34 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0006" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0007" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C00" >
+ </mask>
+ <mask name="BORV" value="0x0C00" >
<value value="0x0000" name="4.5" cname="_VBOR_45" />
<value value="0x0400" name="4.2" cname="_VBOR_42" />
<value value="0x0800" name="2.7" cname="_VBOR_27" />
<value value="0x0C00" name="2.5" cname="_VBOR_25" />
- </tqmask>
- <tqmask name="CP" value="0x3300" >
+ </mask>
+ <mask name="CP" value="0x3300" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3300" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C84.xml b/src/devices/pic/xml_data/16C84.xml
index 708ba95..595bcd9 100644
--- a/src/devices/pic/xml_data/16C84.xml
+++ b/src/devices/pic/xml_data/16C84.xml
@@ -25,30 +25,30 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x001F" ctqmask="0x0018" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x001F" cmask="0x0018" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="Off" cname="_PWRTE_OFF" />
<value value="0x0008" name="On" cname="_PWRTE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C923.xml b/src/devices/pic/xml_data/16C923.xml
index 3e438d2..a670a59 100644
--- a/src/devices/pic/xml_data/16C923.xml
+++ b/src/devices/pic/xml_data/16C923.xml
@@ -33,32 +33,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C924.xml b/src/devices/pic/xml_data/16C924.xml
index a9096d1..614ff48 100644
--- a/src/devices/pic/xml_data/16C924.xml
+++ b/src/devices/pic/xml_data/16C924.xml
@@ -33,32 +33,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C925.xml b/src/devices/pic/xml_data/16C925.xml
index c7a494f..b9c703d 100644
--- a/src/devices/pic/xml_data/16C925.xml
+++ b/src/devices/pic/xml_data/16C925.xml
@@ -25,36 +25,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="000:EFF" cname="_CP_75" />
<value value="0x0020" name="000:7FF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16C926.xml b/src/devices/pic/xml_data/16C926.xml
index 8a71ca5..4120d43 100644
--- a/src/devices/pic/xml_data/16C926.xml
+++ b/src/devices/pic/xml_data/16C926.xml
@@ -25,36 +25,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x007F" ctqmask="0x3F3F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x007F" cmask="0x3F3F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0030" >
+ </mask>
+ <mask name="CP" value="0x0030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="0000:1EFF" cname="_CP_75" />
<value value="0x0020" name="0000:0FFF" cname="_CP_50" />
<value value="0x0030" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CE623.xml b/src/devices/pic/xml_data/16CE623.xml
index 00dbeee..18e6848 100644
--- a/src/devices/pic/xml_data/16CE623.xml
+++ b/src/devices/pic/xml_data/16CE623.xml
@@ -35,35 +35,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x007F" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CE624.xml b/src/devices/pic/xml_data/16CE624.xml
index f480f85..4f205a7 100644
--- a/src/devices/pic/xml_data/16CE624.xml
+++ b/src/devices/pic/xml_data/16CE624.xml
@@ -36,36 +36,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x007F" hexfile_offset="?" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:3FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CE625.xml b/src/devices/pic/xml_data/16CE625.xml
index 9d156e9..d7aa576 100644
--- a/src/devices/pic/xml_data/16CE625.xml
+++ b/src/devices/pic/xml_data/16CE625.xml
@@ -37,36 +37,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR54.xml_broken b/src/devices/pic/xml_data/16CR54.xml_broken
index e78487e..cef44cb 100644
--- a/src/devices/pic/xml_data/16CR54.xml_broken
+++ b/src/devices/pic/xml_data/16CR54.xml_broken
@@ -18,25 +18,25 @@
<!--* Memory ***************************************************************-->
<memory name="program" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0x00C" ctqmask="0x008" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0x00C" cmask="0x008" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR54A.xml b/src/devices/pic/xml_data/16CR54A.xml
index cbe7ef1..c3a5d2a 100644
--- a/src/devices/pic/xml_data/16CR54A.xml
+++ b/src/devices/pic/xml_data/16CR54A.xml
@@ -37,26 +37,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR54B.xml b/src/devices/pic/xml_data/16CR54B.xml
index d561ca9..43456d8 100644
--- a/src/devices/pic/xml_data/16CR54B.xml
+++ b/src/devices/pic/xml_data/16CR54B.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR54C.xml b/src/devices/pic/xml_data/16CR54C.xml
index c5d9876..3667ce3 100644
--- a/src/devices/pic/xml_data/16CR54C.xml
+++ b/src/devices/pic/xml_data/16CR54C.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR56A.xml b/src/devices/pic/xml_data/16CR56A.xml
index 92ed41d..0b28931 100644
--- a/src/devices/pic/xml_data/16CR56A.xml
+++ b/src/devices/pic/xml_data/16CR56A.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FF" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="CP" value="0xFF8" >
<value value="0x000" name="040:3FF" cname="_CP_ON" />
<value value="0xFF8" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR57B.xml b/src/devices/pic/xml_data/16CR57B.xml
index d4f218a..caba4c3 100644
--- a/src/devices/pic/xml_data/16CR57B.xml
+++ b/src/devices/pic/xml_data/16CR57B.xml
@@ -37,26 +37,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR57C.xml b/src/devices/pic/xml_data/16CR57C.xml
index 1bee66c..379f1bc 100644
--- a/src/devices/pic/xml_data/16CR57C.xml
+++ b/src/devices/pic/xml_data/16CR57C.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR58A.xml b/src/devices/pic/xml_data/16CR58A.xml
index 8834988..3841400 100644
--- a/src/devices/pic/xml_data/16CR58A.xml
+++ b/src/devices/pic/xml_data/16CR58A.xml
@@ -37,26 +37,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR58B.xml b/src/devices/pic/xml_data/16CR58B.xml
index 17b9c83..b450e31 100644
--- a/src/devices/pic/xml_data/16CR58B.xml
+++ b/src/devices/pic/xml_data/16CR58B.xml
@@ -40,26 +40,26 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFC" bvalue="0xFFF" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFC" bvalue="0xFFF" >
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR62.xml b/src/devices/pic/xml_data/16CR62.xml
index 5e18732..0b27a3c 100644
--- a/src/devices/pic/xml_data/16CR62.xml
+++ b/src/devices/pic/xml_data/16CR62.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR620A.xml b/src/devices/pic/xml_data/16CR620A.xml
index 891e699..a2e6db3 100644
--- a/src/devices/pic/xml_data/16CR620A.xml
+++ b/src/devices/pic/xml_data/16CR620A.xml
@@ -35,34 +35,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR63.xml b/src/devices/pic/xml_data/16CR63.xml
index 0279f84..08d6f3f 100644
--- a/src/devices/pic/xml_data/16CR63.xml
+++ b/src/devices/pic/xml_data/16CR63.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR64.xml b/src/devices/pic/xml_data/16CR64.xml
index 4ade4a5..e155a97 100644
--- a/src/devices/pic/xml_data/16CR64.xml
+++ b/src/devices/pic/xml_data/16CR64.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR65.xml b/src/devices/pic/xml_data/16CR65.xml
index b83c4e2..df4d3f4 100644
--- a/src/devices/pic/xml_data/16CR65.xml
+++ b/src/devices/pic/xml_data/16CR65.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="400:FFF" cname="_CP_75" />
<value value="0x2A20" name="800:FFF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR72.xml b/src/devices/pic/xml_data/16CR72.xml
index 18ba26f..efaa9f8 100644
--- a/src/devices/pic/xml_data/16CR72.xml
+++ b/src/devices/pic/xml_data/16CR72.xml
@@ -33,36 +33,36 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3F7F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3F7F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask 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="0x3F30" >
+ </mask>
+ <mask name="CP" value="0x3F30" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1510" name="200:7FF" cname="_CP_75" />
<value value="0x2A20" name="400:7FF" cname="_CP_50" />
<value value="0x3F30" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR73.xml b/src/devices/pic/xml_data/16CR73.xml
index c368a1b..6513255 100644
--- a/src/devices/pic/xml_data/16CR73.xml
+++ b/src/devices/pic/xml_data/16CR73.xml
@@ -31,34 +31,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR74.xml b/src/devices/pic/xml_data/16CR74.xml
index c724d90..6fec92e 100644
--- a/src/devices/pic/xml_data/16CR74.xml
+++ b/src/devices/pic/xml_data/16CR74.xml
@@ -31,34 +31,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR76.xml b/src/devices/pic/xml_data/16CR76.xml
index 00576fb..dd9916a 100644
--- a/src/devices/pic/xml_data/16CR76.xml
+++ b/src/devices/pic/xml_data/16CR76.xml
@@ -31,34 +31,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR77.xml b/src/devices/pic/xml_data/16CR77.xml
index 04c6f68..661ebf0 100644
--- a/src/devices/pic/xml_data/16CR77.xml
+++ b/src/devices/pic/xml_data/16CR77.xml
@@ -31,34 +31,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR83.xml b/src/devices/pic/xml_data/16CR83.xml
index 24f9ed0..01c4166 100644
--- a/src/devices/pic/xml_data/16CR83.xml
+++ b/src/devices/pic/xml_data/16CR83.xml
@@ -31,35 +31,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_DP_ON" />
<value value="0x0080" name="Off" cname="_DP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F70" >
+ </mask>
+ <mask name="CP" value="0x3F70" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F70" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16CR84.xml b/src/devices/pic/xml_data/16CR84.xml
index a22db42..5d93205 100644
--- a/src/devices/pic/xml_data/16CR84.xml
+++ b/src/devices/pic/xml_data/16CR84.xml
@@ -31,35 +31,35 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_DP_ON" />
<value value="0x0080" name="Off" cname="_DP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3F70" >
+ </mask>
+ <mask name="CP" value="0x3F70" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3F70" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F505.xml b/src/devices/pic/xml_data/16F505.xml
index 250adf4..bbc2607 100644
--- a/src/devices/pic/xml_data/16F505.xml
+++ b/src/devices/pic/xml_data/16F505.xml
@@ -29,14 +29,14 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0x7FF" end="0x7FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x404" end="0x404" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x03F" >
- <tqmask name="FOSC" value="0x007" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x03F" >
+ <mask name="FOSC" value="0x007" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="HS" cname="_HS_OSC" />
@@ -45,19 +45,19 @@
<value value="0x005" name="INTRC_CLKOUT" cname="_IntRC_OSC_CLKOUTEN" />
<value value="0x006" name="EXTRC_IO" cname="_ExtRC_OSC_RB4EN" />
<value value="0x007" name="EXTRC_CLKOUT" cname="_ExtRC_OSC_CLKOUTEN" />
- </tqmask>
- <tqmask name="WDT" value="0x008" >
+ </mask>
+ <mask name="WDT" value="0x008" >
<value value="0x000" name="Off" cname="_WDT_OFF" />
<value value="0x008" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="CP" value="0x010" >
+ </mask>
+ <mask name="CP" value="0x010" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x020" >
+ </mask>
+ <mask name="MCLRE" value="0x020" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x020" name="External" cname="_MCLRE_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F506.xml b/src/devices/pic/xml_data/16F506.xml
index a472914..4fa7a47 100644
--- a/src/devices/pic/xml_data/16F506.xml
+++ b/src/devices/pic/xml_data/16F506.xml
@@ -30,14 +30,14 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x3FE" />
- <memory name="calibration" start="0x3FF" end="0x3FF" cal_optqmask="0xF00" cal_opcode="0xC00" />
- <memory name="user_ids" start="0x400" end="0x403" rtqmask="0x00F" />
+ <memory name="calibration" start="0x3FF" end="0x3FF" cal_opmask="0xF00" cal_opcode="0xC00" />
+ <memory name="user_ids" start="0x400" end="0x403" rmask="0x00F" />
<memory name="config" start="0x7FF" end="0x7FF" hexfile_offset="0xFFF" />
<memory name="calibration_backup" start="0x404" end="0x404" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x07F" >
- <tqmask name="FOSC" value="0x007" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x07F" >
+ <mask name="FOSC" value="0x007" >
<value value="0x000" name="LP" cname="_LP_OSC" />
<value value="0x001" name="XT" cname="_XT_OSC" />
<value value="0x002" name="HS" cname="_HS_OSC" />
@@ -46,23 +46,23 @@
<value value="0x005" name="INTRC_CLKOUT" cname="_IntRC_OSC_CLKOUTEN" />
<value value="0x006" name="EXTRC_IO" cname="_ExtRC_OSC_RB4EN" />
<value value="0x007" name="EXTRC_CLKOUT" cname="_ExtRC_OSC_CLKOUTEN" />
- </tqmask>
- <tqmask name="WDT" value="0x008" >
+ </mask>
+ <mask name="WDT" value="0x008" >
<value value="0x000" name="Off" cname="_WDT_OFF" />
<value value="0x008" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="CP" value="0x010" >
+ </mask>
+ <mask name="CP" value="0x010" >
<value value="0x000" name="040:3FE" cname="_CP_ON" />
<value value="0x010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="MCLRE" value="0x020" >
+ </mask>
+ <mask name="MCLRE" value="0x020" >
<value value="0x000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x040" >
+ </mask>
+ <mask name="IOSCFS" value="0x040" >
<value value="0x000" name="4MHZ" cname="_IOSCFS_OFF" />
<value value="0x040" name="8MHZ" cname="_IOSCFS_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F54.xml b/src/devices/pic/xml_data/16F54.xml
index c5abd78..4b55624 100644
--- a/src/devices/pic/xml_data/16F54.xml
+++ b/src/devices/pic/xml_data/16F54.xml
@@ -29,25 +29,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:1FF" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F57.xml b/src/devices/pic/xml_data/16F57.xml
index 26afb61..e84e053 100644
--- a/src/devices/pic/xml_data/16F57.xml
+++ b/src/devices/pic/xml_data/16F57.xml
@@ -29,25 +29,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:7FF" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F59.xml b/src/devices/pic/xml_data/16F59.xml
index 4ecfae8..b29659a 100644
--- a/src/devices/pic/xml_data/16F59.xml
+++ b/src/devices/pic/xml_data/16F59.xml
@@ -29,25 +29,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x7FF" />
- <memory name="user_ids" start="0x800" end="0x803" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x800" end="0x803" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="040:7FF" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F610.xml b/src/devices/pic/xml_data/16F610.xml
index acf84ca..46795b1 100644
--- a/src/devices/pic/xml_data/16F610.xml
+++ b/src/devices/pic/xml_data/16F610.xml
@@ -38,15 +38,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x03FF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x03FF" >
+ <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" />
@@ -55,32 +55,32 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x0080" >
+ </mask>
+ <mask name="IOSCFS" value="0x0080" >
<value value="0x0000" name="4MHZ" cname="_IOSCFS_4MHZ" />
<value value="0x0080" name="8MHZ" cname="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="default" name="Off" cname="_BOR_OFF" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F616.xml b/src/devices/pic/xml_data/16F616.xml
index 890aac4..9f8ca55 100644
--- a/src/devices/pic/xml_data/16F616.xml
+++ b/src/devices/pic/xml_data/16F616.xml
@@ -39,15 +39,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x03FF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x03FF" >
+ <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" />
@@ -56,32 +56,32 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="IOSCFS" value="0x0080" >
+ </mask>
+ <mask name="IOSCFS" value="0x0080" >
<value value="0x0000" name="4MHZ" cname="_IOSCFS_4MHZ" />
<value value="0x0080" name="8MHZ" cname="_IOSCFS_8MHZ" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="default" name="Off" cname="_BOR_OFF" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F627.xml b/src/devices/pic/xml_data/16F627.xml
index 2656e1a..7ce03a5 100644
--- a/src/devices/pic/xml_data/16F627.xml
+++ b/src/devices/pic/xml_data/16F627.xml
@@ -46,22 +46,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3DFF" icnames="_CP_50" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3DFF" icnames="_CP_50" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -70,29 +70,29 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0012" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0013" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_DATA_CP_ON" />
<value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3C00" >
+ </mask>
+ <mask name="CP" value="0x3C00" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1400" name="200:3FF" cname="_CP_75" />
<value value="0x3C00" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F627A.xml b/src/devices/pic/xml_data/16F627A.xml
index 3992f2a..de43d7a 100644
--- a/src/devices/pic/xml_data/16F627A.xml
+++ b/src/devices/pic/xml_data/16F627A.xml
@@ -37,23 +37,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x21FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x21FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -62,27 +62,27 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTOSC_OSC_CLKOUT" ecnames="_INTRC_OSC_CLKOUT" />
<value value="0x0012" name="ER_IO" cname="_RC_OSC_NOCLKOUT" ecnames="_ER_OSC_NOCLKOUT" />
<value value="0x0013" name="ER_CLKOUT" cname="_RC_OSC_CLKOUT" ecnames="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_OFF" ecnames="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BOREN_ON" ecnames="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_DATA_CP_ON" />
<value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F628.xml b/src/devices/pic/xml_data/16F628.xml
index 1261707..fed16fa 100644
--- a/src/devices/pic/xml_data/16F628.xml
+++ b/src/devices/pic/xml_data/16F628.xml
@@ -47,22 +47,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3DFF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3DFF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -71,30 +71,30 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" />
<value value="0x0012" name="ER_IO" cname="_ER_OSC_NOCLKOUT" />
<value value="0x0013" name="ER_CLKOUT" cname="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_DATA_CP_ON" />
<value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3C00" >
+ </mask>
+ <mask name="CP" value="0x3C00" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1400" name="200:7FF" cname="_CP_75" />
<value value="0x2800" name="400:7FF" cname="_CP_50" />
<value value="0x3C00" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F628A.xml b/src/devices/pic/xml_data/16F628A.xml
index 8a194f9..8c5a4cc 100644
--- a/src/devices/pic/xml_data/16F628A.xml
+++ b/src/devices/pic/xml_data/16F628A.xml
@@ -37,23 +37,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x21FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x21FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -62,27 +62,27 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTOSC_OSC_CLKOUT" ecnames="_INTRC_OSC_CLKOUT" />
<value value="0x0012" name="ER_IO" cname="_RC_OSC_NOCLKOUT" ecnames="_ER_OSC_NOCLKOUT" />
<value value="0x0013" name="ER_CLKOUT" cname="_RC_OSC_CLKOUT" ecnames="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_OFF" ecnames="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BOREN_ON" ecnames="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_DATA_CP_ON" />
<value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F630.xml b/src/devices/pic/xml_data/16F630.xml
index 2096457..a82ffdb 100644
--- a/src/devices/pic/xml_data/16F630.xml
+++ b/src/devices/pic/xml_data/16F630.xml
@@ -36,16 +36,16 @@
<!--* 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="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" >
+ <config offset="0x0" name="" wmask="0x31FF" bvalue="0x31FF" pmask="0x3000" >
+ <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" />
@@ -54,37 +54,37 @@
<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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN" />
- </tqmask>
- <tqmask name="CP" value="0x0080" >
+ </mask>
+ <mask name="CP" value="0x0080" >
<value value="0x0000" name="All" cname="_CP" />
<value value="0x0080" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BG" value="0x3000">
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F631.xml b/src/devices/pic/xml_data/16F631.xml
index 9a0bb10..e6a5274 100644
--- a/src/devices/pic/xml_data/16F631.xml
+++ b/src/devices/pic/xml_data/16F631.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F636.xml b/src/devices/pic/xml_data/16F636.xml
index d996191..e47314e 100644
--- a/src/devices/pic/xml_data/16F636.xml
+++ b/src/devices/pic/xml_data/16F636.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -48,45 +48,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="WUREN" value="0x1000" >
+ </mask>
+ <mask name="WUREN" value="0x1000" >
<value value="0x0000" name="On" cname="_WUREN_ON" />
<value value="0x1000" name="Off" cname="_WUREN_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F639.xml b/src/devices/pic/xml_data/16F639.xml
index 6cb669e..7affb7b 100644
--- a/src/devices/pic/xml_data/16F639.xml
+++ b/src/devices/pic/xml_data/16F639.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -48,45 +48,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="WUREN" value="0x1000" >
+ </mask>
+ <mask name="WUREN" value="0x1000" >
<value value="0x0000" name="On" cname="_WUREN_ON" />
<value value="0x1000" name="Off" cname="_WUREN_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F648A.xml b/src/devices/pic/xml_data/16F648A.xml
index 6ece38e..17b4f83 100644
--- a/src/devices/pic/xml_data/16F648A.xml
+++ b/src/devices/pic/xml_data/16F648A.xml
@@ -37,23 +37,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x21FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x21FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -62,27 +62,27 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTOSC_OSC_CLKOUT" ecnames="_INTRC_OSC_CLKOUT" />
<value value="0x0012" name="ER_IO" cname="_RC_OSC_NOCLKOUT" ecnames="_ER_OSC_NOCLKOUT" />
<value value="0x0013" name="ER_CLKOUT" cname="_RC_OSC_CLKOUT" ecnames="_ER_OSC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_OFF" ecnames="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BOREN_ON" ecnames="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_DATA_CP_ON" />
<value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F676.xml b/src/devices/pic/xml_data/16F676.xml
index 6dc78bc..b608d48 100644
--- a/src/devices/pic/xml_data/16F676.xml
+++ b/src/devices/pic/xml_data/16F676.xml
@@ -36,16 +36,16 @@
<!--* 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="calibration" start="0x03FF" end="0x03FF" cal_opmask="0x3C00" cal_opcode="0x3400" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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" >
+ <config offset="0x0" name="" wmask="0x31FF" bvalue="0x31FF" pmask="0x3000" >
+ <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" />
@@ -54,37 +54,37 @@
<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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN" />
- </tqmask>
- <tqmask name="CP" value="0x0080" >
+ </mask>
+ <mask name="CP" value="0x0080" >
<value value="0x0000" name="All" cname="_CP" />
<value value="0x0080" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BG" value="0x3000">
+ </mask>
+ <mask 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>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F677.xml b/src/devices/pic/xml_data/16F677.xml
index f819715..d27b2eb 100644
--- a/src/devices/pic/xml_data/16F677.xml
+++ b/src/devices/pic/xml_data/16F677.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F684.xml b/src/devices/pic/xml_data/16F684.xml
index c620fc1..f330925 100644
--- a/src/devices/pic/xml_data/16F684.xml
+++ b/src/devices/pic/xml_data/16F684.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F685.xml b/src/devices/pic/xml_data/16F685.xml
index a0c5713..aa35aa3 100644
--- a/src/devices/pic/xml_data/16F685.xml
+++ b/src/devices/pic/xml_data/16F685.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F687.xml b/src/devices/pic/xml_data/16F687.xml
index 093f879..2e58780 100644
--- a/src/devices/pic/xml_data/16F687.xml
+++ b/src/devices/pic/xml_data/16F687.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F688.xml b/src/devices/pic/xml_data/16F688.xml
index bde2461..2692159 100644
--- a/src/devices/pic/xml_data/16F688.xml
+++ b/src/devices/pic/xml_data/16F688.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F689.xml b/src/devices/pic/xml_data/16F689.xml
index af0651f..f22fdcd 100644
--- a/src/devices/pic/xml_data/16F689.xml
+++ b/src/devices/pic/xml_data/16F689.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F690.xml b/src/devices/pic/xml_data/16F690.xml
index f606062..7a51bac 100644
--- a/src/devices/pic/xml_data/16F690.xml
+++ b/src/devices/pic/xml_data/16F690.xml
@@ -30,16 +30,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2008" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2008" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -48,41 +48,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F716.xml b/src/devices/pic/xml_data/16F716.xml
index d0cc586..8ebaa00 100644
--- a/src/devices/pic/xml_data/16F716.xml
+++ b/src/devices/pic/xml_data/16F716.xml
@@ -36,39 +36,39 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x20CF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x20CF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_OFF" ecnames="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BOREN_ON" ecnames="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0080" >
+ </mask>
+ <mask name="BORV" value="0x0080" >
<value value="0x0000" name="2.5" cname="_VBOR_25" />
<value value="0x0080" name="4.0" cname="_VBOR_40" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ON" ecnames="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F72.xml b/src/devices/pic/xml_data/16F72.xml
index a8c789d..d49b2cd 100644
--- a/src/devices/pic/xml_data/16F72.xml
+++ b/src/devices/pic/xml_data/16F72.xml
@@ -34,34 +34,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F73.xml b/src/devices/pic/xml_data/16F73.xml
index 8659896..157cb74 100644
--- a/src/devices/pic/xml_data/16F73.xml
+++ b/src/devices/pic/xml_data/16F73.xml
@@ -25,34 +25,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F737.xml b/src/devices/pic/xml_data/16F737.xml
index c17c0f8..0184aa9 100644
--- a/src/devices/pic/xml_data/16F737.xml
+++ b/src/devices/pic/xml_data/16F737.xml
@@ -34,22 +34,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x39FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x39FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -58,48 +58,48 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_0" />
<value value="0x0040" name="On" cname="_BOREN_1" />
- </tqmask>
- <tqmask name="BORV" value="0x0180" >
+ </mask>
+ <mask name="BORV" value="0x0180" >
<value value="0x0000" name="4.5" cname="_VBOR_4_5" />
<value value="0x0080" name="4.2" cname="_VBOR_4_2" />
<value value="0x0100" name="2.7" cname="_VBOR_2_7" />
<value value="0x0180" name="2.0" cname="_VBOR_2_0" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x1000" >
+ </mask>
+ <mask name="CCP2MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP2_RB3" />
<value value="0x1000" name="RC1" cname="_CCP2_RC1" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0043" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0043" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="BORSEN" value="0x0040" >
+ </mask>
+ <mask name="BORSEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BORSEN_0" />
<value value="0x0040" name="On" cname="_BORSEN_1" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F74.xml b/src/devices/pic/xml_data/16F74.xml
index 7bfc1b3..fc2b312 100644
--- a/src/devices/pic/xml_data/16F74.xml
+++ b/src/devices/pic/xml_data/16F74.xml
@@ -25,34 +25,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F747.xml b/src/devices/pic/xml_data/16F747.xml
index 1200a6c..ec03640 100644
--- a/src/devices/pic/xml_data/16F747.xml
+++ b/src/devices/pic/xml_data/16F747.xml
@@ -34,22 +34,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x39FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x39FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -58,48 +58,48 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_0" />
<value value="0x0040" name="On" cname="_BOREN_1" />
- </tqmask>
- <tqmask name="BORV" value="0x0180" >
+ </mask>
+ <mask name="BORV" value="0x0180" >
<value value="0x0000" name="4.5" cname="_VBOR_4_5" />
<value value="0x0080" name="4.2" cname="_VBOR_4_2" />
<value value="0x0100" name="2.7" cname="_VBOR_2_7" />
<value value="0x0180" name="2.0" cname="_VBOR_2_0" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x1000" >
+ </mask>
+ <mask name="CCP2MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP2_RB3" />
<value value="0x1000" name="RC1" cname="_CCP2_RC1" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0043" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0043" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="BORSEN" value="0x0040" >
+ </mask>
+ <mask name="BORSEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BORSEN_0" />
<value value="0x0040" name="On" cname="_BORSEN_1" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F76.xml b/src/devices/pic/xml_data/16F76.xml
index 8fde14a..3b6fcf3 100644
--- a/src/devices/pic/xml_data/16F76.xml
+++ b/src/devices/pic/xml_data/16F76.xml
@@ -25,34 +25,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F767.xml b/src/devices/pic/xml_data/16F767.xml
index 0dc2c9f..77ed134 100644
--- a/src/devices/pic/xml_data/16F767.xml
+++ b/src/devices/pic/xml_data/16F767.xml
@@ -34,22 +34,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x39FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x39FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -58,48 +58,48 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_0" />
<value value="0x0040" name="On" cname="_BOREN_1" />
- </tqmask>
- <tqmask name="BORV" value="0x0180" >
+ </mask>
+ <mask name="BORV" value="0x0180" >
<value value="0x0000" name="4.5" cname="_VBOR_4_5" />
<value value="0x0080" name="4.2" cname="_VBOR_4_2" />
<value value="0x0100" name="2.7" cname="_VBOR_2_7" />
<value value="0x0180" name="2.0" cname="_VBOR_2_0" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x1000" >
+ </mask>
+ <mask name="CCP2MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP2_RB3" />
<value value="0x1000" name="RC1" cname="_CCP2_RC1" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0043" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0043" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="BORSEN" value="0x0040" >
+ </mask>
+ <mask name="BORSEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BORSEN_0" />
<value value="0x0040" name="On" cname="_BORSEN_1" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F77.xml b/src/devices/pic/xml_data/16F77.xml
index b17a20a..e02e2cb 100644
--- a/src/devices/pic/xml_data/16F77.xml
+++ b/src/devices/pic/xml_data/16F77.xml
@@ -25,34 +25,34 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x000F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x000F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" ecnames="_WDTEN_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" ecnames="_WDTEN_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" ecnames="_PWRTEN_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" ecnames="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x0010" >
+ </mask>
+ <mask name="CP" value="0x0010" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x0010" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" ecnames="_BOREN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" ecnames="_BOREN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F777.xml b/src/devices/pic/xml_data/16F777.xml
index 54f6eb3..71899b2 100644
--- a/src/devices/pic/xml_data/16F777.xml
+++ b/src/devices/pic/xml_data/16F777.xml
@@ -34,22 +34,22 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x39FF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x39FF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -58,48 +58,48 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BOREN_0" />
<value value="0x0040" name="On" cname="_BOREN_1" />
- </tqmask>
- <tqmask name="BORV" value="0x0180" >
+ </mask>
+ <mask name="BORV" value="0x0180" >
<value value="0x0000" name="4.5" cname="_VBOR_4_5" />
<value value="0x0080" name="4.2" cname="_VBOR_4_2" />
<value value="0x0100" name="2.7" cname="_VBOR_2_7" />
<value value="0x0180" name="2.0" cname="_VBOR_2_0" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x1000" >
+ </mask>
+ <mask name="CCP2MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP2_RB3" />
<value value="0x1000" name="RC1" cname="_CCP2_RC1" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0043" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0043" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="BORSEN" value="0x0040" >
+ </mask>
+ <mask name="BORSEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BORSEN_0" />
<value value="0x0040" name="On" cname="_BORSEN_1" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F785.xml b/src/devices/pic/xml_data/16F785.xml
index 29fd083..80c9091 100644
--- a/src/devices/pic/xml_data/16F785.xml
+++ b/src/devices/pic/xml_data/16F785.xml
@@ -38,16 +38,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x0FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x0FFF" >
+ <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" />
@@ -56,41 +56,41 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" ecnames="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBOREN" ecnames="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" ecnames="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" ecnames="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F818.xml b/src/devices/pic/xml_data/16F818.xml
index 86d9f5b..0ff73b5 100644
--- a/src/devices/pic/xml_data/16F818.xml
+++ b/src/devices/pic/xml_data/16F818.xml
@@ -35,23 +35,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -60,41 +60,41 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="invalid" />
<value value="0x0200" name="000:3FF" cname="_WRT_ENABLE_1024" />
<value value="0x0400" name="000:1FF" cname="_WRT_ENABLE_512" />
<value value="0x0600" name="Off" cname="_WRT_ENABLE_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP1MX" value="0x1000" >
+ </mask>
+ <mask name="CCP1MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP1_RB3" />
<value value="0x1000" name="RB2" cname="_CCP1_RB2" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F819.xml b/src/devices/pic/xml_data/16F819.xml
index 76d1de1..e7ee0a6 100644
--- a/src/devices/pic/xml_data/16F819.xml
+++ b/src/devices/pic/xml_data/16F819.xml
@@ -35,23 +35,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -60,41 +60,41 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="000:5FF" cname="_WRT_ENABLE_1536" />
<value value="0x0200" name="000:3FF" cname="_WRT_ENABLE_1024" />
<value value="0x0400" name="000:1FF" cname="_WRT_ENABLE_512" />
<value value="0x0600" name="Off" cname="_WRT_ENABLE_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP1MX" value="0x1000" >
+ </mask>
+ <mask name="CCP1MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP1_RB3" />
<value value="0x1000" name="RB2" cname="_CCP1_RB2" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F83.xml b/src/devices/pic/xml_data/16F83.xml
index ff9af73..25b80a3 100644
--- a/src/devices/pic/xml_data/16F83.xml
+++ b/src/devices/pic/xml_data/16F83.xml
@@ -31,31 +31,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x01FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3FF0" >
+ </mask>
+ <mask name="CP" value="0x3FF0" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3FF0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F84.xml b/src/devices/pic/xml_data/16F84.xml
index 88cd1ae..62c1f8d 100644
--- a/src/devices/pic/xml_data/16F84.xml
+++ b/src/devices/pic/xml_data/16F84.xml
@@ -31,31 +31,31 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3FF0" >
+ </mask>
+ <mask name="CP" value="0x3FF0" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3FF0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F84A.xml b/src/devices/pic/xml_data/16F84A.xml
index a179de1..ffffba1 100644
--- a/src/devices/pic/xml_data/16F84A.xml
+++ b/src/devices/pic/xml_data/16F84A.xml
@@ -32,32 +32,32 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x03FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3FF0" >
+ </mask>
+ <mask name="CP" value="0x3FF0" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x3FF0" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F87.xml b/src/devices/pic/xml_data/16F87.xml
index 987ef0c..835b481 100644
--- a/src/devices/pic/xml_data/16F87.xml
+++ b/src/devices/pic/xml_data/16F87.xml
@@ -34,23 +34,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -59,52 +59,52 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="All" cname="_WRT_PROTECT_ALL" />
<value value="0x0200" name="000:7FF" cname="_WRT_PROTECT_2048" />
<value value="0x0400" name="000:0FF" cname="_WRT_PROTECT_256" />
<value value="0x0600" name="Off" cname="_WRT_PROTECT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP1MX" value="0x1000" >
+ </mask>
+ <mask name="CCP1MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP1_RB3" />
<value value="0x1000" name="RB0" cname="_CCP1_RB0" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0003" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0003" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F870.xml b/src/devices/pic/xml_data/16F870.xml
index 005a948..ec66b54 100644
--- a/src/devices/pic/xml_data/16F870.xml
+++ b/src/devices/pic/xml_data/16F870.xml
@@ -36,53 +36,53 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F871.xml b/src/devices/pic/xml_data/16F871.xml
index ddfd932..8b918ca 100644
--- a/src/devices/pic/xml_data/16F871.xml
+++ b/src/devices/pic/xml_data/16F871.xml
@@ -36,53 +36,53 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F872.xml b/src/devices/pic/xml_data/16F872.xml
index da5fe20..7702922 100644
--- a/src/devices/pic/xml_data/16F872.xml
+++ b/src/devices/pic/xml_data/16F872.xml
@@ -36,53 +36,53 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x003F" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F873.xml b/src/devices/pic/xml_data/16F873.xml
index b010152..4bbb1cb 100644
--- a/src/devices/pic/xml_data/16F873.xml
+++ b/src/devices/pic/xml_data/16F873.xml
@@ -41,55 +41,55 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1010" name="0800:0FFF" cname="_CP_HALF" />
<value value="0x2020" name="0F00:0FFF" cname="_CP_UPPER_256" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F873A.xml b/src/devices/pic/xml_data/16F873A.xml
index e9dd61a..ee26828 100644
--- a/src/devices/pic/xml_data/16F873A.xml
+++ b/src/devices/pic/xml_data/16F873A.xml
@@ -35,54 +35,54 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x2FCF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x2FCF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:07FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:03FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F874.xml b/src/devices/pic/xml_data/16F874.xml
index 7135150..fe20128 100644
--- a/src/devices/pic/xml_data/16F874.xml
+++ b/src/devices/pic/xml_data/16F874.xml
@@ -41,55 +41,55 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1010" name="0800:0FFF" cname="_CP_HALF" />
<value value="0x2020" name="0F00:0FFF" cname="_CP_UPPER_256" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F874A.xml b/src/devices/pic/xml_data/16F874A.xml
index c827c6e..c89b407 100644
--- a/src/devices/pic/xml_data/16F874A.xml
+++ b/src/devices/pic/xml_data/16F874A.xml
@@ -35,54 +35,54 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="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="0x3FFF" bvalue="0x2FCF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x2FCF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:07FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:03FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F876.xml b/src/devices/pic/xml_data/16F876.xml
index cf59664..19264e8 100644
--- a/src/devices/pic/xml_data/16F876.xml
+++ b/src/devices/pic/xml_data/16F876.xml
@@ -41,55 +41,55 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1010" name="1000:1FFF" cname="_CP_HALF" />
<value value="0x2020" name="1F00:1FFF" cname="_CP_UPPER_256" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F876A.xml b/src/devices/pic/xml_data/16F876A.xml
index 11b3214..f1c23ce 100644
--- a/src/devices/pic/xml_data/16F876A.xml
+++ b/src/devices/pic/xml_data/16F876A.xml
@@ -35,54 +35,54 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x2FCF">
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x2FCF">
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:0FFF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:07FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F877.xml b/src/devices/pic/xml_data/16F877.xml
index d9e65fc..f83da05 100644
--- a/src/devices/pic/xml_data/16F877.xml
+++ b/src/devices/pic/xml_data/16F877.xml
@@ -41,55 +41,55 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3BFF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x3BFF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0200" >
+ </mask>
+ <mask name="WRT" value="0x0200" >
<value value="0x0000" name="Off" cname="_WRT_ENABLE_OFF" />
<value value="0x0200" name="All" cname="_WRT_ENABLE_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x3030" >
+ </mask>
+ <mask name="CP" value="0x3030" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x1010" name="1000:1FFF" cname="_CP_HALF" />
<value value="0x2020" name="1F00:1FFF" cname="_CP_UPPER_256" />
<value value="0x3030" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F877A.xml b/src/devices/pic/xml_data/16F877A.xml
index b47b113..3a16d77 100644
--- a/src/devices/pic/xml_data/16F877A.xml
+++ b/src/devices/pic/xml_data/16F877A.xml
@@ -35,54 +35,54 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x2FCF" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0x3FFF" bvalue="0x2FCF" >
+ <mask name="FOSC" value="0x0003" >
<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="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="WDT" value="0x0004" >
+ </mask>
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:0FFF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:07FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F88.xml b/src/devices/pic/xml_data/16F88.xml
index 09fd755..b2325c3 100644
--- a/src/devices/pic/xml_data/16F88.xml
+++ b/src/devices/pic/xml_data/16F88.xml
@@ -32,23 +32,23 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="WDT" value="0x0004" >
+ <config offset="0x0" name="CONFIG1" wmask="0x3FFF" bvalue="0x3FFF" >
+ <mask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
- </tqmask>
- <tqmask name="PWRTE" value="0x0008" >
+ </mask>
+ <mask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
- </tqmask>
- <tqmask name="FOSC" value="0x0013" >
+ </mask>
+ <mask name="FOSC" value="0x0013" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
@@ -57,52 +57,52 @@
<value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_CLKOUT" />
<value value="0x0012" name="EXTRC_IO" cname="_EXTRC_IO" />
<value value="0x0013" name="EXTRC_CLKOUT" cname="_EXTRC_CLKOUT" />
- </tqmask>
- <tqmask name="MCLRE" value="0x0020" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLR_OFF" />
<value value="0x0020" name="External" cname="_MCLR_ON" />
- </tqmask>
- <tqmask name="BODEN" value="0x0040" >
+ </mask>
+ <mask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x0080" >
+ </mask>
+ <mask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="CPD" value="0x0100" >
+ </mask>
+ <mask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="All" cname="_WRT_PROTECT_ALL" />
<value value="0x0200" name="000:7FF" cname="_WRT_PROTECT_2048" />
<value value="0x0400" name="000:0FF" cname="_WRT_PROTECT_256" />
<value value="0x0600" name="Off" cname="_WRT_PROTECT_OFF" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0800" >
+ </mask>
+ <mask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
- <tqmask name="CCP1MX" value="0x1000" >
+ </mask>
+ <mask name="CCP1MX" value="0x1000" >
<value value="0x0000" name="RB3" cname="_CCP1_RB3" />
<value value="0x1000" name="RB0" cname="_CCP1_RB0" />
- </tqmask>
- <tqmask name="CP" value="0x2000" >
+ </mask>
+ <mask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0003" >
- <tqmask name="FCMEN" value="0x0001" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0003" >
+ <mask name="FCMEN" value="0x0001" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0001" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0002" >
+ </mask>
+ <mask name="IESO" value="0x0002" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0002" name="On" cname="_IESO_ON" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F882.xml b/src/devices/pic/xml_data/16F882.xml
index 79cec09..db2c723 100644
--- a/src/devices/pic/xml_data/16F882.xml
+++ b/src/devices/pic/xml_data/16F882.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x07FF" />
- <memory name="calibration" start="0x2009" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x007F" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG1" 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" />
@@ -51,62 +51,62 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x1000" >
+ </mask>
+ <mask name="LVP" value="0x1000" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x1000" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x2000" >
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x2000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0700" >
- <tqmask name="BORV" value="0x0100" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
<value value="0x0100" name="4.0" cname="_BOR40V" />
<value value="0x0000" name="2.1" cname="_BOR21V" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:03FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:00FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="invalid" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F883.xml b/src/devices/pic/xml_data/16F883.xml
index 1ec6702..1140b72 100644
--- a/src/devices/pic/xml_data/16F883.xml
+++ b/src/devices/pic/xml_data/16F883.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2009" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG1" 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" />
@@ -51,62 +51,62 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x1000" >
+ </mask>
+ <mask name="LVP" value="0x1000" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x1000" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x2000" >
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x2000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0700" >
- <tqmask name="BORV" value="0x0100" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
<value value="0x0100" name="4.0" cname="_BOR40V" />
<value value="0x0000" name="2.1" cname="_BOR21V" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:07FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:03FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F884.xml b/src/devices/pic/xml_data/16F884.xml
index 538d214..fbe9423 100644
--- a/src/devices/pic/xml_data/16F884.xml
+++ b/src/devices/pic/xml_data/16F884.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2009" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG1" 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" />
@@ -51,62 +51,62 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x1000" >
+ </mask>
+ <mask name="LVP" value="0x1000" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x1000" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x2000" >
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x2000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0700" >
- <tqmask name="BORV" value="0x0100" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
<value value="0x0100" name="4.0" cname="_BOR40V" />
<value value="0x0000" name="2.1" cname="_BOR21V" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:07FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:03FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F886.xml b/src/devices/pic/xml_data/16F886.xml
index fe07fe7..3205cd7 100644
--- a/src/devices/pic/xml_data/16F886.xml
+++ b/src/devices/pic/xml_data/16F886.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="calibration" start="0x2009" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG1" 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" />
@@ -51,62 +51,62 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x1000" >
+ </mask>
+ <mask name="LVP" value="0x1000" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x1000" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x2000" >
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x2000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0700" >
- <tqmask name="BORV" value="0x0100" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
<value value="0x0100" name="4.0" cname="_BOR40V" />
<value value="0x0000" name="2.1" cname="_BOR21V" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:0FFF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:07FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F887.xml b/src/devices/pic/xml_data/16F887.xml
index bbfdf91..78be11e 100644
--- a/src/devices/pic/xml_data/16F887.xml
+++ b/src/devices/pic/xml_data/16F887.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="calibration" start="0x2009" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2009" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2008" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0x3FFF" bvalue="0x3FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG1" 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" />
@@ -51,62 +51,62 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOR_OFF" />
<value value="0x0100" name="Software" cname="_BOR_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOR_NSLEEP" />
<value value="0x0300" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="LVP" value="0x1000" >
+ </mask>
+ <mask name="LVP" value="0x1000" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x1000" name="On" cname="_LVP_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x2000" >
+ </mask>
+ <mask name="DEBUG" value="0x2000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x2000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG2" wtqmask="0x3FFF" bvalue="0x0700" >
- <tqmask name="BORV" value="0x0100" >
+ <config offset="0x1" name="CONFIG2" wmask="0x3FFF" bvalue="0x0700" >
+ <mask name="BORV" value="0x0100" >
<value value="0x0100" name="4.0" cname="_BOR40V" />
<value value="0x0000" name="2.1" cname="_BOR21V" />
- </tqmask>
- <tqmask name="WRT" value="0x0600" >
+ </mask>
+ <mask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:0FFF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:07FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F913.xml b/src/devices/pic/xml_data/16F913.xml
index c793c72..c904d5d 100644
--- a/src/devices/pic/xml_data/16F913.xml
+++ b/src/devices/pic/xml_data/16F913.xml
@@ -31,16 +31,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -49,45 +49,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x1000" >
+ </mask>
+ <mask name="DEBUG" value="0x1000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x1000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F914.xml b/src/devices/pic/xml_data/16F914.xml
index 1bdd6ad..d74a0d5 100644
--- a/src/devices/pic/xml_data/16F914.xml
+++ b/src/devices/pic/xml_data/16F914.xml
@@ -31,16 +31,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -49,45 +49,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x1000" >
+ </mask>
+ <mask name="DEBUG" value="0x1000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x1000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F916.xml b/src/devices/pic/xml_data/16F916.xml
index f2a139a..b066f93 100644
--- a/src/devices/pic/xml_data/16F916.xml
+++ b/src/devices/pic/xml_data/16F916.xml
@@ -31,16 +31,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -49,45 +49,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x1000" >
+ </mask>
+ <mask name="DEBUG" value="0x1000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x1000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F917.xml b/src/devices/pic/xml_data/16F917.xml
index b2fb425..9e17dcc 100644
--- a/src/devices/pic/xml_data/16F917.xml
+++ b/src/devices/pic/xml_data/16F917.xml
@@ -31,16 +31,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -49,45 +49,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x1000" >
+ </mask>
+ <mask name="DEBUG" value="0x1000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x1000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16F946.xml b/src/devices/pic/xml_data/16F946.xml
index df3ac70..53df522 100644
--- a/src/devices/pic/xml_data/16F946.xml
+++ b/src/devices/pic/xml_data/16F946.xml
@@ -31,16 +31,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x1FFF" />
- <memory name="calibration" start="0x2008" end="0x2009" cal_optqmask="0x0000" cal_opcode="0x0000" />
- <memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
+ <memory name="calibration" start="0x2008" end="0x2009" cal_opmask="0x0000" cal_opcode="0x0000" />
+ <memory name="user_ids" start="0x2000" end="0x2003" rmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x00FF" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG" wtqmask="0x3FFF" bvalue="0x1FFF" >
- <tqmask name="FOSC" value="0x0007" >
+ <config offset="0x0" name="CONFIG" wmask="0x3FFF" bvalue="0x1FFF" >
+ <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" />
@@ -49,45 +49,45 @@
<value value="0x0005" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT" ecnames="_INTOSC" />
<value value="0x0006" name="EXTRC_IO" cname="_EXTRC_OSC_NOCLKOUT" ecnames="_EXTRCIO" />
<value value="0x0007" name="EXTRC_CLKOUT" cname="_EXTRC_OSC_CLKOUT" ecnames="_EXTRC" />
- </tqmask>
- <tqmask name="WDT" value="0x0008" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask 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" >
+ </mask>
+ <mask name="MCLRE" value="0x0020" >
<value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
<value value="0x0020" name="External" cname="_MCLRE_ON" />
- </tqmask>
- <tqmask name="CP" value="0x0040" >
+ </mask>
+ <mask name="CP" value="0x0040" >
<value value="0x0000" name="All" cname="_CP_ON" />
<value value="0x0040" name="Off" cname="_CP_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x0080" >
+ </mask>
+ <mask name="CPD" value="0x0080" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0080" name="Off" cname="_CPD_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x0300" >
+ </mask>
+ <mask name="BODEN" value="0x0300" >
<value value="0x0000" name="Off" cname="_BOD_OFF" />
<value value="0x0100" name="Software" cname="_BOD_SBODEN" />
<value value="0x0200" name="On_run" cname="_BOD_NSLEEP" />
<value value="0x0300" name="On" cname="_BOD_ON" />
- </tqmask>
- <tqmask name="IESO" value="0x0400" >
+ </mask>
+ <mask name="IESO" value="0x0400" >
<value value="0x0000" name="Off" cname="_IESO_OFF" />
<value value="0x0400" name="On" cname="_IESO_ON" />
- </tqmask>
- <tqmask name="FCMEN" value="0x0800" >
+ </mask>
+ <mask name="FCMEN" value="0x0800" >
<value value="0x0000" name="Off" cname="_FCMEN_OFF" />
<value value="0x0800" name="On" cname="_FCMEN_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x1000" >
+ </mask>
+ <mask name="DEBUG" value="0x1000" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x1000" name="Off" cname="_DEBUG_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/16HV540.xml b/src/devices/pic/xml_data/16HV540.xml
index 4acd802..439aa82 100644
--- a/src/devices/pic/xml_data/16HV540.xml
+++ b/src/devices/pic/xml_data/16HV540.xml
@@ -28,25 +28,25 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000" end="0x1FF" />
- <memory name="user_ids" start="0x200" end="0x203" rtqmask="0x00F" />
+ <memory name="user_ids" start="0x200" end="0x203" rmask="0x00F" />
<memory name="config" start="0xFFF" end="0xFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFF" bvalue="0x00F" >
- <tqmask name="FOSC" value="0x003" >
+ <config offset="0x0" name="" wmask="0xFFF" bvalue="0x00F" >
+ <mask 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" >
+ </mask>
+ <mask 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="0x008" >
+ </mask>
+ <mask name="CP" value="0x008" >
<value value="0x000" name="All" cname="_CP_ON" />
<value value="0x008" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C42.xml b/src/devices/pic/xml_data/17C42.xml
index 7ca1e0f..e072c94 100644
--- a/src/devices/pic/xml_data/17C42.xml
+++ b/src/devices/pic/xml_data/17C42.xml
@@ -30,25 +30,25 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x005F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x005F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0050" >
+ </mask>
+ <mask name="PM" value="0x0050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0050" name="Microprocessor" cname="_MP_MODE" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C42A.xml b/src/devices/pic/xml_data/17C42A.xml
index 2c068ae..58c59b3 100644
--- a/src/devices/pic/xml_data/17C42A.xml
+++ b/src/devices/pic/xml_data/17C42A.xml
@@ -33,26 +33,26 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x015F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x015F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0150" >
+ </mask>
+ <mask name="PM" value="0x0150" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0110" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0140" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0150" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C43.xml b/src/devices/pic/xml_data/17C43.xml
index b49734a..4c91f40 100644
--- a/src/devices/pic/xml_data/17C43.xml
+++ b/src/devices/pic/xml_data/17C43.xml
@@ -33,26 +33,26 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x015F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x015F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0150" >
+ </mask>
+ <mask name="PM" value="0x0150" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0110" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0140" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0150" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C44.xml b/src/devices/pic/xml_data/17C44.xml
index ac0d8f6..da4be7b 100644
--- a/src/devices/pic/xml_data/17C44.xml
+++ b/src/devices/pic/xml_data/17C44.xml
@@ -33,26 +33,26 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x015F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x015F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0150" >
+ </mask>
+ <mask name="PM" value="0x0150" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0110" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0140" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0150" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C752.xml b/src/devices/pic/xml_data/17C752.xml
index adb759c..20f798f 100644
--- a/src/devices/pic/xml_data/17C752.xml
+++ b/src/devices/pic/xml_data/17C752.xml
@@ -33,30 +33,30 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0xC05F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0xC05F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:64" cname="_WDT_64" />
<value value="0x0008" name="1:256" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" ecnames="_WDT_0" />
- </tqmask>
- <tqmask name="BODEN" value="0x4000" >
+ </mask>
+ <mask name="BODEN" value="0x4000" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x4000" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="PM" value="0x8050" >
+ </mask>
+ <mask name="PM" value="0x8050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x8010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x8040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x8050" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C756.xml b/src/devices/pic/xml_data/17C756.xml
index 68b0ae7..a5df4c4 100644
--- a/src/devices/pic/xml_data/17C756.xml
+++ b/src/devices/pic/xml_data/17C756.xml
@@ -33,30 +33,30 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0xC05F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0xC05F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:64" cname="_WDT_64" />
<value value="0x0008" name="1:256" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" ecnames="_WDT_0" />
- </tqmask>
- <tqmask name="BODEN" value="0x4000" >
+ </mask>
+ <mask name="BODEN" value="0x4000" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x4000" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="PM" value="0x8050" >
+ </mask>
+ <mask name="PM" value="0x8050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x8010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x8040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x8050" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C756A.xml b/src/devices/pic/xml_data/17C756A.xml
index 39c9b81..f20ee31 100644
--- a/src/devices/pic/xml_data/17C756A.xml
+++ b/src/devices/pic/xml_data/17C756A.xml
@@ -33,30 +33,30 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0xC05F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0xC05F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:64" cname="_WDT_64" />
<value value="0x0008" name="1:256" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" ecnames="_WDT_0" />
- </tqmask>
- <tqmask name="BODEN" value="0x4000" >
+ </mask>
+ <mask name="BODEN" value="0x4000" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x4000" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="PM" value="0x8050" >
+ </mask>
+ <mask name="PM" value="0x8050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x8010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x8040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x8050" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C762.xml b/src/devices/pic/xml_data/17C762.xml
index 311caa6..10e3a86 100644
--- a/src/devices/pic/xml_data/17C762.xml
+++ b/src/devices/pic/xml_data/17C762.xml
@@ -33,30 +33,30 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0xC05F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0xC05F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:64" cname="_WDT_64" />
<value value="0x0008" name="1:256" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" ecnames="_WDT_0" />
- </tqmask>
- <tqmask name="BODEN" value="0x4000" >
+ </mask>
+ <mask name="BODEN" value="0x4000" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x4000" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="PM" value="0x8050" >
+ </mask>
+ <mask name="PM" value="0x8050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x8010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x8040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x8050" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17C766.xml b/src/devices/pic/xml_data/17C766.xml
index 059decd..0d2559d 100644
--- a/src/devices/pic/xml_data/17C766.xml
+++ b/src/devices/pic/xml_data/17C766.xml
@@ -33,30 +33,30 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0xC05F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0xC05F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:64" cname="_WDT_64" />
<value value="0x0008" name="1:256" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" ecnames="_WDT_0" />
- </tqmask>
- <tqmask name="BODEN" value="0x4000" >
+ </mask>
+ <mask name="BODEN" value="0x4000" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x4000" name="On" cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="PM" value="0x8050" >
+ </mask>
+ <mask name="PM" value="0x8050" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x8010" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x8040" name="Microcontroller" cname="_MC_MODE" />
<value value="0x8050" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17CR42.xml b/src/devices/pic/xml_data/17CR42.xml
index 21893f8..b691cd8 100644
--- a/src/devices/pic/xml_data/17CR42.xml
+++ b/src/devices/pic/xml_data/17CR42.xml
@@ -33,26 +33,26 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x015F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x015F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0150" >
+ </mask>
+ <mask name="PM" value="0x0150" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0110" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0140" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0150" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/17CR43.xml b/src/devices/pic/xml_data/17CR43.xml
index 1e43eec..13c1f2c 100644
--- a/src/devices/pic/xml_data/17CR43.xml
+++ b/src/devices/pic/xml_data/17CR43.xml
@@ -33,26 +33,26 @@
<memory name="config" start="0xFE00" end="0xFE00" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="" wtqmask="0xFFFF" bvalue="0x015F" >
- <tqmask name="FOSC" value="0x0003" >
+ <config offset="0x0" name="" wmask="0xFFFF" bvalue="0x015F" >
+ <mask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LF_OSC" />
<value value="0x0001" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0002" name="XT" cname="_XT_OSC" />
<value value="0x0003" name="EC" cname="_EC_OSC" />
- </tqmask>
- <tqmask name="WDTPS" value="0x000C" >
+ </mask>
+ <mask name="WDTPS" value="0x000C" >
<value value="0x0000" name="Disabled" cname="_WDT_OFF" ecnames="_WDT_NORM" />
<value value="0x0004" name="1:128" cname="_WDT_64" />
<value value="0x0008" name="1:512" cname="_WDT_256" />
<value value="0x000C" name="1:1" cname="_WDT_1" />
- </tqmask>
- <tqmask name="PM" value="0x0150" >
+ </mask>
+ <mask name="PM" value="0x0150" >
<value value="0x0000" name="Code-protected microcontroller" cname="_PMC_MODE" />
<value value="0x0110" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x0140" name="Microcontroller" cname="_MC_MODE" />
<value value="0x0150" name="Microprocessor" cname="_MP_MODE" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18C242.xml b/src/devices/pic/xml_data/18C242.xml
index 32495ab..798c478 100644
--- a/src/devices/pic/xml_data/18C242.xml
+++ b/src/devices/pic/xml_data/18C242.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,26 +90,26 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="pdip soic" nb_pins="28" >
diff --git a/src/devices/pic/xml_data/18C252.xml b/src/devices/pic/xml_data/18C252.xml
index d5a7161..81f370b 100644
--- a/src/devices/pic/xml_data/18C252.xml
+++ b/src/devices/pic/xml_data/18C252.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,26 +90,26 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="pdip soic" nb_pins="28" >
diff --git a/src/devices/pic/xml_data/18C442.xml b/src/devices/pic/xml_data/18C442.xml
index 5ecb3b4..419ee29 100644
--- a/src/devices/pic/xml_data/18C442.xml
+++ b/src/devices/pic/xml_data/18C442.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,26 +90,26 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="pdip" nb_pins="40" >
diff --git a/src/devices/pic/xml_data/18C452.xml b/src/devices/pic/xml_data/18C452.xml
index 5a6a07c..73e3610 100644
--- a/src/devices/pic/xml_data/18C452.xml
+++ b/src/devices/pic/xml_data/18C452.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,26 +90,26 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="pdip" nb_pins="40" >
diff --git a/src/devices/pic/xml_data/18C601.xml b/src/devices/pic/xml_data/18C601.xml
index 9469902..6d41b1c 100644
--- a/src/devices/pic/xml_data/18C601.xml
+++ b/src/devices/pic/xml_data/18C601.xml
@@ -27,34 +27,34 @@
<memory name="config" start="0x300000" end="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x02" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x02" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="EC_CLKOUT" cname="_EC_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
<value value="0x03" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x41" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x41" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8_BIT" />
<value value="0x40" name="16" cname="_BW_16_BIT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -63,25 +63,25 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="0x7F" />
<value value="0x80" name="Off" cname="0xFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18C658.xml b/src/devices/pic/xml_data/18C658.xml
index 5f115ee..9ca140c 100644
--- a/src/devices/pic/xml_data/18C658.xml
+++ b/src/devices/pic/xml_data/18C658.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,21 +90,21 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18C801.xml b/src/devices/pic/xml_data/18C801.xml
index 186230c..3e067ad 100644
--- a/src/devices/pic/xml_data/18C801.xml
+++ b/src/devices/pic/xml_data/18C801.xml
@@ -27,34 +27,34 @@
<memory name="config" start="0x300000" end="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x02" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x02" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="EC_CLKOUT" cname="_EC_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
<value value="0x03" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x41" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x41" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8_BIT" />
<value value="0x40" name="16" cname="_BW_16_BIT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -63,25 +63,25 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="0x7F" />
<value value="0x80" name="Off" cname="0xFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18C858.xml b/src/devices/pic/xml_data/18C858.xml
index 33eb056..7ce8087 100644
--- a/src/devices/pic/xml_data/18C858.xml
+++ b/src/devices/pic/xml_data/18C858.xml
@@ -29,21 +29,21 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" />
- <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="0x300007" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG0" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="CP" value="0xFF" >
+ <config offset="0x0" name="CONFIG0" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP" value="0xFF" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0xFF" name="Off" cname="_CP_OFF" />
<value value="default" name="invalid" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -52,36 +52,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG3" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG3" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -90,21 +90,21 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG4" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x4" name="CONFIG4" wmask="0xFF" bvalue="0x00" />
- <config offset="0x5" name="CONFIG5" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x5" name="CONFIG5" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG6" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG6" wmask="0xFF" bvalue="0x01" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x7" name="CONFIG7" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x7" name="CONFIG7" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F1220.xml b/src/devices/pic/xml_data/18F1220.xml
index 1cd826b..e46f7f0 100644
--- a/src/devices/pic/xml_data/18F1220.xml
+++ b/src/devices/pic/xml_data/18F1220.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -55,40 +55,40 @@
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_EXT_Port_on_RA6" />
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" sdcc_cname="_OSC_INT_Port_on_RA6_Port_on_RA7" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" sdcc_cname="_OSC_INT_CLKOUT_on_RA6_Port_on_RA7" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FSCM_ON" sdcc_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -105,99 +105,99 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" sdcc_cname="_WDTPS_1_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="0x80" >
- <tqmask name="MCLRE" value="0x80" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x80" >
+ <mask name="MCLRE" value="0x80" >
<value value="0x00" name="Internal" cname="_MCLRE_OFF" sdcc_cname="_MCLRE_MCLR_disabled_RA5_input_en" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_enabled_RA5_input_dis" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0200:07FF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:07FF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:07FF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F1230.xml b/src/devices/pic/xml_data/18F1230.xml
index c84d79f..043687a 100644
--- a/src/devices/pic/xml_data/18F1230.xml
+++ b/src/devices/pic/xml_data/18F1230.xml
@@ -39,17 +39,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x00007F" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -60,42 +60,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO2" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO1" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOR_BOACTIVE" />
<value value="0x06" name="On" cname="_BOR_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -112,124 +112,124 @@
<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="0x0E" >
- <tqmask name="PWMPIN" value="0x02" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x0E" >
+ <mask name="PWMPIN" value="0x02" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x02" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x04" >
+ </mask>
+ <mask name="LPOL" value="0x04" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x04" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x08" >
+ </mask>
+ <mask name="HPOL" value="0x08" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x08" name="high" cname="_HPOL_HIGH" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="FLTAMX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="FLTAMX" value="0x01" >
<value value="0x00" name="RA7" cname="_FLTAMX_RA7" />
<value value="0x01" name="RA5" cname="_FLTAMX_RA5" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x08" >
+ </mask>
+ <mask name="T1OSCMX" value="0x08" >
<value value="0x00" name="RB2" cname="_T1OSCMX_HIGH" />
<value value="0x08" name="RA6" cname="_T1OSCMX_LOW" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </tqmask>
- <tqmask name="BBSIZ" value="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="default" name="512" cname="_BBSIZ_BB512" />
- </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="0200/0400:07FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400:07FF" 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="0800:0FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F1320.xml b/src/devices/pic/xml_data/18F1320.xml
index 8cee921..d4dd214 100644
--- a/src/devices/pic/xml_data/18F1320.xml
+++ b/src/devices/pic/xml_data/18F1320.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -56,40 +56,40 @@
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" />
<value value="default" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -106,99 +106,99 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x80" >
- <tqmask name="MCLRE" value="0x80" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x80" >
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0200:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:0FFF" 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="1000:1FFF" 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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F1330.xml b/src/devices/pic/xml_data/18F1330.xml
index fb11bbb..14130ce 100644
--- a/src/devices/pic/xml_data/18F1330.xml
+++ b/src/devices/pic/xml_data/18F1330.xml
@@ -40,17 +40,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x00007F" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -61,42 +61,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO2" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO1" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOR_BOACTIVE" />
<value value="0x06" name="On" cname="_BOR_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -113,125 +113,125 @@
<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="0x0E" >
- <tqmask name="PWMPIN" value="0x02" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x0E" >
+ <mask name="PWMPIN" value="0x02" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x02" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x04" >
+ </mask>
+ <mask name="LPOL" value="0x04" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x04" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x08" >
+ </mask>
+ <mask name="HPOL" value="0x08" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x08" name="high" cname="_HPOL_HIGH" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="FLTAMX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="FLTAMX" value="0x01" >
<value value="0x00" name="RA7" cname="_FLTAMX_RA7" />
<value value="0x01" name="RA5" cname="_FLTAMX_RA5" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x08" >
+ </mask>
+ <mask name="T1OSCMX" value="0x08" >
<value value="0x00" name="RB2" cname="_T1OSCMX_HIGH" />
<value value="0x08" name="RA6" cname="_T1OSCMX_LOW" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </tqmask>
- <tqmask name="BBSIZ" value="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="0x10" name="512" cname="_BBSIZ_BB512" />
<value value="default" name="1024" cname="_BBSIZ_BB1K" />
- </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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400/0800:0FFF" 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="1000:1FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2220.xml b/src/devices/pic/xml_data/18F2220.xml
index 7ea415b..43f6fbc 100644
--- a/src/devices/pic/xml_data/18F2220.xml
+++ b/src/devices/pic/xml_data/18F2220.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -56,40 +56,40 @@
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_EXT_Port_on_RA6" />
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" sdcc_cname="_OSC_INT_Port_on_RA6_Port_on_RA7" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" sdcc_cname="_OSC_INT_CLKOUT_on_RA6_Port_on_RA7" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FSCM_ON" sdcc_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -106,107 +106,107 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" sdcc_cname="_WDTPS_1_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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_B3" ecnames="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_C1" ecnames="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBAD_DIG" sdcc_cname="_PBADEN_PORTB_4_0__digital_I_O_on_REST" />
<value value="0x02" name="analog" cname="_PBAD_ANA" sdcc_cname="_PBADEN_PORTB_4_0__analog_inputs_on_RSET" />
- </tqmask>
- <tqmask name="MCLRE" value="0x80" >
+ </mask>
+ <mask name="MCLRE" value="0x80" >
<value value="0x00" name="Internal" cname="_MCLRE_OFF" sdcc_cname="_MCLRE_MCLR_Disabled_RE3_Enabled" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_Enabled_RE3_Disabled" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:07FF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:07FF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:07FF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="0800:0FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2221.xml b/src/devices/pic/xml_data/18F2221.xml
index b3436d5..f2a58d6 100644
--- a/src/devices/pic/xml_data/18F2221.xml
+++ b/src/devices/pic/xml_data/18F2221.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO2" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO1" />
- </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_NOSLP" />
<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.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,119 +100,119 @@
<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="0x87" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x87" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_DIG" />
<value value="0x02" name="analog" cname="_PBADEN_ANA" />
- </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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="default" name="512" cname="_BBSIZ_BB512" />
- </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="200/400:7FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400:07FF" 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="0800:0FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2320.xml b/src/devices/pic/xml_data/18F2320.xml
index d17d96a..80e8250 100644
--- a/src/devices/pic/xml_data/18F2320.xml
+++ b/src/devices/pic/xml_data/18F2320.xml
@@ -37,17 +37,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -59,40 +59,40 @@
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" />
<value value="default" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -109,131 +109,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_B3" ecnames="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_C1" ecnames="_CCP2MX_ON" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBAD_DIG" />
<value value="0x02" name="analog" cname="_PBAD_ANA" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2321.xml b/src/devices/pic/xml_data/18F2321.xml
index f00f7dc..a016fc7 100644
--- a/src/devices/pic/xml_data/18F2321.xml
+++ b/src/devices/pic/xml_data/18F2321.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO2" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO1" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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_NOSLP" />
<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.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,120 +100,120 @@
<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="0x87" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x87" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_DIG" />
<value value="0x02" name="analog" cname="_PBADEN_ANA" />
- </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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="0x10" name="512" cname="_BBSIZ_BB512" />
<value value="default" name="1024" cname="_BBSIZ_BB1K" />
- </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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400/0800:0FFF" 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="1000:1FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2331.xml b/src/devices/pic/xml_data/18F2331.xml
index 7f73a7d..46a8872 100644
--- a/src/devices/pic/xml_data/18F2331.xml
+++ b/src/devices/pic/xml_data/18F2331.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -55,40 +55,40 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRC" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRTEN_ON" />
<value value="0x01" name="Off" cname="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOREN_OFF" />
<value value="0x02" name="On" cname="_BOREN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="_WDTEN_OFF" />
<value value="0x01" name="On" cname="_WDTEN_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDPS_1" />
<value value="0x02" name="1:2" cname="_WDPS_2" />
<value value="0x04" name="1:4" cname="_WDPS_4" />
@@ -105,120 +105,120 @@
<value value="0x1A" name="1:8192" cname="_WDPS_8192" />
<value value="0x1C" name="1:16384" cname="_WDPS_16384" />
<value value="0x1E" name="1:32768" cname="_WDPS_32768" />
- </tqmask>
- <tqmask name="WINEN" value="0x20" >
+ </mask>
+ <mask name="WINEN" value="0x20" >
<value value="0x00" name="On" cname="_WINEN_ON" />
<value value="0x20" name="Off" cname="_WINEN_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x3C" >
- <tqmask name="PWMPIN" value="0x04" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x3C" >
+ <mask name="PWMPIN" value="0x04" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x04" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x08" >
+ </mask>
+ <mask name="LPOL" value="0x08" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x08" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x10" >
+ </mask>
+ <mask name="HPOL" value="0x10" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x10" name="high" cname="_HPOL_HIGH" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x20" >
+ </mask>
+ <mask name="T1OSCMX" value="0x20" >
<value value="0x00" name="Legacy" cname="_T1OSCMX_OFF" />
<value value="0x20" name="Low Power" cname="_T1OSCMX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x9D" >
- <tqmask name="MCLRE" value="0x80" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x9D" >
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0200:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:0FFF" 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="1000:1FFF" 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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2410.xml b/src/devices/pic/xml_data/18F2410.xml
index 76968f8..15d6179 100644
--- a/src/devices/pic/xml_data/18F2410.xml
+++ b/src/devices/pic/xml_data/18F2410.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -47,42 +47,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -99,107 +99,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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0000:07FF" 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: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="0000:07FF" 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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F242.xml b/src/devices/pic/xml_data/18F242.xml
index 8588203..d09dd83 100644
--- a/src/devices/pic/xml_data/18F242.xml
+++ b/src/devices/pic/xml_data/18F242.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -91,99 +91,99 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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" icnames="_CP2_OFF _CP2_ON _CP3_OFF _CP3_ON" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x03" icnames="_CP2_OFF _CP2_ON _CP3_OFF _CP3_ON" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x03" icnames="_WRT2_OFF _WRT2_ON _WRT3_OFF _WRT3_ON" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x03" icnames="_WRT2_OFF _WRT2_ON _WRT3_OFF _WRT3_ON" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x03" icnames="_EBTR2_OFF _EBTR2_ON _EBTR3_OFF _EBTR3_ON" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x03" icnames="_EBTR2_OFF _EBTR2_ON _EBTR3_OFF _EBTR3_ON" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2420.xml b/src/devices/pic/xml_data/18F2420.xml
index d50dd2a..aba9ace 100644
--- a/src/devices/pic/xml_data/18F2420.xml
+++ b/src/devices/pic/xml_data/18F2420.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,115 +100,115 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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: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="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2423.xml b/src/devices/pic/xml_data/18F2423.xml
index 29ff971..0905f18 100644
--- a/src/devices/pic/xml_data/18F2423.xml
+++ b/src/devices/pic/xml_data/18F2423.xml
@@ -24,17 +24,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -45,42 +45,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -97,115 +97,115 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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: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="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2431.xml b/src/devices/pic/xml_data/18F2431.xml
index f162ef2..f898f99 100644
--- a/src/devices/pic/xml_data/18F2431.xml
+++ b/src/devices/pic/xml_data/18F2431.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<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,40 +56,40 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRC" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRTEN_ON" />
<value value="0x01" name="Off" cname="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOREN_OFF" />
<value value="0x02" name="On" cname="_BOREN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="_WDTEN_OFF" />
<value value="0x01" name="On" cname="_WDTEN_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDPS_1" />
<value value="0x02" name="1:2" cname="_WDPS_2" />
<value value="0x04" name="1:4" cname="_WDPS_4" />
@@ -106,120 +106,120 @@
<value value="0x1A" name="1:8192" cname="_WDPS_8192" />
<value value="0x1C" name="1:16384" cname="_WDPS_16384" />
<value value="0x1E" name="1:32768" cname="_WDPS_32768" />
- </tqmask>
- <tqmask name="WINEN" value="0x20" >
+ </mask>
+ <mask name="WINEN" value="0x20" >
<value value="0x00" name="On" cname="_WINEN_ON" />
<value value="0x20" name="Off" cname="_WINEN_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x3C" >
- <tqmask name="PWMPIN" value="0x04" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x3C" >
+ <mask name="PWMPIN" value="0x04" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x04" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x08" >
+ </mask>
+ <mask name="LPOL" value="0x08" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x08" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x10" >
+ </mask>
+ <mask name="HPOL" value="0x10" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x10" name="high" cname="_HPOL_HIGH" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x20" >
+ </mask>
+ <mask name="T1OSCMX" value="0x20" >
<value value="0x00" name="Legacy" cname="_T1OSCMX_OFF" />
<value value="0x20" name="Low Power" cname="_T1OSCMX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x9D" >
- <tqmask name="MCLRE" value="0x80" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x9D" >
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" 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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2439.xml b/src/devices/pic/xml_data/18F2439.xml
index edc3696..ad389e3 100644
--- a/src/devices/pic/xml_data/18F2439.xml
+++ b/src/devices/pic/xml_data/18F2439.xml
@@ -35,48 +35,48 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="default" name="invalid" />
<value value="0x02" name="HS" cname="_OSC_HS" />
<value value="0x04" name="EC_CLKOUT" cname="_OSC_EC" />
<value value="0x05" name="EC_IO" cname="_OSC_ECIO" />
<value value="0x06" name="H4" cname="_OSC_HSPLL" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -85,94 +85,94 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200: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="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200: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="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200: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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2455.xml b/src/devices/pic/xml_data/18F2455.xml
index c42923a..7097218 100644
--- a/src/devices/pic/xml_data/18F2455.xml
+++ b/src/devices/pic/xml_data/18F2455.xml
@@ -26,15 +26,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x005FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" >
- <tqmask name="PLLDIV" value="0x07" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" >
+ <mask name="PLLDIV" value="0x07" >
<value value="0x00" name="1" cname="_PLLDIV_1" sdcc_cname="_PLLDIV_NO_DIVIDE__4MHZ_INPUT_" />
<value value="0x01" name="2" cname="_PLLDIV_2" sdcc_cname="_PLLDIV_DIVIDE_BY_2__8MHZ_INPUT_" />
<value value="0x02" name="3" cname="_PLLDIV_3" sdcc_cname="_PLLDIV_DIVIDE_BY_3__12MHZ_INPUT_" />
@@ -43,21 +43,21 @@
<value value="0x05" name="6" cname="_PLLDIV_6" sdcc_cname="_PLLDIV_DIVIDE_BY_6__24MHZ_INPUT_" />
<value value="0x06" name="10" cname="_PLLDIV_10" sdcc_cname="_PLLDIV_DIVIDE_BY_10__40MHZ_INPUT_" />
<value value="0x07" name="12" cname="_PLLDIV_12" sdcc_cname="_PLLDIV_DIVIDE_BY_12__48MHZ_INPUT_" />
- </tqmask>
- <tqmask name="CPUDIV" value="0x18" >
+ </mask>
+ <mask name="CPUDIV" value="0x18" >
<value value="0x00" name="1" cname="_CPUDIV_OSC1_PLL2" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___1__96MHZ_PLL_SRC___2_" />
<value value="0x08" name="2" cname="_CPUDIV_OSC2_PLL3" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___2__96MHZ_PLL_SRC___3_" />
<value value="0x10" name="3" cname="_CPUDIV_OSC3_PLL4" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___3__96MHZ_PLL_SRC___4_" />
<value value="0x18" name="4" cname="_CPUDIV_OSC4_PLL6" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___4__96MHZ_PLL_SRC___6_" />
- </tqmask>
- <tqmask name="USBDIV" value="0x20" >
+ </mask>
+ <mask name="USBDIV" value="0x20" >
<value value="0x00" name="1" cname="_USBDIV_1" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_OSC1_OSC2" />
<value value="0x20" name="2" cname="_USBDIV_2" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_96MHZ_PLL_2" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x05" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x05" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x01" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x02" name="XTPLL" cname="_FOSC_XTPLL" sdcc_cname="_OSC_XT__XT_PLL__USB_XT" />
@@ -74,46 +74,46 @@
<value value="0x0D" name="HS" cname="_FOSC_HS" sdcc_cname="_OSC_HS__USB_HS" />
<value value="0x0E" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
<value value="0x0F" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FCMEM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FCMEM_ON" sdcc_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" ctqmask="0x18" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x1F" cmask="0x18" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x06" >
+ </mask>
+ <mask name="BODEN" value="0x06" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="Software" cname="_BOR_SOFT" sdcc_cname="_BODEN_CONTROLLED_WITH_SBOREN_BIT" />
<value value="0x04" name="On_run" cname="_BOR_ON_ACTIVE" sdcc_cname="_BODEN_ON_WHILE_ACTIVE" />
<value value="0x06" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" sdcc_cname="_BODENV_4_5V" />
<value value="0x08" name="4.2" cname="_BORV_1" sdcc_cname="_BODENV_4_2V" />
<value value="0x10" name="2.7" cname="_BORV_2" sdcc_cname="_BODENV_2_7V" />
<value value="0x18" name="2.0" cname="_BORV_3" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -130,127 +130,127 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xDF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xDF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="_XINST_OFF" sdcc_cname="_ENHCPU_OFF" />
<value value="0x40" name="On" cname="_XINST_ON" sdcc_cname="_ENHCPU_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0xC0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0xC0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F248.xml b/src/devices/pic/xml_data/18F248.xml
index a7078ba..973ba90 100644
--- a/src/devices/pic/xml_data/18F248.xml
+++ b/src/devices/pic/xml_data/18F248.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_25" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -91,94 +91,94 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2480.xml b/src/devices/pic/xml_data/18F2480.xml
index 4282365..7f8929b 100644
--- a/src/devices/pic/xml_data/18F2480.xml
+++ b/src/devices/pic/xml_data/18F2480.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" ctqmask="0x0F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" cmask="0x0F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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" ctqmask="0x06" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x1F" cmask="0x06" >
+ <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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,115 +106,115 @@
<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="0x02" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" cmask="0x02" >
+ <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="0x10" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x10" >
+ <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="0x10" >
+ </mask>
+ <mask name="BBSIZ" value="0x10" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
- </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="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F24J10.xml b/src/devices/pic/xml_data/18F24J10.xml
index b88c8f0..c4ae257 100644
--- a/src/devices/pic/xml_data/18F24J10.xml
+++ b/src/devices/pic/xml_data/18F24J10.xml
@@ -31,55 +31,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0x7F" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0x7F" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -96,23 +96,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0xFF" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0xFF" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0xF8" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2510.xml b/src/devices/pic/xml_data/18F2510.xml
index 55c62f8..1950de1 100644
--- a/src/devices/pic/xml_data/18F2510.xml
+++ b/src/devices/pic/xml_data/18F2510.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,131 +105,131 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2515.xml b/src/devices/pic/xml_data/18F2515.xml
index fa07b14..89960ae 100644
--- a/src/devices/pic/xml_data/18F2515.xml
+++ b/src/devices/pic/xml_data/18F2515.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,119 +105,119 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F252.xml b/src/devices/pic/xml_data/18F252.xml
index 595eb74..b1d4153 100644
--- a/src/devices/pic/xml_data/18F252.xml
+++ b/src/devices/pic/xml_data/18F252.xml
@@ -35,17 +35,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" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -54,36 +54,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -92,123 +92,123 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2520.xml b/src/devices/pic/xml_data/18F2520.xml
index 07a97db..3c77df0 100644
--- a/src/devices/pic/xml_data/18F2520.xml
+++ b/src/devices/pic/xml_data/18F2520.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,139 +106,139 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2523.xml b/src/devices/pic/xml_data/18F2523.xml
index e630c60..6a92c8d 100644
--- a/src/devices/pic/xml_data/18F2523.xml
+++ b/src/devices/pic/xml_data/18F2523.xml
@@ -24,17 +24,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -45,42 +45,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -97,139 +97,139 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2525.xml b/src/devices/pic/xml_data/18F2525.xml
index eb2f3fe..2ff5bc7 100644
--- a/src/devices/pic/xml_data/18F2525.xml
+++ b/src/devices/pic/xml_data/18F2525.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,127 +106,127 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2539.xml b/src/devices/pic/xml_data/18F2539.xml
index 8e5f2cc..0f4a17a 100644
--- a/src/devices/pic/xml_data/18F2539.xml
+++ b/src/devices/pic/xml_data/18F2539.xml
@@ -35,48 +35,48 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x005FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="default" name="invalid" />
<value value="0x02" name="HS" cname="_OSC_HS" />
<value value="0x04" name="EC_CLKOUT" cname="_OSC_EC" />
<value value="0x05" name="EC_IO" cname="_OSC_ECIO" />
<value value="0x06" name="H4" cname="_OSC_HSPLL" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -85,106 +85,106 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2550.xml b/src/devices/pic/xml_data/18F2550.xml
index af87dd0..21ab9ae 100644
--- a/src/devices/pic/xml_data/18F2550.xml
+++ b/src/devices/pic/xml_data/18F2550.xml
@@ -26,15 +26,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" >
- <tqmask name="PLLDIV" value="0x07" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" >
+ <mask name="PLLDIV" value="0x07" >
<value value="0x00" name="1" cname="_PLLDIV_1" sdcc_cname="_PLLDIV_NO_DIVIDE__4MHZ_INPUT_" />
<value value="0x01" name="2" cname="_PLLDIV_2" sdcc_cname="_PLLDIV_DIVIDE_BY_2__8MHZ_INPUT_" />
<value value="0x02" name="3" cname="_PLLDIV_3" sdcc_cname="_PLLDIV_DIVIDE_BY_3__12MHZ_INPUT_" />
@@ -43,21 +43,21 @@
<value value="0x05" name="6" cname="_PLLDIV_6" sdcc_cname="_PLLDIV_DIVIDE_BY_6__24MHZ_INPUT_" />
<value value="0x06" name="10" cname="_PLLDIV_10" sdcc_cname="_PLLDIV_DIVIDE_BY_10__40MHZ_INPUT_" />
<value value="0x07" name="12" cname="_PLLDIV_12" sdcc_cname="_PLLDIV_DIVIDE_BY_12__48MHZ_INPUT_" />
- </tqmask>
- <tqmask name="CPUDIV" value="0x18" >
+ </mask>
+ <mask name="CPUDIV" value="0x18" >
<value value="0x00" name="1" cname="_CPUDIV_OSC1_PLL2" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___1__96MHZ_PLL_SRC___2_" />
<value value="0x08" name="2" cname="_CPUDIV_OSC2_PLL3" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___2__96MHZ_PLL_SRC___3_" />
<value value="0x10" name="3" cname="_CPUDIV_OSC3_PLL4" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___3__96MHZ_PLL_SRC___4_" />
<value value="0x18" name="4" cname="_CPUDIV_OSC4_PLL6" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___4__96MHZ_PLL_SRC___6_" />
- </tqmask>
- <tqmask name="USBDIV" value="0x20" >
+ </mask>
+ <mask name="USBDIV" value="0x20" >
<value value="0x00" name="1" cname="_USBDIV_1" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_OSC1_OSC2" />
<value value="0x20" name="2" cname="_USBDIV_2" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_96MHZ_PLL_2" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x05" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x05" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x01" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x02" name="XTPLL" cname="_FOSC_XTPLL" sdcc_cname="_OSC_XT__XT_PLL__USB_XT" />
@@ -74,46 +74,46 @@
<value value="0x0D" name="HS" cname="_FOSC_HS" sdcc_cname="_OSC_HS__USB_HS" />
<value value="0x0E" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
<value value="0x0F" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FCMEM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FCMEM_ON" sdcc_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" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x06" >
+ </mask>
+ <mask name="BODEN" value="0x06" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="Software" cname="_BOR_SOFT" sdcc_cname="_BODEN_CONTROLLED_WITH_SBOREN_BIT" />
<value value="0x04" name="On_run" cname="_BOR_ON_ACTIVE" sdcc_cname="_BODEN_ON_WHILE_ACTIVE" />
<value value="0x06" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" sdcc_cname="_BODENV_4_5V" />
<value value="0x08" name="4.2" cname="_BORV_1" sdcc_cname="_BODENV_4_2V" />
<value value="0x10" name="2.7" cname="_BORV_2" sdcc_cname="_BODENV_2_7V" />
<value value="0x18" name="2.0" cname="_BORV_3" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -130,131 +130,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xDF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xDF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="_XINST_OFF" sdcc_cname="_ENHCPU_OFF" />
<value value="0x40" name="On" cname="_XINST_ON" sdcc_cname="_ENHCPU_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x60" ctqmask="0x40" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x60" cmask="0x40" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F258.xml b/src/devices/pic/xml_data/18F258.xml
index c24567e..bb27ca5 100644
--- a/src/devices/pic/xml_data/18F258.xml
+++ b/src/devices/pic/xml_data/18F258.xml
@@ -35,17 +35,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" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -54,36 +54,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -92,118 +92,118 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2580.xml b/src/devices/pic/xml_data/18F2580.xml
index 4458519..6721af5 100644
--- a/src/devices/pic/xml_data/18F2580.xml
+++ b/src/devices/pic/xml_data/18F2580.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,139 +106,139 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x10" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x10" >
+ <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="0x10" >
+ </mask>
+ <mask name="BBSIZ" value="0x10" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2585.xml b/src/devices/pic/xml_data/18F2585.xml
index fa6d739..12b38f1 100644
--- a/src/devices/pic/xml_data/18F2585.xml
+++ b/src/devices/pic/xml_data/18F2585.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,129 +106,129 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F25J10.xml b/src/devices/pic/xml_data/18F25J10.xml
index e6b94e0..57f37d4 100644
--- a/src/devices/pic/xml_data/18F25J10.xml
+++ b/src/devices/pic/xml_data/18F25J10.xml
@@ -31,55 +31,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0x7F" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0x7F" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -96,23 +96,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0xFF" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0xFF" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0xF8" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2610.xml b/src/devices/pic/xml_data/18F2610.xml
index 3de5893..e38c6d2 100644
--- a/src/devices/pic/xml_data/18F2610.xml
+++ b/src/devices/pic/xml_data/18F2610.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,131 +105,131 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2620.xml b/src/devices/pic/xml_data/18F2620.xml
index faacae3..7c25f21 100644
--- a/src/devices/pic/xml_data/18F2620.xml
+++ b/src/devices/pic/xml_data/18F2620.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,42 +51,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO6" />
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.6" cname="_BORV_0" sdcc_cname="_BORV_46" />
<value value="0x08" name="4.3" cname="_BORV_1" sdcc_cname="_BORV_43" />
<value value="0x10" name="2.8" cname="_BORV_2" sdcc_cname="_BORV_28" />
<value value="0x18" name="2.1" cname="_BORV_3" sdcc_cname="_BORV_21" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<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" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -103,131 +103,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2680.xml b/src/devices/pic/xml_data/18F2680.xml
index 09c4863..2dcd013 100644
--- a/src/devices/pic/xml_data/18F2680.xml
+++ b/src/devices/pic/xml_data/18F2680.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,141 +106,141 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2682.xml b/src/devices/pic/xml_data/18F2682.xml
index 9f5501f..8c13b2d 100644
--- a/src/devices/pic/xml_data/18F2682.xml
+++ b/src/devices/pic/xml_data/18F2682.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x013FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRCIO7" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,153 +100,153 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x1F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x1F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x1F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F2685.xml b/src/devices/pic/xml_data/18F2685.xml
index cba2b20..bca6818 100644
--- a/src/devices/pic/xml_data/18F2685.xml
+++ b/src/devices/pic/xml_data/18F2685.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x017FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRCIO7" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,165 +100,165 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x3F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4220.xml b/src/devices/pic/xml_data/18F4220.xml
index 12dda87..f1c19c7 100644
--- a/src/devices/pic/xml_data/18F4220.xml
+++ b/src/devices/pic/xml_data/18F4220.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -57,40 +57,40 @@
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" />
<value value="default" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -107,107 +107,107 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_B3" />
<value value="0x01" name="RC1" cname="_CCP2MX_C1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBAD_DIG" />
<value value="0x02" name="analog" cname="_PBAD_ANA" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" 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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4221.xml b/src/devices/pic/xml_data/18F4221.xml
index 417ae32..d4a7e11 100644
--- a/src/devices/pic/xml_data/18F4221.xml
+++ b/src/devices/pic/xml_data/18F4221.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x000FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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_NOSLP" />
<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.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,125 +106,125 @@
<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="0x87" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x87" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_DIG" />
<value value="0x02" name="analog" cname="_PBADEN_ANA" />
- </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="0x38" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x38" >
+ <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="ICPORT" value="0x08" >
+ </mask>
+ <mask name="ICPORT" value="0x08" >
<value value="0x00" name="Off" cname="_ICPORT_OFF" />
<value value="0x08" name="On" cname="_ICPORT_ON" />
- </tqmask>
- <tqmask name="BBSIZ" value="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="0x10" name="512" cname="_BBSIZ_BB512" />
<value value="0x20" name="512" cname="_BBSIZ_BB512" />
<value value="0x30" name="512" cname="_BBSIZ_BB512" />
- </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="0200/0400:07FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400:07FF" 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="0800:0FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4320.xml b/src/devices/pic/xml_data/18F4320.xml
index 141b008..734bb11 100644
--- a/src/devices/pic/xml_data/18F4320.xml
+++ b/src/devices/pic/xml_data/18F4320.xml
@@ -37,17 +37,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -59,40 +59,40 @@
<value value="0x08" name="INTRC_IO" cname="_INTIO2_OSC" />
<value value="0x09" name="INTRC_CLKOUT" cname="_INTIO1_OSC" />
<value value="default" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -109,131 +109,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_B3" />
<value value="0x01" name="RC1" cname="_CCP2MX_C1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBAD_DIG" />
<value value="0x02" name="analog" cname="_PBAD_ANA" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:07FF" 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="0800:0FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="1000:17FF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="1800:1FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4321.xml b/src/devices/pic/xml_data/18F4321.xml
index a7f5bd9..6bdd265 100644
--- a/src/devices/pic/xml_data/18F4321.xml
+++ b/src/devices/pic/xml_data/18F4321.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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_NOSLP" />
<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.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,125 +106,125 @@
<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="0x87" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x87" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CPP2MX_RB3" />
<value value="0x01" name="RC1" cname="_CPP2MX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_DIG" />
<value value="0x02" name="analog" cname="_PBADEN_ANA" />
- </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="0x38" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x38" >
+ <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="ICPORT" value="0x08" >
+ </mask>
+ <mask name="ICPORT" value="0x08" >
<value value="0x00" name="Off" cname="_ICPORT_OFF" />
<value value="0x08" name="On" cname="_ICPORT_ON" />
- </tqmask>
- <tqmask name="BBSIZ" value="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="256" cname="_BBSIZ_BB256" />
<value value="0x10" name="512" cname="_BBSIZ_BB512" />
<value value="0x20" name="1024" cname="_BBSIZ_BB512" />
<value value="0x30" name="1024" cname="_BBSIZ_BB512" />
- </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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200/0400/0800:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200/0400/0800:0FFF" 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="1000:1FFF" 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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4331.xml b/src/devices/pic/xml_data/18F4331.xml
index 7709516..a22e667 100644
--- a/src/devices/pic/xml_data/18F4331.xml
+++ b/src/devices/pic/xml_data/18F4331.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -61,40 +61,40 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRTEN_ON" />
<value value="0x01" name="Off" cname="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOREN_OFF" />
<value value="0x02" name="On" cname="_BOREN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="_WDTEN_OFF" />
<value value="0x01" name="On" cname="_WDTEN_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDPS_1" />
<value value="0x02" name="1:2" cname="_WDPS_2" />
<value value="0x04" name="1:4" cname="_WDPS_4" />
@@ -111,136 +111,136 @@
<value value="0x1A" name="1:8192" cname="_WDPS_8192" />
<value value="0x1C" name="1:16384" cname="_WDPS_16384" />
<value value="0x1E" name="1:32768" cname="_WDPS_32768" />
- </tqmask>
- <tqmask name="WINEN" value="0x20" >
+ </mask>
+ <mask name="WINEN" value="0x20" >
<value value="0x00" name="On" cname="_WINEN_ON" />
<value value="0x20" name="Off" cname="_WINEN_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x3C" >
- <tqmask name="PWMPIN" value="0x04" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x3C" >
+ <mask name="PWMPIN" value="0x04" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x04" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x08" >
+ </mask>
+ <mask name="LPOL" value="0x08" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x08" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x10" >
+ </mask>
+ <mask name="HPOL" value="0x10" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x10" name="high" cname="_HPOL_HIGH" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x20" >
+ </mask>
+ <mask name="T1OSCMX" value="0x20" >
<value value="0x00" name="Legacy" cname="_T1OSCMX_OFF" />
<value value="0x20" name="Low Power" cname="_T1OSCMX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x9D" >
- <tqmask name="FLTAMX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x9D" >
+ <mask name="FLTAMX" value="0x01" >
<value value="0x00" name="RD4" cname="_FLTAMX_RD4" />
<value value="0x01" name="RC1" cname="_FLTAMX_RC1" />
- </tqmask>
- <tqmask name="SSPMX" value="0x04" >
+ </mask>
+ <mask name="SSPMX" value="0x04" >
<value value="0x00" name="RD3, RD2, RD1" cname="_SSPMX_RD1" />
<value value="0x04" name="RC5, RC4, RC7" cname="_SSPMX_RC7" />
- </tqmask>
- <tqmask name="PWM4MX" value="0x08" >
+ </mask>
+ <mask name="PWM4MX" value="0x08" >
<value value="0x00" name="RD5" cname="_PWM4MX_RD5" />
<value value="0x08" name="RB5" cname="_PWM4MX_RB5" />
- </tqmask>
- <tqmask name="EXCLKMX" value="0x10" >
+ </mask>
+ <mask name="EXCLKMX" value="0x10" >
<value value="0x00" name="RD0" cname="_EXCLKMX_RD0" />
<value value="0x10" name="RC3" cname="_EXCLKMX_RC3" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0200:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:0FFF" 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="1000:1FFF" 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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4410.xml b/src/devices/pic/xml_data/18F4410.xml
index 42557f8..8ca9b17 100644
--- a/src/devices/pic/xml_data/18F4410.xml
+++ b/src/devices/pic/xml_data/18F4410.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,107 +105,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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0000:07FF" 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: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="0000:07FF" 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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F442.xml b/src/devices/pic/xml_data/18F442.xml
index 1a864f5..61f6a63 100644
--- a/src/devices/pic/xml_data/18F442.xml
+++ b/src/devices/pic/xml_data/18F442.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -91,99 +91,99 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1"/>
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4420.xml b/src/devices/pic/xml_data/18F4420.xml
index 19e9c62..83a0022 100644
--- a/src/devices/pic/xml_data/18F4420.xml
+++ b/src/devices/pic/xml_data/18F4420.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,115 +106,115 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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: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="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4423.xml b/src/devices/pic/xml_data/18F4423.xml
index 540c8e4..1760494 100644
--- a/src/devices/pic/xml_data/18F4423.xml
+++ b/src/devices/pic/xml_data/18F4423.xml
@@ -24,17 +24,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -45,42 +45,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -97,115 +97,115 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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: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="0xC0" ctqmask="0x80" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x80" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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: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="0xE0" ctqmask="0x80" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x80" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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: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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4431.xml b/src/devices/pic/xml_data/18F4431.xml
index dc8edc0..c19b48a 100644
--- a/src/devices/pic/xml_data/18F4431.xml
+++ b/src/devices/pic/xml_data/18F4431.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -62,40 +62,40 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRTEN_ON" />
<value value="0x01" name="Off" cname="_PWRTEN_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOREN_OFF" />
<value value="0x02" name="On" cname="_BOREN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="_WDTEN_OFF" />
<value value="0x01" name="On" cname="_WDTEN_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDPS_1" />
<value value="0x02" name="1:2" cname="_WDPS_2" />
<value value="0x04" name="1:4" cname="_WDPS_4" />
@@ -112,160 +112,160 @@
<value value="0x1A" name="1:8192" cname="_WDPS_8192" />
<value value="0x1C" name="1:16384" cname="_WDPS_16384" />
<value value="0x1E" name="1:32768" cname="_WDPS_32768" />
- </tqmask>
- <tqmask name="WINEN" value="0x20" >
+ </mask>
+ <mask name="WINEN" value="0x20" >
<value value="0x00" name="On" cname="_WINEN_ON" />
<value value="0x20" name="Off" cname="_WINEN_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x3C" >
- <tqmask name="PWMPIN" value="0x04" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x3C" >
+ <mask name="PWMPIN" value="0x04" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x04" name="Off" cname="_PWMPIN_OFF" />
- </tqmask>
- <tqmask name="LPOL" value="0x08" >
+ </mask>
+ <mask name="LPOL" value="0x08" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x08" name="high" cname="_LPOL_HIGH" />
- </tqmask>
- <tqmask name="HPOL" value="0x10" >
+ </mask>
+ <mask name="HPOL" value="0x10" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x10" name="high" cname="_HPOL_HIGH" />
- </tqmask>
- <tqmask name="T1OSCMX" value="0x20" >
+ </mask>
+ <mask name="T1OSCMX" value="0x20" >
<value value="0x00" name="Legacy" cname="_T1OSCMX_OFF" />
<value value="0x20" name="Low Power" cname="_T1OSCMX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x9D" >
- <tqmask name="FLTAMX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x9D" >
+ <mask name="FLTAMX" value="0x01" >
<value value="0x00" name="RD4" cname="_FLTAMX_RD4" />
<value value="0x01" name="RC1" cname="_FLTAMX_RC1" />
- </tqmask>
- <tqmask name="SSPMX" value="0x04" >
+ </mask>
+ <mask name="SSPMX" value="0x04" >
<value value="0x00" name="RD3, RD2, RD1" cname="_SSPMX_RD1" />
<value value="0x04" name="RC5, RC4, RC7" cname="_SSPMX_RC7" />
- </tqmask>
- <tqmask name="PWM4MX" value="0x08" >
+ </mask>
+ <mask name="PWM4MX" value="0x08" >
<value value="0x00" name="RD5" cname="_PWM4MX_RD5" />
<value value="0x08" name="RB5" cname="_PWM4MX_RB5" />
- </tqmask>
- <tqmask name="EXCLKMX" value="0x10" >
+ </mask>
+ <mask name="EXCLKMX" value="0x10" >
<value value="0x00" name="RD0" cname="_EXCLKMX_RD0" />
<value value="0x10" name="RC3" cname="_EXCLKMX_RC3" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="2000:2FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="3000:3FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="2000:2FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="3000:3FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:0FFF" 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="1000:1FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="2000:2FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="3000:3FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4439.xml b/src/devices/pic/xml_data/18F4439.xml
index 9104408..3441809 100644
--- a/src/devices/pic/xml_data/18F4439.xml
+++ b/src/devices/pic/xml_data/18F4439.xml
@@ -35,48 +35,48 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="default" name="invalid" />
<value value="0x02" name="HS" cname="_OSC_HS" />
<value value="0x04" name="EC_CLKOUT" cname="_OSC_EC" />
<value value="0x05" name="EC_IO" cname="_OSC_ECIO" />
<value value="0x06" name="H4" cname="_OSC_HSPLL" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -85,94 +85,94 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200: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="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200: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="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200: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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4450.xml b/src/devices/pic/xml_data/18F4450.xml
index 208518e..e634df1 100644
--- a/src/devices/pic/xml_data/18F4450.xml
+++ b/src/devices/pic/xml_data/18F4450.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,111 +130,111 @@
<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="0x28" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x28" >
+ <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_1024" />
<value value="0x08" name="2048" cname="_BBSIZ_2048" />
- </tqmask>
- <tqmask name="ICPORT" value="0x20" >
+ </mask>
+ <mask name="ICPORT" value="0x20" >
<value value="0x00" name="On" cname="_ICPORT_ON" />
<value value="0x20" name="Off" cname="_ICPORT_OFF" />
- </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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4455.xml b/src/devices/pic/xml_data/18F4455.xml
index 6a77cfb..282decb 100644
--- a/src/devices/pic/xml_data/18F4455.xml
+++ b/src/devices/pic/xml_data/18F4455.xml
@@ -26,15 +26,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x005FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" >
- <tqmask name="PLLDIV" value="0x07" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" >
+ <mask name="PLLDIV" value="0x07" >
<value value="0x00" name="1" cname="_PLLDIV_1" sdcc_cname="_PLLDIV_NO_DIVIDE__4MHZ_INPUT_" />
<value value="0x01" name="2" cname="_PLLDIV_2" sdcc_cname="_PLLDIV_DIVIDE_BY_2__8MHZ_INPUT_" />
<value value="0x02" name="3" cname="_PLLDIV_3" sdcc_cname="_PLLDIV_DIVIDE_BY_3__12MHZ_INPUT_" />
@@ -43,21 +43,21 @@
<value value="0x05" name="6" cname="_PLLDIV_6" sdcc_cname="_PLLDIV_DIVIDE_BY_6__24MHZ_INPUT_" />
<value value="0x06" name="10" cname="_PLLDIV_10" sdcc_cname="_PLLDIV_DIVIDE_BY_10__40MHZ_INPUT_" />
<value value="0x07" name="12" cname="_PLLDIV_12" sdcc_cname="_PLLDIV_DIVIDE_BY_12__48MHZ_INPUT_" />
- </tqmask>
- <tqmask name="CPUDIV" value="0x18" >
+ </mask>
+ <mask name="CPUDIV" value="0x18" >
<value value="0x00" name="1" cname="_CPUDIV_OSC1_PLL2" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___1__96MHZ_PLL_SRC___2_" />
<value value="0x08" name="2" cname="_CPUDIV_OSC2_PLL3" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___2__96MHZ_PLL_SRC___3_" />
<value value="0x10" name="3" cname="_CPUDIV_OSC3_PLL4" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___3__96MHZ_PLL_SRC___4_" />
<value value="0x18" name="4" cname="_CPUDIV_OSC4_PLL6" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___4__96MHZ_PLL_SRC___6_" />
- </tqmask>
- <tqmask name="USBDIV" value="0x20" >
+ </mask>
+ <mask name="USBDIV" value="0x20" >
<value value="0x00" name="1" cname="_USBDIV_1" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_OSC1_OSC2" />
<value value="0x20" name="2" cname="_USBDIV_2" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_96MHZ_PLL_2" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x05" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x05" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x01" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x02" name="XTPLL" cname="_FOSC_XTPLL" sdcc_cname="_OSC_XT__XT_PLL__USB_XT" />
@@ -74,46 +74,46 @@
<value value="0x0D" name="HS" cname="_FOSC_HS" sdcc_cname="_OSC_HS__USB_HS" />
<value value="0x0E" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
<value value="0x0F" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FCMEM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FCMEM_ON" sdcc_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" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x06" >
+ </mask>
+ <mask name="BODEN" value="0x06" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="Software" cname="_BOR_SOFT" sdcc_cname="_BODEN_CONTROLLED_WITH_SBOREN_BIT" />
<value value="0x04" name="On_run" cname="_BOR_ON_ACTIVE" sdcc_cname="_BODEN_ON_WHILE_ACTIVE" />
<value value="0x06" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" sdcc_cname="_BODENV_4_5V" />
<value value="0x08" name="4.2" cname="_BORV_1" sdcc_cname="_BODENV_4_2V" />
<value value="0x10" name="2.7" cname="_BORV_2" sdcc_cname="_BODENV_2_7V" />
<value value="0x18" name="2.0" cname="_BORV_3" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -130,131 +130,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" ctqmask="0x20" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x20" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="ICPORT" value="0x20" >
+ </mask>
+ <mask name="ICPORT" value="0x20" >
<value value="0x00" name="Off" cname="_ICPRT_OFF" sdcc_cname="_ENICPORT_OFF" />
<value value="0x20" name="On" cname="_ICPRT_ON" sdcc_cname="_ENICPORT_ON" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="_XINST_OFF" sdcc_cname="_ENHCPU_OFF" />
<value value="0x40" name="On" cname="_XINST_ON" sdcc_cname="_ENHCPU_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0xC0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0xC0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F448.xml b/src/devices/pic/xml_data/18F448.xml
index 137b34a..40de124 100644
--- a/src/devices/pic/xml_data/18F448.xml
+++ b/src/devices/pic/xml_data/18F448.xml
@@ -34,17 +34,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_25" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -91,94 +91,94 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4480.xml b/src/devices/pic/xml_data/18F4480.xml
index 14b60cb..b9a87da 100644
--- a/src/devices/pic/xml_data/18F4480.xml
+++ b/src/devices/pic/xml_data/18F4480.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,115 +106,115 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x10" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x10" >
+ <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="0x10" >
+ </mask>
+ <mask name="BBSIZ" value="0x10" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
- </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="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_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="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F44J10.xml b/src/devices/pic/xml_data/18F44J10.xml
index c9ce5b8..ddf2019 100644
--- a/src/devices/pic/xml_data/18F44J10.xml
+++ b/src/devices/pic/xml_data/18F44J10.xml
@@ -31,55 +31,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0x7F" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0x7F" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -96,23 +96,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0xFF" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0xFF" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0xF8" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4510.xml b/src/devices/pic/xml_data/18F4510.xml
index bcfec9c..b038b39 100644
--- a/src/devices/pic/xml_data/18F4510.xml
+++ b/src/devices/pic/xml_data/18F4510.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,131 +105,131 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4515.xml b/src/devices/pic/xml_data/18F4515.xml
index 671198c..4325432 100644
--- a/src/devices/pic/xml_data/18F4515.xml
+++ b/src/devices/pic/xml_data/18F4515.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,119 +105,119 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F452.xml b/src/devices/pic/xml_data/18F452.xml
index 24d1e3d..12ad5ce 100644
--- a/src/devices/pic/xml_data/18F452.xml
+++ b/src/devices/pic/xml_data/18F452.xml
@@ -35,17 +35,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" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -54,36 +54,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -92,123 +92,123 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4520.xml b/src/devices/pic/xml_data/18F4520.xml
index 4699c01..a1a1e75 100644
--- a/src/devices/pic/xml_data/18F4520.xml
+++ b/src/devices/pic/xml_data/18F4520.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,139 +106,139 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4523.xml b/src/devices/pic/xml_data/18F4523.xml
index 26db550..29b2583 100644
--- a/src/devices/pic/xml_data/18F4523.xml
+++ b/src/devices/pic/xml_data/18F4523.xml
@@ -24,17 +24,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,42 +51,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -103,139 +103,139 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTB" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4525.xml b/src/devices/pic/xml_data/18F4525.xml
index 0928756..f37d90b 100644
--- a/src/devices/pic/xml_data/18F4525.xml
+++ b/src/devices/pic/xml_data/18F4525.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,127 +106,127 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4539.xml b/src/devices/pic/xml_data/18F4539.xml
index 2733301..71a1f4c 100644
--- a/src/devices/pic/xml_data/18F4539.xml
+++ b/src/devices/pic/xml_data/18F4539.xml
@@ -35,48 +35,48 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x005FFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="default" name="invalid" />
<value value="0x02" name="HS" cname="_OSC_HS" />
<value value="0x04" name="EC_CLKOUT" cname="_OSC_EC" />
<value value="0x05" name="EC_IO" cname="_OSC_ECIO" />
<value value="0x06" name="H4" cname="_OSC_HSPLL" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -85,106 +85,106 @@
<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" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4550.xml b/src/devices/pic/xml_data/18F4550.xml
index d988438..b0e26c8 100644
--- a/src/devices/pic/xml_data/18F4550.xml
+++ b/src/devices/pic/xml_data/18F4550.xml
@@ -26,15 +26,15 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" >
- <tqmask name="PLLDIV" value="0x07" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" >
+ <mask name="PLLDIV" value="0x07" >
<value value="0x00" name="1" cname="_PLLDIV_1" sdcc_cname="_PLLDIV_NO_DIVIDE__4MHZ_INPUT_" />
<value value="0x01" name="2" cname="_PLLDIV_2" sdcc_cname="_PLLDIV_DIVIDE_BY_2__8MHZ_INPUT_" />
<value value="0x02" name="3" cname="_PLLDIV_3" sdcc_cname="_PLLDIV_DIVIDE_BY_3__12MHZ_INPUT_" />
@@ -43,21 +43,21 @@
<value value="0x05" name="6" cname="_PLLDIV_6" sdcc_cname="_PLLDIV_DIVIDE_BY_6__24MHZ_INPUT_" />
<value value="0x06" name="10" cname="_PLLDIV_10" sdcc_cname="_PLLDIV_DIVIDE_BY_10__40MHZ_INPUT_" />
<value value="0x07" name="12" cname="_PLLDIV_12" sdcc_cname="_PLLDIV_DIVIDE_BY_12__48MHZ_INPUT_" />
- </tqmask>
- <tqmask name="CPUDIV" value="0x18" >
+ </mask>
+ <mask name="CPUDIV" value="0x18" >
<value value="0x00" name="1" cname="_CPUDIV_OSC1_PLL2" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___1__96MHZ_PLL_SRC___2_" />
<value value="0x08" name="2" cname="_CPUDIV_OSC2_PLL3" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___2__96MHZ_PLL_SRC___3_" />
<value value="0x10" name="3" cname="_CPUDIV_OSC3_PLL4" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___3__96MHZ_PLL_SRC___4_" />
<value value="0x18" name="4" cname="_CPUDIV_OSC4_PLL6" sdcc_cname="_CPUDIV__OSC1_OSC2_SRC___4__96MHZ_PLL_SRC___6_" />
- </tqmask>
- <tqmask name="USBDIV" value="0x20" >
+ </mask>
+ <mask name="USBDIV" value="0x20" >
<value value="0x00" name="1" cname="_USBDIV_1" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_OSC1_OSC2" />
<value value="0x20" name="2" cname="_USBDIV_2" sdcc_cname="_USBPLL_CLOCK_SRC_FROM_96MHZ_PLL_2" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x05" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x05" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x01" name="XT" cname="_FOSC_XT_XT" sdcc_cname="_OSC_XT__USB_XT" />
<value value="0x02" name="XTPLL" cname="_FOSC_XTPLL" sdcc_cname="_OSC_XT__XT_PLL__USB_XT" />
@@ -74,46 +74,46 @@
<value value="0x0D" name="HS" cname="_FOSC_HS" sdcc_cname="_OSC_HS__USB_HS" />
<value value="0x0E" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
<value value="0x0F" name="HSPLL" cname="_FOSC_HSPLL_HS" sdcc_cname="_OSC_HS__HS_PLL__USB_HS" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FCMEM_OFF" sdcc_cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FCMEM_ON" sdcc_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" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x06" >
+ </mask>
+ <mask name="BODEN" value="0x06" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="Software" cname="_BOR_SOFT" sdcc_cname="_BODEN_CONTROLLED_WITH_SBOREN_BIT" />
<value value="0x04" name="On_run" cname="_BOR_ON_ACTIVE" sdcc_cname="_BODEN_ON_WHILE_ACTIVE" />
<value value="0x06" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" sdcc_cname="_BODENV_4_5V" />
<value value="0x08" name="4.2" cname="_BORV_1" sdcc_cname="_BODENV_4_2V" />
<value value="0x10" name="2.7" cname="_BORV_2" sdcc_cname="_BODENV_2_7V" />
<value value="0x18" name="2.0" cname="_BORV_3" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<value value="0x01" name="On" cname="_WDT_ON" sdcc_cname="_WDT_ON" />
- </tqmask>
- <tqmask name="WDTPS" value="0x1E" >
+ </mask>
+ <mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -130,135 +130,135 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" ctqmask="0x20" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x20" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="ICPORT" value="0x20" >
+ </mask>
+ <mask name="ICPORT" value="0x20" >
<value value="0x00" name="Off" cname="_ICPRT_OFF" sdcc_cname="_ENICPORT_OFF" />
<value value="0x20" name="On" cname="_ICPRT_ON" sdcc_cname="_ENICPORT_ON" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="_XINST_OFF" sdcc_cname="_ENHCPU_OFF" />
<value value="0x40" name="On" cname="_XINST_ON" sdcc_cname="_ENHCPU_ON" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x60" ctqmask="0x40" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x60" cmask="0x40" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F458.xml b/src/devices/pic/xml_data/18F458.xml
index 758acc8..33069dd 100644
--- a/src/devices/pic/xml_data/18F458.xml
+++ b/src/devices/pic/xml_data/18F458.xml
@@ -35,17 +35,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" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -54,36 +54,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.0" cname="_BORV_20" sdcc_cname="_BODENV_2_0V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -92,118 +92,118 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x00" />
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x00" />
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:1FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="2000:3FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4580.xml b/src/devices/pic/xml_data/18F4580.xml
index cd1e077..e6e105a 100644
--- a/src/devices/pic/xml_data/18F4580.xml
+++ b/src/devices/pic/xml_data/18F4580.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x007FFF" word_write_align="16" 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="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,139 +106,139 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x10" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x10" >
+ <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="0x10" >
+ </mask>
+ <mask name="BBSIZ" value="0x10" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4585.xml b/src/devices/pic/xml_data/18F4585.xml
index dca0022..fb438b8 100644
--- a/src/devices/pic/xml_data/18F4585.xml
+++ b/src/devices/pic/xml_data/18F4585.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,129 +106,129 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F45J10.xml b/src/devices/pic/xml_data/18F45J10.xml
index aede454..af2c752 100644
--- a/src/devices/pic/xml_data/18F45J10.xml
+++ b/src/devices/pic/xml_data/18F45J10.xml
@@ -31,55 +31,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0x7F" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0x7F" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -96,23 +96,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0xFF" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0xFF" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0xF8" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0xF8" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4610.xml b/src/devices/pic/xml_data/18F4610.xml
index 9c3fe13..d105cdb 100644
--- a/src/devices/pic/xml_data/18F4610.xml
+++ b/src/devices/pic/xml_data/18F4610.xml
@@ -27,16 +27,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,131 +105,131 @@
<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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4620.xml b/src/devices/pic/xml_data/18F4620.xml
index ff74392..5964590 100644
--- a/src/devices/pic/xml_data/18F4620.xml
+++ b/src/devices/pic/xml_data/18F4620.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,42 +51,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO6" />
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
- </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" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x06" >
+ </mask>
+ <mask name="BODEN" value="0x06" >
<value value="0x00" name="Off" cname="_BOREN_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" sdcc_cname="_BODEN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" sdcc_cname="_BODEN_ON_WHILE_ACTIVE" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" sdcc_cname="_BODEN_CONTROLLED_WITH_SBOREN_BIT" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.6" cname="_BORV_0" sdcc_cname="_BODENV_4_5V" />
<value value="0x08" name="4.3" cname="_BORV_1" sdcc_cname="_BODENV_4_2V" />
<value value="0x10" name="2.8" cname="_BORV_2" sdcc_cname="_BODENV_2_7V" />
<value value="0x18" name="2.1" cname="_BORV_3" sdcc_cname="_BODENV_2_0V" />
- </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" sdcc_cname="_WDT_DISABLED_CONTROLLED" />
<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" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -103,131 +103,131 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8192" sdcc_cname="_WDTPS_1_8192" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16384" sdcc_cname="_WDTPS_1_16384" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32768" sdcc_cname="_WDTPS_1_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="0x83" ctqmask="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" sdcc_cname="_CCP2MUX_RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
- <tqmask name="PBADEN" value="0x02" >
+ </mask>
+ <mask name="PBADEN" value="0x02" >
<value value="0x00" name="digital" cname="_PBADEN_OFF" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_DIGITAL_I_O_ON_RESET" />
<value value="0x02" name="analog" cname="_PBADEN_ON" sdcc_cname="_PBADEN_PORTB_4_0__CONFIGURED_AS_ANALOG_INPUTS_ON_RESET" />
- </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" sdcc_cname="_MCLRE_MCLR_OFF_RE3_ON" />
<value value="0x80" name="External" cname="_MCLRE_ON" sdcc_cname="_MCLRE_MCLR_ON_RE3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" sdcc_cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" sdcc_cname="_STVR_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="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" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_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="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4680.xml b/src/devices/pic/xml_data/18F4680.xml
index 155abb9..f5ef137 100644
--- a/src/devices/pic/xml_data/18F4680.xml
+++ b/src/devices/pic/xml_data/18F4680.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_OSC_RC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,141 +106,141 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4682.xml b/src/devices/pic/xml_data/18F4682.xml
index c6ce618..19b387b 100644
--- a/src/devices/pic/xml_data/18F4682.xml
+++ b/src/devices/pic/xml_data/18F4682.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x013FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRCIO7" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,153 +100,153 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x1F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x1F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x1F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x1F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F4685.xml b/src/devices/pic/xml_data/18F4685.xml
index 1e73ffd..7b68ee2 100644
--- a/src/devices/pic/xml_data/18F4685.xml
+++ b/src/devices/pic/xml_data/18F4685.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x017FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRCIO7" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_SBORENCTRL" />
<value value="0x04" name="On_run" cname="_BOREN_BOACTIVE" />
<value value="0x06" name="On" cname="_BOREN_BOHW" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,165 +100,165 @@
<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" >
- <tqmask name="PBADEN" value="0x02" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x82" >
+ <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="0x30" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" cmask="0x30" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x3F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6310.xml b/src/devices/pic/xml_data/18F6310.xml
index f975990..9bdbfb7 100644
--- a/src/devices/pic/xml_data/18F6310.xml
+++ b/src/devices/pic/xml_data/18F6310.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F6390.xml b/src/devices/pic/xml_data/18F6390.xml
index ec6b10c..02f2498 100644
--- a/src/devices/pic/xml_data/18F6390.xml
+++ b/src/devices/pic/xml_data/18F6390.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F6393.xml b/src/devices/pic/xml_data/18F6393.xml
index bb48cbe..bc778f4 100644
--- a/src/devices/pic/xml_data/18F6393.xml
+++ b/src/devices/pic/xml_data/18F6393.xml
@@ -36,16 +36,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<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,42 +56,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -108,79 +108,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F63J11.xml b/src/devices/pic/xml_data/18F63J11.xml
index 481e5e8..37273bc 100644
--- a/src/devices/pic/xml_data/18F63J11.xml
+++ b/src/devices/pic/xml_data/18F63J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F63J90.xml b/src/devices/pic/xml_data/18F63J90.xml
index 48f5c8e..ef1310c 100644
--- a/src/devices/pic/xml_data/18F63J90.xml
+++ b/src/devices/pic/xml_data/18F63J90.xml
@@ -28,55 +28,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -93,23 +93,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6410.xml b/src/devices/pic/xml_data/18F6410.xml
index 670937b..c270208 100644
--- a/src/devices/pic/xml_data/18F6410.xml
+++ b/src/devices/pic/xml_data/18F6410.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F6490.xml b/src/devices/pic/xml_data/18F6490.xml
index bd4ae20..1727686 100644
--- a/src/devices/pic/xml_data/18F6490.xml
+++ b/src/devices/pic/xml_data/18F6490.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F6493.xml b/src/devices/pic/xml_data/18F6493.xml
index f980eca..89f409d 100644
--- a/src/devices/pic/xml_data/18F6493.xml
+++ b/src/devices/pic/xml_data/18F6493.xml
@@ -36,16 +36,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<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,42 +56,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -108,79 +108,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="64" >
diff --git a/src/devices/pic/xml_data/18F64J11.xml b/src/devices/pic/xml_data/18F64J11.xml
index d3e9696..fd126a0 100644
--- a/src/devices/pic/xml_data/18F64J11.xml
+++ b/src/devices/pic/xml_data/18F64J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F64J90.xml b/src/devices/pic/xml_data/18F64J90.xml
index 70df11f..fedf592 100644
--- a/src/devices/pic/xml_data/18F64J90.xml
+++ b/src/devices/pic/xml_data/18F64J90.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6520.xml b/src/devices/pic/xml_data/18F6520.xml
index 20eac42..a022295 100644
--- a/src/devices/pic/xml_data/18F6520.xml
+++ b/src/devices/pic/xml_data/18F6520.xml
@@ -36,17 +36,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" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask 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" />
@@ -55,36 +55,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" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -93,123 +93,123 @@
<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" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MUX_RE7" />
<value value="0x01" name="RC1" cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6525.xml b/src/devices/pic/xml_data/18F6525.xml
index c3206cb..953e12a 100644
--- a/src/devices/pic/xml_data/18F6525.xml
+++ b/src/devices/pic/xml_data/18F6525.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -59,36 +59,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -105,115 +105,115 @@
<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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6527.xml b/src/devices/pic/xml_data/18F6527.xml
index 8779fa8..04a2bf1 100644
--- a/src/devices/pic/xml_data/18F6527.xml
+++ b/src/devices/pic/xml_data/18F6527.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,129 +106,129 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x85" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x85" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_1024" />
<value value="0x10" name="2048" cname="_BBSIZ_2048" />
<value value="0x20" name="4096" cname="_BBSIZ_4096" />
<value value="0x30" name="4096" cname="_BBSIZ_4096" />
- </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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6585.xml b/src/devices/pic/xml_data/18F6585.xml
index d602f95..0bf9bab 100644
--- a/src/devices/pic/xml_data/18F6585.xml
+++ b/src/devices/pic/xml_data/18F6585.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,36 +51,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -97,115 +97,115 @@
<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="0x81" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F65J10.xml b/src/devices/pic/xml_data/18F65J10.xml
index 473c590..a67fe87 100644
--- a/src/devices/pic/xml_data/18F65J10.xml
+++ b/src/devices/pic/xml_data/18F65J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F65J11.xml b/src/devices/pic/xml_data/18F65J11.xml
index c4284fc..2ef5b3d 100644
--- a/src/devices/pic/xml_data/18F65J11.xml
+++ b/src/devices/pic/xml_data/18F65J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F65J15.xml b/src/devices/pic/xml_data/18F65J15.xml
index 6c212d2..f5f310a 100644
--- a/src/devices/pic/xml_data/18F65J15.xml
+++ b/src/devices/pic/xml_data/18F65J15.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F65J50.xml b/src/devices/pic/xml_data/18F65J50.xml
index ad5bc75..d0cdd2b 100644
--- a/src/devices/pic/xml_data/18F65J50.xml
+++ b/src/devices/pic/xml_data/18F65J50.xml
@@ -29,12 +29,12 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -43,51 +43,51 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,27 +104,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F65J90.xml b/src/devices/pic/xml_data/18F65J90.xml
index 34e7be9..91997da 100644
--- a/src/devices/pic/xml_data/18F65J90.xml
+++ b/src/devices/pic/xml_data/18F65J90.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6620.xml b/src/devices/pic/xml_data/18F6620.xml
index 8159b62..e88ee06 100644
--- a/src/devices/pic/xml_data/18F6620.xml
+++ b/src/devices/pic/xml_data/18F6620.xml
@@ -38,17 +38,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -57,36 +57,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.5" cname="_BORV_20" sdcc_cname="_BODENV_2_5V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -95,123 +95,123 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RE7" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6621.xml b/src/devices/pic/xml_data/18F6621.xml
index e043ddf..664de3f 100644
--- a/src/devices/pic/xml_data/18F6621.xml
+++ b/src/devices/pic/xml_data/18F6621.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -59,36 +59,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -105,127 +105,127 @@
<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="0x83" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6622.xml b/src/devices/pic/xml_data/18F6622.xml
index b8e0bb7..6fb81d7 100644
--- a/src/devices/pic/xml_data/18F6622.xml
+++ b/src/devices/pic/xml_data/18F6622.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -54,42 +54,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -106,141 +106,141 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </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="0x85" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x85" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6627.xml b/src/devices/pic/xml_data/18F6627.xml
index 1b0bbc8..74248c6 100644
--- a/src/devices/pic/xml_data/18F6627.xml
+++ b/src/devices/pic/xml_data/18F6627.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x017FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,165 +100,165 @@
<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="0x85" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x85" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0x3F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6680.xml b/src/devices/pic/xml_data/18F6680.xml
index 6780e23..d0a9922 100644
--- a/src/devices/pic/xml_data/18F6680.xml
+++ b/src/devices/pic/xml_data/18F6680.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,36 +51,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -97,127 +97,127 @@
<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="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" ctqmask="0x08" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J10.xml b/src/devices/pic/xml_data/18F66J10.xml
index 6df51e5..7bb9aa7 100644
--- a/src/devices/pic/xml_data/18F66J10.xml
+++ b/src/devices/pic/xml_data/18F66J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J11.xml b/src/devices/pic/xml_data/18F66J11.xml
index 11d7f05..8fd1314 100644
--- a/src/devices/pic/xml_data/18F66J11.xml
+++ b/src/devices/pic/xml_data/18F66J11.xml
@@ -30,55 +30,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -95,27 +95,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J15.xml b/src/devices/pic/xml_data/18F66J15.xml
index 651b2d4..c1c5c95 100644
--- a/src/devices/pic/xml_data/18F66J15.xml
+++ b/src/devices/pic/xml_data/18F66J15.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J16.xml b/src/devices/pic/xml_data/18F66J16.xml
index 8a15ffd..cf84f44 100644
--- a/src/devices/pic/xml_data/18F66J16.xml
+++ b/src/devices/pic/xml_data/18F66J16.xml
@@ -29,55 +29,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,27 +94,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J50.xml b/src/devices/pic/xml_data/18F66J50.xml
index 4d60faa..34dbe21 100644
--- a/src/devices/pic/xml_data/18F66J50.xml
+++ b/src/devices/pic/xml_data/18F66J50.xml
@@ -29,12 +29,12 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -43,51 +43,51 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,27 +104,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J55.xml b/src/devices/pic/xml_data/18F66J55.xml
index d97b54a..7e95978 100644
--- a/src/devices/pic/xml_data/18F66J55.xml
+++ b/src/devices/pic/xml_data/18F66J55.xml
@@ -29,12 +29,12 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -43,51 +43,51 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,27 +104,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J60.xml b/src/devices/pic/xml_data/18F66J60.xml
index 430812c..e4ac5ea 100644
--- a/src/devices/pic/xml_data/18F66J60.xml
+++ b/src/devices/pic/xml_data/18F66J60.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F66J65.xml b/src/devices/pic/xml_data/18F66J65.xml
index 3a54046..8431ec8 100644
--- a/src/devices/pic/xml_data/18F66J65.xml
+++ b/src/devices/pic/xml_data/18F66J65.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6720.xml b/src/devices/pic/xml_data/18F6720.xml
index a609ee9..c023b5e 100644
--- a/src/devices/pic/xml_data/18F6720.xml
+++ b/src/devices/pic/xml_data/18F6720.xml
@@ -35,17 +35,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x01FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -54,36 +54,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
@@ -92,171 +92,171 @@
<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" />
- </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="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
- <tqmask name="CP_6" value="0x40" >
+ </mask>
+ <mask name="CP_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_CP6_ON" />
<value value="0x40" name="Off" cname="_CP6_OFF" />
- </tqmask>
- <tqmask name="CP_7" value="0x80" >
+ </mask>
+ <mask name="CP_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_CP7_ON" />
<value value="0x80" name="Off" cname="_CP7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
- <tqmask name="WRT_6" value="0x40" >
+ </mask>
+ <mask name="WRT_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_WRT6_ON" />
<value value="0x40" name="Off" cname="_WRT6_OFF" />
- </tqmask>
- <tqmask name="WRT_7" value="0x80" >
+ </mask>
+ <mask name="WRT_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_WRT7_ON" />
<value value="0x80" name="Off" cname="_WRT7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_OFF" />
- </tqmask>
- <tqmask name="EBTR_6" value="0x40" >
+ </mask>
+ <mask name="EBTR_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_EBTR6_ON" />
<value value="0x40" name="Off" cname="_EBTR6_OFF" />
- </tqmask>
- <tqmask name="EBTR_7" value="0x80" >
+ </mask>
+ <mask name="EBTR_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_EBTR7_ON" />
<value value="0x80" name="Off" cname="_EBTR7_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F6722.xml b/src/devices/pic/xml_data/18F6722.xml
index 6a3c8ad..fb30985 100644
--- a/src/devices/pic/xml_data/18F6722.xml
+++ b/src/devices/pic/xml_data/18F6722.xml
@@ -27,17 +27,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x01FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -48,42 +48,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -100,189 +100,189 @@
<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="0x85" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x85" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
- <tqmask name="CP_6" value="0x40" >
+ </mask>
+ <mask name="CP_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_CP6_ON" />
<value value="0x40" name="Off" cname="_CP6_OFF" />
- </tqmask>
- <tqmask name="CP_7" value="0x80" >
+ </mask>
+ <mask name="CP_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_CP7_ON" />
<value value="0x80" name="Off" cname="_CP7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
- <tqmask name="WRT_6" value="0x40" >
+ </mask>
+ <mask name="WRT_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_WRT6_ON" />
<value value="0x40" name="Off" cname="_WRT6_OFF" />
- </tqmask>
- <tqmask name="WRT_7" value="0x80" >
+ </mask>
+ <mask name="WRT_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_WRT7_ON" />
<value value="0x80" name="Off" cname="_WRT7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_OFF" />
- </tqmask>
- <tqmask name="EBTR_6" value="0x40" >
+ </mask>
+ <mask name="EBTR_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_EBTR6_ON" />
<value value="0x40" name="Off" cname="_EBTR6_OFF" />
- </tqmask>
- <tqmask name="EBTR_7" value="0x80" >
+ </mask>
+ <mask name="EBTR_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_EBTR7_ON" />
<value value="0x80" name="Off" cname="_EBTR7_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F67J10.xml b/src/devices/pic/xml_data/18F67J10.xml
index 4c6f875..78223c3 100644
--- a/src/devices/pic/xml_data/18F67J10.xml
+++ b/src/devices/pic/xml_data/18F67J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F67J11.xml b/src/devices/pic/xml_data/18F67J11.xml
index 3f12d71..d13e7dc 100644
--- a/src/devices/pic/xml_data/18F67J11.xml
+++ b/src/devices/pic/xml_data/18F67J11.xml
@@ -30,55 +30,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -95,27 +95,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F67J50.xml b/src/devices/pic/xml_data/18F67J50.xml
index d704f33..91eade3 100644
--- a/src/devices/pic/xml_data/18F67J50.xml
+++ b/src/devices/pic/xml_data/18F67J50.xml
@@ -29,12 +29,12 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -43,51 +43,51 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,27 +104,27 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x09" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x09" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F67J60.xml b/src/devices/pic/xml_data/18F67J60.xml
index a5bfdcf..29922db 100644
--- a/src/devices/pic/xml_data/18F67J60.xml
+++ b/src/devices/pic/xml_data/18F67J60.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,23 +94,23 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8310.xml b/src/devices/pic/xml_data/18F8310.xml
index 5a16736..1fe084d 100644
--- a/src/devices/pic/xml_data/18F8310.xml
+++ b/src/devices/pic/xml_data/18F8310.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F8390.xml b/src/devices/pic/xml_data/18F8390.xml
index 182acf1..4dbff0c 100644
--- a/src/devices/pic/xml_data/18F8390.xml
+++ b/src/devices/pic/xml_data/18F8390.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,79 +105,79 @@
<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="0xC3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_PM_EM" />
<value value="0x01" name="Microprocessor with boot" cname="_PM_MPB" />
<value value="0x02" name="Microprocessor" cname="_PM_MP" />
<value value="0x03" name="Microcontroller" cname="_PM_MC" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_BW_8" />
<value value="0x40" name="16" cname="_BW_16" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F8393.xml b/src/devices/pic/xml_data/18F8393.xml
index bd27973..ce846db 100644
--- a/src/devices/pic/xml_data/18F8393.xml
+++ b/src/devices/pic/xml_data/18F8393.xml
@@ -36,16 +36,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x001FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<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,42 +56,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -108,64 +108,64 @@
<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="0xC3" />
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" />
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F83J11.xml b/src/devices/pic/xml_data/18F83J11.xml
index 6fbfbc0..4a9d249 100644
--- a/src/devices/pic/xml_data/18F83J11.xml
+++ b/src/devices/pic/xml_data/18F83J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F83J90.xml b/src/devices/pic/xml_data/18F83J90.xml
index c8fc70e..8e10c27 100644
--- a/src/devices/pic/xml_data/18F83J90.xml
+++ b/src/devices/pic/xml_data/18F83J90.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8410.xml b/src/devices/pic/xml_data/18F8410.xml
index 46d46a3..b5c49cd 100644
--- a/src/devices/pic/xml_data/18F8410.xml
+++ b/src/devices/pic/xml_data/18F8410.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,64 +105,64 @@
<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="0xC3" />
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" />
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F8490.xml b/src/devices/pic/xml_data/18F8490.xml
index 0f2e987..3871a60 100644
--- a/src/devices/pic/xml_data/18F8490.xml
+++ b/src/devices/pic/xml_data/18F8490.xml
@@ -33,16 +33,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,42 +53,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -105,64 +105,64 @@
<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="0xC3" />
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" />
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F8493.xml b/src/devices/pic/xml_data/18F8493.xml
index 4d61277..4e8bc52 100644
--- a/src/devices/pic/xml_data/18F8493.xml
+++ b/src/devices/pic/xml_data/18F8493.xml
@@ -36,16 +36,16 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="8" word_erase_align="0" />
- <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="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<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,42 +56,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -108,64 +108,64 @@
<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="0xC3" />
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xC3" />
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x81" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x81" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7/RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </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="0x81" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x81" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
- </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="0x01" >
- <tqmask name="CP" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x01" >
+ <mask name="CP" value="0x01" >
<value value="0x00" name="All" cname="_CP_ON" />
<value value="0x01" name="Off" cname="_CP_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x00" />
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0x00" />
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="EBTR" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x01" >
+ <mask name="EBTR" value="0x01" >
<value value="0x00" name="All" cname="_EBTR_ON" />
<value value="0x01" name="Off" cname="_EBTR_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xD" name="CONFIG7H" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x00" />
<!--* Packages *************************************************************-->
<package types="tqfp" nb_pins="80" >
diff --git a/src/devices/pic/xml_data/18F84J11.xml b/src/devices/pic/xml_data/18F84J11.xml
index efdf05a..9c69d2b 100644
--- a/src/devices/pic/xml_data/18F84J11.xml
+++ b/src/devices/pic/xml_data/18F84J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F84J90.xml b/src/devices/pic/xml_data/18F84J90.xml
index 1236e43..59711f3 100644
--- a/src/devices/pic/xml_data/18F84J90.xml
+++ b/src/devices/pic/xml_data/18F84J90.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8520.xml b/src/devices/pic/xml_data/18F8520.xml
index ed9b7c7..6bc1aae 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" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask 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" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask 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" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MUX_RE7" />
<value value="0x01" name="RC1" cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" ctqmask="0x40" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" cmask="0x40" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" ctqmask="0x40" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" cmask="0x40" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800: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>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="4000:5FFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="6000:7FFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8525.xml b/src/devices/pic/xml_data/18F8525.xml
index 7e016eb..e7b5219 100644
--- a/src/devices/pic/xml_data/18F8525.xml
+++ b/src/devices/pic/xml_data/18F8525.xml
@@ -29,17 +29,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -99,130 +99,130 @@
<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="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask 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" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE3" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8527.xml b/src/devices/pic/xml_data/18F8527.xml
index e5159bd..62c01d4 100644
--- a/src/devices/pic/xml_data/18F8527.xml
+++ b/src/devices/pic/xml_data/18F8527.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -57,42 +57,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -109,154 +109,154 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF3" >
+ <mask 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" />
- </tqmask>
- <tqmask name="ABW" value="0x30" >
+ </mask>
+ <mask name="ABW" value="0x30" >
<value value="0x00" name="8" cname="_ADDRBW_ADDR8BIT" />
<value value="0x10" name="12" cname="_ADDRBW_ADDR12BIT" />
<value value="0x20" name="16" cname="_ADDRBW_ADDR16BIT" />
<value value="0x30" name="20" cname="_ADDRBW_ADDR20BIT" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_DATABW_DATA8BIT" />
<value value="0x40" name="16" cname="_DATABW_DATA16BIT" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE3" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8585.xml b/src/devices/pic/xml_data/18F8585.xml
index 85b3561..08367ab 100644
--- a/src/devices/pic/xml_data/18F8585.xml
+++ b/src/devices/pic/xml_data/18F8585.xml
@@ -29,17 +29,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00BFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -99,130 +99,130 @@
<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="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask 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" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH6" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE5" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x07" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x07" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x07" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F85J10.xml b/src/devices/pic/xml_data/18F85J10.xml
index 6fab213..99b998c 100644
--- a/src/devices/pic/xml_data/18F85J10.xml
+++ b/src/devices/pic/xml_data/18F85J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F85J11.xml b/src/devices/pic/xml_data/18F85J11.xml
index 0193782..91b4cc2 100644
--- a/src/devices/pic/xml_data/18F85J11.xml
+++ b/src/devices/pic/xml_data/18F85J11.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F85J15.xml b/src/devices/pic/xml_data/18F85J15.xml
index 3011a51..c2445ab 100644
--- a/src/devices/pic/xml_data/18F85J15.xml
+++ b/src/devices/pic/xml_data/18F85J15.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F85J50.xml b/src/devices/pic/xml_data/18F85J50.xml
index 80199eb..dee0637 100644
--- a/src/devices/pic/xml_data/18F85J50.xml
+++ b/src/devices/pic/xml_data/18F85J50.xml
@@ -29,16 +29,16 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -47,47 +47,47 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,53 +104,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F85J90.xml b/src/devices/pic/xml_data/18F85J90.xml
index 51d6085..61e7571 100644
--- a/src/devices/pic/xml_data/18F85J90.xml
+++ b/src/devices/pic/xml_data/18F85J90.xml
@@ -28,55 +28,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -93,45 +93,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8620.xml b/src/devices/pic/xml_data/18F8620.xml
index fe596c1..8503556 100644
--- a/src/devices/pic/xml_data/18F8620.xml
+++ b/src/devices/pic/xml_data/18F8620.xml
@@ -37,17 +37,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" sdcc_cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_XT_OSC" sdcc_cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_HS_OSC" sdcc_cname="_OSC_HS" />
@@ -56,36 +56,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" sdcc_cname="_OSC_EC_OSC2_RA6" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" sdcc_cname="_OSC_HS_PLL" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" sdcc_cname="_OSC_RC_OSC2" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRT_ON" sdcc_cname="_PUT_ON" />
<value value="0x01" name="Off" cname="_PWRT_OFF" sdcc_cname="_PUT_OFF" />
- </tqmask>
- <tqmask name="BODEN" value="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" sdcc_cname="_BODEN_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" sdcc_cname="_BODEN_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" sdcc_cname="_BODENV_4_5V" />
<value value="0x04" name="4.2" cname="_BORV_42" sdcc_cname="_BODENV_4_2V" />
<value value="0x08" name="2.7" cname="_BORV_27" sdcc_cname="_BODENV_2_7V" />
<value value="0x0C" name="2.5" cname="_BORV_20" sdcc_cname="_BODENV_2_5V" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask name="WDTPS" value="0x0E" >
<value value="0x00" name="1:1" cname="_WDTPS_1" sdcc_cname="_WDTPS_1_1" />
<value value="0x02" name="1:2" cname="_WDTPS_2" sdcc_cname="_WDTPS_1_2" />
<value value="0x04" name="1:4" cname="_WDTPS_4" sdcc_cname="_WDTPS_1_4" />
@@ -94,134 +94,134 @@
<value value="0x0A" name="1:32" cname="_WDTPS_32" sdcc_cname="_WDTPS_1_32" />
<value value="0x0C" name="1:64" cname="_WDTPS_64" sdcc_cname="_WDTPS_1_64" />
<value value="0x0E" name="1:128" cname="_WDTPS_128" sdcc_cname="_WDTPS_1_128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_XMC_MODE" sdcc_cname="_PMODE_EXT" />
<value value="0x01" name="Microprocessor with boot" cname="_MPB_MODE" sdcc_cname="_PMODE_MICROPROCESSOR_w_Boot" />
<value value="0x02" name="Microprocessor" cname="_MP_MODE" sdcc_cname="_PMODE_MICROPROCESSOR_" />
<value value="0x03" name="Microcontroller" cname="_MC_MODE" sdcc_cname="_PMODE_MICROCONTROLLER" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" sdcc_cname="_CCP2MUX_RE7_MICROCONTROLLER__RB3" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" sdcc_cname="_CCP2MUX_RC1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" sdcc_cname="_BACKBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" sdcc_cname="_BACKBUG_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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_CP0_ON" sdcc_cname="_CP_0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" sdcc_cname="_CP_0_OFF" />
- </tqmask>
- <tqmask name="CP_1" value="0x02" >
+ </mask>
+ <mask name="CP_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_CP1_ON" sdcc_cname="_CP_1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" sdcc_cname="_CP_1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" sdcc_cname="_CP_2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" sdcc_cname="_CP_2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" sdcc_cname="_CP_3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" sdcc_cname="_CP_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_WRT0_ON" sdcc_cname="_WRT_0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" sdcc_cname="_WRT_0_OFF" />
- </tqmask>
- <tqmask name="WRT_1" value="0x02" >
+ </mask>
+ <mask name="WRT_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_WRT1_ON" sdcc_cname="_WRT_1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" sdcc_cname="_WRT_1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" sdcc_cname="_WRT_2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" sdcc_cname="_WRT_2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" sdcc_cname="_WRT_3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" sdcc_cname="_WRT_3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:3FFF" cname="_EBTR0_ON" sdcc_cname="_EBTR_0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" sdcc_cname="_EBTR_0_OFF" />
- </tqmask>
- <tqmask name="EBTR_1" value="0x02" >
+ </mask>
+ <mask name="EBTR_1" value="0x02" >
<value value="0x00" name="4000:7FFF" cname="_EBTR1_ON" sdcc_cname="_EBTR_1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" sdcc_cname="_EBTR_1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" sdcc_cname="_EBTR_2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" sdcc_cname="_EBTR_2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" sdcc_cname="_EBTR_3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" sdcc_cname="_EBTR_3_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="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8621.xml b/src/devices/pic/xml_data/18F8621.xml
index 654f4a2..e5689ae 100644
--- a/src/devices/pic/xml_data/18F8621.xml
+++ b/src/devices/pic/xml_data/18F8621.xml
@@ -29,17 +29,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -99,142 +99,142 @@
<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="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask 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" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE3" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" ctqmask="0x08" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8622.xml b/src/devices/pic/xml_data/18F8622.xml
index 9a38941..fe29be9 100644
--- a/src/devices/pic/xml_data/18F8622.xml
+++ b/src/devices/pic/xml_data/18F8622.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -57,42 +57,42 @@
<value value="0x0D" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0E" name="EXTRC_CLKOUT" cname="_RC_OSC" />
<value value="0x0F" name="EXTRC_CLKOUT" cname="_RC_OSC" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FSCM_OFF" />
<value value="0x40" name="On" cname="_FSCM_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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -109,166 +109,166 @@
<value value="0x1A" name="1:8192" cname="_WDTPS_8K" />
<value value="0x1C" name="1:16384" cname="_WDTPS_16K" />
<value value="0x1E" name="1:32768" cname="_WDTPS_32K" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF3" >
+ <mask 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" />
- </tqmask>
- <tqmask name="ABW" value="0x30" >
+ </mask>
+ <mask name="ABW" value="0x30" >
<value value="0x00" name="8" cname="_ADDRBW_ADDR8BIT" />
<value value="0x10" name="12" cname="_ADDRBW_ADDR12BIT" />
<value value="0x20" name="16" cname="_ADDRBW_ADDR16BIT" />
<value value="0x30" name="20" cname="_ADDRBW_ADDR20BIT" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_DATABW_DATA8BIT" />
<value value="0x40" name="16" cname="_DATABW_DATA16BIT" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CPP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CPP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH6" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE5" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB7K" />
- </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="0x0F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8627.xml b/src/devices/pic/xml_data/18F8627.xml
index 3a5ab09..2b7f70b 100644
--- a/src/devices/pic/xml_data/18F8627.xml
+++ b/src/devices/pic/xml_data/18F8627.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x017FFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,42 +51,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -103,190 +103,190 @@
<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="0xF3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF3" >
+ <mask 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" />
- </tqmask>
- <tqmask name="ABW" value="0x30" >
+ </mask>
+ <mask name="ABW" value="0x30" >
<value value="0x00" name="8" cname="_ADDRBW_ADDR8BIT" />
<value value="0x10" name="12" cname="_ADDRBW_ADDR12BIT" />
<value value="0x20" name="16" cname="_ADDRBW_ADDR16BIT" />
<value value="0x30" name="20" cname="_ADDRBW_ADDR20BIT" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_DATABW_DATA8BIT" />
<value value="0x40" name="16" cname="_DATABW_DATA16BIT" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH6" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE5" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0x3F" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x3F" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x3F" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8680.xml b/src/devices/pic/xml_data/18F8680.xml
index 607bf0f..97ec3c0 100644
--- a/src/devices/pic/xml_data/18F8680.xml
+++ b/src/devices/pic/xml_data/18F8680.xml
@@ -29,17 +29,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x00FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x2F" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x2F" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -53,36 +53,36 @@
<value value="0x0D" name="E4S_IO" cname="_OSC_ECIOSWPLL" />
<value value="0x0E" name="H4S" cname="_OSC_HSSWPLL" />
<value value="0x0F" name="EXTRC_IO" cname="_OSC_RCIO" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </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" />
@@ -99,142 +99,142 @@
<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="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask 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" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH6" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE5" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0x0F" ctqmask="0x08" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:07FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:07FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0x0F" ctqmask="0x08" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" cmask="0x08" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J10.xml b/src/devices/pic/xml_data/18F86J10.xml
index 1974a92..6cc1ec1 100644
--- a/src/devices/pic/xml_data/18F86J10.xml
+++ b/src/devices/pic/xml_data/18F86J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J11.xml b/src/devices/pic/xml_data/18F86J11.xml
index 844b0e1..05e065e 100644
--- a/src/devices/pic/xml_data/18F86J11.xml
+++ b/src/devices/pic/xml_data/18F86J11.xml
@@ -30,55 +30,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -95,53 +95,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J15.xml b/src/devices/pic/xml_data/18F86J15.xml
index e5f94df..bcebf10 100644
--- a/src/devices/pic/xml_data/18F86J15.xml
+++ b/src/devices/pic/xml_data/18F86J15.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J16.xml b/src/devices/pic/xml_data/18F86J16.xml
index ce5d2c4..b06b858 100644
--- a/src/devices/pic/xml_data/18F86J16.xml
+++ b/src/devices/pic/xml_data/18F86J16.xml
@@ -29,55 +29,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,53 +94,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J50.xml b/src/devices/pic/xml_data/18F86J50.xml
index 44acae5..fa67e08 100644
--- a/src/devices/pic/xml_data/18F86J50.xml
+++ b/src/devices/pic/xml_data/18F86J50.xml
@@ -29,16 +29,16 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -47,47 +47,47 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,53 +104,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J55.xml b/src/devices/pic/xml_data/18F86J55.xml
index 1b9d553..9b29823 100644
--- a/src/devices/pic/xml_data/18F86J55.xml
+++ b/src/devices/pic/xml_data/18F86J55.xml
@@ -29,16 +29,16 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -47,47 +47,47 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,53 +104,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J60.xml b/src/devices/pic/xml_data/18F86J60.xml
index 3fa4f03..42f3d20 100644
--- a/src/devices/pic/xml_data/18F86J60.xml
+++ b/src/devices/pic/xml_data/18F86J60.xml
@@ -32,55 +32,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -97,31 +97,31 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F86J65.xml b/src/devices/pic/xml_data/18F86J65.xml
index d482c93..c2cdf41 100644
--- a/src/devices/pic/xml_data/18F86J65.xml
+++ b/src/devices/pic/xml_data/18F86J65.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,31 +94,31 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8720.xml b/src/devices/pic/xml_data/18F8720.xml
index 8905720..f634b25 100644
--- a/src/devices/pic/xml_data/18F8720.xml
+++ b/src/devices/pic/xml_data/18F8720.xml
@@ -37,17 +37,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x01FFFF" word_write_align="4" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x27" >
- <tqmask name="FOSC" value="0x07" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x27" >
+ <mask name="FOSC" value="0x07" >
<value value="0x00" name="LP" cname="_LP_OSC" />
<value value="0x01" name="XT" cname="_XT_OSC" />
<value value="0x02" name="HS" cname="_HS_OSC" />
@@ -56,36 +56,36 @@
<value value="0x05" name="EC_IO" cname="_ECIO_OSC" />
<value value="0x06" name="H4" cname="_HSPLL_OSC" />
<value value="0x07" name="EXTRC_IO" cname="_RCIO_OSC" />
- </tqmask>
- <tqmask name="OSCSEN" value="0x20" >
+ </mask>
+ <mask name="OSCSEN" value="0x20" >
<value value="0x00" name="On" cname="_OSCS_ON" />
<value value="0x20" name="Off" cname="_OSCS_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="PWRTE" value="0x01" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
+ <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="0x02" >
+ </mask>
+ <mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOR_OFF" />
<value value="0x02" name="On" cname="_BOR_ON" />
- </tqmask>
- <tqmask name="BORV" value="0x0C" >
+ </mask>
+ <mask 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.0" cname="_BORV_20" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <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="0x0E" >
+ </mask>
+ <mask 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,182 +94,182 @@
<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" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x83" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x83" >
+ <mask name="PM" value="0x03" >
<value value="0x00" name="Extended microcontroller" cname="_XMC_MODE" />
<value value="0x01" name="Microprocessor with boot" cname="_MPB_MODE" />
<value value="0x02" name="Microprocessor" cname="_MP_MODE" />
<value value="0x03" name="Microcontroller" cname="_MC_MODE" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x01" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x01" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="_CCP2MX_OFF" />
<value value="0x01" name="RC1" cname="_CCP2MX_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x85" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVR_OFF" />
<value value="0x01" name="On" cname="_STVR_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="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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
- <tqmask name="CP_6" value="0x40" >
+ </mask>
+ <mask name="CP_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_CP6_ON" />
<value value="0x40" name="Off" cname="_CP6_OFF" />
- </tqmask>
- <tqmask name="CP_7" value="0x80" >
+ </mask>
+ <mask name="CP_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_CP7_ON" />
<value value="0x80" name="Off" cname="_CP7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
- <tqmask name="WRT_6" value="0x40" >
+ </mask>
+ <mask name="WRT_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_WRT6_ON" />
<value value="0x40" name="Off" cname="_WRT6_OFF" />
- </tqmask>
- <tqmask name="WRT_7" value="0x80" >
+ </mask>
+ <mask name="WRT_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_WRT7_ON" />
<value value="0x80" name="Off" cname="_WRT7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
- </tqmask>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_OFF" />
- </tqmask>
- <tqmask name="EBTR_6" value="0x40" >
+ </mask>
+ <mask name="EBTR_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_EBTR6_ON" />
<value value="0x40" name="Off" cname="_EBTR6_OFF" />
- </tqmask>
- <tqmask name="EBTR_7" value="0x80" >
+ </mask>
+ <mask name="EBTR_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_EBTR7_ON" />
<value value="0x80" name="Off" cname="_EBTR7_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="0000:07FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F8722.xml b/src/devices/pic/xml_data/18F8722.xml
index 8cdffbb..3db0bbd 100644
--- a/src/devices/pic/xml_data/18F8722.xml
+++ b/src/devices/pic/xml_data/18F8722.xml
@@ -30,17 +30,17 @@
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x01FFFF" word_write_align="32" 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="eeprom" start="0x000000" end="0x0003FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0x00" />
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
- <config offset="0x1" name="CONFIG1H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FOSC" value="0x0F" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0x07" >
+ <mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
@@ -51,42 +51,42 @@
<value value="0x08" name="INTRC_IO" cname="_OSC_INTIO67" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_INTIO7" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
- </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="_BOREN_OFF" />
<value value="0x02" name="Software" cname="_BOREN_ON" />
<value value="0x04" name="On_run" cname="_BOREN_NOSLP" />
<value value="0x06" name="On" cname="_BOREN_SBORDIS" />
- </tqmask>
- <tqmask name="BORV" value="0x18" >
+ </mask>
+ <mask name="BORV" value="0x18" >
<value value="0x00" name="4.5" cname="_BORV_0" />
<value value="0x08" name="4.2" cname="_BORV_1" />
<value value="0x10" name="2.7" cname="_BORV_2" />
<value value="0x18" name="2.0" cname="_BORV_3" />
- </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" />
@@ -103,214 +103,214 @@
<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="0xF3" >
- <tqmask name="PM" value="0x03" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF3" >
+ <mask 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" />
- </tqmask>
- <tqmask name="ABW" value="0x30" >
+ </mask>
+ <mask name="ABW" value="0x30" >
<value value="0x00" name="8" cname="_ADDRBW_ADDR8BIT" />
<value value="0x10" name="12" cname="_ADDRBW_ADDR12BIT" />
<value value="0x20" name="16" cname="_ADDRBW_ADDR16BIT" />
<value value="0x30" name="20" cname="_ADDRBW_ADDR20BIT" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="_DATABW_DATA8BIT" />
<value value="0x40" name="16" cname="_DATABW_DATA16BIT" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="_WAIT_ON" />
<value value="0x80" name="Off" cname="_WAIT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x83" ctqmask="0x02" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x83" cmask="0x02" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="_CCP2MX_PORTBE" />
<value value="0x01" name="RC1" cname="_CCP2MX_PORTC" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH6" cname="_ECCPMX_PORTH" />
<value value="0x02" name="RE6-RE5" cname="_ECCPMX_PORTE" />
- </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" >
- <tqmask name="STVREN" value="0x01" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
+ <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="0x30" >
+ </mask>
+ <mask name="BBSIZ" value="0x30" >
<value value="0x00" name="1024" cname="_BBSIZ_BB2K" />
<value value="0x10" name="2048" cname="_BBSIZ_BB4K" />
<value value="0x20" name="4096" cname="_BBSIZ_BB8K" />
<value value="0x30" name="4096" cname="_BBSIZ_BB8K" />
- </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="0xFF" >
- <tqmask name="CP_0" value="0x01" >
+ <config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="CP_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
- </tqmask>
- <tqmask name="CP_2" value="0x04" >
+ </mask>
+ <mask name="CP_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_CP2_ON" />
<value value="0x04" name="Off" cname="_CP2_OFF" />
- </tqmask>
- <tqmask name="CP_3" value="0x08" >
+ </mask>
+ <mask name="CP_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_CP3_ON" />
<value value="0x08" name="Off" cname="_CP3_OFF" />
- </tqmask>
- <tqmask name="CP_4" value="0x10" >
+ </mask>
+ <mask name="CP_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_CP4_ON" />
<value value="0x10" name="Off" cname="_CP4_OFF" />
- </tqmask>
- <tqmask name="CP_5" value="0x20" >
+ </mask>
+ <mask name="CP_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_CP5_ON" />
<value value="0x20" name="Off" cname="_CP5_OFF" />
- </tqmask>
- <tqmask name="CP_6" value="0x40" >
+ </mask>
+ <mask name="CP_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_CP6_ON" />
<value value="0x40" name="Off" cname="_CP6_OFF" />
- </tqmask>
- <tqmask name="CP_7" value="0x80" >
+ </mask>
+ <mask name="CP_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_CP7_ON" />
<value value="0x80" name="Off" cname="_CP7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x9" name="CONFIG5H" wtqmask="0xFF" bvalue="0xC0" >
- <tqmask name="CPB" value="0x40" >
+ <config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
+ <mask name="CPB" value="0x40" >
<value value="0x00" name="All" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
- </tqmask>
- <tqmask name="CPD" value="0x80" >
+ </mask>
+ <mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="CONFIG6L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="WRT_0" value="0x01" >
+ <config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="WRT_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
- </tqmask>
- <tqmask name="WRT_2" value="0x04" >
+ </mask>
+ <mask name="WRT_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_WRT2_ON" />
<value value="0x04" name="Off" cname="_WRT2_OFF" />
- </tqmask>
- <tqmask name="WRT_3" value="0x08" >
+ </mask>
+ <mask name="WRT_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_WRT3_ON" />
<value value="0x08" name="Off" cname="_WRT3_OFF" />
- </tqmask>
- <tqmask name="WRT_4" value="0x10" >
+ </mask>
+ <mask name="WRT_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_WRT4_ON" />
<value value="0x10" name="Off" cname="_WRT4_OFF" />
- </tqmask>
- <tqmask name="WRT_5" value="0x20" >
+ </mask>
+ <mask name="WRT_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_WRT5_ON" />
<value value="0x20" name="Off" cname="_WRT5_OFF" />
- </tqmask>
- <tqmask name="WRT_6" value="0x40" >
+ </mask>
+ <mask name="WRT_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_WRT6_ON" />
<value value="0x40" name="Off" cname="_WRT6_OFF" />
- </tqmask>
- <tqmask name="WRT_7" value="0x80" >
+ </mask>
+ <mask name="WRT_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_WRT7_ON" />
<value value="0x80" name="Off" cname="_WRT7_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xB" name="CONFIG6H" wtqmask="0xFF" bvalue="0xE0" >
- <tqmask name="WRTC" value="0x20" >
+ <config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
+ <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>
- <tqmask name="WRTD" value="0x80" >
+ </mask>
+ <mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="CONFIG7L" wtqmask="0xFF" bvalue="0xFF" >
- <tqmask name="EBTR_0" value="0x01" >
+ <config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0xFF" >
+ <mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0800/1000/2000:3FFF" 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="4000:7FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
- </tqmask>
- <tqmask name="EBTR_2" value="0x04" >
+ </mask>
+ <mask name="EBTR_2" value="0x04" >
<value value="0x00" name="8000:BFFF" cname="_EBTR2_ON" />
<value value="0x04" name="Off" cname="_EBTR2_OFF" />
- </tqmask>
- <tqmask name="EBTR_3" value="0x08" >
+ </mask>
+ <mask name="EBTR_3" value="0x08" >
<value value="0x00" name="C000:FFFF" cname="_EBTR3_ON" />
<value value="0x08" name="Off" cname="_EBTR3_OFF" />
- </tqmask>
- <tqmask name="EBTR_4" value="0x10" >
+ </mask>
+ <mask name="EBTR_4" value="0x10" >
<value value="0x00" name="10000:13FFF" cname="_EBTR4_ON" />
<value value="0x10" name="Off" cname="_EBTR4_OFF" />
- </tqmask>
- <tqmask name="EBTR_5" value="0x20" >
+ </mask>
+ <mask name="EBTR_5" value="0x20" >
<value value="0x00" name="14000:17FFF" cname="_EBTR5_ON" />
<value value="0x20" name="Off" cname="_EBTR5_OFF" />
- </tqmask>
- <tqmask name="EBTR_6" value="0x40" >
+ </mask>
+ <mask name="EBTR_6" value="0x40" >
<value value="0x00" name="18000:1BFFF" cname="_EBTR6_ON" />
<value value="0x40" name="Off" cname="_EBTR6_OFF" />
- </tqmask>
- <tqmask name="EBTR_7" value="0x80" >
+ </mask>
+ <mask name="EBTR_7" value="0x80" >
<value value="0x00" name="1C000:1FFFF" cname="_EBTR7_ON" />
<value value="0x80" name="Off" cname="_EBTR7_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 *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F87J10.xml b/src/devices/pic/xml_data/18F87J10.xml
index d7790cb..bc21af2 100644
--- a/src/devices/pic/xml_data/18F87J10.xml
+++ b/src/devices/pic/xml_data/18F87J10.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xC1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xC1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,45 +94,45 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x03" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x03" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RE7" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F87J11.xml b/src/devices/pic/xml_data/18F87J11.xml
index 495ecda..d3c84fb 100644
--- a/src/devices/pic/xml_data/18F87J11.xml
+++ b/src/devices/pic/xml_data/18F87J11.xml
@@ -29,55 +29,55 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,53 +94,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F87J50.xml b/src/devices/pic/xml_data/18F87J50.xml
index 24207fe..1749435 100644
--- a/src/devices/pic/xml_data/18F87J50.xml
+++ b/src/devices/pic/xml_data/18F87J50.xml
@@ -29,16 +29,16 @@
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xEF" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xEF" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="PLLDIV" value="0x0E" >
+ </mask>
+ <mask name="PLLDIV" value="0x0E" >
<value value="0x00" name="12" cname="" />
<value value="0x02" name="10" cname="" />
<value value="0x04" name="6" cname="" />
@@ -47,47 +47,47 @@
<value value="0x0A" name="3" cname="" />
<value value="0x0C" name="2" cname="" />
<value value="0x0E" name="1" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -104,53 +104,53 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="EASHFT" value="0x08" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="20BIT" cname="" />
<value value="0x10" name="16BIT" cname="" />
<value value="0x20" name="12BIT" cname="" />
<value value="0x30" name="Disabled" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="WAIT" value="0x80" >
+ </mask>
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="CCP2MX" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="CCP2MX" value="0x01" >
<value value="0x00" name="RB3" cname="" />
<value value="0x01" name="RC1" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="PMPMX" value="0x04" >
+ </mask>
+ <mask name="PMPMX" value="0x04" >
<value value="0x00" name="NotConnected" cname="" />
<value value="0x04" name="Connected" cname="" />
- </tqmask>
- <tqmask name="MSSPSEL" value="0x08" >
+ </mask>
+ <mask name="MSSPSEL" value="0x08" >
<value value="0x00" name="5BIT" cname="" />
<value value="0x08" name="7BIT" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F87J60.xml b/src/devices/pic/xml_data/18F87J60.xml
index fcf788a..d101ed3 100644
--- a/src/devices/pic/xml_data/18F87J60.xml
+++ b/src/devices/pic/xml_data/18F87J60.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="0000:FFF7" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,31 +94,31 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F96J60.xml b/src/devices/pic/xml_data/18F96J60.xml
index 9b3dca7..655b586 100644
--- a/src/devices/pic/xml_data/18F96J60.xml
+++ b/src/devices/pic/xml_data/18F96J60.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,49 +94,49 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="WAIT" value="0x80" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="Disabled" cname="" />
<value value="0x10" name="12BIT" cname="" />
<value value="0x20" name="16BIT" cname="" />
<value value="0x30" name="20BIT" cname="" />
- </tqmask>
- <tqmask name="EASHFT" value="0x08" >
+ </mask>
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F96J65.xml b/src/devices/pic/xml_data/18F96J65.xml
index 678e2f3..a61bb94 100644
--- a/src/devices/pic/xml_data/18F96J65.xml
+++ b/src/devices/pic/xml_data/18F96J65.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,49 +94,49 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="WAIT" value="0x80" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="Disabled" cname="" />
<value value="0x10" name="12BIT" cname="" />
<value value="0x20" name="16BIT" cname="" />
<value value="0x30" name="20BIT" cname="" />
- </tqmask>
- <tqmask name="EASHFT" value="0x08" >
+ </mask>
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/18F97J60.xml b/src/devices/pic/xml_data/18F97J60.xml
index a47d6d1..ce570ba 100644
--- a/src/devices/pic/xml_data/18F97J60.xml
+++ b/src/devices/pic/xml_data/18F97J60.xml
@@ -29,55 +29,55 @@
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1L" wtqmask="0xFF" bvalue="0xE1" >
- <tqmask name="WDT" value="0x01" >
+ <config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0xE1" >
+ <mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="STVREN" value="0x20" >
+ </mask>
+ <mask name="STVREN" value="0x20" >
<value value="0x00" name="Off" cname="" />
<value value="0x20" name="On" cname="" />
- </tqmask>
- <tqmask name="XINST" value="0x40" >
+ </mask>
+ <mask name="XINST" value="0x40" >
<value value="0x00" name="Off" cname="" />
<value value="0x40" name="On" cname="" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x1" name="CONFIG1H" wtqmask="0xF7" bvalue="0x04" >
- <tqmask name="CP" value="0x04" >
+ <config offset="0x1" name="CONFIG1H" wmask="0xF7" bvalue="0x04" >
+ <mask name="CP" value="0x04" >
<value value="0x00" name="All" cname="" />
<value value="0x04" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2L" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="FOSC" value="0x03" >
+ <config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0xC7" >
+ <mask name="FOSC" value="0x03" >
<value value="0x00" name="HS" cname="" />
<value value="0x01" name="HSPLL" cname="" />
<value value="0x02" name="EC" cname="" />
<value value="0x03" name="ECPLL_IO" cname="" />
- </tqmask>
- <tqmask name="FOSC2" value="0x04" >
+ </mask>
+ <mask name="FOSC2" value="0x04" >
<value value="0x00" name="FOSC1:FOSC0" cname="" />
<value value="0x04" name="INTRC" cname="" />
- </tqmask>
- <tqmask name="FCMEN" value="0x40" >
+ </mask>
+ <mask name="FCMEN" value="0x40" >
<value value="0x00" name="On" cname="" />
<value value="0x40" name="Off" cname="" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x3" name="CONFIG2H" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WDTPS" value="0x0F" >
+ <config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WDTPS" value="0x0F" >
<value value="0x00" name="1:1" cname="" />
<value value="0x01" name="1:2" cname="" />
<value value="0x02" name="1:4" cname="" />
@@ -94,49 +94,49 @@
<value value="0x0D" name="1:8192" cname="" />
<value value="0x0E" name="1:16384" cname="" />
<value value="0x0F" name="1:32768" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="CONFIG3L" wtqmask="0xFF" bvalue="0xF8" >
- <tqmask name="WAIT" value="0x80" >
+ <config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0xF8" >
+ <mask name="WAIT" value="0x80" >
<value value="0x00" name="On" cname="" />
<value value="0x80" name="Off" cname="" />
- </tqmask>
- <tqmask name="BW" value="0x40" >
+ </mask>
+ <mask name="BW" value="0x40" >
<value value="0x00" name="8" cname="" />
<value value="0x40" name="16" cname="" />
- </tqmask>
- <tqmask name="EMB" value="0x30" >
+ </mask>
+ <mask name="EMB" value="0x30" >
<value value="0x00" name="Disabled" cname="" />
<value value="0x10" name="12BIT" cname="" />
<value value="0x20" name="16BIT" cname="" />
<value value="0x30" name="20BIT" cname="" />
- </tqmask>
- <tqmask name="EASHFT" value="0x08" >
+ </mask>
+ <mask name="EASHFT" value="0x08" >
<value value="0x00" name="Off" cname="" />
<value value="0x08" name="On" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x5" name="CONFIG3H" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="ETHLED" value="0x01" >
+ <config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x07" >
+ <mask name="ETHLED" value="0x01" >
<value value="0x00" name="Off" cname="" />
<value value="0x01" name="On" cname="" />
- </tqmask>
- <tqmask name="ECCPMX" value="0x02" >
+ </mask>
+ <mask name="ECCPMX" value="0x02" >
<value value="0x00" name="RH7-RH4" cname="" />
<value value="0x02" name="RE6-RE3" cname="" />
- </tqmask>
- <tqmask name="CCP2MX" value="0x04" >
+ </mask>
+ <mask name="CCP2MX" value="0x04" >
<value value="0x00" name="RE7" cname="" />
<value value="0x04" name="RC1" cname="" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="CONFIG4L" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x7" name="CONFIG4H" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" >
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ128GA006.xml b/src/devices/pic/xml_data/24FJ128GA006.xml
index a68bc37..7f264b9 100644
--- a/src/devices/pic/xml_data/24FJ128GA006.xml
+++ b/src/devices/pic/xml_data/24FJ128GA006.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x0157FB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x0157FC" end="0x0157FF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ128GA008.xml b/src/devices/pic/xml_data/24FJ128GA008.xml
index 14e4f29..b8d43d8 100644
--- a/src/devices/pic/xml_data/24FJ128GA008.xml
+++ b/src/devices/pic/xml_data/24FJ128GA008.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x0157FB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x0157FC" end="0x0157FF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ128GA010.xml b/src/devices/pic/xml_data/24FJ128GA010.xml
index cb01c2d..d57c7ff 100644
--- a/src/devices/pic/xml_data/24FJ128GA010.xml
+++ b/src/devices/pic/xml_data/24FJ128GA010.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x0157FB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x0157FC" end="0x0157FF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ64GA002.xml b/src/devices/pic/xml_data/24FJ64GA002.xml
index 90b9f05..e051b07 100644
--- a/src/devices/pic/xml_data/24FJ64GA002.xml
+++ b/src/devices/pic/xml_data/24FJ64GA002.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00ABFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00ABFC" end="0x00ABFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007FDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007FDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,69 +47,69 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000300" >
+ </mask>
+ <mask name="ICS" value="0x000300" >
<value value="0x000000" name="invalid" />
<value value="0x000100" name="EMUC3, EMUD3" />
<value value="0x000200" name="EMUC2, EMUD2" />
<value value="0x000300" name="EMUC1, EMUD1" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087F7" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087F7" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="I2C1SEL" value="0x000004" >
+ </mask>
+ <mask name="I2C1SEL" value="0x000004" >
<value value="0x000000" name="Alternate" />
<value value="0x000004" name="Default" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x000010" >
+ </mask>
+ <mask name="IOL1WAY" value="0x000010" >
<value value="0x000000" name="Multiple reconfigurations" />
<value value="0x000010" name="One reconfiguration" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -118,11 +118,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ64GA004.xml b/src/devices/pic/xml_data/24FJ64GA004.xml
index 8cda66c..c87748e 100644
--- a/src/devices/pic/xml_data/24FJ64GA004.xml
+++ b/src/devices/pic/xml_data/24FJ64GA004.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00ABFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00ABFC" end="0x00ABFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007FDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007FDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,69 +47,69 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000300" >
+ </mask>
+ <mask name="ICS" value="0x000300" >
<value value="0x000000" name="invalid" />
<value value="0x000100" name="EMUC3, EMUD3" />
<value value="0x000200" name="EMUC2, EMUD2" />
<value value="0x000300" name="EMUC1, EMUD1" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087F7" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087F7" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="I2C1SEL" value="0x000004" >
+ </mask>
+ <mask name="I2C1SEL" value="0x000004" >
<value value="0x000000" name="Alternate" />
<value value="0x000004" name="Default" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x000010" >
+ </mask>
+ <mask name="IOL1WAY" value="0x000010" >
<value value="0x000000" name="Multiple reconfigurations" />
<value value="0x000010" name="One reconfiguration" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -118,11 +118,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ64GA006.xml b/src/devices/pic/xml_data/24FJ64GA006.xml
index dab1819..6492f51 100644
--- a/src/devices/pic/xml_data/24FJ64GA006.xml
+++ b/src/devices/pic/xml_data/24FJ64GA006.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00ABFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00ABFC" end="0x00ABFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ64GA008.xml b/src/devices/pic/xml_data/24FJ64GA008.xml
index 5149c82..2ead302 100644
--- a/src/devices/pic/xml_data/24FJ64GA008.xml
+++ b/src/devices/pic/xml_data/24FJ64GA008.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00ABFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00ABFC" end="0x00ABFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ64GA010.xml b/src/devices/pic/xml_data/24FJ64GA010.xml
index 43f2806..627da04 100644
--- a/src/devices/pic/xml_data/24FJ64GA010.xml
+++ b/src/devices/pic/xml_data/24FJ64GA010.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00ABFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00ABFC" end="0x00ABFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ96GA006.xml b/src/devices/pic/xml_data/24FJ96GA006.xml
index 2b17512..9f02be4 100644
--- a/src/devices/pic/xml_data/24FJ96GA006.xml
+++ b/src/devices/pic/xml_data/24FJ96GA006.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00FFFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00FFFC" end="0x00FFFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ96GA008.xml b/src/devices/pic/xml_data/24FJ96GA008.xml
index ee3212e..eeba6d2 100644
--- a/src/devices/pic/xml_data/24FJ96GA008.xml
+++ b/src/devices/pic/xml_data/24FJ96GA008.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00FFFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00FFFC" end="0x00FFFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24FJ96GA010.xml b/src/devices/pic/xml_data/24FJ96GA010.xml
index e609719..700d288 100644
--- a/src/devices/pic/xml_data/24FJ96GA010.xml
+++ b/src/devices/pic/xml_data/24FJ96GA010.xml
@@ -24,13 +24,13 @@
<memory name="code" start="0x000200" end="0x00FFFB" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0x00FFFC" end="0x00FFFF" />
-<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFFFF" /> -->
+<!-- <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFFFF" /> -->
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8007EF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="CONFIG1" wtqmask="0xFFFFFF" bvalue="0x007DDF" >
- <tqmask name="WDTPOST" value="0x00000F" >
+ <config offset="0x0" name="CONFIG1" wmask="0xFFFFFF" bvalue="0x007DDF" >
+ <mask name="WDTPOST" value="0x00000F" >
<value value="0x000000" name="1:1" />
<value value="0x000001" name="1:2" />
<value value="0x000002" name="1:4" />
@@ -47,59 +47,59 @@
<value value="0x00000D" name="1:8192" />
<value value="0x00000E" name="1:16384" />
<value value="0x00000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x000010" >
+ </mask>
+ <mask name="WDTPRE" value="0x000010" >
<value value="0x000000" name="1:32" />
<value value="0x000010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x000040" >
+ </mask>
+ <mask name="WINDIS" value="0x000040" >
<value value="0x000000" name="On" />
<value value="0x000040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x000080" >
+ </mask>
+ <mask name="FWDTEN" value="0x000080" >
<value value="0x000000" name="Software" />
<value value="0x000080" name="On" />
- </tqmask>
- <tqmask name="ICS" value="0x000100" >
+ </mask>
+ <mask name="ICS" value="0x000100" >
<value value="0x000000" name="EMUC1, EMUD1" />
<value value="0x000100" name="EMUC2, EMUD2" />
- </tqmask>
- <tqmask name="DEBUG" value="0x000800" >
+ </mask>
+ <mask name="DEBUG" value="0x000800" >
<value value="0x000000" name="On" />
<value value="0x000800" name="Off" />
- </tqmask>
- <tqmask name="GWRP" value="0x001000" >
+ </mask>
+ <mask name="GWRP" value="0x001000" >
<value value="0x000000" name="All" />
<value value="0x001000" name="Off" />
- </tqmask>
- <tqmask name="GCP" value="0x002000" >
+ </mask>
+ <mask name="GCP" value="0x002000" >
<value value="0x000000" name="All" />
<value value="0x002000" name="Off" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x004000" >
+ </mask>
+ <mask name="JTAGEN" value="0x004000" >
<value value="0x000000" name="Off" />
<value value="0x004000" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="CONFIG2" wtqmask="0xFFFFFF" bvalue="0x0087E3" >
- <tqmask name="POSCMD" value="0x000003" >
+ <config offset="0x2" name="CONFIG2" wmask="0xFFFFFF" bvalue="0x0087E3" >
+ <mask name="POSCMD" value="0x000003" >
<value value="0x000000" name="EC" />
<value value="0x000001" name="XT" />
<value value="0x000002" name="HS" />
<value value="0x000003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x000020" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x000020" >
<value value="0x000000" name="IO" />
<value value="0x000020" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0x0000C0" >
+ </mask>
+ <mask name="FCKSM" value="0x0000C0" >
<value value="0x000000" name="Switching on, monitor on" />
<value value="0x000040" name="Switching on, monitor off" />
<value value="0x000080" name="Switching off, monitor off" />
<value value="0x0000C0" name="Switching off, monitor off" />
- </tqmask>
- <tqmask name="FNOSC" value="0x000700" >
+ </mask>
+ <mask name="FNOSC" value="0x000700" >
<value value="0x000000" name="EXTRC_F" />
<value value="0x000100" name="INTRC_F_PLL" />
<value value="0x000200" name="PRIM" />
@@ -108,11 +108,11 @@
<value value="0x000500" name="EXTRC_LP" />
<value value="0x000600" name="invalid" />
<value value="0x000700" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x008000" >
+ </mask>
+ <mask name="IESO" value="0x008000" >
<value value="0x000000" name="Off" />
<value value="0x008000" name="On" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP206.xml b/src/devices/pic/xml_data/24HJ128GP206.xml
index 60c824c..c065e99 100644
--- a/src/devices/pic/xml_data/24HJ128GP206.xml
+++ b/src/devices/pic/xml_data/24HJ128GP206.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP210.xml b/src/devices/pic/xml_data/24HJ128GP210.xml
index 6e1983d..b0922d0 100644
--- a/src/devices/pic/xml_data/24HJ128GP210.xml
+++ b/src/devices/pic/xml_data/24HJ128GP210.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP306.xml b/src/devices/pic/xml_data/24HJ128GP306.xml
index 7e8f67e..97f23e1 100644
--- a/src/devices/pic/xml_data/24HJ128GP306.xml
+++ b/src/devices/pic/xml_data/24HJ128GP306.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP310.xml b/src/devices/pic/xml_data/24HJ128GP310.xml
index 8e148b0..a600601 100644
--- a/src/devices/pic/xml_data/24HJ128GP310.xml
+++ b/src/devices/pic/xml_data/24HJ128GP310.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP506.xml b/src/devices/pic/xml_data/24HJ128GP506.xml
index ddb2d13..ae2fd06 100644
--- a/src/devices/pic/xml_data/24HJ128GP506.xml
+++ b/src/devices/pic/xml_data/24HJ128GP506.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ128GP510.xml b/src/devices/pic/xml_data/24HJ128GP510.xml
index 80a0f24..7195e60 100644
--- a/src/devices/pic/xml_data/24HJ128GP510.xml
+++ b/src/devices/pic/xml_data/24HJ128GP510.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x0157FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ12GP201.xml b/src/devices/pic/xml_data/24HJ12GP201.xml
index 3dccc43..b0c3357 100644
--- a/src/devices/pic/xml_data/24HJ12GP201.xml
+++ b/src/devices/pic/xml_data/24HJ12GP201.xml
@@ -21,46 +21,46 @@
<memory name="code" start="0x000200" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="1792" />
<value value="0x02" name="768" />
<value value="0x04" name="256" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="reserved" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x2" name="reserved" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0x87" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0x87" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -69,38 +69,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x20" >
+ </mask>
+ <mask name="IOL1WAY" value="0x20" >
<value value="0x00" name="Multiple reconfigurations" />
<value value="0x20" name="One reconfiguration" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -117,23 +117,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x17" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x17" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -142,32 +142,32 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
- <tqmask name="ALTI2C" value="0x10" >
+ </mask>
+ <mask name="ALTI2C" value="0x10" >
<value value="0x00" name="ASDA1/ASCL1" />
<value value="0x10" name="SDA1/SCL1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ12GP202.xml b/src/devices/pic/xml_data/24HJ12GP202.xml
index 10dfdbb..60fdce8 100644
--- a/src/devices/pic/xml_data/24HJ12GP202.xml
+++ b/src/devices/pic/xml_data/24HJ12GP202.xml
@@ -21,46 +21,46 @@
<memory name="code" start="0x000200" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="1792" />
<value value="0x02" name="768" />
<value value="0x04" name="256" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="reserved" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x2" name="reserved" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0x87" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0x87" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -69,38 +69,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x20" >
+ </mask>
+ <mask name="IOL1WAY" value="0x20" >
<value value="0x00" name="Multiple reconfigurations" />
<value value="0x20" name="One reconfiguration" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -117,23 +117,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x17" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x17" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -142,32 +142,32 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
- <tqmask name="ALTI2C" value="0x10" >
+ </mask>
+ <mask name="ALTI2C" value="0x10" >
<value value="0x00" name="ASDA1/ASCL1" />
<value value="0x10" name="SDA1/SCL1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ16GP304.xml b/src/devices/pic/xml_data/24HJ16GP304.xml
index 09096ec..f4d50d8 100644
--- a/src/devices/pic/xml_data/24HJ16GP304.xml
+++ b/src/devices/pic/xml_data/24HJ16GP304.xml
@@ -24,46 +24,46 @@
<memory name="code" start="0x000200" end="0x002BFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="1792" />
<value value="0x02" name="768" />
<value value="0x04" name="256" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="reserved" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x2" name="reserved" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0x87" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0x87" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -72,38 +72,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x20" >
+ </mask>
+ <mask name="IOL1WAY" value="0x20" >
<value value="0x00" name="Multiple reconfigurations" />
<value value="0x20" name="One reconfiguration" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -120,23 +120,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x17" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x17" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -145,32 +145,32 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
- <tqmask name="ALTI2C" value="0x10" >
+ </mask>
+ <mask name="ALTI2C" value="0x10" >
<value value="0x00" name="ASDA1/ASCL1" />
<value value="0x10" name="SDA1/SCL1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ256GP206.xml b/src/devices/pic/xml_data/24HJ256GP206.xml
index 3335305..d977b29 100644
--- a/src/devices/pic/xml_data/24HJ256GP206.xml
+++ b/src/devices/pic/xml_data/24HJ256GP206.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x02ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ256GP210.xml b/src/devices/pic/xml_data/24HJ256GP210.xml
index 60f9102..000bc00 100644
--- a/src/devices/pic/xml_data/24HJ256GP210.xml
+++ b/src/devices/pic/xml_data/24HJ256GP210.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x02ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ256GP610.xml b/src/devices/pic/xml_data/24HJ256GP610.xml
index 3189c39..4c1e714 100644
--- a/src/devices/pic/xml_data/24HJ256GP610.xml
+++ b/src/devices/pic/xml_data/24HJ256GP610.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x02ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="32768" />
<value value="0x02" name="16384" />
<value value="0x04" name="8192" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ32GP202.xml b/src/devices/pic/xml_data/24HJ32GP202.xml
index 6f67086..d93607a 100644
--- a/src/devices/pic/xml_data/24HJ32GP202.xml
+++ b/src/devices/pic/xml_data/24HJ32GP202.xml
@@ -24,46 +24,46 @@
<memory name="code" start="0x000200" end="0x0057FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="1792" />
<value value="0x02" name="768" />
<value value="0x04" name="256" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="reserved" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x2" name="reserved" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0x87" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0x87" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -72,38 +72,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x20" >
+ </mask>
+ <mask name="IOL1WAY" value="0x20" >
<value value="0x00" name="Multiple reconfigurations" />
<value value="0x20" name="One reconfiguration" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -120,23 +120,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x17" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x17" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -145,32 +145,32 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
- <tqmask name="ALTI2C" value="0x10" >
+ </mask>
+ <mask name="ALTI2C" value="0x10" >
<value value="0x00" name="ASDA1/ASCL1" />
<value value="0x10" name="SDA1/SCL1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ32GP204.xml b/src/devices/pic/xml_data/24HJ32GP204.xml
index 40d90b2..5a9e126 100644
--- a/src/devices/pic/xml_data/24HJ32GP204.xml
+++ b/src/devices/pic/xml_data/24HJ32GP204.xml
@@ -24,46 +24,46 @@
<memory name="code" start="0x000200" end="0x0057FF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0x0F" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0x0F" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="1792" />
<value value="0x02" name="768" />
<value value="0x04" name="256" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="reserved" wtqmask="0xFF" bvalue="0x00" >
+ <config offset="0x2" name="reserved" wmask="0xFF" bvalue="0x00" >
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0x87" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0x87" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -72,38 +72,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="IOL1WAY" value="0x20" >
+ </mask>
+ <mask name="IOL1WAY" value="0x20" >
<value value="0x00" name="Multiple reconfigurations" />
<value value="0x20" name="One reconfiguration" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -120,23 +120,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x17" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x17" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -145,32 +145,32 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
- <tqmask name="ALTI2C" value="0x10" >
+ </mask>
+ <mask name="ALTI2C" value="0x10" >
<value value="0x00" name="ASDA1/ASCL1" />
<value value="0x10" name="SDA1/SCL1" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ64GP206.xml b/src/devices/pic/xml_data/24HJ64GP206.xml
index 42b47d2..a3266fa 100644
--- a/src/devices/pic/xml_data/24HJ64GP206.xml
+++ b/src/devices/pic/xml_data/24HJ64GP206.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x00ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="16384" />
<value value="0x02" name="8192" />
<value value="0x04" name="4096" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ64GP210.xml b/src/devices/pic/xml_data/24HJ64GP210.xml
index 734ce51..630a12a 100644
--- a/src/devices/pic/xml_data/24HJ64GP210.xml
+++ b/src/devices/pic/xml_data/24HJ64GP210.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x00ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="16384" />
<value value="0x02" name="8192" />
<value value="0x04" name="4096" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ64GP506.xml b/src/devices/pic/xml_data/24HJ64GP506.xml
index 74a6cfa..372c767 100644
--- a/src/devices/pic/xml_data/24HJ64GP506.xml
+++ b/src/devices/pic/xml_data/24HJ64GP506.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x00ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="16384" />
<value value="0x02" name="8192" />
<value value="0x04" name="4096" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/24HJ64GP510.xml b/src/devices/pic/xml_data/24HJ64GP510.xml
index 099ab2a..8711793 100644
--- a/src/devices/pic/xml_data/24HJ64GP510.xml
+++ b/src/devices/pic/xml_data/24HJ64GP510.xml
@@ -21,72 +21,72 @@
<memory name="code" start="0x000200" end="0x00ABFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0xF80010" end="0xF80018" rtqmask="0xFF" />
+ <memory name="user_ids" start="0xF80010" end="0xF80018" rmask="0xFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x800FFF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FBS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTBS" value="0x01" >
+ <config offset="0x0" name="FBS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTBS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x06" >
+ </mask>
+ <mask name="BSSIZ" value="0x06" >
<value value="0x00" name="8192" />
<value value="0x02" name="4096" />
<value value="0x04" name="1024" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x08" >
+ </mask>
+ <mask name="BSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RBSSIZ" value="0xC0" >
<value value="0x00" name="1024" />
<value value="0x40" name="256" />
<value value="0x80" name="128" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FSS" wtqmask="0xFF" bvalue="0xCF" >
- <tqmask name="WRTSS" value="0x01" >
+ <config offset="0x2" name="FSS" wmask="0xFF" bvalue="0xCF" >
+ <mask name="WRTSS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x06" >
+ </mask>
+ <mask name="SSSIZ" value="0x06" >
<value value="0x00" name="16384" />
<value value="0x02" name="8192" />
<value value="0x04" name="4096" />
<value value="0x06" name="0" />
- </tqmask>
- <tqmask name="SSSEC" value="0x08" >
+ </mask>
+ <mask name="SSSEC" value="0x08" >
<value value="0x00" name="High Security" />
<value value="0x08" name="Standard Security" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0xC0" >
+ </mask>
+ <mask name="RSSSIZ" value="0xC0" >
<value value="0x00" name="4096" />
<value value="0x40" name="2048" />
<value value="0x80" name="256" />
<value value="0xC0" name="0" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FGS" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="WRTGS" value="0x01" >
+ <config offset="0x4" name="FGS" wmask="0xFF" bvalue="0x07" >
+ <mask name="WRTGS" value="0x01" >
<value value="0x00" name="All" />
<value value="0x01" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x06" >
+ </mask>
+ <mask name="GSSEC" value="0x06" >
<value value="0x00" name="High Security" />
<value value="0x02" name="High Security" />
<value value="0x04" name="Standard Security" />
<value value="0x06" name="Off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FOSCSEL" wtqmask="0xFF" bvalue="0xA7" >
- <tqmask name="FNOSC" value="0x07" >
+ <config offset="0x6" name="FOSCSEL" wmask="0xFF" bvalue="0xA7" >
+ <mask name="FNOSC" value="0x07" >
<value value="0x00" name="EXTRC_F" />
<value value="0x01" name="INTRC_F_PLL" />
<value value="0x02" name="PRIM" />
@@ -95,38 +95,38 @@
<value value="0x05" name="EXTRC_LP" />
<value value="0x06" name="invalid" />
<value value="0x07" name="INTRC_F_POST" />
- </tqmask>
- <tqmask name="TEMP" value="0x20" >
+ </mask>
+ <mask name="TEMP" value="0x20" >
<value value="0x00" name="On" />
<value value="0x20" name="Off" />
- </tqmask>
- <tqmask name="IESO" value="0x80" >
+ </mask>
+ <mask name="IESO" value="0x80" >
<value value="0x00" name="Off" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FOSC" wtqmask="0xFF" bvalue="0xC7" >
- <tqmask name="POSCMD" value="0x03" >
+ <config offset="0x8" name="FOSC" wmask="0xFF" bvalue="0xC7" >
+ <mask name="POSCMD" value="0x03" >
<value value="0x00" name="EC" />
<value value="0x01" name="XT" />
<value value="0x02" name="HS" />
<value value="0x03" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x04" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x04" >
<value value="0x00" name="IO" />
<value value="0x04" name="Clock" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC0" >
+ </mask>
+ <mask name="FCKSM" value="0xC0" >
<value value="0x00" name="Switching on, monitor on" />
<value value="0x40" name="Switching on, monitor off" />
<value value="0x80" name="Switching off, monitor off" />
<value value="0xC0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FWDT" wtqmask="0xFF" bvalue="0xDF">
- <tqmask name="WDTPOST" value="0x0F" >
+ <config offset="0xA" name="FWDT" wmask="0xFF" bvalue="0xDF">
+ <mask name="WDTPOST" value="0x0F" >
<value value="0x00" name="1:1" />
<value value="0x01" name="1:2" />
<value value="0x02" name="1:4" />
@@ -143,23 +143,23 @@
<value value="0x0D" name="1:8192" />
<value value="0x0E" name="1:16384" />
<value value="0x0F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x10" >
+ </mask>
+ <mask name="WDTPRE" value="0x10" >
<value value="0x00" name="1:32" />
<value value="0x10" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x40" >
+ </mask>
+ <mask name="WINDIS" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x80" >
+ </mask>
+ <mask name="FWDTEN" value="0x80" >
<value value="0x00" name="Software" />
<value value="0x80" name="On" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="FPOR" wtqmask="0xFF" bvalue="0x07" >
- <tqmask name="FPWRT" value="0x07" >
+ <config offset="0xC" name="FPOR" wmask="0xFF" bvalue="0x07" >
+ <mask name="FPWRT" value="0x07" >
<value value="0x00" name="0" />
<value value="0x01" name="2" />
<value value="0x02" name="4" />
@@ -168,28 +168,28 @@
<value value="0x05" name="32" />
<value value="0x06" name="64" />
<value value="0x07" name="128" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xE" name="FICD" wtqmask="0xFF" bvalue="0xE3" >
- <tqmask name="ICS" value="0x03" >
+ <config offset="0xE" name="FICD" wmask="0xFF" bvalue="0xE3" >
+ <mask name="ICS" value="0x03" >
<value value="0x00" name="EMUC3, EMUD3" />
<value value="0x01" name="EMUC2, EMUD2" />
<value value="0x02" name="EMUC1, EMUD1" />
<value value="0x03" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="JTAGEN" value="0x20" >
+ </mask>
+ <mask name="JTAGEN" value="0x20" >
<value value="0x00" name="Off" />
<value value="0x20" name="On" />
- </tqmask>
- <tqmask name="COE" value="0x40" >
+ </mask>
+ <mask name="COE" value="0x40" >
<value value="0x00" name="On" />
<value value="0x40" name="Off" />
- </tqmask>
- <tqmask name="DEBUG" value="0x80" >
+ </mask>
+ <mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" />
<value value="0x80" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F1010.xml b/src/devices/pic/xml_data/30F1010.xml
index 7aa7c07..1d59008 100644
--- a/src/devices/pic/xml_data/30F1010.xml
+++ b/src/devices/pic/xml_data/30F1010.xml
@@ -27,77 +27,77 @@
<memory name="code" start="0x000000" end="0x000FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
-<config offset="0x0" name="FBS" wtqmask="0xFFFF" bvalue="0x000F" >
- <tqmask name="WRTBS" value="0x0001" >
+<config offset="0x0" name="FBS" wmask="0xFFFF" bvalue="0x000F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="0" />
<value value="0x0002" name="invalid" />
<value value="0x0004" name="1024" />
<value value="0x0006" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" />
<value value="0x0008" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x2" name="reserved" wtqmask="0xFFFF" bvalue="0x0000" ></config>
+<config offset="0x2" name="reserved" wmask="0xFFFF" bvalue="0x0000" ></config>
-<config offset="0x4" name="FGS" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+<config offset="0x4" name="FGS" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="0x0000" name="High Security" />
<value value="0x0002" name="High Security" />
<value value="0x0004" name="Standard Security" />
<value value="0x0006" name="Off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x6" name="FOSCSEL" wtqmask="0xFFFF" bvalue="0x0003" >
- <tqmask name="FNOSC" value="0x0003" >
+<config offset="0x6" name="FOSCSEL" wmask="0xFFFF" bvalue="0x0003" >
+ <mask name="FNOSC" value="0x0003" >
<value value="0x0000" name="INTRC_F" />
<value value="0x0001" name="INTRC_F_PLL" />
<value value="0x0002" name="PRIM" />
<value value="0x0003" name="PRIM_PLL" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x8" name="FOSC" wtqmask="0xFFFF" bvalue="0x00E7" >
- <tqmask name="POSCMD" value="0x0003" >
+<config offset="0x8" name="FOSC" wmask="0xFFFF" bvalue="0x00E7" >
+ <mask name="POSCMD" value="0x0003" >
<value value="0x0000" name="EC" />
<value value="0x0001" name="invalid" />
<value value="0x0002" name="HS" />
<value value="0x0003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x0004" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x0004" >
<value value="0x0000" name="IO" />
<value value="0x0004" name="Clock" />
- </tqmask>
- <tqmask name="FRANGE" value="0x0020" >
+ </mask>
+ <mask name="FRANGE" value="0x0020" >
<value value="0x0000" name="Low range" />
<value value="0x0020" name="High range" />
- </tqmask>
- <tqmask name="FCKSM" value="0x00C0" >
+ </mask>
+ <mask name="FCKSM" value="0x00C0" >
<value value="0x0000" name="Switching on, monitor on" />
<value value="0x0040" name="Switching on, monitor off" />
<value value="0x0080" name="Switching off, monitor off" />
<value value="0x00C0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xA" name="FWDT" wtqmask="0xFFFF" bvalue="0x00DF">
- <tqmask name="WDTPOST" value="0x000F" >
+<config offset="0xA" name="FWDT" wmask="0xFFFF" bvalue="0x00DF">
+ <mask name="WDTPOST" value="0x000F" >
<value value="0x0000" name="1:1" />
<value value="0x0001" name="1:2" />
<value value="0x0002" name="1:4" />
@@ -114,23 +114,23 @@
<value value="0x000D" name="1:8192" />
<value value="0x000E" name="1:16384" />
<value value="0x000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x0010" >
+ </mask>
+ <mask name="WDTPRE" value="0x0010" >
<value value="0x0000" name="1:32" />
<value value="0x0010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x0040" >
+ </mask>
+ <mask name="WINDIS" value="0x0040" >
<value value="0x0000" name="On" />
<value value="0x0040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x0080" >
+ </mask>
+ <mask name="FWDTEN" value="0x0080" >
<value value="0x0000" name="Software" />
<value value="0x0080" name="On" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xC" name="FPOR" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="FPWRT" value="0x0007" >
+<config offset="0xC" name="FPOR" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="FPWRT" value="0x0007" >
<value value="0x0000" name="0" />
<value value="0x0001" name="2" />
<value value="0x0002" name="4" />
@@ -139,20 +139,20 @@
<value value="0x0005" name="32" />
<value value="0x0006" name="64" />
<value value="0x0007" name="128" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xE" name="FICD" wtqmask="0xFFFF" bvalue="0x0083" >
- <tqmask name="ICS" value="0x0003" >
+<config offset="0xE" name="FICD" wmask="0xFFFF" bvalue="0x0083" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="invalid" />
<value value="0x0001" name="EMUC2, EMUD2" />
<value value="0x0002" name="EMUC1, EMUD1" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0080" >
+ </mask>
+ <mask name="DEBUG" value="0x0080" >
<value value="0x0000" name="On" />
<value value="0x0080" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F2010.xml b/src/devices/pic/xml_data/30F2010.xml
index 85ec165..f252785 100644
--- a/src/devices/pic/xml_data/30F2010.xml
+++ b/src/devices/pic/xml_data/30F2010.xml
@@ -36,13 +36,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -59,22 +59,22 @@
<value value="0x000D" name="EC4" cname="EC_PLL4" />
<value value="0x000E" name="EC8" cname="EC_PLL8" />
<value value="0x000F" name="EC16" cname="EC_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="LP" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LPRC" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -91,84 +91,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F2011.xml b/src/devices/pic/xml_data/30F2011.xml
index 54886ed..a767855 100644
--- a/src/devices/pic/xml_data/30F2011.xml
+++ b/src/devices/pic/xml_data/30F2011.xml
@@ -27,13 +27,13 @@
<memory name="code" start="0x000000" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -53,16 +53,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -79,72 +79,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F2012.xml b/src/devices/pic/xml_data/30F2012.xml
index 3f0d7ec..6da9eb7 100644
--- a/src/devices/pic/xml_data/30F2012.xml
+++ b/src/devices/pic/xml_data/30F2012.xml
@@ -27,13 +27,13 @@
<memory name="code" start="0x000000" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -53,16 +53,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -79,72 +79,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F2020.xml b/src/devices/pic/xml_data/30F2020.xml
index cad9c22..3aa30e9 100644
--- a/src/devices/pic/xml_data/30F2020.xml
+++ b/src/devices/pic/xml_data/30F2020.xml
@@ -27,77 +27,77 @@
<memory name="code" start="0x000000" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
-<config offset="0x0" name="FBS" wtqmask="0xFFFF" bvalue="0x000F" >
- <tqmask name="WRTBS" value="0x0001" >
+<config offset="0x0" name="FBS" wmask="0xFFFF" bvalue="0x000F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="0" />
<value value="0x0002" name="4096" />
<value value="0x0004" name="1024" />
<value value="0x0006" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" />
<value value="0x0008" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x2" name="reserved" wtqmask="0xFFFF" bvalue="0x0000" ></config>
+<config offset="0x2" name="reserved" wmask="0xFFFF" bvalue="0x0000" ></config>
-<config offset="0x4" name="FGS" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+<config offset="0x4" name="FGS" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="0x0000" name="High Security" />
<value value="0x0002" name="High Security" />
<value value="0x0004" name="Standard Security" />
<value value="0x0006" name="Off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x6" name="FOSCSEL" wtqmask="0xFFFF" bvalue="0x0003" >
- <tqmask name="FNOSC" value="0x0003" >
+<config offset="0x6" name="FOSCSEL" wmask="0xFFFF" bvalue="0x0003" >
+ <mask name="FNOSC" value="0x0003" >
<value value="0x0000" name="INTRC_F" />
<value value="0x0001" name="INTRC_F_PLL" />
<value value="0x0002" name="PRIM" />
<value value="0x0003" name="PRIM_PLL" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x8" name="FOSC" wtqmask="0xFFFF" bvalue="0x00E7" >
- <tqmask name="POSCMD" value="0x0003" >
+<config offset="0x8" name="FOSC" wmask="0xFFFF" bvalue="0x00E7" >
+ <mask name="POSCMD" value="0x0003" >
<value value="0x0000" name="EC" />
<value value="0x0001" name="invalid" />
<value value="0x0002" name="HS" />
<value value="0x0003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x0004" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x0004" >
<value value="0x0000" name="IO" />
<value value="0x0004" name="Clock" />
- </tqmask>
- <tqmask name="FRANGE" value="0x0020" >
+ </mask>
+ <mask name="FRANGE" value="0x0020" >
<value value="0x0000" name="Low range" />
<value value="0x0020" name="High range" />
- </tqmask>
- <tqmask name="FCKSM" value="0x00C0" >
+ </mask>
+ <mask name="FCKSM" value="0x00C0" >
<value value="0x0000" name="Switching on, monitor on" />
<value value="0x0040" name="Switching on, monitor off" />
<value value="0x0080" name="Switching off, monitor off" />
<value value="0x00C0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xA" name="FWDT" wtqmask="0xFFFF" bvalue="0x00DF">
- <tqmask name="WDTPOST" value="0x000F" >
+<config offset="0xA" name="FWDT" wmask="0xFFFF" bvalue="0x00DF">
+ <mask name="WDTPOST" value="0x000F" >
<value value="0x0000" name="1:1" />
<value value="0x0001" name="1:2" />
<value value="0x0002" name="1:4" />
@@ -114,23 +114,23 @@
<value value="0x000D" name="1:8192" />
<value value="0x000E" name="1:16384" />
<value value="0x000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x0010" >
+ </mask>
+ <mask name="WDTPRE" value="0x0010" >
<value value="0x0000" name="1:32" />
<value value="0x0010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x0040" >
+ </mask>
+ <mask name="WINDIS" value="0x0040" >
<value value="0x0000" name="On" />
<value value="0x0040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x0080" >
+ </mask>
+ <mask name="FWDTEN" value="0x0080" >
<value value="0x0000" name="Software" />
<value value="0x0080" name="On" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xC" name="FPOR" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="FPWRT" value="0x0007" >
+<config offset="0xC" name="FPOR" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="FPWRT" value="0x0007" >
<value value="0x0000" name="0" />
<value value="0x0001" name="2" />
<value value="0x0002" name="4" />
@@ -139,20 +139,20 @@
<value value="0x0005" name="32" />
<value value="0x0006" name="64" />
<value value="0x0007" name="128" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xE" name="FICD" wtqmask="0xFFFF" bvalue="0x0083" >
- <tqmask name="ICS" value="0x0003" >
+<config offset="0xE" name="FICD" wmask="0xFFFF" bvalue="0x0083" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="invalid" />
<value value="0x0001" name="EMUC2, EMUD2" />
<value value="0x0002" name="EMUC1, EMUD1" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0080" >
+ </mask>
+ <mask name="DEBUG" value="0x0080" >
<value value="0x0000" name="On" />
<value value="0x0080" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F2023.xml b/src/devices/pic/xml_data/30F2023.xml
index 6871678..8241600 100644
--- a/src/devices/pic/xml_data/30F2023.xml
+++ b/src/devices/pic/xml_data/30F2023.xml
@@ -27,77 +27,77 @@
<memory name="code" start="0x000000" end="0x001FFF" />
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000F" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
-<config offset="0x0" name="FBS" wtqmask="0xFFFF" bvalue="0x000F" >
- <tqmask name="WRTBS" value="0x0001" >
+<config offset="0x0" name="FBS" wmask="0xFFFF" bvalue="0x000F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="0" />
<value value="0x0002" name="4096" />
<value value="0x0004" name="1024" />
<value value="0x0006" name="0" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" />
<value value="0x0008" name="Standard Security" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x2" name="reserved" wtqmask="0xFFFF" bvalue="0x0000" ></config>
+<config offset="0x2" name="reserved" wmask="0xFFFF" bvalue="0x0000" ></config>
-<config offset="0x4" name="FGS" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+<config offset="0x4" name="FGS" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" />
<value value="0x0001" name="Off" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="0x0000" name="High Security" />
<value value="0x0002" name="High Security" />
<value value="0x0004" name="Standard Security" />
<value value="0x0006" name="Off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x6" name="FOSCSEL" wtqmask="0xFFFF" bvalue="0x0003" >
- <tqmask name="FNOSC" value="0x0003" >
+<config offset="0x6" name="FOSCSEL" wmask="0xFFFF" bvalue="0x0003" >
+ <mask name="FNOSC" value="0x0003" >
<value value="0x0000" name="INTRC_F" />
<value value="0x0001" name="INTRC_F_PLL" />
<value value="0x0002" name="PRIM" />
<value value="0x0003" name="PRIM_PLL" />
- </tqmask>
+ </mask>
</config>
-<config offset="0x8" name="FOSC" wtqmask="0xFFFF" bvalue="0x00E7" >
- <tqmask name="POSCMD" value="0x0003" >
+<config offset="0x8" name="FOSC" wmask="0xFFFF" bvalue="0x00E7" >
+ <mask name="POSCMD" value="0x0003" >
<value value="0x0000" name="EC" />
<value value="0x0001" name="invalid" />
<value value="0x0002" name="HS" />
<value value="0x0003" name="Off" />
- </tqmask>
- <tqmask name="OSCIOFNC" value="0x0004" >
+ </mask>
+ <mask name="OSCIOFNC" value="0x0004" >
<value value="0x0000" name="IO" />
<value value="0x0004" name="Clock" />
- </tqmask>
- <tqmask name="FRANGE" value="0x0020" >
+ </mask>
+ <mask name="FRANGE" value="0x0020" >
<value value="0x0000" name="Low range" />
<value value="0x0020" name="High range" />
- </tqmask>
- <tqmask name="FCKSM" value="0x00C0" >
+ </mask>
+ <mask name="FCKSM" value="0x00C0" >
<value value="0x0000" name="Switching on, monitor on" />
<value value="0x0040" name="Switching on, monitor off" />
<value value="0x0080" name="Switching off, monitor off" />
<value value="0x00C0" name="Switching off, monitor off" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xA" name="FWDT" wtqmask="0xFFFF" bvalue="0x00DF">
- <tqmask name="WDTPOST" value="0x000F" >
+<config offset="0xA" name="FWDT" wmask="0xFFFF" bvalue="0x00DF">
+ <mask name="WDTPOST" value="0x000F" >
<value value="0x0000" name="1:1" />
<value value="0x0001" name="1:2" />
<value value="0x0002" name="1:4" />
@@ -114,23 +114,23 @@
<value value="0x000D" name="1:8192" />
<value value="0x000E" name="1:16384" />
<value value="0x000F" name="1:32768" />
- </tqmask>
- <tqmask name="WDTPRE" value="0x0010" >
+ </mask>
+ <mask name="WDTPRE" value="0x0010" >
<value value="0x0000" name="1:32" />
<value value="0x0010" name="1:128" />
- </tqmask>
- <tqmask name="WINDIS" value="0x0040" >
+ </mask>
+ <mask name="WINDIS" value="0x0040" >
<value value="0x0000" name="On" />
<value value="0x0040" name="Off" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x0080" >
+ </mask>
+ <mask name="FWDTEN" value="0x0080" >
<value value="0x0000" name="Software" />
<value value="0x0080" name="On" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xC" name="FPOR" wtqmask="0xFFFF" bvalue="0x0007" >
- <tqmask name="FPWRT" value="0x0007" >
+<config offset="0xC" name="FPOR" wmask="0xFFFF" bvalue="0x0007" >
+ <mask name="FPWRT" value="0x0007" >
<value value="0x0000" name="0" />
<value value="0x0001" name="2" />
<value value="0x0002" name="4" />
@@ -139,20 +139,20 @@
<value value="0x0005" name="32" />
<value value="0x0006" name="64" />
<value value="0x0007" name="128" />
- </tqmask>
+ </mask>
</config>
-<config offset="0xE" name="FICD" wtqmask="0xFFFF" bvalue="0x0083" >
- <tqmask name="ICS" value="0x0003" >
+<config offset="0xE" name="FICD" wmask="0xFFFF" bvalue="0x0083" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="invalid" />
<value value="0x0001" name="EMUC2, EMUD2" />
<value value="0x0002" name="EMUC1, EMUD1" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" />
- </tqmask>
- <tqmask name="DEBUG" value="0x0080" >
+ </mask>
+ <mask name="DEBUG" value="0x0080" >
<value value="0x0000" name="On" />
<value value="0x0080" name="Off" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F3010.xml b/src/devices/pic/xml_data/30F3010.xml
index 2d4170d..1041c86 100644
--- a/src/devices/pic/xml_data/30F3010.xml
+++ b/src/devices/pic/xml_data/30F3010.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,16 +54,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -80,84 +80,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F3011.xml b/src/devices/pic/xml_data/30F3011.xml
index 6f84490..b092d8b 100644
--- a/src/devices/pic/xml_data/30F3011.xml
+++ b/src/devices/pic/xml_data/30F3011.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,84 +81,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F3012.xml b/src/devices/pic/xml_data/30F3012.xml
index 4ecc5d3..b87d96a 100644
--- a/src/devices/pic/xml_data/30F3012.xml
+++ b/src/devices/pic/xml_data/30F3012.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,16 +54,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -80,72 +80,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F3013.xml b/src/devices/pic/xml_data/30F3013.xml
index 337316c..702e415 100644
--- a/src/devices/pic/xml_data/30F3013.xml
+++ b/src/devices/pic/xml_data/30F3013.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,16 +54,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -80,72 +80,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F3014.xml b/src/devices/pic/xml_data/30F3014.xml
index 870b30b..13bd387 100644
--- a/src/devices/pic/xml_data/30F3014.xml
+++ b/src/devices/pic/xml_data/30F3014.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,16 +54,16 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="default" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -80,72 +80,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F4011.xml b/src/devices/pic/xml_data/30F4011.xml
index 91f6d83..89791c2 100644
--- a/src/devices/pic/xml_data/30F4011.xml
+++ b/src/devices/pic/xml_data/30F4011.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -51,23 +51,23 @@
<value value="0x000D" name="EC4" cname="EC_PLL4" />
<value value="0x000E" name="EC8" cname="EC_PLL8" />
<value value="0x000F" name="EC16" cname="EC_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -84,84 +84,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F4012.xml b/src/devices/pic/xml_data/30F4012.xml
index 3bc430b..e42b34c 100644
--- a/src/devices/pic/xml_data/30F4012.xml
+++ b/src/devices/pic/xml_data/30F4012.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -51,23 +51,23 @@
<value value="0x000D" name="EC4" cname="EC_PLL4" />
<value value="0x000E" name="EC8" cname="EC_PLL8" />
<value value="0x000F" name="EC16" cname="EC_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -84,84 +84,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F4013.xml b/src/devices/pic/xml_data/30F4013.xml
index 6177a81..1732e6e 100644
--- a/src/devices/pic/xml_data/30F4013.xml
+++ b/src/devices/pic/xml_data/30F4013.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,72 +81,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F5011.xml b/src/devices/pic/xml_data/30F5011.xml
index dfd9f6f..a1f311d 100644
--- a/src/devices/pic/xml_data/30F5011.xml
+++ b/src/devices/pic/xml_data/30F5011.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -51,23 +51,23 @@
<value value="0x000D" name="EC4" cname="EC_PLL4" />
<value value="0x000E" name="EC8" cname="EC_PLL8" />
<value value="0x000F" name="EC16" cname="EC_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -84,125 +84,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4196" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="128" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="512" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="512" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="256" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="128" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_SEC_RAM" />
<value value="0x1000" name="768" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F5013.xml b/src/devices/pic/xml_data/30F5013.xml
index 2017b70..debd97f 100644
--- a/src/devices/pic/xml_data/30F5013.xml
+++ b/src/devices/pic/xml_data/30F5013.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -51,23 +51,23 @@
<value value="0x000D" name="EC4" cname="EC_PLL4" />
<value value="0x000E" name="EC8" cname="EC_PLL8" />
<value value="0x000F" name="EC16" cname="EC_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -84,125 +84,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="128" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="512" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="512" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="256" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="128" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_SEC_RAM" />
<value value="0x1000" name="768" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F5015.xml b/src/devices/pic/xml_data/30F5015.xml
index 489bed2..af7c20a 100644
--- a/src/devices/pic/xml_data/30F5015.xml
+++ b/src/devices/pic/xml_data/30F5015.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,84 +81,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F5016.xml b/src/devices/pic/xml_data/30F5016.xml
index 6aa3e0e..aa2e7e1 100644
--- a/src/devices/pic/xml_data/30F5016.xml
+++ b/src/devices/pic/xml_data/30F5016.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FFC00" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,84 +81,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6010.xml b/src/devices/pic/xml_data/30F6010.xml
index 1038327..8b26c7c 100644
--- a/src/devices/pic/xml_data/30F6010.xml
+++ b/src/devices/pic/xml_data/30F6010.xml
@@ -29,13 +29,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -52,23 +52,23 @@
<value value="0x000D" name="EC4" cname="ECIO_PLL4" />
<value value="0x000E" name="EC8" cname="ECIO_PLL8" />
<value value="0x000F" name="EC16" cname="ECIO_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -85,84 +85,84 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IO" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6010A.xml b/src/devices/pic/xml_data/30F6010A.xml
index 4f477d2..2f5e976 100644
--- a/src/devices/pic/xml_data/30F6010A.xml
+++ b/src/devices/pic/xml_data/30F6010A.xml
@@ -35,13 +35,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" ctqmask="0xC10F">
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" cmask="0xC10F">
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -61,17 +61,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -88,137 +88,137 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6011.xml b/src/devices/pic/xml_data/30F6011.xml
index 94a1ba1..60e6f5f 100644
--- a/src/devices/pic/xml_data/30F6011.xml
+++ b/src/devices/pic/xml_data/30F6011.xml
@@ -29,13 +29,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF800" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x8005BF" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -52,23 +52,23 @@
<value value="0x000D" name="EC4" cname="ECIO_PLL4" />
<value value="0x000E" name="EC8" cname="ECIO_PLL8" />
<value value="0x000F" name="EC16" cname="ECIO_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -85,72 +85,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6011A.xml b/src/devices/pic/xml_data/30F6011A.xml
index 752f62b..bb499b1 100644
--- a/src/devices/pic/xml_data/30F6011A.xml
+++ b/src/devices/pic/xml_data/30F6011A.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF800" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,125 +81,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6012.xml b/src/devices/pic/xml_data/30F6012.xml
index 7d5f9b5..e7c1797 100644
--- a/src/devices/pic/xml_data/30F6012.xml
+++ b/src/devices/pic/xml_data/30F6012.xml
@@ -29,13 +29,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -52,23 +52,23 @@
<value value="0x000D" name="EC4" cname="ECIO_PLL4" />
<value value="0x000E" name="EC8" cname="ECIO_PLL8" />
<value value="0x000F" name="EC16" cname="ECIO_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -85,72 +85,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6012A.xml b/src/devices/pic/xml_data/30F6012A.xml
index c2a0e42..6dd84fb 100644
--- a/src/devices/pic/xml_data/30F6012A.xml
+++ b/src/devices/pic/xml_data/30F6012A.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,125 +81,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6013.xml b/src/devices/pic/xml_data/30F6013.xml
index 81451a6..34b66cf 100644
--- a/src/devices/pic/xml_data/30F6013.xml
+++ b/src/devices/pic/xml_data/30F6013.xml
@@ -29,13 +29,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF800" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -52,23 +52,23 @@
<value value="0x000D" name="EC4" cname="ECIO_PLL4" />
<value value="0x000E" name="EC8" cname="ECIO_PLL8" />
<value value="0x000F" name="EC16" cname="ECIO_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -85,72 +85,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6013A.xml b/src/devices/pic/xml_data/30F6013A.xml
index ff382ea..e0a5758 100644
--- a/src/devices/pic/xml_data/30F6013A.xml
+++ b/src/devices/pic/xml_data/30F6013A.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF800" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,125 +81,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6014.xml b/src/devices/pic/xml_data/30F6014.xml
index 2e5353e..8cf7766 100644
--- a/src/devices/pic/xml_data/30F6014.xml
+++ b/src/devices/pic/xml_data/30F6014.xml
@@ -29,13 +29,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
- <tqmask name="FPR" value="0x000F" >
+ <config offset="0x0" name="FOSC" wmask="0xC30F" bvalue="0xC30F" cmask="0xC10F" >
+ <mask name="FPR" value="0x000F" >
<value value="0x0000" name="XTL" cname="XTL" />
<value value="0x0001" name="XTL" cname="XTL" />
<value value="0x0002" name="HS" cname="HS" />
@@ -52,23 +52,23 @@
<value value="0x000D" name="EC4" cname="ECIO_PLL4" />
<value value="0x000E" name="EC8" cname="ECIO_PLL8" />
<value value="0x000F" name="EC16" cname="ECIO_PLL16" />
- </tqmask>
- <tqmask name="FOS" value="0x0300" >
+ </mask>
+ <mask name="FOS" value="0x0300" >
<value value="0x0000" name="TMR1" cname="EXT" />
<value value="0x0100" name="INTRC_F" cname="FRC" />
<value value="0x0200" name="INTRC_LP" cname="LP" />
<value value="0x0300" name="PRIM" cname="_" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -85,72 +85,72 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />
+ <config offset="0x6" name="RESERVED1" wmask="0x310F" bvalue="0x0000" cmask="0x310F" />
- <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />
+ <config offset="0x8" name="RESERVED2" wmask="0x330F" bvalue="0x0000" cmask="0x330F" />
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
- <tqmask name="GWRP" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0003" cmask="0x0007" >
+ <mask name="GWRP" value="0x0001" >
<value value="0x0000" name="All" cname="0xFFFE" />
<value value="0x0001" name="Off" cname="_" />
- </tqmask>
- <tqmask name="GCP" value="0x0002" >
+ </mask>
+ <mask name="GCP" value="0x0002" >
<value value="0x0000" name="All" cname="CODE_PROT_ON" />
<value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6014A.xml b/src/devices/pic/xml_data/30F6014A.xml
index 6396aed..c6a6efe 100644
--- a/src/devices/pic/xml_data/30F6014A.xml
+++ b/src/devices/pic/xml_data/30F6014A.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,125 +81,125 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x80B3" ctqmask="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x80B3" cmask="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/30F6015.xml b/src/devices/pic/xml_data/30F6015.xml
index 4b5b5bd..784f38d 100644
--- a/src/devices/pic/xml_data/30F6015.xml
+++ b/src/devices/pic/xml_data/30F6015.xml
@@ -28,13 +28,13 @@
<memory name="device_id" start="0xFF0000" end="0xFF0004" />
<memory name="config" start="0xF80000" end="0xF8000D" />
<memory name="eeprom" start="0x7FF000" end="0x7FFFFF" />
- <memory name="user_ids" start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
+ <memory name="user_ids" start="0x8005C0" end="0x8005FF" rmask="0xFFFFFF" />
<memory name="debug_vector" start="0x800000" end="0x800007" />
<memory name="program_executive" start="0x800000" end="0x80053F" />
<!--* Configuration bits ***************************************************-->
- <config offset="0x0" name="FOSC" wtqmask="0xC71F" bvalue="0xC71F" >
- <tqmask name="FOSFPR" value="0x071F" >
+ <config offset="0x0" name="FOSC" wmask="0xC71F" bvalue="0xC71F" >
+ <mask name="FOSFPR" value="0x071F" >
<value value="default" name="invalid" />
<value value="0x001F" name="TMR1" cname="LP" />
<value value="0x011F" name="INTRC_F" cname="FRC" />
@@ -54,17 +54,17 @@
<value value="0x0715" name="HS3_4" cname="HS3_PLL4" />
<value value="0x0716" name="HS3_8" cname="HS3_PLL8" />
<value value="0x0717" name="HS3_16" cname="HS3_PLL16" />
- </tqmask>
- <tqmask name="FCKSM" value="0xC000" >
+ </mask>
+ <mask name="FCKSM" value="0xC000" >
<value value="0x0000" name="Switching on, monitor on" cname="CSW_FSCM_ON" />
<value value="0x4000" name="Switching on, monitor off" cname="CSW_ON_FSCM_OFF" />
<value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
<value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x2" name="FWDT" wtqmask="0x803F" bvalue="0x803F" >
- <tqmask name="FWPSB" value="0x000F" >
+ <config offset="0x2" name="FWDT" wmask="0x803F" bvalue="0x803F" >
+ <mask name="FWPSB" value="0x000F" >
<value value="0x0000" name="1:1" cname="WDTPSB_1" />
<value value="0x0001" name="1:2" cname="WDTPSB_2" />
<value value="0x0002" name="1:3" cname="WDTPSB_3" />
@@ -81,137 +81,137 @@
<value value="0x000D" name="1:14" cname="WDTPSB_14" />
<value value="0x000E" name="1:15" cname="WDTPSB_15" />
<value value="0x000F" name="1:16" cname="WDTPSB_16" />
- </tqmask>
- <tqmask name="FWPSA" value="0x0030" >
+ </mask>
+ <mask name="FWPSA" value="0x0030" >
<value value="0x0000" name="1:1" cname="WDTPSA_1" />
<value value="0x0010" name="1:8" cname="WDTPSA_8" />
<value value="0x0020" name="1:64" cname="WDTPSA_64" />
<value value="0x0030" name="1:512" cname="WDTPSA_512" />
- </tqmask>
- <tqmask name="FWDTEN" value="0x8000" >
+ </mask>
+ <mask name="FWDTEN" value="0x8000" >
<value value="0x0000" name="Off" cname="WDT_OFF" />
<value value="0x8000" name="On" cname="WDT_ON" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x4" name="FBORPOR" wtqmask="0x87B3" bvalue="0x87B3" >
- <tqmask name="FPWRT" value="0x0003" >
+ <config offset="0x4" name="FBORPOR" wmask="0x87B3" bvalue="0x87B3" >
+ <mask name="FPWRT" value="0x0003" >
<value value="0x0000" name="0" cname="PWRT_OFF" />
<value value="0x0001" name="4" cname="PWRT_4" />
<value value="0x0002" name="16" cname="PWRT_16" />
<value value="0x0003" name="64" cname="PWRT_64" />
- </tqmask>
- <tqmask name="BORV" value="0x0030" >
+ </mask>
+ <mask name="BORV" value="0x0030" >
<value value="0x0000" name="4.5" cname="BORV_45" />
<value value="0x0010" name="4.2" cname="BORV_42" />
<value value="0x0020" name="2.7" cname="BORV_27" />
<value value="0x0030" name="2.0" cname="BORV_20" />
- </tqmask>
- <tqmask name="BODEN" value="0x0080" >
+ </mask>
+ <mask name="BODEN" value="0x0080" >
<value value="0x0000" name="Off" cname="PBOR_OFF" />
<value value="0x0080" name="On" cname="PBOR_ON" />
- </tqmask>
- <tqmask name="LPOL" value="0x0100" >
+ </mask>
+ <mask name="LPOL" value="0x0100" >
<value value="0x0000" name="low" cname="PWMxL_ACT_LO" />
<value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
- </tqmask>
- <tqmask name="HPOL" value="0x0200" >
+ </mask>
+ <mask name="HPOL" value="0x0200" >
<value value="0x0000" name="low" cname="PWMxH_ACT_LO" />
<value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
- </tqmask>
- <tqmask name="PWMPIN" value="0x0400" >
+ </mask>
+ <mask name="PWMPIN" value="0x0400" >
<value value="0x0000" name="On" cname="RST_PWMPIN" />
<value value="0x0400" name="Off" cname="RST_IOPIN" />
- </tqmask>
- <tqmask name="MCLRE" value="0x8000" >
+ </mask>
+ <mask name="MCLRE" value="0x8000" >
<value value="0x0000" name="Internal" cname="MCLR_DIS" />
<value value="0x8000" name="External" cname="MCLR_EN" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x6" name="FBS" wtqmask="0x310F" bvalue="0x310F" >
- <tqmask name="WRTBS" value="0x0001" >
+ <config offset="0x6" name="FBS" wmask="0x310F" bvalue="0x310F" >
+ <mask name="WRTBS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_BOOT_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_BOOT_OFF" />
- </tqmask>
- <tqmask name="BSSEC" value="0x0008" >
+ </mask>
+ <mask name="BSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="BSSIZ" value="0x0006" >
+ </mask>
+ <mask name="BSSIZ" value="0x0006" >
<value value="0x0000" name="4096" cname="" />
<value value="0x0002" name="2048" cname="" />
<value value="0x0004" name="512" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="EBSSIZ" value="0x0100" >
+ </mask>
+ <mask name="EBSSIZ" value="0x0100" >
<value value="0x0000" name="256" cname="SMALL_BOOT_EEPROM" />
<value value="0x0100" name="0" cname="NO_BOOT_EEPROM" />
- </tqmask>
- <tqmask name="RBSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RBSSIZ" value="0x3000" >
<value value="0x0000" name="1024" cname="LAR_BOOT_RAM" />
<value value="0x1000" name="256" cname="MED_BOOT_RAM" />
<value value="0x2000" name="128" cname="SMALL_BOOT_RAM" />
<value value="0x3000" name="0" cname="NO_BOOT_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0x8" name="FSS" wtqmask="0x330F" bvalue="0x330F" >
- <tqmask name="WRTSS" value="0x0001" >
+ <config offset="0x8" name="FSS" wmask="0x330F" bvalue="0x330F" >
+ <mask name="WRTSS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_SEC_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_SEC_OFF" />
- </tqmask>
- <tqmask name="SSSEC" value="0x0008" >
+ </mask>
+ <mask name="SSSEC" value="0x0008" >
<value value="0x0000" name="High Security" cname="" />
<value value="0x0008" name="Standard Security" cname="" />
- </tqmask>
- <tqmask name="SSSIZ" value="0x0006" >
+ </mask>
+ <mask name="SSSIZ" value="0x0006" >
<value value="0x0000" name="16384" cname="" />
<value value="0x0002" name="8192" cname="" />
<value value="0x0004" name="4096" cname="" />
<value value="0x0006" name="0" cname="" />
- </tqmask>
- <tqmask name="ESSSIZ" value="0x0300" >
+ </mask>
+ <mask name="ESSSIZ" value="0x0300" >
<value value="0x0000" name="1024" cname="LAR_SEC_EEPROM" />
<value value="0x0100" name="512" cname="MED_SEC_EEPROM" />
<value value="0x0200" name="256" cname="SMALL_SEC_EEPROM" />
<value value="0x0300" name="0" cname="NO_SEC_EEPROM" />
- </tqmask>
- <tqmask name="RSSSIZ" value="0x3000" >
+ </mask>
+ <mask name="RSSSIZ" value="0x3000" >
<value value="0x0000" name="4096" cname="LAR_SEC_RAM" />
<value value="0x1000" name="2048" cname="MED_SEC_RAM" />
<value value="0x2000" name="256" cname="SMALL_SEC_RAM" />
<value value="0x3000" name="0" cname="NO_SEC_RAM" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xA" name="FGS" wtqmask="0x0007" bvalue="0x0007" >
- <tqmask name="WRTGS" value="0x0001" >
+ <config offset="0xA" name="FGS" wmask="0x0007" bvalue="0x0007" >
+ <mask name="WRTGS" value="0x0001" >
<value value="0x0000" name="All" cname="WR_PROT_GEN_ON" />
<value value="0x0001" name="Off" cname="WR_PROT_GEN_OFF" />
- </tqmask>
- <tqmask name="GSSEC" value="0x0006" >
+ </mask>
+ <mask name="GSSEC" value="0x0006" >
<value value="default" name="High Security" cname="HIGH_PROT" />
<value value="0x0004" name="Standard Security" cname="STAND_PROT" />
<value value="0x0006" name="Off" cname="GEN_PROT" />
- </tqmask>
+ </mask>
</config>
- <config offset="0xC" name="ICD" wtqmask="0xC003" bvalue="0xC003" >
- <tqmask name="ICS" value="0x0003" >
+ <config offset="0xC" name="ICD" wmask="0xC003" bvalue="0xC003" >
+ <mask name="ICS" value="0x0003" >
<value value="0x0000" name="EMUC3, EMUD3" cname="0xFFFC" />
<value value="0x0001" name="EMUC2, EMUD2" cname="0xFFFD" />
<value value="0x0002" name="EMUC1, EMUD1" cname="0xFFFE" />
<value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
- </tqmask>
- <tqmask name="COE" value="0x4000" >
+ </mask>
+ <mask name="COE" value="0x4000" >
<value value="0x0000" name="On" cname="0xBFFF" />
<value value="0x4000" name="Off" cname="_" />
- </tqmask>
- <tqmask name="DEBUG" value="0x8000" >
+ </mask>
+ <mask name="DEBUG" value="0x8000" >
<value value="0x0000" name="On" cname="0x7FFF" />
<value value="0x8000" name="Off" cname="_" />
- </tqmask>
+ </mask>
</config>
<!--* Packages *************************************************************-->
diff --git a/src/devices/pic/xml_data/pic.xsd b/src/devices/pic/xml_data/pic.xsd
index 52d1bb2..f358f68 100644
--- a/src/devices/pic/xml_data/pic.xsd
+++ b/src/devices/pic/xml_data/pic.xsd
@@ -225,9 +225,9 @@
<xs:attribute name="name" type="memory_type" use="required"/>
<xs:attribute name="start" type="hex" use="required"/>
<xs:attribute name="end" type="hex" use="required"/>
- <xs:attribute name="cal_optqmask" type="hex" />
+ <xs:attribute name="cal_opmask" type="hex" />
<xs:attribute name="cal_opcode" type="hex" />
- <xs:attribute name="rtqmask" type="hex" />
+ <xs:attribute name="rmask" type="hex" />
<xs:attribute name="hexfile_offset" type="hexfile_offset" />
</xs:complexType>
@@ -246,14 +246,14 @@
</xs:complexType>
<xs:complexType name="ConfigType">
<xs:sequence>
- <xs:element name="tqmask" type="MaskType" maxOccurs="unbounded"/>
+ <xs:element name="mask" type="MaskType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="offset" type="hex" use="required"/>
- <xs:attribute name="wtqmask" type="hex" use="required"/>
+ <xs:attribute name="wmask" type="hex" use="required"/>
<xs:attribute name="bvalue" type="hex" use="required"/>
- <xs:attribute name="ctqmask" type="hex" />
- <xs:attribute name="ptqmask" type="hex" />
+ <xs:attribute name="cmask" type="hex" />
+ <xs:attribute name="pmask" type="hex" />
<xs:attribute name="icnames" type="cnames" />
</xs:complexType>
diff --git a/src/devices/pic/xml_data/registers/registers.xml b/src/devices/pic/xml_data/registers/registers.xml
index 509e4ff..d7c0884 100644
--- a/src/devices/pic/xml_data/registers/registers.xml
+++ b/src/devices/pic/xml_data/registers/registers.xml
@@ -20769,7 +20769,7 @@
<sfr address="0x0018" access="11111111" name="PRODL" mclr="33333333" por="00000000" />
<sfr address="0x0019" access="11111111" name="PRODH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C242" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C242" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -20885,7 +20885,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C252" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C252" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -21001,7 +21001,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C442" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C442" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -21123,7 +21123,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C452" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C452" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -21245,7 +21245,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C601" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C601" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F91" start="0x0F90" />
@@ -21376,7 +21376,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18C658" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18C658" unused_bank_mask="0x7FC0" >
<unused end="0x0F2F" start="0x0F2F" />
<unused end="0x0F3F" start="0x0F3F" />
<unused end="0x0F4F" start="0x0F4F" />
@@ -21628,7 +21628,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18C801" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18C801" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F9B" start="0x0F9B" />
<unused end="0x0FA5" start="0x0FA3" />
@@ -21763,7 +21763,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18C858" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18C858" unused_bank_mask="0x7FC0" >
<unused end="0x0F2F" start="0x0F2F" />
<unused end="0x0F3F" start="0x0F3F" />
<unused end="0x0F4F" start="0x0F4F" />
@@ -22021,7 +22021,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F1220" unused_bank_tqmask="0x7FFE" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F1220" unused_bank_mask="0x7FFE" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F82" />
<unused end="0x0F91" start="0x0F8B" />
@@ -22135,7 +22135,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FAA" access="01033033" name="BAUDCTL" mclr="02021011" por="02021011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F1230" unused_bank_tqmask="0x7FFE" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F1230" unused_bank_mask="0x7FFE" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0FBF" start="0x0FBA" />
<unused end="0x0FCC" start="0x0FC5" />
@@ -22254,7 +22254,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F1320" unused_bank_tqmask="0x7FFE" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F1320" unused_bank_mask="0x7FFE" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F82" />
<unused end="0x0F91" start="0x0F8B" />
@@ -22368,7 +22368,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FAA" access="01033033" name="BAUDCTL" mclr="02021011" por="02021011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F1330" unused_bank_tqmask="0x7FFE" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F1330" unused_bank_mask="0x7FFE" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0FBF" start="0x0FBA" />
<unused end="0x0FCC" start="0x0FC5" />
@@ -22487,7 +22487,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2220" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2220" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
@@ -22612,7 +22612,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2221" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2221" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -22740,7 +22740,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FB8" access="31333033" name="BAUDCON" mclr="12111011" por="12111011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2320" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2320" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
@@ -22865,7 +22865,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2321" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2321" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -22993,7 +22993,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FB8" access="31333033" name="BAUDCON" mclr="12111011" por="12111011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2331" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2331" unused_bank_mask="0x7FF8" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F86" start="0x0F84" />
<unused end="0x0F8F" start="0x0F8E" />
@@ -23163,7 +23163,7 @@
<sfr address="0x0F64" access="33333333" name="CAP3BUFL" mclr="33333333" por="00000000" />
<sfr address="0x0F64" access="33333333" name="MAXCNTL" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2410" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2410" unused_bank_mask="0x7FF8" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -23286,7 +23286,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F242" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F242" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -23406,7 +23406,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2420" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2420" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -23534,7 +23534,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2423" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2423" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -23662,7 +23662,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2431" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2431" unused_bank_mask="0x7FF8" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F86" start="0x0F84" />
<unused end="0x0F8F" start="0x0F8E" />
@@ -23832,7 +23832,7 @@
<sfr address="0x0F64" access="33333333" name="CAP3BUFL" mclr="33333333" por="00000000" />
<sfr address="0x0F64" access="33333333" name="MAXCNTL" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2439" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2439" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -23944,7 +23944,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2450" unused_bank_tqmask="0x7FEC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2450" unused_bank_mask="0x7FEC" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -24078,7 +24078,7 @@
<sfr address="0x0FA7" access="22222222" name="EECON2" mclr="00000000" por="00000000" />
<sfr address="0x0FA6" access="03033390" name="EECON1" mclr="03013110" por="00010110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2455" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2455" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F83" start="0x0F83" />
@@ -24241,7 +24241,7 @@
<sfr address="0x0F67" access="00000111" name="UFRMH" mclr="00000000" por="00000000" />
<sfr address="0x0F66" access="11111111" name="UFRML" mclr="00000000" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F248" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F248" unused_bank_mask="0x7FF8" >
<mirror>
<range end="0x0F2E" start="0x0F2E" />
<range end="0x0F3E" start="0x0F3E" />
@@ -24484,7 +24484,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2480" unused_bank_tqmask="0x1FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2480" unused_bank_mask="0x1FF8" >
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
<unused end="0x0D8F" start="0x0D8C" />
@@ -24902,7 +24902,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F24J10" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F24J10" unused_bank_mask="0x7FF0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -25025,7 +25025,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2510" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2510" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
@@ -25153,7 +25153,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2515" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2515" unused_bank_mask="0x0000" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8C" />
@@ -25276,7 +25276,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F252" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F252" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -25396,7 +25396,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2520" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2520" unused_bank_mask="0x7FC0" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F8D" start="0x0F8C" />
@@ -25526,7 +25526,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2523" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2523" unused_bank_mask="0x7FC0" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F8D" start="0x0F8C" />
@@ -25656,7 +25656,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2525" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2525" unused_bank_mask="0x0000" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8C" />
@@ -25784,7 +25784,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2539" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2539" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F83" />
<unused end="0x0F91" start="0x0F8C" />
@@ -25896,7 +25896,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2550" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2550" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F83" start="0x0F83" />
@@ -26059,7 +26059,7 @@
<sfr address="0x0F67" access="00000111" name="UFRMH" mclr="00000000" por="00000000" />
<sfr address="0x0F66" access="11111111" name="UFRML" mclr="00000000" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F258" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F258" unused_bank_mask="0x7FC0" >
<mirror>
<range end="0x0F2E" start="0x0F2E" />
<range end="0x0F3E" start="0x0F3E" />
@@ -26302,7 +26302,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2580" unused_bank_tqmask="0x1FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2580" unused_bank_mask="0x1FC0" >
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
<unused end="0x0D8F" start="0x0D8C" />
@@ -26720,7 +26720,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2585" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2585" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -27133,7 +27133,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F25J10" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F25J10" unused_bank_mask="0x7FF0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -27256,7 +27256,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2610" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2610" unused_bank_mask="0x0000" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8C" />
@@ -27379,7 +27379,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F2620" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F2620" unused_bank_mask="0x0000" >
<unused end="0x0F83" start="0x0F83" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8C" />
@@ -27507,7 +27507,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2680" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2680" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -27920,7 +27920,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2682" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2682" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -28333,7 +28333,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F2685" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F2685" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -28746,7 +28746,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4220" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4220" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -28878,7 +28878,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4221" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4221" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -29012,7 +29012,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FB8" access="31333033" name="BAUDCON" mclr="12111011" por="12111011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4320" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4320" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -29144,7 +29144,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4321" unused_bank_tqmask="0x7FFC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4321" unused_bank_mask="0x7FFC" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -29278,7 +29278,7 @@
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
<sfr address="0x0FB8" access="31333033" name="BAUDCON" mclr="12111011" por="12111011" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4331" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4331" unused_bank_mask="0x7FF8" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F86" start="0x0F85" />
<unused end="0x0F8F" start="0x0F8E" />
@@ -29454,7 +29454,7 @@
<sfr address="0x0F64" access="33333333" name="CAP3BUFL" mclr="33333333" por="00000000" />
<sfr address="0x0F64" access="33333333" name="MAXCNTL" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4410" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4410" unused_bank_mask="0x7FF8" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -29582,7 +29582,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F442" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F442" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -29708,7 +29708,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4420" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4420" unused_bank_mask="0x7FF8" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -29840,7 +29840,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4423" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4423" unused_bank_mask="0x7FF8" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -29972,7 +29972,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4431" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4431" unused_bank_mask="0x7FF8" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F86" start="0x0F85" />
<unused end="0x0F8F" start="0x0F8E" />
@@ -30148,7 +30148,7 @@
<sfr address="0x0F64" access="33333333" name="CAP3BUFL" mclr="33333333" por="00000000" />
<sfr address="0x0F64" access="33333333" name="MAXCNTL" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4439" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4439" unused_bank_mask="0x7FF8" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -30266,7 +30266,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4450" unused_bank_tqmask="0x7FEC" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4450" unused_bank_mask="0x7FEC" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -30406,7 +30406,7 @@
<sfr address="0x0FA7" access="22222222" name="EECON2" mclr="00000000" por="00000000" />
<sfr address="0x0FA6" access="03033390" name="EECON1" mclr="03013110" por="00010110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4455" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4455" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F88" start="0x0F85" />
@@ -30571,7 +30571,7 @@
<sfr address="0x0F67" access="00000111" name="UFRMH" mclr="00000000" por="00000000" />
<sfr address="0x0F66" access="11111111" name="UFRML" mclr="00000000" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F448" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F448" unused_bank_mask="0x7FF8" >
<mirror>
<range end="0x0F2E" start="0x0F2E" />
<range end="0x0F3E" start="0x0F3E" />
@@ -30828,7 +30828,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4480" unused_bank_tqmask="0x1FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4480" unused_bank_mask="0x1FF8" >
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
<unused end="0x0D8F" start="0x0D8C" />
@@ -31260,7 +31260,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F44J10" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F44J10" unused_bank_mask="0x7FF0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F91" start="0x0F8F" />
<unused end="0x0F9A" start="0x0F97" />
@@ -31393,7 +31393,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4510" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4510" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -31523,7 +31523,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4515" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4515" unused_bank_mask="0x0000" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -31650,7 +31650,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F452" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F452" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -31776,7 +31776,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4520" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4520" unused_bank_mask="0x7FC0" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -31908,7 +31908,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4523" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4523" unused_bank_mask="0x7FC0" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -32040,7 +32040,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4525" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4525" unused_bank_mask="0x0000" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -32172,7 +32172,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4539" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4539" unused_bank_mask="0x7FC0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
@@ -32290,7 +32290,7 @@
<sfr address="0x0FAC" access="33330313" name="TXSTA" mclr="11110121" por="11110121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4550" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4550" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F88" start="0x0F85" />
@@ -32455,7 +32455,7 @@
<sfr address="0x0F67" access="00000111" name="UFRMH" mclr="00000000" por="00000000" />
<sfr address="0x0F66" access="11111111" name="UFRML" mclr="00000000" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F458" unused_bank_tqmask="0x7FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F458" unused_bank_mask="0x7FC0" >
<mirror>
<range end="0x0F2E" start="0x0F2E" />
<range end="0x0F3E" start="0x0F3E" />
@@ -32712,7 +32712,7 @@
<sfr address="0x0F01" access="33303033" name="RXF0SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0F00" access="33333333" name="RXF0SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4580" unused_bank_tqmask="0x1FC0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4580" unused_bank_mask="0x1FC0" >
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
<unused end="0x0D8F" start="0x0D8C" />
@@ -33144,7 +33144,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4585" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4585" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -33568,7 +33568,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F45J10" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F45J10" unused_bank_mask="0x7FF0" >
<unused end="0x0F7F" start="0x0F00" />
<unused end="0x0F91" start="0x0F8F" />
<unused end="0x0F9A" start="0x0F97" />
@@ -33701,7 +33701,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4610" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4610" unused_bank_mask="0x0000" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -33828,7 +33828,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x80" name="18F4620" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x80" name="18F4620" unused_bank_mask="0x0000" >
<unused end="0x0F88" start="0x0F85" />
<unused end="0x0F91" start="0x0F8E" />
<unused end="0x0F9A" start="0x0F97" />
@@ -33960,7 +33960,7 @@
<sfr address="0x0FAC" access="33333313" name="TXSTA" mclr="11111121" por="11111121" />
<sfr address="0x0FAB" access="33333111" name="RCSTA" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4680" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4680" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -34384,7 +34384,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4682" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4682" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -34808,7 +34808,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F4685" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F4685" unused_bank_mask="0x0000" >
<unused end="0x0D59" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -35232,7 +35232,7 @@
<sfr address="0x0D61" access="33303033" name="RXF6SIDL" mclr="33303033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6310" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6310" unused_bank_mask="0x7FF8" >
<unused end="0x0F6A" start="0x0F40" />
<unused end="0x0F7C" start="0x0F70" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -35379,7 +35379,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6390" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6390" unused_bank_mask="0x7FF8" >
<unused end="0x0F57" start="0x0F40" />
<unused end="0x0F5F" start="0x0F5E" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -35552,7 +35552,7 @@
<sfr address="0x0F59" access="33303333" name="LCDCON" mclr="11101111" por="11101111" />
<sfr address="0x0F58" access="33333333" name="LCDPS" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F63J11" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F63J11" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -35689,7 +35689,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F63J90" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F63J90" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -35857,7 +35857,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDD6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDD5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6410" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6410" unused_bank_mask="0x7FF8" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7C" start="0x0F70" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -36004,7 +36004,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6490" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6490" unused_bank_mask="0x7FF8" >
<unused end="0x0F57" start="0x0F40" />
<unused end="0x0F5F" start="0x0F5E" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -36177,7 +36177,7 @@
<sfr address="0x0F59" access="33303333" name="LCDCON" mclr="11101111" por="11101111" />
<sfr address="0x0F58" access="33333333" name="LCDPS" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F64J11" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F64J11" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -36314,7 +36314,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F64J90" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F64J90" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -36482,7 +36482,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDD6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDD5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6520" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6520" unused_bank_mask="0x7F00" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F88" start="0x0F87" />
@@ -36641,7 +36641,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6525" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6525" unused_bank_mask="0x0000" >
<unused end="0x0F66" start="0x0F00" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -36807,7 +36807,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6527" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6527" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -36981,7 +36981,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6585" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6585" unused_bank_mask="0x0000" >
<unused end="0x0D5F" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -37409,7 +37409,7 @@
<sfr address="0x0D61" access="33333033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J10" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J10" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -37581,7 +37581,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J11" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J11" unused_bank_mask="0x7F00" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -37718,7 +37718,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J15" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J15" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -37890,7 +37890,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -38076,7 +38076,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J90" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F65J90" unused_bank_mask="0x7F00" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0F88" start="0x0F87" />
<unused end="0x0F9A" start="0x0F99" />
@@ -38244,7 +38244,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDD6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDD5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6620" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6620" unused_bank_mask="0x0000" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F88" start="0x0F87" />
@@ -38403,7 +38403,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6621" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6621" unused_bank_mask="0x0000" >
<unused end="0x0F66" start="0x0F00" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -38569,7 +38569,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6622" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6622" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -38743,7 +38743,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6627" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6627" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -38917,7 +38917,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6680" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6680" unused_bank_mask="0x0000" >
<unused end="0x0D5F" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -39345,7 +39345,7 @@
<sfr address="0x0D61" access="33333033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J10" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J10" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -39517,7 +39517,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J11" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J11" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -39704,7 +39704,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J15" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J15" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0FAA" start="0x0FA8" />
@@ -39875,7 +39875,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J16" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J16" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -40062,7 +40062,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -40249,7 +40249,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J55" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J55" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -40436,7 +40436,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -40689,7 +40689,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J65" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F66J65" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -40942,7 +40942,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6720" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6720" unused_bank_mask="0x0000" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F88" start="0x0F87" />
@@ -41101,7 +41101,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F6722" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F6722" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -41275,7 +41275,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J10" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J10" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F88" start="0x0F87" />
@@ -41446,7 +41446,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J11" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J11" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -41633,7 +41633,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -41820,7 +41820,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F67J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -42073,7 +42073,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x40" name="18F8310" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x40" name="18F8310" unused_bank_mask="0x7FF8" >
<unused end="0x0F57" start="0x0F00" />
<unused end="0x0F7C" start="0x0F70" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -42223,7 +42223,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8390" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8390" unused_bank_mask="0x7FF8" >
<unused end="0x0F57" start="0x0F40" />
<unused end="0x0F7D" start="0x0F7D" />
<unused end="0x0FAA" start="0x0FA6" />
@@ -42400,7 +42400,7 @@
<sfr address="0x0F59" access="33303333" name="LCDCON" mclr="11101111" por="11101111" />
<sfr address="0x0F58" access="33333333" name="LCDPS" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F83J11" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F83J11" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FBF" start="0x0F6B" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -42540,7 +42540,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F83J90" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F83J90" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FB0" start="0x0FB0" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -42711,7 +42711,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDD6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDD5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8410" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8410" unused_bank_mask="0x7FF8" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7C" start="0x0F70" />
<unused end="0x0F7D" start="0x0F7D" />
@@ -42861,7 +42861,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8490" unused_bank_tqmask="0x7FF8" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8490" unused_bank_mask="0x7FF8" >
<unused end="0x0F57" start="0x0F40" />
<unused end="0x0F7D" start="0x0F7D" />
<unused end="0x0FAA" start="0x0FA6" />
@@ -43038,7 +43038,7 @@
<sfr address="0x0F59" access="33303333" name="LCDCON" mclr="11101111" por="11101111" />
<sfr address="0x0F58" access="33333333" name="LCDPS" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F84J11" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F84J11" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FBF" start="0x0F6B" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -43178,7 +43178,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F84J90" unused_bank_tqmask="0x7FF0" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F84J90" unused_bank_mask="0x7FF0" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FB0" start="0x0FB0" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -43349,7 +43349,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDD6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDD5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8520" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8520" unused_bank_mask="0x7F00" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F9B" start="0x0F9B" />
@@ -43511,7 +43511,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8525" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8525" unused_bank_mask="0x0000" >
<unused end="0x0F66" start="0x0F00" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9B" start="0x0F9B" />
@@ -43682,7 +43682,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8527" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8527" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9C" start="0x0F9C" />
@@ -43859,7 +43859,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8585" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8585" unused_bank_mask="0x0000" >
<unused end="0x0D5F" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -44292,7 +44292,7 @@
<sfr address="0x0D61" access="33333033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J10" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J10" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -44467,7 +44467,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J11" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J11" unused_bank_mask="0x7F00" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FBF" start="0x0F6B" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -44607,7 +44607,7 @@
<sfr address="0x0F61" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F60" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J15" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J15" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -44782,7 +44782,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -44975,7 +44975,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J90" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F85J90" unused_bank_mask="0x7F00" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FB0" start="0x0FB0" />
<combined address="0x0FFD" size="3" name="TOS" />
@@ -45147,7 +45147,7 @@
<sfr address="0x0F6C" access="33333333" name="LCDDATA6" mclr="33333333" por="00000000" />
<sfr address="0x0F6B" access="33333333" name="LCDDATA5" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8620" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8620" unused_bank_mask="0x0000" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F9B" start="0x0F9B" />
@@ -45309,7 +45309,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8621" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8621" unused_bank_mask="0x0000" >
<unused end="0x0F66" start="0x0F00" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9B" start="0x0F9B" />
@@ -45480,7 +45480,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8622" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8622" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9C" start="0x0F9C" />
@@ -45657,7 +45657,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8627" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8627" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9C" start="0x0F9C" />
@@ -45834,7 +45834,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8680" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8680" unused_bank_mask="0x0000" >
<unused end="0x0D5F" start="0x0D00" />
<unused end="0x0D6F" start="0x0D6C" />
<unused end="0x0D7F" start="0x0D7C" />
@@ -46267,7 +46267,7 @@
<sfr address="0x0D61" access="33333033" name="RXF6SIDL" mclr="33333033" por="00000000" />
<sfr address="0x0D60" access="33333333" name="RXF6SIDH" mclr="33333333" por="00000000" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J10" unused_bank_tqmask="0x7F00" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J10" unused_bank_mask="0x7F00" >
<unused end="0x0F5F" start="0x0F00" />
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
@@ -46442,7 +46442,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J11" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J11" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -46635,7 +46635,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J15" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J15" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0FAA" start="0x0FA8" />
@@ -46809,7 +46809,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J16" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J16" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -47002,7 +47002,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -47195,7 +47195,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J55" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J55" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -47388,7 +47388,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -47649,7 +47649,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J65" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F86J65" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -47910,7 +47910,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8720" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8720" unused_bank_mask="0x0000" >
<unused end="0x0F6A" start="0x0F00" />
<unused end="0x0F7F" start="0x0F79" />
<unused end="0x0F9B" start="0x0F9B" />
@@ -48072,7 +48072,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F8722" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F8722" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0F9C" start="0x0F9C" />
@@ -48249,7 +48249,7 @@
<sfr address="0x0F6C" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J10" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J10" unused_bank_mask="0x0000" >
<unused end="0x0F61" start="0x0F60" />
<unused end="0x0F7B" start="0x0F7A" />
<unused end="0x0FAA" start="0x0FA8" />
@@ -48423,7 +48423,7 @@
<sfr address="0x0F6C" access="33330313" name="TXSTA2" mclr="11110121" por="11110121" />
<sfr address="0x0F6B" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J11" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J11" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -48616,7 +48616,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J50" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J50" unused_bank_mask="0x0000" >
<unused end="0x0F59" start="0x0F40" />
<combined address="0x0FFD" size="3" name="TOS" />
<sfr address="0x0FFF" access="00033333" name="TOSU" mclr="00011111" por="00011111" />
@@ -48809,7 +48809,7 @@
<sfr address="0x0FA8" access="33333313" name="TXSTA2" mclr="11111121" por="11111121" />
<sfr address="0x0F9C" access="33333111" name="RCSTA2" mclr="11111110" por="11111110" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F87J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -49070,7 +49070,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F96J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F96J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -49335,7 +49335,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F96J65" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F96J65" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />
@@ -49600,7 +49600,7 @@
<sfr address="0x0E81" access="33333333" name="MAADR6" mclr="11111111" por="11111111" />
<sfr address="0x0E80" access="33333333" name="MAADR5" mclr="11111111" por="11111111" />
</device>
- <device nb_banks="16" access_bank_split_offset="0x60" name="18F97J60" unused_bank_tqmask="0x0000" >
+ <device nb_banks="16" access_bank_split_offset="0x60" name="18F97J60" unused_bank_mask="0x0000" >
<unused end="0x0FD4" start="0x0FD4" />
<unused end="0x0FAA" start="0x0FA8" />
<unused end="0x0EFF" start="0x0EFF" />