4484 lines
183 KiB
Plaintext
4484 lines
183 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: HT32F522xx On-Chip Peripherals
|
|
; @Props: Released
|
|
; @Author: NEJ
|
|
; @Changelog: 2024-01-08 NEJ
|
|
; @Manufacturer: HOLTEK - HOLTEK Semiconductor Inc.
|
|
; @Doc: Generated (TRACE32, build: 165838.), based on:
|
|
; HT32F52220_30.svd (Ver. 1.0), HT32F52243_53.svd (Ver. 1.0)
|
|
; @Core: Cortex-M0+
|
|
; @Chip: HT32F52220, HT32F52230, HT32F52243, HT32F52253
|
|
; @Copyright: (C) 1989-2024 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: perht32f522xx.per 17321 2024-01-12 15:31:01Z kwisniewski $
|
|
|
|
AUTOINDENT.ON CENTER TREE
|
|
ENUMDELIMITER ","
|
|
base ad:0x0
|
|
tree.close "Core Registers (Cortex-M0+)"
|
|
AUTOINDENT.PUSH
|
|
AUTOINDENT.OFF
|
|
tree "System Control"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 0x8
|
|
if (CORENAME()=="CORTEXM1")
|
|
group.long 0x10++0x0b
|
|
line.long 0x00 "STCSR,SysTick Control and Status Register"
|
|
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
|
|
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "No effect,Processor clock"
|
|
textline " "
|
|
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
|
|
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
|
|
line.long 0x04 "STRVR,SysTick Reload Value Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
|
|
line.long 0x08 "STCVR,SysTick Current Value Register"
|
|
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
|
|
else
|
|
group.long 0x10++0x0b
|
|
line.long 0x00 "STCSR,SysTick Control and Status Register"
|
|
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
|
|
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "External clock,Processor clock"
|
|
textline " "
|
|
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
|
|
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
|
|
line.long 0x04 "STRVR,SysTick Reload Value Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
|
|
line.long 0x08 "STCVR,SysTick Current Value Register"
|
|
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
|
|
endif
|
|
if (CORENAME()=="CORTEXM1")
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "STCR,SysTick Calibration Value Register"
|
|
bitfld.long 0x00 31. " NOREF ,Reads as one" "0,1"
|
|
bitfld.long 0x00 30. " SKEW ,Reads as zero" "0,1"
|
|
textline " "
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Indicates calibration value is not known"
|
|
else
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "STCR,SysTick Calibration Value Register"
|
|
bitfld.long 0x00 31. " NOREF ,Indicates whether the IMPL_DEF reference clock is provided" "Implemented,Not implemented"
|
|
bitfld.long 0x00 30. " SKEW ,Indicates whether the 10ms calibration value is exact" "Exact,Inexact"
|
|
textline " "
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Holds a reload value to be used for 10ms (100Hz) timing subject to system clock skew errors"
|
|
endif
|
|
rgroup.long 0xd00++0x03
|
|
line.long 0x00 "CPUID,CPU ID Base Register"
|
|
hexmask.long.byte 0x00 24.--31. 1. " IMPLEMENTER ,Implementer code"
|
|
hexmask.long.byte 0x00 20.--23. 1. " VARIANT ,Implementation defined variant number"
|
|
textline " "
|
|
hexmask.long.byte 0x00 4.--15. 1. " PARTNO ,Number of processor within family"
|
|
hexmask.long.byte 0x00 0.--3. 1. " REVISION ,Implementation defined revision number"
|
|
group.long 0xd04++0x03
|
|
line.long 0x00 "ICSR,Interrupt Control State Register"
|
|
bitfld.long 0x00 31. " NMIPENDSET ,Setting this bit will activate an NMI" "No effect,Set pending"
|
|
bitfld.long 0x00 28. " PENDSVSET ,Set a pending PendSV interrupt" "No effect,Set pending"
|
|
textline " "
|
|
bitfld.long 0x00 27. " PENDSVCLR ,Clear a pending PendSV interrupt" "No effect,Clear pending"
|
|
bitfld.long 0x00 26. " PENDSTSET ,Set a pending SysTick" "No effect,Set pending"
|
|
textline " "
|
|
bitfld.long 0x00 25. " PENDSVCLR ,Clear a pending SysTick" "No effect,Clear pending"
|
|
bitfld.long 0x00 23. " ISRPREEMPT ,Pending exception service" "No service,Service"
|
|
textline " "
|
|
bitfld.long 0x00 22. " ISRPENDING ,External interrupt pending flag" "No interrupt,Interrupt"
|
|
hexmask.long.byte 0x00 12.--17. 1. " VECTPENDING ,Active exception number field"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--5. 1. " VECTACTIVET ,Active exception number field"
|
|
if (CORENAME()=="CORTEXM0+")
|
|
group.long 0xd08++0x03
|
|
line.long 0x00 "VTOR,Vector Table Offset Register"
|
|
hexmask.long 0x00 7.--31. 0x80 " TBLOFF ,Vector table address"
|
|
else
|
|
textline " "
|
|
endif
|
|
group.long 0xd0c++0x03
|
|
line.long 0x00 "AIRCR,Application Interrupt and Reset Control Register"
|
|
hexmask.long.word 0x00 16.--31. 1. " VECTKEY ,Vector Key"
|
|
bitfld.long 0x00 15. " ENDIANNESS ,Data endianness bit" "Little-endian,Big-endian"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SYSRESETREQ ,System reset setup request" "No effect,Reset"
|
|
bitfld.long 0x00 1. " VECTCLRACTIVE ,Clears all active state information" "No clear,Clear"
|
|
group.long 0xd10++0x03
|
|
line.long 0x00 "SCR,System Control Register"
|
|
bitfld.long 0x00 4. " SEVONPEND ,Determines whether an interrupt transition from inactive state to pending state is a wakeup event" "Not wakeup,Wakeup"
|
|
bitfld.long 0x00 2. " SLEEPDEEP ,Provides a qualifying hint indicating that waking from sleep might take longer" "Not deep sleep,Deep sleep"
|
|
textline " "
|
|
bitfld.long 0x00 1. " SLEEPONEXIT ,Determines whether, on an exit from an ISR that returns to the base level of execution priority, the processor enters a sleep state" "Disabled,Enabled"
|
|
rgroup.long 0xd14++0x03
|
|
line.long 0x00 "CCR,Configuration and Control Register"
|
|
bitfld.long 0x00 9. " STKALIGN ,Indicates whether on exception entry all exceptions are entered with 8-byte stack alignment and the context to restore it is saved" "Reserved,Aligned"
|
|
bitfld.long 0x00 3. " UNALIGN_TRP ,Indicates that all unaligned accesses results in a Hard Fault" "Reserved,Trapped"
|
|
group.long 0xd1c++0x0b
|
|
line.long 0x00 "SHPR2,System Handler Priority Register 2"
|
|
bitfld.long 0x00 30.--31. " PRI_11 ,Priority of system handler 11-SVCall" "00,01,10,11"
|
|
line.long 0x04 "SHPR3,System Handler Priority Register 3"
|
|
bitfld.long 0x04 30.--31. " PRI_15 ,Priority of system handler 15-SysTick" "00,01,10,11"
|
|
bitfld.long 0x04 22.--23. " PRI_14 ,Priority of system handler 14- PendSV" "00,01,10,11"
|
|
line.long 0x08 "SHCSR,System Handler Control and State Register"
|
|
bitfld.long 0x08 15. " SVCALLPENDED ,Reads as 1 if SVCall is pending" "Not pending,Pending"
|
|
if (CORENAME()=="CORTEXM0+")
|
|
hgroup.long 0x08++0x03
|
|
hide.long 0x00 "ACTLR,Auxiliary Control Register"
|
|
else
|
|
textline " "
|
|
endif
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Memory Protection Unit (MPU)"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 15.
|
|
rgroup.long 0xD90++0x03
|
|
line.long 0x00 "MPU_TYPE,MPU Type Register"
|
|
bitfld.long 0x00 8.--15. 1. " DREGION ,Number of regions supported by the MPU" "0,1,2,3,4,5,6,7,8,?..."
|
|
group.long 0xD94++0x03
|
|
line.long 0x00 "MPU_CTRL,MPU Control Register"
|
|
bitfld.long 0x00 2. " PRIVDEFENA ,Enables the default memory map as a background region for privileged access" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " HFNMIENA ,Handlers executing with priority less than 0 access memory with the MPU enabled or with the MPU disabled" "MPU disabled,MPU enabled"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables the MPU" "Disabled,Enabled"
|
|
group.long 0xD98++0x03
|
|
line.long 0x00 "MPU_RNR,MPU Region Number Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " REGION ,Indicates the memory region accessed by MPU_RBAR and MPU_RASR"
|
|
tree.close "MPU regions"
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x0
|
|
group.long 0xD9C++0x03 "Region 0"
|
|
saveout 0xD98 %l 0x0
|
|
line.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x0
|
|
line.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 0 (not implemented)"
|
|
saveout 0xD98 %l 0x0
|
|
hide.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x0
|
|
hide.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x1
|
|
group.long 0xD9C++0x03 "Region 1"
|
|
saveout 0xD98 %l 0x1
|
|
line.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x1
|
|
line.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 1 (not implemented)"
|
|
saveout 0xD98 %l 0x1
|
|
hide.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x1
|
|
hide.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x2
|
|
group.long 0xD9C++0x03 "Region 2"
|
|
saveout 0xD98 %l 0x2
|
|
line.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x2
|
|
line.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 2 (not implemented)"
|
|
saveout 0xD98 %l 0x2
|
|
hide.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x2
|
|
hide.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x3
|
|
group.long 0xD9C++0x03 "Region 3"
|
|
saveout 0xD98 %l 0x3
|
|
line.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x3
|
|
line.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 3 (not implemented)"
|
|
saveout 0xD98 %l 0x3
|
|
hide.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x3
|
|
hide.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x4
|
|
group.long 0xD9C++0x03 "Region 4"
|
|
saveout 0xD98 %l 0x4
|
|
line.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x4
|
|
line.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 4 (not implemented)"
|
|
saveout 0xD98 %l 0x4
|
|
hide.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x4
|
|
hide.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x5
|
|
group.long 0xD9C++0x03 "Region 5"
|
|
saveout 0xD98 %l 0x5
|
|
line.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x5
|
|
line.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 5 (not implemented)"
|
|
saveout 0xD98 %l 0x5
|
|
hide.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x5
|
|
hide.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x6
|
|
group.long 0xD9C++0x03 "Region 6"
|
|
saveout 0xD98 %l 0x6
|
|
line.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x6
|
|
line.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 6 (not implemented)"
|
|
saveout 0xD98 %l 0x6
|
|
hide.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x6
|
|
hide.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x7
|
|
group.long 0xD9C++0x03 "Region 7"
|
|
saveout 0xD98 %l 0x7
|
|
line.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7"
|
|
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
|
|
group.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x7
|
|
line.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7"
|
|
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
|
|
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
|
|
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
|
|
textline " "
|
|
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
|
|
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
|
|
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
|
|
textline " "
|
|
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
|
|
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
|
|
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
|
|
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
|
|
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
|
|
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
|
|
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
|
|
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
|
|
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
|
|
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
|
|
else
|
|
hgroup.long 0xD9C++0x03 "Region 7 (not implemented)"
|
|
saveout 0xD98 %l 0x7
|
|
hide.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7"
|
|
hgroup.long 0xDA0++0x03
|
|
saveout 0xD98 %l 0x7
|
|
hide.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7"
|
|
textline " "
|
|
textline " "
|
|
endif
|
|
tree.end
|
|
width 0x0b
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Nested Vectored Interrupt Controller (NVIC)"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 12.
|
|
tree "Interrupt Enable Registers"
|
|
group.long 0x100++0x03
|
|
line.long 0x00 "SET/CLREN,Interrupt Set/Clear Enable Register"
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
tree.end
|
|
tree "Interrupt Pending Registers"
|
|
group.long 0x200++0x03
|
|
line.long 0x00 "SET/CLRPEN,Interrupt Set/Clear Pending Register"
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRPEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRPEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRPEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRPEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRPEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRPEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRPEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRPEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRPEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRPEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRPEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRPEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRPEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRPEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRPEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRPEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRPEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRPEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRPEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRPEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRPEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRPEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRPEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRPEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRPEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRPEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRPEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRPEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRPEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRPEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRPEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRPEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
tree.end
|
|
width 6.
|
|
tree "Interrupt Priority Registers"
|
|
group.long 0x400++0x1F
|
|
line.long 0x00 "INT0,Interrupt Priority Register"
|
|
bitfld.long 0x00 30.--31. " IP_3 ,Priority of interrupt 3" "0,1,2,3"
|
|
bitfld.long 0x00 22.--23. " IP_2 ,Priority of interrupt 2" "0,1,2,3"
|
|
bitfld.long 0x00 14.--15. " IP_1 ,Priority of interrupt 1" "0,1,2,3"
|
|
bitfld.long 0x00 6.--7. " IP_0 ,Priority of interrupt 0" "0,1,2,3"
|
|
line.long 0x04 "INT1,Interrupt Priority Register"
|
|
bitfld.long 0x04 30.--31. " IP_7 ,Priority of interrupt 7" "0,1,2,3"
|
|
bitfld.long 0x04 22.--23. " IP_6 ,Priority of interrupt 6" "0,1,2,3"
|
|
bitfld.long 0x04 14.--15. " IP_5 ,Priority of interrupt 5" "0,1,2,3"
|
|
bitfld.long 0x04 6.--7. " IP_4 ,Priority of interrupt 4" "0,1,2,3"
|
|
line.long 0x08 "INT2,Interrupt Priority Register"
|
|
bitfld.long 0x08 30.--31. " IP_11 ,Priority of interrupt 11" "0,1,2,3"
|
|
bitfld.long 0x08 22.--23. " IP_10 ,Priority of interrupt 10" "0,1,2,3"
|
|
bitfld.long 0x08 14.--15. " IP_9 ,Priority of interrupt 9" "0,1,2,3"
|
|
bitfld.long 0x08 6.--7. " IP_8 ,Priority of interrupt 8" "0,1,2,3"
|
|
line.long 0x0C "INT3,Interrupt Priority Register"
|
|
bitfld.long 0x0C 30.--31. " IP_15 ,Priority of interrupt 15" "0,1,2,3"
|
|
bitfld.long 0x0C 22.--23. " IP_14 ,Priority of interrupt 14" "0,1,2,3"
|
|
bitfld.long 0x0C 14.--15. " IP_13 ,Priority of interrupt 13" "0,1,2,3"
|
|
bitfld.long 0x0C 6.--7. " IP_12 ,Priority of interrupt 12" "0,1,2,3"
|
|
line.long 0x10 "INT4,Interrupt Priority Register"
|
|
bitfld.long 0x10 30.--31. " IP_19 ,Priority of interrupt 19" "0,1,2,3"
|
|
bitfld.long 0x10 22.--23. " IP_18 ,Priority of interrupt 18" "0,1,2,3"
|
|
bitfld.long 0x10 14.--15. " IP_17 ,Priority of interrupt 17" "0,1,2,3"
|
|
bitfld.long 0x10 6.--7. " IP_16 ,Priority of interrupt 16" "0,1,2,3"
|
|
line.long 0x14 "INT5,Interrupt Priority Register"
|
|
bitfld.long 0x14 30.--31. " IP_23 ,Priority of interrupt 23" "0,1,2,3"
|
|
bitfld.long 0x14 22.--23. " IP_22 ,Priority of interrupt 22" "0,1,2,3"
|
|
bitfld.long 0x14 14.--15. " IP_21 ,Priority of interrupt 21" "0,1,2,3"
|
|
bitfld.long 0x14 6.--7. " IP_20 ,Priority of interrupt 20" "0,1,2,3"
|
|
line.long 0x18 "INT6,Interrupt Priority Register"
|
|
bitfld.long 0x18 30.--31. " IP_27 ,Priority of interrupt 27" "0,1,2,3"
|
|
bitfld.long 0x18 22.--23. " IP_26 ,Priority of interrupt 26" "0,1,2,3"
|
|
bitfld.long 0x18 14.--15. " IP_25 ,Priority of interrupt 25" "0,1,2,3"
|
|
bitfld.long 0x18 6.--7. " IP_24 ,Priority of interrupt 24" "0,1,2,3"
|
|
line.long 0x1C "INT7,Interrupt Priority Register"
|
|
bitfld.long 0x1C 30.--31. " IP_31 ,Priority of interrupt 31" "0,1,2,3"
|
|
bitfld.long 0x1C 22.--23. " IP_30 ,Priority of interrupt 30" "0,1,2,3"
|
|
bitfld.long 0x1C 14.--15. " IP_29 ,Priority of interrupt 29" "0,1,2,3"
|
|
bitfld.long 0x1C 6.--7. " IP_28 ,Priority of interrupt 28" "0,1,2,3"
|
|
tree.end
|
|
width 0x0B
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Debug"
|
|
tree "Core Debug"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 0xA
|
|
group.long 0xD30++0x03
|
|
line.long 0x00 "DFSR,Data Fault Status Register"
|
|
eventfld.long 0x00 4. " EXTERNAL ,External debug request flag" "No occurred,Occurred"
|
|
eventfld.long 0x00 3. " VCATCH ,Vector catch flag" "No occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x00 2. " DWTRAP ,Data Watchpoint flag" "No match,Match"
|
|
textline " "
|
|
eventfld.long 0x00 1. " BKPT ,BKPT flag" "No match,Match"
|
|
eventfld.long 0x00 0. " HALTED ,Halt request flag" "No request,Request"
|
|
if (CORENAME()=="CORTEXM1")
|
|
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
textline " "
|
|
textfld " "
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
else
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
|
|
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
|
|
textline " "
|
|
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
endif
|
|
else
|
|
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
|
|
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
textline " "
|
|
textfld " "
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
else
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
|
|
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
|
|
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
|
|
textline " "
|
|
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
endif
|
|
endif
|
|
wgroup.long 0xDF4++0x03
|
|
line.long 0x00 "DCRSR,Debug Core Selector Register"
|
|
bitfld.long 0x00 16. " REGWnR ,Register Read/Write" "Read,Write"
|
|
bitfld.long 0x00 0.--4. " REGSEL ,Register Selection" "R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,Current SP,LR,DebugReturnAddress,xPSR Flags,MSP,PSP,Reserved,CONTROL[1]/PRIMASK[0],?..."
|
|
group.long 0xDF8++0x07
|
|
line.long 0x00 "DCRDR,Debug Core Register Data Register"
|
|
hexmask.long 0x00 0.--31. 1. " DATA ,Data for reading and writing registers to and from the processor"
|
|
line.long 0x04 "DEMCR,Debug Exception and Monitor Control Register"
|
|
bitfld.long 0x04 24. " DWTENA ,Global enable or disable for the DW unit" "Disabled,Enabled"
|
|
bitfld.long 0x04 10. " VC_HARDERR ,Debug trap on a Hard Fault" "No error,Error"
|
|
textline " "
|
|
bitfld.long 0x04 0. " VC_CORERESET ,Reset Vector Catch" "No reset,Reset"
|
|
width 0x0B
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Breakpoint Unit (BPU)"
|
|
sif COMPonent.AVAILABLE("BPU")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("BPU",-1))
|
|
width 8.
|
|
group.long 0x00++0x03
|
|
line.long 0x00 "BP_CTRL,Breakpoint Control Register"
|
|
bitfld.long 0x00 4.--7. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
bitfld.long 0x00 1. " KEY ,Key field" "No write,Write"
|
|
bitfld.long 0x00 0. " ENABLE ,Breakpoint unit enable bit" "Disabled,Enabled"
|
|
group.long 0x8++0x03
|
|
line.long 0x00 "B_COMP0,Breakpoint Comparator Registers 0"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 0" "Disabled,Enabled"
|
|
group.long 0xC++0x03
|
|
line.long 0x00 "B_COMP1,Breakpoint Comparator Registers 1"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 1" "Disabled,Enabled"
|
|
group.long 0x10++0x03
|
|
line.long 0x00 "B_COMP2,Breakpoint Comparator Registers 2"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 2" "Disabled,Enabled"
|
|
group.long 0x14++0x03
|
|
line.long 0x00 "B_COMP3,Breakpoint Comparator Registers 3"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 3" "Disabled,Enabled"
|
|
else
|
|
newline
|
|
textline "BPU component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Data Watchpoint and Trace Unit (DWT)"
|
|
sif COMPonent.AVAILABLE("DWT")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))
|
|
width 14.
|
|
rgroup.long 0x00++0x03
|
|
line.long 0x00 "DW_CTRL,DW Control Register "
|
|
bitfld.long 0x00 28.--31. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "DW_PCSR,DW Program Counter Sample Register"
|
|
hexmask.long 0x00 0.--31. 1. " EIASAMPLE ,Execution instruction address sample or 0xFFFFFFFF"
|
|
group.long 0x20++0x0b
|
|
line.long 0x00 "DW_COMP0,DW Comparator Register 0"
|
|
hexmask.long 0x00 0.--31. 1. " COMP1 ,Compare against PC or the data address"
|
|
line.long 0x04 "DW_MASK0,DW Mask Register 0"
|
|
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
|
|
line.long 0x08 "DW_FUNCTION0,DW Function Register 0"
|
|
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
|
|
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
|
|
group.long 0x30++0x0b
|
|
line.long 0x00 "DW_COMP1,DW Comparator Register 1"
|
|
hexmask.long 0x00 0.--31. 1. " COMP ,Compare against PC or the data address"
|
|
line.long 0x04 "DW_MASK1,DW Mask Register 1 "
|
|
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
|
|
line.long 0x08 "DW_FUNCTION1,DW Function Register 1"
|
|
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
|
|
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
|
|
else
|
|
newline
|
|
textline "DWT component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
AUTOINDENT.POP
|
|
tree.end
|
|
tree "ADC (Analog to Digital Converter)"
|
|
base ad:0x40010000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "ADCCR,ADCCR"
|
|
bitfld.long 0x0 16.--18. "ADSUBL,ADSUBL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x0 8.--10. "ADSEQL,ADSEQL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x0 7. "ADCEN,ADCEN" "0,1"
|
|
bitfld.long 0x0 6. "ADCRST,ADCRST" "0,1"
|
|
bitfld.long 0x0 0.--1. "ADMODE,ADMODE" "0,1,2,3"
|
|
line.long 0x4 "ADCLST0,ADCLST0"
|
|
hexmask.long.byte 0x4 24.--28. 1. "ADSEQ3,ADSEQ3"
|
|
hexmask.long.byte 0x4 16.--20. 1. "ADSEQ2,ADSEQ2"
|
|
hexmask.long.byte 0x4 8.--12. 1. "ADSEQ1,ADSEQ1"
|
|
hexmask.long.byte 0x4 0.--4. 1. "ADSEQ0,ADSEQ0"
|
|
line.long 0x8 "ADCLST1,ADCLST1"
|
|
hexmask.long.byte 0x8 24.--28. 1. "ADSEQ7,ADSEQ7"
|
|
hexmask.long.byte 0x8 16.--20. 1. "ADSEQ6,ADSEQ6"
|
|
hexmask.long.byte 0x8 8.--12. 1. "ADSEQ5,ADSEQ5"
|
|
hexmask.long.byte 0x8 0.--4. 1. "ADSEQ4,ADSEQ4"
|
|
group.long 0x20++0x3
|
|
line.long 0x0 "ADCSTR,ADCSTR"
|
|
hexmask.long.byte 0x0 0.--7. 1. "ADST,ADST"
|
|
group.long 0x30++0x1F
|
|
line.long 0x0 "ADCDR0,ADCDR0"
|
|
bitfld.long 0x0 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x0 0.--15. 1. "ADD,ADD"
|
|
line.long 0x4 "ADCDR1,ADCDR1"
|
|
bitfld.long 0x4 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x4 0.--15. 1. "ADD,ADD"
|
|
line.long 0x8 "ADCDR2,ADCDR2"
|
|
bitfld.long 0x8 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x8 0.--15. 1. "ADD,ADD"
|
|
line.long 0xC "ADCDR3,ADCDR3"
|
|
bitfld.long 0xC 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0xC 0.--15. 1. "ADD,ADD"
|
|
line.long 0x10 "ADCDR4,ADCDR4"
|
|
bitfld.long 0x10 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x10 0.--15. 1. "ADD,ADD"
|
|
line.long 0x14 "ADCDR5,ADCDR5"
|
|
bitfld.long 0x14 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x14 0.--15. 1. "ADD,ADD"
|
|
line.long 0x18 "ADCDR6,ADCDR6"
|
|
bitfld.long 0x18 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x18 0.--15. 1. "ADD,ADD"
|
|
line.long 0x1C "ADCDR7,ADCDR7"
|
|
bitfld.long 0x1C 31. "ADVLD,ADVLD" "0,1"
|
|
hexmask.long.word 0x1C 0.--15. 1. "ADD,ADD"
|
|
group.long 0x70++0x1F
|
|
line.long 0x0 "ADCTCR,ADCTCR"
|
|
bitfld.long 0x0 3. "BFTM,BFTM" "0,1"
|
|
bitfld.long 0x0 2. "TM,TM" "0,1"
|
|
bitfld.long 0x0 1. "ADEXTI,ADEXTI" "0,1"
|
|
bitfld.long 0x0 0. "ADSW,ADSW" "0,1"
|
|
line.long 0x4 "ADCTSR,ADCTSR"
|
|
bitfld.long 0x4 24.--26. "TME,TME" "0,1,2,3,4,5,6,7"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 19. "BFTMS,BFTMS" "0,1"
|
|
endif
|
|
bitfld.long 0x4 16.--18. "TMS,TMS" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.byte 0x4 8.--11. 1. "ADEXTIS,ADEXTIS"
|
|
bitfld.long 0x4 0. "ADSC,ADSC" "0,1"
|
|
line.long 0x8 "ADCWCR,ADCWCR"
|
|
hexmask.long.byte 0x8 24.--27. 1. "ADUCH,ADUCH"
|
|
hexmask.long.byte 0x8 16.--19. 1. "ADLCH,ADLCH"
|
|
hexmask.long.byte 0x8 8.--11. 1. "ADWCH,ADWCH"
|
|
bitfld.long 0x8 2. "ADWALL,ADWALL" "0,1"
|
|
bitfld.long 0x8 1. "ADWUE,ADWUE" "0,1"
|
|
bitfld.long 0x8 0. "ADWLE,ADWLE" "0,1"
|
|
line.long 0xC "ADCTR,ADCTR"
|
|
hexmask.long.word 0xC 16.--27. 1. "ADUT,ADUT"
|
|
hexmask.long.word 0xC 0.--11. 1. "ADLT,ADLT"
|
|
line.long 0x10 "ADCIER,ADCIER"
|
|
bitfld.long 0x10 24. "ADIEO,ADIEO" "0,1"
|
|
bitfld.long 0x10 17. "ADIEU,ADIEU" "0,1"
|
|
bitfld.long 0x10 16. "ADIEL,ADIEL" "0,1"
|
|
bitfld.long 0x10 2. "ADIEC,ADIEC" "0,1"
|
|
bitfld.long 0x10 1. "ADIEG,ADIEG" "0,1"
|
|
bitfld.long 0x10 0. "ADIES,ADIES" "0,1"
|
|
line.long 0x14 "ADCIRAW,ADCIRAW"
|
|
bitfld.long 0x14 24. "ADIRAWO,ADIRAWO" "0,1"
|
|
bitfld.long 0x14 17. "ADIRAWU,ADIRAWU" "0,1"
|
|
bitfld.long 0x14 16. "ADIRAWL,ADIRAWL" "0,1"
|
|
bitfld.long 0x14 2. "ADIRAWC,ADIRAWC" "0,1"
|
|
bitfld.long 0x14 1. "ADIRAWG,ADIRAWG" "0,1"
|
|
bitfld.long 0x14 0. "ADIRAWS,ADIRAWS" "0,1"
|
|
line.long 0x18 "ADCISR,ADCISR"
|
|
bitfld.long 0x18 24. "ADISRO,ADISRO" "0,1"
|
|
bitfld.long 0x18 17. "ADISRU,ADISRU" "0,1"
|
|
bitfld.long 0x18 16. "ADISRL,ADISRL" "0,1"
|
|
bitfld.long 0x18 2. "ADISRC,ADISRC" "0,1"
|
|
bitfld.long 0x18 1. "ADISRG,ADISRG" "0,1"
|
|
bitfld.long 0x18 0. "ADISRS,ADISRS" "0,1"
|
|
line.long 0x1C "ADCICLR,ADCICLR"
|
|
bitfld.long 0x1C 24. "ADICLRO,ADICLRO" "0,1"
|
|
bitfld.long 0x1C 17. "ADICLRU,ADICLRU" "0,1"
|
|
bitfld.long 0x1C 16. "ADICLRL,ADICLRL" "0,1"
|
|
bitfld.long 0x1C 2. "ADICLRC,ADICLRC" "0,1"
|
|
bitfld.long 0x1C 1. "ADICLRG,ADICLRG" "0,1"
|
|
bitfld.long 0x1C 0. "ADICLRS,ADICLRS" "0,1"
|
|
tree.end
|
|
tree "AFIO (Alternate Function Input/Output Control Unit)"
|
|
base ad:0x40022000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "ESSR0,ESSR0"
|
|
hexmask.long.byte 0x0 28.--31. 1. "EXTI7PIN,EXTI7PIN"
|
|
hexmask.long.byte 0x0 24.--27. 1. "EXTI6PIN,EXTI6PIN"
|
|
hexmask.long.byte 0x0 20.--23. 1. "EXTI5PIN,EXTI5PIN"
|
|
hexmask.long.byte 0x0 16.--19. 1. "EXTI4PIN,EXTI4PIN"
|
|
hexmask.long.byte 0x0 12.--15. 1. "EXTI3PIN,EXTI3PIN"
|
|
hexmask.long.byte 0x0 8.--11. 1. "EXTI2PIN,EXTI2PIN"
|
|
hexmask.long.byte 0x0 4.--7. 1. "EXTI1PIN,EXTI1PIN"
|
|
hexmask.long.byte 0x0 0.--3. 1. "EXTI0PIN,EXTI0PIN"
|
|
line.long 0x4 "ESSR1,ESSR1"
|
|
hexmask.long.byte 0x4 28.--31. 1. "EXTI15PIN,EXTI15PIN"
|
|
hexmask.long.byte 0x4 24.--27. 1. "EXTI14PIN,EXTI14PIN"
|
|
hexmask.long.byte 0x4 20.--23. 1. "EXTI13PIN,EXTI13PIN"
|
|
hexmask.long.byte 0x4 16.--19. 1. "EXTI12PIN,EXTI12PIN"
|
|
hexmask.long.byte 0x4 12.--15. 1. "EXTI11PIN,EXTI11PIN"
|
|
hexmask.long.byte 0x4 8.--11. 1. "EXTI10PIN,EXTI10PIN"
|
|
hexmask.long.byte 0x4 4.--7. 1. "EXTI9PIN,EXTI9PIN"
|
|
hexmask.long.byte 0x4 0.--3. 1. "EXTI8PIN,EXTI8PIN"
|
|
group.long 0x20++0xF
|
|
line.long 0x0 "GPACFGLR,GPACFGLR"
|
|
hexmask.long.byte 0x0 28.--31. 1. "PxCFG7,PxCFG7"
|
|
hexmask.long.byte 0x0 24.--27. 1. "PxCFG6,PxCFG6"
|
|
hexmask.long.byte 0x0 20.--23. 1. "PxCFG5,PxCFG5"
|
|
hexmask.long.byte 0x0 16.--19. 1. "PxCFG4,PxCFG4"
|
|
hexmask.long.byte 0x0 12.--15. 1. "PxCFG3,PxCFG3"
|
|
hexmask.long.byte 0x0 8.--11. 1. "PxCFG2,PxCFG2"
|
|
hexmask.long.byte 0x0 4.--7. 1. "PxCFG1,PxCFG1"
|
|
hexmask.long.byte 0x0 0.--3. 1. "PxCFG0,PxCFG0"
|
|
line.long 0x4 "GPACFGHR,GPACFGHR"
|
|
hexmask.long.byte 0x4 28.--31. 1. "PxCFG15,PxCFG15"
|
|
hexmask.long.byte 0x4 24.--27. 1. "PxCFG14,PxCFG14"
|
|
hexmask.long.byte 0x4 20.--23. 1. "PxCFG13,PxCFG13"
|
|
hexmask.long.byte 0x4 16.--19. 1. "PxCFG12,PxCFG12"
|
|
hexmask.long.byte 0x4 12.--15. 1. "PxCFG11,PxCFG11"
|
|
hexmask.long.byte 0x4 8.--11. 1. "PxCFG10,PxCFG10"
|
|
hexmask.long.byte 0x4 4.--7. 1. "PxCFG9,PxCFG9"
|
|
hexmask.long.byte 0x4 0.--3. 1. "PxCFG8,PxCFG8"
|
|
line.long 0x8 "GPBCFGLR,GPBCFGLR"
|
|
hexmask.long.byte 0x8 28.--31. 1. "PxCFG7,PxCFG7"
|
|
hexmask.long.byte 0x8 24.--27. 1. "PxCFG6,PxCFG6"
|
|
hexmask.long.byte 0x8 20.--23. 1. "PxCFG5,PxCFG5"
|
|
hexmask.long.byte 0x8 16.--19. 1. "PxCFG4,PxCFG4"
|
|
hexmask.long.byte 0x8 12.--15. 1. "PxCFG3,PxCFG3"
|
|
hexmask.long.byte 0x8 8.--11. 1. "PxCFG2,PxCFG2"
|
|
hexmask.long.byte 0x8 4.--7. 1. "PxCFG1,PxCFG1"
|
|
hexmask.long.byte 0x8 0.--3. 1. "PxCFG0,PxCFG0"
|
|
line.long 0xC "GPBCFGHR,GPBCFGHR"
|
|
hexmask.long.byte 0xC 28.--31. 1. "PxCFG15,PxCFG15"
|
|
hexmask.long.byte 0xC 24.--27. 1. "PxCFG14,PxCFG14"
|
|
hexmask.long.byte 0xC 20.--23. 1. "PxCFG13,PxCFG13"
|
|
hexmask.long.byte 0xC 16.--19. 1. "PxCFG12,PxCFG12"
|
|
hexmask.long.byte 0xC 12.--15. 1. "PxCFG11,PxCFG11"
|
|
hexmask.long.byte 0xC 8.--11. 1. "PxCFG10,PxCFG10"
|
|
hexmask.long.byte 0xC 4.--7. 1. "PxCFG9,PxCFG9"
|
|
hexmask.long.byte 0xC 0.--3. 1. "PxCFG8,PxCFG8"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
group.long 0x30++0xF
|
|
line.long 0x0 "GPCCFGLR,GPCCFGLR"
|
|
hexmask.long.byte 0x0 28.--31. 1. "PxCFG7,PxCFG7"
|
|
hexmask.long.byte 0x0 24.--27. 1. "PxCFG6,PxCFG6"
|
|
newline
|
|
hexmask.long.byte 0x0 20.--23. 1. "PxCFG5,PxCFG5"
|
|
hexmask.long.byte 0x0 16.--19. 1. "PxCFG4,PxCFG4"
|
|
newline
|
|
hexmask.long.byte 0x0 12.--15. 1. "PxCFG3,PxCFG3"
|
|
hexmask.long.byte 0x0 8.--11. 1. "PxCFG2,PxCFG2"
|
|
newline
|
|
hexmask.long.byte 0x0 4.--7. 1. "PxCFG1,PxCFG1"
|
|
hexmask.long.byte 0x0 0.--3. 1. "PxCFG0,PxCFG0"
|
|
line.long 0x4 "GPCCFGHR,GPCCFGHR"
|
|
hexmask.long.byte 0x4 28.--31. 1. "PxCFG15,PxCFG15"
|
|
hexmask.long.byte 0x4 24.--27. 1. "PxCFG14,PxCFG14"
|
|
newline
|
|
hexmask.long.byte 0x4 20.--23. 1. "PxCFG13,PxCFG13"
|
|
hexmask.long.byte 0x4 16.--19. 1. "PxCFG12,PxCFG12"
|
|
newline
|
|
hexmask.long.byte 0x4 12.--15. 1. "PxCFG11,PxCFG11"
|
|
hexmask.long.byte 0x4 8.--11. 1. "PxCFG10,PxCFG10"
|
|
newline
|
|
hexmask.long.byte 0x4 4.--7. 1. "PxCFG9,PxCFG9"
|
|
hexmask.long.byte 0x4 0.--3. 1. "PxCFG8,PxCFG8"
|
|
line.long 0x8 "GPDCFGLR,GPDCFGLR"
|
|
hexmask.long.byte 0x8 28.--31. 1. "PxCFG7,PxCFG7"
|
|
hexmask.long.byte 0x8 24.--27. 1. "PxCFG6,PxCFG6"
|
|
newline
|
|
hexmask.long.byte 0x8 20.--23. 1. "PxCFG5,PxCFG5"
|
|
hexmask.long.byte 0x8 16.--19. 1. "PxCFG4,PxCFG4"
|
|
newline
|
|
hexmask.long.byte 0x8 12.--15. 1. "PxCFG3,PxCFG3"
|
|
hexmask.long.byte 0x8 8.--11. 1. "PxCFG2,PxCFG2"
|
|
newline
|
|
hexmask.long.byte 0x8 4.--7. 1. "PxCFG1,PxCFG1"
|
|
hexmask.long.byte 0x8 0.--3. 1. "PxCFG0,PxCFG0"
|
|
line.long 0xC "GPDCFGHR,GPDCFGHR"
|
|
hexmask.long.byte 0xC 28.--31. 1. "PxCFG15,PxCFG15"
|
|
hexmask.long.byte 0xC 24.--27. 1. "PxCFG14,PxCFG14"
|
|
newline
|
|
hexmask.long.byte 0xC 20.--23. 1. "PxCFG13,PxCFG13"
|
|
hexmask.long.byte 0xC 16.--19. 1. "PxCFG12,PxCFG12"
|
|
newline
|
|
hexmask.long.byte 0xC 12.--15. 1. "PxCFG11,PxCFG11"
|
|
hexmask.long.byte 0xC 8.--11. 1. "PxCFG10,PxCFG10"
|
|
newline
|
|
hexmask.long.byte 0xC 4.--7. 1. "PxCFG9,PxCFG9"
|
|
hexmask.long.byte 0xC 0.--3. 1. "PxCFG8,PxCFG8"
|
|
endif
|
|
tree.end
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
base ad:0x40076000
|
|
elif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
base ad:0x0
|
|
endif
|
|
tree "BFTM (Basic Function Timer Module)"
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "BFTMCR,BFTMCR"
|
|
bitfld.long 0x0 2. "CEN,CEN" "0,1"
|
|
bitfld.long 0x0 1. "OSM,OSM" "0,1"
|
|
newline
|
|
bitfld.long 0x0 0. "MIEN,MIEN" "0,1"
|
|
line.long 0x4 "BFTMSR,BFTMSR"
|
|
bitfld.long 0x4 0. "MIF,MIF" "0,1"
|
|
line.long 0x8 "BFTMCNTR,BFTMCNTR"
|
|
hexmask.long 0x8 0.--31. 1. "CNT,CNT"
|
|
line.long 0xC "BFTMCMPR,BFTMCMPR"
|
|
hexmask.long 0xC 0.--31. 1. "CMP,CMP"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "BFTM0"
|
|
base ad:0x40076000
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "BFTMCR,BFTMCR"
|
|
bitfld.long 0x0 2. "CEN,CEN" "0,1"
|
|
bitfld.long 0x0 1. "OSM,OSM" "0,1"
|
|
bitfld.long 0x0 0. "MIEN,MIEN" "0,1"
|
|
line.long 0x4 "BFTMSR,BFTMSR"
|
|
bitfld.long 0x4 0. "MIF,MIF" "0,1"
|
|
line.long 0x8 "BFTMCNTR,BFTMCNTR"
|
|
hexmask.long 0x8 0.--31. 1. "CNT,CNT"
|
|
line.long 0xC "BFTMCMPR,BFTMCMPR"
|
|
hexmask.long 0xC 0.--31. 1. "CMP,CMP"
|
|
tree.end
|
|
tree "BFTM1"
|
|
base ad:0x40077000
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "BFTMCR,BFTMCR"
|
|
bitfld.long 0x0 2. "CEN,CEN" "0,1"
|
|
bitfld.long 0x0 1. "OSM,OSM" "0,1"
|
|
bitfld.long 0x0 0. "MIEN,MIEN" "0,1"
|
|
line.long 0x4 "BFTMSR,BFTMSR"
|
|
bitfld.long 0x4 0. "MIF,MIF" "0,1"
|
|
line.long 0x8 "BFTMCNTR,BFTMCNTR"
|
|
hexmask.long 0x8 0.--31. 1. "CNT,CNT"
|
|
line.long 0xC "BFTMCMPR,BFTMCMPR"
|
|
hexmask.long 0xC 0.--31. 1. "CMP,CMP"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
tree "CKCU (Clock Control Unit)"
|
|
base ad:0x40088000
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "GCFGR,GCFGR"
|
|
bitfld.long 0x0 29.--31. "LPMOD,LPMOD" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.byte 0x0 11.--15. 1. "CKREFPRE,CKREFPRE"
|
|
bitfld.long 0x0 8. "PLLSRC,PLLSRC" "0,1"
|
|
bitfld.long 0x0 0.--2. "CKOUTSRC,CKOUTSRC" "0,1,2,3,4,5,6,7"
|
|
line.long 0x4 "GCCR,GCCR"
|
|
bitfld.long 0x4 17. "PSRCEN,PSRCEN" "0,1"
|
|
bitfld.long 0x4 16. "CKMEN,CKMEN" "0,1"
|
|
bitfld.long 0x4 11. "HSIEN,HSIEN" "0,1"
|
|
bitfld.long 0x4 10. "HSEEN,HSEEN" "0,1"
|
|
bitfld.long 0x4 9. "PLLEN,PLLEN" "0,1"
|
|
bitfld.long 0x4 8. "HSEGAIN,HSEGAIN" "0,1"
|
|
bitfld.long 0x4 0.--2. "SW,SW" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "GCSR,GCSR"
|
|
bitfld.long 0x8 5. "LSIRDY,LSIRDY" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x8 4. "LSERDY,LSERDY" "0,1"
|
|
endif
|
|
bitfld.long 0x8 3. "HSIRDY,HSIRDY" "0,1"
|
|
bitfld.long 0x8 2. "HSERDY,HSERDY" "0,1"
|
|
bitfld.long 0x8 1. "PLLRDY,PLLRDY" "0,1"
|
|
line.long 0xC "GCIR,GCIR"
|
|
bitfld.long 0xC 16. "CKSIE,CKSIE" "0,1"
|
|
bitfld.long 0xC 0. "CKSF,CKSF" "0,1"
|
|
group.long 0x18++0x27
|
|
line.long 0x0 "PLLCFGR,PLLCFGR"
|
|
hexmask.long.byte 0x0 23.--26. 1. "PFBD,PFBD"
|
|
bitfld.long 0x0 21.--22. "POTD,POTD" "0,1,2,3"
|
|
line.long 0x4 "PLLCR,PLLCR"
|
|
bitfld.long 0x4 31. "PLLBPS,PLLBPS" "0,1"
|
|
line.long 0x8 "AHBCFGR,AHBCFGR"
|
|
bitfld.long 0x8 0.--2. "AHBPRE,AHBPRE" "0,1,2,3,4,5,6,7"
|
|
line.long 0xC "AHBCCR,AHBCCR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 24. "DIVEN,DIVEN" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 19. "PDEN,PDEN" "0,1"
|
|
bitfld.long 0xC 18. "PCEN,PCEN" "0,1"
|
|
endif
|
|
bitfld.long 0xC 17. "PBEN,PBEN" "0,1"
|
|
bitfld.long 0xC 16. "PAEN,PAEN" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 13. "CRCEN,CRCEN" "0,1"
|
|
endif
|
|
bitfld.long 0xC 11. "CKREFEN,CKREFEN" "0,1"
|
|
bitfld.long 0xC 6. "APBEN,APBEN" "0,1"
|
|
bitfld.long 0xC 5. "BMEN,BMEN" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 4. "PDMAEN,PDMAEN" "0,1"
|
|
newline
|
|
endif
|
|
bitfld.long 0xC 2. "SRAMEN,SRAMEN" "0,1"
|
|
bitfld.long 0xC 0. "FMCEN,FMCEN" "0,1"
|
|
line.long 0x10 "APBCFGR,APBCFGR"
|
|
bitfld.long 0x10 16.--18. "ADCDIV,ADCDIV" "0,1,2,3,4,5,6,7"
|
|
line.long 0x14 "APBCCR0,APBCCR0"
|
|
bitfld.long 0x14 15. "EXTIEN,EXTIEN" "0,1"
|
|
bitfld.long 0x14 14. "AFIOEN,AFIOEN" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x14 13. "UR3EN,UR3EN" "0,1"
|
|
bitfld.long 0x14 12. "UR2EN,UR2EN" "0,1"
|
|
bitfld.long 0x14 11. "UR1EN,UR1EN" "0,1"
|
|
bitfld.long 0x14 10. "UR0EN,UR0EN" "0,1"
|
|
bitfld.long 0x14 9. "USR1EN,USR1EN" "0,1"
|
|
bitfld.long 0x14 8. "USR0EN,USR0EN" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x14 10. "UREN,UREN" "0,1"
|
|
bitfld.long 0x14 8. "USREN,USREN" "0,1"
|
|
newline
|
|
bitfld.long 0x14 4. "SPIEN,SPIEN" "0,1"
|
|
bitfld.long 0x14 0. "I2CEN,I2CEN" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x14 5. "SPI1EN,SPI1EN" "0,1"
|
|
bitfld.long 0x14 4. "SPI0EN,SPI0EN" "0,1"
|
|
newline
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x14 2. "I2C2EN,I2C2EN" "0,1"
|
|
bitfld.long 0x14 1. "I2C1EN,I2C1EN" "0,1"
|
|
bitfld.long 0x14 0. "I2C0EN,I2C0EN" "0,1"
|
|
endif
|
|
line.long 0x18 "APBCCR1,APBCCR1"
|
|
bitfld.long 0x18 15. "EXTIEN,EXTIEN" "0,1"
|
|
bitfld.long 0x18 14. "AFIOEN,AFIOEN" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x18 13. "UR3EN,UR3EN" "0,1"
|
|
bitfld.long 0x18 12. "UR2EN,UR2EN" "0,1"
|
|
bitfld.long 0x18 11. "UR1EN,UR1EN" "0,1"
|
|
bitfld.long 0x18 10. "UR0EN,UR0EN" "0,1"
|
|
bitfld.long 0x18 9. "USR1EN,USR1EN" "0,1"
|
|
bitfld.long 0x18 8. "USR0EN,USR0EN" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x18 10. "UREN,UREN" "0,1"
|
|
bitfld.long 0x18 8. "USREN,USREN" "0,1"
|
|
newline
|
|
bitfld.long 0x18 4. "SPIEN,SPIEN" "0,1"
|
|
bitfld.long 0x18 0. "I2CEN,I2CEN" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x18 5. "SPI1EN,SPI1EN" "0,1"
|
|
bitfld.long 0x18 4. "SPI0EN,SPI0EN" "0,1"
|
|
newline
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x18 2. "I2C2EN,I2C2EN" "0,1"
|
|
bitfld.long 0x18 1. "I2C1EN,I2C1EN" "0,1"
|
|
bitfld.long 0x18 0. "I2C0EN,I2C0EN" "0,1"
|
|
endif
|
|
line.long 0x1C "CKST,CKST"
|
|
bitfld.long 0x1C 24.--26. "HSIST,HSIST" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x1C 16.--17. "HSEST,HSEST" "0,1,2,3"
|
|
hexmask.long.byte 0x1C 8.--11. 1. "PLLST,PLLST"
|
|
bitfld.long 0x1C 0.--2. "CKSWST,CKSWST" "0,1,2,3,4,5,6,7"
|
|
line.long 0x20 "APBPCSR0,APBPCSR0"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x20 30.--31. "UR1PCLK,UR1PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 28.--29. "UR0PCLK,UR0PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 26.--27. "USR1PCLK,USR1PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 24.--25. "USR0PCLK,USR0PCLK" "0,1,2,3"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x20 28.--29. "URPCLK,URPCLK" "0,1,2,3"
|
|
bitfld.long 0x20 24.--25. "USRPCLK,USRPCLK" "0,1,2,3"
|
|
bitfld.long 0x20 12.--13. "BFTMPCLK,BFTMPCLK" "0,1,2,3"
|
|
bitfld.long 0x20 4.--5. "SPIPCLK,SPIPCLK" "0,1,2,3"
|
|
bitfld.long 0x20 0.--1. "I2CPCLK,I2CPCLK" "0,1,2,3"
|
|
endif
|
|
bitfld.long 0x20 20.--21. "GPTMPCLK,GPTMPCLK" "0,1,2,3"
|
|
newline
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x20 16.--17. "MCTMPCLK,MCTMPCLK" "0,1,2,3"
|
|
bitfld.long 0x20 14.--15. "BFTM1PCLK,BFTM1PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 12.--13. "BFTM0PCLK,BFTM0PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 10.--11. "UR3PCLK,UR3PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 8.--9. "UR2PCLK,UR2PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 6.--7. "SPI1PCLK,SPI1PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 4.--5. "SPI0PCLK,SPI0PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 2.--3. "I2C1PCLK,I2C1PCLK" "0,1,2,3"
|
|
bitfld.long 0x20 0.--1. "I2C0PCLK,I2C0PCLK" "0,1,2,3"
|
|
endif
|
|
line.long 0x24 "APBPCSR1,APBPCSR1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x24 30.--31. "UR1PCLK,UR1PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 28.--29. "UR0PCLK,UR0PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 26.--27. "USR1PCLK,USR1PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 24.--25. "USR0PCLK,USR0PCLK" "0,1,2,3"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x24 28.--29. "URPCLK,URPCLK" "0,1,2,3"
|
|
bitfld.long 0x24 24.--25. "USRPCLK,USRPCLK" "0,1,2,3"
|
|
bitfld.long 0x24 12.--13. "BFTMPCLK,BFTMPCLK" "0,1,2,3"
|
|
bitfld.long 0x24 4.--5. "SPIPCLK,SPIPCLK" "0,1,2,3"
|
|
bitfld.long 0x24 0.--1. "I2CPCLK,I2CPCLK" "0,1,2,3"
|
|
endif
|
|
bitfld.long 0x24 20.--21. "GPTMPCLK,GPTMPCLK" "0,1,2,3"
|
|
newline
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x24 16.--17. "MCTMPCLK,MCTMPCLK" "0,1,2,3"
|
|
bitfld.long 0x24 14.--15. "BFTM1PCLK,BFTM1PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 12.--13. "BFTM0PCLK,BFTM0PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 10.--11. "UR3PCLK,UR3PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 8.--9. "UR2PCLK,UR2PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 6.--7. "SPI1PCLK,SPI1PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 4.--5. "SPI0PCLK,SPI0PCLK" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x24 2.--3. "I2C1PCLK,I2C1PCLK" "0,1,2,3"
|
|
bitfld.long 0x24 0.--1. "I2C0PCLK,I2C0PCLK" "0,1,2,3"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x300++0x3
|
|
line.long 0x0 "LPCR,LPCR"
|
|
bitfld.long 0x0 0. "VDDISO,VDDISO" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
group.long 0x40++0x7
|
|
line.long 0x0 "HSICR,HSICR"
|
|
hexmask.long.byte 0x0 24.--28. 1. "HSICOARSE,HSICOARSE"
|
|
hexmask.long.byte 0x0 16.--23. 1. "HSIFINE,HSIFINE"
|
|
newline
|
|
bitfld.long 0x0 7. "FLOCK,FLOCK" "0,1"
|
|
bitfld.long 0x0 5.--6. "REFCLKSEL,REFCLKSEL" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x0 4. "TMSEL,TMSEL" "0,1"
|
|
bitfld.long 0x0 1. "ATCEN,ATCEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 0. "TRIMEN,TRIMEN" "0,1"
|
|
line.long 0x4 "HSIATCR,HSIATCR"
|
|
hexmask.long.word 0x4 0.--13. 1. "ATCNT,ATCNT"
|
|
endif
|
|
group.long 0x304++0x3
|
|
line.long 0x0 "MCUDBGCR,MCUDBGCR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 28. "DBI2C2,DBI2C2" "0,1"
|
|
bitfld.long 0x0 27. "DBUR3,DBUR3" "0,1"
|
|
bitfld.long 0x0 26. "DBUR2,DBUR2" "0,1"
|
|
bitfld.long 0x0 25. "DBSCTM3,DBSCTM3" "0,1"
|
|
bitfld.long 0x0 24. "DBSCTM2,DBSCTM2" "0,1"
|
|
endif
|
|
bitfld.long 0x0 23. "DBSCTM1,DBSCTM1" "0,1"
|
|
bitfld.long 0x0 22. "DBSCTM0,DBSCTM0" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 20. "DBTRACE,DBTRACE" "0,1"
|
|
bitfld.long 0x0 19. "DBUR1,DBUR1" "0,1"
|
|
bitfld.long 0x0 18. "DBUR0,DBUR0" "0,1"
|
|
newline
|
|
bitfld.long 0x0 17. "DBBFTM1,DBBFTM1" "0,1"
|
|
bitfld.long 0x0 16. "DBBFTM0,DBBFTM0" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x0 18. "DBUR,DBUR" "0,1"
|
|
bitfld.long 0x0 16. "DBBFTM,DBBFTM" "0,1"
|
|
bitfld.long 0x0 12. "DBI2C,DBI2C" "0,1"
|
|
bitfld.long 0x0 10. "DBSPI,DBSPI" "0,1"
|
|
bitfld.long 0x0 8. "DBUSR,DBUSR" "0,1"
|
|
endif
|
|
bitfld.long 0x0 14. "DBDSLP2,DBDSLP2" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 13. "DBI2C1,DBI2C1" "0,1"
|
|
bitfld.long 0x0 12. "DBI2C0,DBI2C0" "0,1"
|
|
newline
|
|
bitfld.long 0x0 11. "DBSPI1,DBSPI1" "0,1"
|
|
bitfld.long 0x0 10. "DBSPI0,DBSPI0" "0,1"
|
|
bitfld.long 0x0 9. "DBUSR1,DBUSR1" "0,1"
|
|
bitfld.long 0x0 8. "DBUSR0,DBUSR0" "0,1"
|
|
endif
|
|
bitfld.long 0x0 6. "DBGPTM,DBGPTM" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 4. "DBMCTM,DBMCTM" "0,1"
|
|
endif
|
|
bitfld.long 0x0 3. "DBWDT,DBWDT" "0,1"
|
|
bitfld.long 0x0 2. "DBPD,DBPD" "0,1"
|
|
bitfld.long 0x0 1. "DBDSLP1,DBDSLP1" "0,1"
|
|
bitfld.long 0x0 0. "DBSLP,DBSLP" "0,1"
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "CRC (Cyclic Redundancy Check)"
|
|
base ad:0x4008A000
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "CRCCR,CRCCR"
|
|
bitfld.long 0x0 7. "SUMCMPL,SUMCMPL" "0,1"
|
|
bitfld.long 0x0 6. "SUMBYRV,SUMBYRV" "0,1"
|
|
bitfld.long 0x0 5. "SUMBIRV,SUMBIRV" "0,1"
|
|
bitfld.long 0x0 4. "DATCMPL,DATCMPL" "0,1"
|
|
bitfld.long 0x0 3. "DATBYRV,DATBYRV" "0,1"
|
|
bitfld.long 0x0 2. "DATBIRV,DATBIRV" "0,1"
|
|
bitfld.long 0x0 0.--1. "POLY,POLY" "0,1,2,3"
|
|
line.long 0x4 "CRCSDR,CRCSDR"
|
|
hexmask.long 0x4 0.--31. 1. "SEED,SEED"
|
|
line.long 0x8 "CRCCSR,CRCCSR"
|
|
hexmask.long 0x8 0.--31. 1. "CHKSUM,CHKSUM"
|
|
line.long 0xC "CRCDR,CRCDR"
|
|
hexmask.long 0xC 0.--31. 1. "CRCDATA,CRCDATA"
|
|
tree.end
|
|
tree "DIV (Divider)"
|
|
base ad:0x400CA000
|
|
group.long 0x0++0x13
|
|
line.long 0x0 "CR,CR"
|
|
bitfld.long 0x0 3. "COM,COM" "0,1"
|
|
bitfld.long 0x0 2. "ZEF,ZEF" "0,1"
|
|
bitfld.long 0x0 0. "START,START" "0,1"
|
|
line.long 0x4 "DDR,DDR"
|
|
hexmask.long 0x4 0.--31. 1. "DDR,DDR"
|
|
line.long 0x8 "DSR,DSR"
|
|
hexmask.long 0x8 0.--31. 1. "DSR,DSR"
|
|
line.long 0xC "QTR,QTR"
|
|
hexmask.long 0xC 0.--31. 1. "QTR,QTR"
|
|
line.long 0x10 "RMR,RMR"
|
|
hexmask.long 0x10 0.--31. 1. "RMR,RMR"
|
|
tree.end
|
|
endif
|
|
tree "EXTI (External Interrupt/Event Controller)"
|
|
base ad:0x40024000
|
|
group.long 0x0++0x5B
|
|
line.long 0x0 "CFGR0,EXTI_CFGR0"
|
|
bitfld.long 0x0 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x0 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x0 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x4 "CFGR1,EXTI_CFGR1"
|
|
bitfld.long 0x4 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x4 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x4 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x8 "CFGR2,EXTI_CFGR2"
|
|
bitfld.long 0x8 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x8 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x8 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0xC "CFGR3,EXTI_CFGR3"
|
|
bitfld.long 0xC 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0xC 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0xC 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x10 "CFGR4,EXTI_CFGR4"
|
|
bitfld.long 0x10 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x10 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x10 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x14 "CFGR5,EXTI_CFGR5"
|
|
bitfld.long 0x14 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x14 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x14 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x18 "CFGR6,EXTI_CFGR6"
|
|
bitfld.long 0x18 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x18 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x18 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x1C "CFGR7,EXTI_CFGR7"
|
|
bitfld.long 0x1C 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x1C 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x1C 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x20 "CFGR8,EXTI_CFGR8"
|
|
bitfld.long 0x20 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x20 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x20 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x24 "CFGR9,EXTI_CFGR9"
|
|
bitfld.long 0x24 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x24 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x24 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x28 "CFGR10,EXTI_CFGR10"
|
|
bitfld.long 0x28 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x28 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x28 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x2C "CFGR11,EXTI_CFGR11"
|
|
bitfld.long 0x2C 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x2C 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x2C 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x30 "CFGR12,EXTI_CFGR12"
|
|
bitfld.long 0x30 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x30 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x30 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x34 "CFGR13,EXTI_CFGR13"
|
|
bitfld.long 0x34 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x34 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x34 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x38 "CFGR14,EXTI_CFGR14"
|
|
bitfld.long 0x38 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x38 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x38 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x3C "CFGR15,EXTI_CFGR15"
|
|
bitfld.long 0x3C 31. "DBEN,DBEN" "0,1"
|
|
bitfld.long 0x3C 28.--30. "SRCTYPE,SRCTYPE" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x3C 0.--15. 1. "DBCNT,DBCNT"
|
|
line.long 0x40 "CR,EXTI_CR"
|
|
bitfld.long 0x40 15. "EXTI15EN,EXTI15EN" "0,1"
|
|
bitfld.long 0x40 14. "EXTI14EN,EXTI14EN" "0,1"
|
|
bitfld.long 0x40 13. "EXTI13EN,EXTI13EN" "0,1"
|
|
bitfld.long 0x40 12. "EXTI12EN,EXTI12EN" "0,1"
|
|
bitfld.long 0x40 11. "EXTI11EN,EXTI11EN" "0,1"
|
|
bitfld.long 0x40 10. "EXTI10EN,EXTI10EN" "0,1"
|
|
bitfld.long 0x40 9. "EXTI9EN,EXTI9EN" "0,1"
|
|
bitfld.long 0x40 8. "EXTI8EN,EXTI8EN" "0,1"
|
|
bitfld.long 0x40 7. "EXTI7EN,EXTI7EN" "0,1"
|
|
newline
|
|
bitfld.long 0x40 6. "EXTI6EN,EXTI6EN" "0,1"
|
|
bitfld.long 0x40 5. "EXTI5EN,EXTI5EN" "0,1"
|
|
bitfld.long 0x40 4. "EXTI4EN,EXTI4EN" "0,1"
|
|
bitfld.long 0x40 3. "EXTI3EN,EXTI3EN" "0,1"
|
|
bitfld.long 0x40 2. "EXTI2EN,EXTI2EN" "0,1"
|
|
bitfld.long 0x40 1. "EXTI1EN,EXTI1EN" "0,1"
|
|
bitfld.long 0x40 0. "EXTI0EN,EXTI0EN" "0,1"
|
|
line.long 0x44 "EDGEFLGR,EXTI_EDGEFLGR"
|
|
bitfld.long 0x44 15. "EXTI15EDF,EXTI15EDF" "0,1"
|
|
bitfld.long 0x44 14. "EXTI14EDF,EXTI14EDF" "0,1"
|
|
bitfld.long 0x44 13. "EXTI13EDF,EXTI13EDF" "0,1"
|
|
bitfld.long 0x44 12. "EXTI12EDF,EXTI12EDF" "0,1"
|
|
bitfld.long 0x44 11. "EXTI11EDF,EXTI11EDF" "0,1"
|
|
bitfld.long 0x44 10. "EXTI10EDF,EXTI10EDF" "0,1"
|
|
bitfld.long 0x44 9. "EXTI9EDF,EXTI9EDF" "0,1"
|
|
bitfld.long 0x44 8. "EXTI8EDF,EXTI8EDF" "0,1"
|
|
bitfld.long 0x44 7. "EXTI7EDF,EXTI7EDF" "0,1"
|
|
newline
|
|
bitfld.long 0x44 6. "EXTI6EDF,EXTI6EDF" "0,1"
|
|
bitfld.long 0x44 5. "EXTI5EDF,EXTI5EDF" "0,1"
|
|
bitfld.long 0x44 4. "EXTI4EDF,EXTI4EDF" "0,1"
|
|
bitfld.long 0x44 3. "EXTI3EDF,EXTI3EDF" "0,1"
|
|
bitfld.long 0x44 2. "EXTI2EDF,EXTI2EDF" "0,1"
|
|
bitfld.long 0x44 1. "EXTI1EDF,EXTI1EDF" "0,1"
|
|
bitfld.long 0x44 0. "EXTI0EDF,EXTI0EDF" "0,1"
|
|
line.long 0x48 "EDGESR,EXTI_EDGESR"
|
|
bitfld.long 0x48 15. "EXTI15EDS,EXTI15EDS" "0,1"
|
|
bitfld.long 0x48 14. "EXTI14EDS,EXTI14EDS" "0,1"
|
|
bitfld.long 0x48 13. "EXTI13EDS,EXTI13EDS" "0,1"
|
|
bitfld.long 0x48 12. "EXTI12EDS,EXTI12EDS" "0,1"
|
|
bitfld.long 0x48 11. "EXTI11EDS,EXTI11EDS" "0,1"
|
|
bitfld.long 0x48 10. "EXTI10EDS,EXTI10EDS" "0,1"
|
|
bitfld.long 0x48 9. "EXTI9EDS,EXTI9EDS" "0,1"
|
|
bitfld.long 0x48 8. "EXTI8EDS,EXTI8EDS" "0,1"
|
|
bitfld.long 0x48 7. "EXTI7EDS,EXTI7EDS" "0,1"
|
|
newline
|
|
bitfld.long 0x48 6. "EXTI6EDS,EXTI6EDS" "0,1"
|
|
bitfld.long 0x48 5. "EXTI5EDS,EXTI5EDS" "0,1"
|
|
bitfld.long 0x48 4. "EXTI4EDS,EXTI4EDS" "0,1"
|
|
bitfld.long 0x48 3. "EXTI3EDS,EXTI3EDS" "0,1"
|
|
bitfld.long 0x48 2. "EXTI2EDS,EXTI2EDS" "0,1"
|
|
bitfld.long 0x48 1. "EXTI1EDS,EXTI1EDS" "0,1"
|
|
bitfld.long 0x48 0. "EXTI0EDS,EXTI0EDS" "0,1"
|
|
line.long 0x4C "SSCR,EXTI_SSCR"
|
|
bitfld.long 0x4C 15. "EXTI15SC,EXTI15SC" "0,1"
|
|
bitfld.long 0x4C 14. "EXTI14SC,EXTI14SC" "0,1"
|
|
bitfld.long 0x4C 13. "EXTI13SC,EXTI13SC" "0,1"
|
|
bitfld.long 0x4C 12. "EXTI12SC,EXTI12SC" "0,1"
|
|
bitfld.long 0x4C 11. "EXTI11SC,EXTI11SC" "0,1"
|
|
bitfld.long 0x4C 10. "EXTI10SC,EXTI10SC" "0,1"
|
|
bitfld.long 0x4C 9. "EXTI9SC,EXTI9SC" "0,1"
|
|
bitfld.long 0x4C 8. "EXTI8SC,EXTI8SC" "0,1"
|
|
bitfld.long 0x4C 7. "EXTI7SC,EXTI7SC" "0,1"
|
|
newline
|
|
bitfld.long 0x4C 6. "EXTI6SC,EXTI6SC" "0,1"
|
|
bitfld.long 0x4C 5. "EXTI5SC,EXTI5SC" "0,1"
|
|
bitfld.long 0x4C 4. "EXTI4SC,EXTI4SC" "0,1"
|
|
bitfld.long 0x4C 3. "EXTI3SC,EXTI3SC" "0,1"
|
|
bitfld.long 0x4C 2. "EXTI2SC,EXTI2SC" "0,1"
|
|
bitfld.long 0x4C 1. "EXTI1SC,EXTI1SC" "0,1"
|
|
bitfld.long 0x4C 0. "EXTI0SC,EXTI0SC" "0,1"
|
|
line.long 0x50 "WAKUPCR,EXTI_WAKUPCR"
|
|
bitfld.long 0x50 31. "EVWUPIEN,EVWUPIEN" "0,1"
|
|
bitfld.long 0x50 15. "EXTI15WEN,EXTI15WEN" "0,1"
|
|
bitfld.long 0x50 14. "EXTI14WEN,EXTI14WEN" "0,1"
|
|
bitfld.long 0x50 13. "EXTI13WEN,EXTI13WEN" "0,1"
|
|
bitfld.long 0x50 12. "EXTI12WEN,EXTI12WEN" "0,1"
|
|
bitfld.long 0x50 11. "EXTI11WEN,EXTI11WEN" "0,1"
|
|
bitfld.long 0x50 10. "EXTI10WEN,EXTI10WEN" "0,1"
|
|
bitfld.long 0x50 9. "EXTI9WEN,EXTI9WEN" "0,1"
|
|
bitfld.long 0x50 8. "EXTI8WEN,EXTI8WEN" "0,1"
|
|
newline
|
|
bitfld.long 0x50 7. "EXTI7WEN,EXTI7WEN" "0,1"
|
|
bitfld.long 0x50 6. "EXTI6WEN,EXTI6WEN" "0,1"
|
|
bitfld.long 0x50 5. "EXTI5WEN,EXTI5WEN" "0,1"
|
|
bitfld.long 0x50 4. "EXTI4WEN,EXTI4WEN" "0,1"
|
|
bitfld.long 0x50 3. "EXTI3WEN,EXTI3WEN" "0,1"
|
|
bitfld.long 0x50 2. "EXTI2WEN,EXTI2WEN" "0,1"
|
|
bitfld.long 0x50 1. "EXTI1WEN,EXTI1WEN" "0,1"
|
|
bitfld.long 0x50 0. "EXTI0WEN,EXTI0WEN" "0,1"
|
|
line.long 0x54 "WAKUPPOLR,EXTI_WAKUPPOLR"
|
|
bitfld.long 0x54 15. "EXTI15WPOL,EXTI15WPOL" "0,1"
|
|
bitfld.long 0x54 14. "EXTI14WPOL,EXTI14WPOL" "0,1"
|
|
bitfld.long 0x54 13. "EXTI13WPOL,EXTI13WPOL" "0,1"
|
|
bitfld.long 0x54 12. "EXTI12WPOL,EXTI12WPOL" "0,1"
|
|
bitfld.long 0x54 11. "EXTI11WPOL,EXTI11WPOL" "0,1"
|
|
bitfld.long 0x54 10. "EXTI10WPOL,EXTI10WPOL" "0,1"
|
|
bitfld.long 0x54 9. "EXTI9WPOL,EXTI9WPOL" "0,1"
|
|
bitfld.long 0x54 8. "EXTI8WPOL,EXTI8WPOL" "0,1"
|
|
bitfld.long 0x54 7. "EXTI7WPOL,EXTI7WPOL" "0,1"
|
|
newline
|
|
bitfld.long 0x54 6. "EXTI6WPOL,EXTI6WPOL" "0,1"
|
|
bitfld.long 0x54 5. "EXTI5WPOL,EXTI5WPOL" "0,1"
|
|
bitfld.long 0x54 4. "EXTI4WPOL,EXTI4WPOL" "0,1"
|
|
bitfld.long 0x54 3. "EXTI3WPOL,EXTI3WPOL" "0,1"
|
|
bitfld.long 0x54 2. "EXTI2WPOL,EXTI2WPOL" "0,1"
|
|
bitfld.long 0x54 1. "EXTI1WPOL,EXTI1WPOL" "0,1"
|
|
bitfld.long 0x54 0. "EXTI0WPOL,EXTI0WPOL" "0,1"
|
|
line.long 0x58 "WAKUPFLG,EXTI_WAKUPFLG"
|
|
bitfld.long 0x58 15. "EXTI15WFL,EXTI15WFL" "0,1"
|
|
bitfld.long 0x58 14. "EXTI14WFL,EXTI14WFL" "0,1"
|
|
bitfld.long 0x58 13. "EXTI13WFL,EXTI13WFL" "0,1"
|
|
bitfld.long 0x58 12. "EXTI12WFL,EXTI12WFL" "0,1"
|
|
bitfld.long 0x58 11. "EXTI11WFL,EXTI11WFL" "0,1"
|
|
bitfld.long 0x58 10. "EXTI10WFL,EXTI10WFL" "0,1"
|
|
bitfld.long 0x58 9. "EXTI9WFL,EXTI9WFL" "0,1"
|
|
bitfld.long 0x58 8. "EXTI8WFL,EXTI8WFL" "0,1"
|
|
bitfld.long 0x58 7. "EXTI7WFL,EXTI7WFL" "0,1"
|
|
newline
|
|
bitfld.long 0x58 6. "EXTI6WFL,EXTI6WFL" "0,1"
|
|
bitfld.long 0x58 5. "EXTI5WFL,EXTI5WFL" "0,1"
|
|
bitfld.long 0x58 4. "EXTI4WFL,EXTI4WFL" "0,1"
|
|
bitfld.long 0x58 3. "EXTI3WFL,EXTI3WFL" "0,1"
|
|
bitfld.long 0x58 2. "EXTI2WFL,EXTI2WFL" "0,1"
|
|
bitfld.long 0x58 1. "EXTI1WFL,EXTI1WFL" "0,1"
|
|
bitfld.long 0x58 0. "EXTI0WFL,EXTI0WFL" "0,1"
|
|
tree.end
|
|
tree "FMC (Flash Memory Controller)"
|
|
base ad:0x40080000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "TADR,TADR"
|
|
hexmask.long 0x0 0.--31. 1. "TADB,TADB"
|
|
line.long 0x4 "WRDR,WRDR"
|
|
hexmask.long 0x4 0.--31. 1. "WRDB,WRDB"
|
|
group.long 0xC++0xF
|
|
line.long 0x0 "OCMR,OCMR"
|
|
hexmask.long.byte 0x0 0.--3. 1. "CMD,CMD"
|
|
line.long 0x4 "OPCR,OPCR"
|
|
hexmask.long.byte 0x4 1.--4. 1. "OPM,OPM"
|
|
line.long 0x8 "OIER,OIER"
|
|
bitfld.long 0x8 4. "OREIEN,OREIEN" "0,1"
|
|
bitfld.long 0x8 3. "IOCMIEN,IOCMIEN" "0,1"
|
|
bitfld.long 0x8 2. "OBEIEN,OBEIEN" "0,1"
|
|
bitfld.long 0x8 1. "ITADIEN,ITADIEN" "0,1"
|
|
bitfld.long 0x8 0. "ORFIEN,ORFIEN" "0,1"
|
|
line.long 0xC "OISR,OISR"
|
|
bitfld.long 0xC 17. "PPEF,PPEF" "0,1"
|
|
bitfld.long 0xC 16. "RORFF,RORFF" "0,1"
|
|
bitfld.long 0xC 4. "OREF,OREF" "0,1"
|
|
bitfld.long 0xC 3. "IOCMF,IOCMF" "0,1"
|
|
bitfld.long 0xC 2. "OBEF,OBEF" "0,1"
|
|
bitfld.long 0xC 1. "ITADF,ITADF" "0,1"
|
|
bitfld.long 0xC 0. "ORFF,ORFF" "0,1"
|
|
group.long 0x20++0x13
|
|
line.long 0x0 "PPSR0,PPSR0"
|
|
hexmask.long 0x0 0.--31. 1. "PPSB,PPSB"
|
|
line.long 0x4 "PPSR1,PPSR1"
|
|
hexmask.long 0x4 0.--31. 1. "PPSB,PPSB"
|
|
line.long 0x8 "PPSR2,PPSR2"
|
|
hexmask.long 0x8 0.--31. 1. "PPSB,PPSB"
|
|
line.long 0xC "PPSR3,PPSR3"
|
|
hexmask.long 0xC 0.--31. 1. "PPSB,PPSB"
|
|
line.long 0x10 "CPSR,CPSR"
|
|
bitfld.long 0x10 1. "OBPSB,OBPSB" "0,1"
|
|
bitfld.long 0x10 0. "CPSB,CPSB" "0,1"
|
|
group.long 0x100++0x3
|
|
line.long 0x0 "VMCR,VMCR"
|
|
bitfld.long 0x0 1. "VMCB,VMCB" "0,1"
|
|
group.long 0x180++0xB
|
|
line.long 0x0 "MDID,MDID"
|
|
hexmask.long.word 0x0 16.--31. 1. "MFID,MFID"
|
|
hexmask.long.word 0x0 0.--15. 1. "ChipID,ChipID"
|
|
line.long 0x4 "PNSR,PNSR"
|
|
hexmask.long 0x4 0.--31. 1. "PNSB,PNSB"
|
|
line.long 0x8 "PSSR,PSSR"
|
|
hexmask.long 0x8 0.--31. 1. "PSSB,PSSB"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
group.long 0x18C++0x3
|
|
line.long 0x0 "DIDR,DIDR"
|
|
hexmask.long.tbyte 0x0 0.--19. 1. "ChipID,ChipID"
|
|
endif
|
|
group.long 0x200++0x3
|
|
line.long 0x0 "CFCR,CFCR"
|
|
bitfld.long 0x0 4. "PFBE,PFBE" "0,1"
|
|
bitfld.long 0x0 0.--2. "WAIT,WAIT" "0,1,2,3,4,5,6,7"
|
|
group.long 0x310++0xF
|
|
line.long 0x0 "CIDR0,CIDR0"
|
|
hexmask.long 0x0 0.--31. 1. "CID,CID"
|
|
line.long 0x4 "CIDR1,CIDR1"
|
|
hexmask.long 0x4 0.--31. 1. "CID,CID"
|
|
line.long 0x8 "CIDR2,CIDR2"
|
|
hexmask.long 0x8 0.--31. 1. "CID,CID"
|
|
line.long 0xC "CIDR3,CIDR3"
|
|
hexmask.long 0xC 0.--31. 1. "CID,CID"
|
|
tree.end
|
|
tree "GPIO (General Purpose I/O)"
|
|
base ad:0x0
|
|
tree "GPIOA"
|
|
base ad:0x400B0000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "PADIRCR,PADIRCR"
|
|
bitfld.long 0x0 15. "PADIR15,PADIR15" "0,1"
|
|
bitfld.long 0x0 14. "PADIR14,PADIR14" "0,1"
|
|
bitfld.long 0x0 13. "PADIR13,PADIR13" "0,1"
|
|
bitfld.long 0x0 12. "PADIR12,PADIR12" "0,1"
|
|
bitfld.long 0x0 11. "PADIR11,PADIR11" "0,1"
|
|
bitfld.long 0x0 10. "PADIR10,PADIR10" "0,1"
|
|
bitfld.long 0x0 9. "PADIR9,PADIR9" "0,1"
|
|
bitfld.long 0x0 8. "PADIR8,PADIR8" "0,1"
|
|
bitfld.long 0x0 7. "PADIR7,PADIR7" "0,1"
|
|
bitfld.long 0x0 6. "PADIR6,PADIR6" "0,1"
|
|
bitfld.long 0x0 5. "PADIR5,PADIR5" "0,1"
|
|
newline
|
|
bitfld.long 0x0 4. "PADIR4,PADIR4" "0,1"
|
|
bitfld.long 0x0 3. "PADIR3,PADIR3" "0,1"
|
|
bitfld.long 0x0 2. "PADIR2,PADIR2" "0,1"
|
|
bitfld.long 0x0 1. "PADIR1,PADIR1" "0,1"
|
|
bitfld.long 0x0 0. "PADIR0,PADIR0" "0,1"
|
|
line.long 0x4 "PAINER,PAINER"
|
|
bitfld.long 0x4 15. "PAINEN15,PAINEN15" "0,1"
|
|
bitfld.long 0x4 14. "PAINEN14,PAINEN14" "0,1"
|
|
bitfld.long 0x4 13. "PAINEN13,PAINEN13" "0,1"
|
|
bitfld.long 0x4 12. "PAINEN12,PAINEN12" "0,1"
|
|
bitfld.long 0x4 11. "PAINEN11,PAINEN11" "0,1"
|
|
bitfld.long 0x4 10. "PAINEN10,PAINEN10" "0,1"
|
|
bitfld.long 0x4 9. "PAINEN9,PAINEN9" "0,1"
|
|
bitfld.long 0x4 8. "PAINEN8,PAINEN8" "0,1"
|
|
bitfld.long 0x4 7. "PAINEN7,PAINEN7" "0,1"
|
|
bitfld.long 0x4 6. "PAINEN6,PAINEN6" "0,1"
|
|
bitfld.long 0x4 5. "PAINEN5,PAINEN5" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "PAINEN4,PAINEN4" "0,1"
|
|
bitfld.long 0x4 3. "PAINEN3,PAINEN3" "0,1"
|
|
bitfld.long 0x4 2. "PAINEN2,PAINEN2" "0,1"
|
|
bitfld.long 0x4 1. "PAINEN1,PAINEN1" "0,1"
|
|
bitfld.long 0x4 0. "PAINEN0,PAINEN0" "0,1"
|
|
line.long 0x8 "PAPUR,PAPUR"
|
|
bitfld.long 0x8 15. "PAPU15,PAPU15" "0,1"
|
|
bitfld.long 0x8 14. "PAPU14,PAPU14" "0,1"
|
|
bitfld.long 0x8 13. "PAPU13,PAPU13" "0,1"
|
|
bitfld.long 0x8 12. "PAPU12,PAPU12" "0,1"
|
|
bitfld.long 0x8 11. "PAPU11,PAPU11" "0,1"
|
|
bitfld.long 0x8 10. "PAPU10,PAPU10" "0,1"
|
|
bitfld.long 0x8 9. "PAPU9,PAPU9" "0,1"
|
|
bitfld.long 0x8 8. "PAPU8,PAPU8" "0,1"
|
|
bitfld.long 0x8 7. "PAPU7,PAPU7" "0,1"
|
|
bitfld.long 0x8 6. "PAPU6,PAPU6" "0,1"
|
|
bitfld.long 0x8 5. "PAPU5,PAPU5" "0,1"
|
|
newline
|
|
bitfld.long 0x8 4. "PAPU4,PAPU4" "0,1"
|
|
bitfld.long 0x8 3. "PAPU3,PAPU3" "0,1"
|
|
bitfld.long 0x8 2. "PAPU2,PAPU2" "0,1"
|
|
bitfld.long 0x8 1. "PAPU1,PAPU1" "0,1"
|
|
bitfld.long 0x8 0. "PAPU0,PAPU0" "0,1"
|
|
line.long 0xC "PAPDR,PAPDR"
|
|
bitfld.long 0xC 15. "PAPD15,PAPD15" "0,1"
|
|
bitfld.long 0xC 14. "PAPD14,PAPD14" "0,1"
|
|
bitfld.long 0xC 13. "PAPD13,PAPD13" "0,1"
|
|
bitfld.long 0xC 12. "PAPD12,PAPD12" "0,1"
|
|
bitfld.long 0xC 11. "PAPD11,PAPD11" "0,1"
|
|
bitfld.long 0xC 10. "PAPD10,PAPD10" "0,1"
|
|
bitfld.long 0xC 9. "PAPD9,PAPD9" "0,1"
|
|
bitfld.long 0xC 8. "PAPD8,PAPD8" "0,1"
|
|
bitfld.long 0xC 7. "PAPD7,PAPD7" "0,1"
|
|
bitfld.long 0xC 6. "PAPD6,PAPD6" "0,1"
|
|
bitfld.long 0xC 5. "PAPD5,PAPD5" "0,1"
|
|
newline
|
|
bitfld.long 0xC 4. "PAPD4,PAPD4" "0,1"
|
|
bitfld.long 0xC 3. "PAPD3,PAPD3" "0,1"
|
|
bitfld.long 0xC 2. "PAPD2,PAPD2" "0,1"
|
|
bitfld.long 0xC 1. "PAPD1,PAPD1" "0,1"
|
|
bitfld.long 0xC 0. "PAPD0,PAPD0" "0,1"
|
|
line.long 0x10 "PAODR,PAODR"
|
|
bitfld.long 0x10 15. "PAOD15,PAOD15" "0,1"
|
|
bitfld.long 0x10 14. "PAOD14,PAOD14" "0,1"
|
|
bitfld.long 0x10 13. "PAOD13,PAOD13" "0,1"
|
|
bitfld.long 0x10 12. "PAOD12,PAOD12" "0,1"
|
|
bitfld.long 0x10 11. "PAOD11,PAOD11" "0,1"
|
|
bitfld.long 0x10 10. "PAOD10,PAOD10" "0,1"
|
|
bitfld.long 0x10 9. "PAOD9,PAOD9" "0,1"
|
|
bitfld.long 0x10 8. "PAOD8,PAOD8" "0,1"
|
|
bitfld.long 0x10 7. "PAOD7,PAOD7" "0,1"
|
|
bitfld.long 0x10 6. "PAOD6,PAOD6" "0,1"
|
|
bitfld.long 0x10 5. "PAOD5,PAOD5" "0,1"
|
|
newline
|
|
bitfld.long 0x10 4. "PAOD4,PAOD4" "0,1"
|
|
bitfld.long 0x10 3. "PAOD3,PAOD3" "0,1"
|
|
bitfld.long 0x10 2. "PAOD2,PAOD2" "0,1"
|
|
bitfld.long 0x10 1. "PAOD1,PAOD1" "0,1"
|
|
bitfld.long 0x10 0. "PAOD0,PAOD0" "0,1"
|
|
line.long 0x14 "PADRVR,PADRVR"
|
|
bitfld.long 0x14 30.--31. "PADV15,PADV15" "0,1,2,3"
|
|
bitfld.long 0x14 28.--29. "PADV14,PADV14" "0,1,2,3"
|
|
bitfld.long 0x14 26.--27. "PADV13,PADV13" "0,1,2,3"
|
|
bitfld.long 0x14 24.--25. "PADV12,PADV12" "0,1,2,3"
|
|
bitfld.long 0x14 22.--23. "PADV11,PADV11" "0,1,2,3"
|
|
bitfld.long 0x14 20.--21. "PADV10,PADV10" "0,1,2,3"
|
|
bitfld.long 0x14 18.--19. "PADV9,PADV9" "0,1,2,3"
|
|
bitfld.long 0x14 16.--17. "PADV8,PADV8" "0,1,2,3"
|
|
bitfld.long 0x14 14.--15. "PADV7,PADV7" "0,1,2,3"
|
|
bitfld.long 0x14 12.--13. "PADV6,PADV6" "0,1,2,3"
|
|
bitfld.long 0x14 10.--11. "PADV5,PADV5" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x14 8.--9. "PADV4,PADV4" "0,1,2,3"
|
|
bitfld.long 0x14 6.--7. "PADV3,PADV3" "0,1,2,3"
|
|
bitfld.long 0x14 4.--5. "PADV2,PADV2" "0,1,2,3"
|
|
bitfld.long 0x14 2.--3. "PADV1,PADV1" "0,1,2,3"
|
|
bitfld.long 0x14 0.--1. "PADV0,PADV0" "0,1,2,3"
|
|
line.long 0x18 "PALOCKR,PALOCKR"
|
|
hexmask.long.word 0x18 16.--31. 1. "PALKEY,PALKEY"
|
|
bitfld.long 0x18 15. "PALOCK15,PALOCK15" "0,1"
|
|
bitfld.long 0x18 14. "PALOCK14,PALOCK14" "0,1"
|
|
bitfld.long 0x18 13. "PALOCK13,PALOCK13" "0,1"
|
|
bitfld.long 0x18 12. "PALOCK12,PALOCK12" "0,1"
|
|
bitfld.long 0x18 11. "PALOCK11,PALOCK11" "0,1"
|
|
bitfld.long 0x18 10. "PALOCK10,PALOCK10" "0,1"
|
|
bitfld.long 0x18 9. "PALOCK9,PALOCK9" "0,1"
|
|
bitfld.long 0x18 8. "PALOCK8,PALOCK8" "0,1"
|
|
bitfld.long 0x18 7. "PALOCK7,PALOCK7" "0,1"
|
|
bitfld.long 0x18 6. "PALOCK6,PALOCK6" "0,1"
|
|
newline
|
|
bitfld.long 0x18 5. "PALOCK5,PALOCK5" "0,1"
|
|
bitfld.long 0x18 4. "PALOCK4,PALOCK4" "0,1"
|
|
bitfld.long 0x18 3. "PALOCK3,PALOCK3" "0,1"
|
|
bitfld.long 0x18 2. "PALOCK2,PALOCK2" "0,1"
|
|
bitfld.long 0x18 1. "PALOCK1,PALOCK1" "0,1"
|
|
bitfld.long 0x18 0. "PALOCK0,PALOCK0" "0,1"
|
|
line.long 0x1C "PADINR,PADINR"
|
|
bitfld.long 0x1C 15. "PADIN15,PADIN15" "0,1"
|
|
bitfld.long 0x1C 14. "PADIN14,PADIN14" "0,1"
|
|
bitfld.long 0x1C 13. "PADIN13,PADIN13" "0,1"
|
|
bitfld.long 0x1C 12. "PADIN12,PADIN12" "0,1"
|
|
bitfld.long 0x1C 11. "PADIN11,PADIN11" "0,1"
|
|
bitfld.long 0x1C 10. "PADIN10,PADIN10" "0,1"
|
|
bitfld.long 0x1C 9. "PADIN9,PADIN9" "0,1"
|
|
bitfld.long 0x1C 8. "PADIN8,PADIN8" "0,1"
|
|
bitfld.long 0x1C 7. "PADIN7,PADIN7" "0,1"
|
|
bitfld.long 0x1C 6. "PADIN6,PADIN6" "0,1"
|
|
bitfld.long 0x1C 5. "PADIN5,PADIN5" "0,1"
|
|
newline
|
|
bitfld.long 0x1C 4. "PADIN4,PADIN4" "0,1"
|
|
bitfld.long 0x1C 3. "PADIN3,PADIN3" "0,1"
|
|
bitfld.long 0x1C 2. "PADIN2,PADIN2" "0,1"
|
|
bitfld.long 0x1C 1. "PADIN1,PADIN1" "0,1"
|
|
bitfld.long 0x1C 0. "PADIN0,PADIN0" "0,1"
|
|
line.long 0x20 "PADOUTR,PADOUTR"
|
|
bitfld.long 0x20 15. "PADOUT15,PADOUT15" "0,1"
|
|
bitfld.long 0x20 14. "PADOUT14,PADOUT14" "0,1"
|
|
bitfld.long 0x20 13. "PADOUT13,PADOUT13" "0,1"
|
|
bitfld.long 0x20 12. "PADOUT12,PADOUT12" "0,1"
|
|
bitfld.long 0x20 11. "PADOUT11,PADOUT11" "0,1"
|
|
bitfld.long 0x20 10. "PADOUT10,PADOUT10" "0,1"
|
|
bitfld.long 0x20 9. "PADOUT9,PADOUT9" "0,1"
|
|
bitfld.long 0x20 8. "PADOUT8,PADOUT8" "0,1"
|
|
bitfld.long 0x20 7. "PADOUT7,PADOUT7" "0,1"
|
|
bitfld.long 0x20 6. "PADOUT6,PADOUT6" "0,1"
|
|
bitfld.long 0x20 5. "PADOUT5,PADOUT5" "0,1"
|
|
newline
|
|
bitfld.long 0x20 4. "PADOUT4,PADOUT4" "0,1"
|
|
bitfld.long 0x20 3. "PADOUT3,PADOUT3" "0,1"
|
|
bitfld.long 0x20 2. "PADOUT2,PADOUT2" "0,1"
|
|
bitfld.long 0x20 1. "PADOUT1,PADOUT1" "0,1"
|
|
bitfld.long 0x20 0. "PADOUT0,PADOUT0" "0,1"
|
|
line.long 0x24 "PASRR,PASRR"
|
|
bitfld.long 0x24 31. "PARST15,PARST15" "0,1"
|
|
bitfld.long 0x24 30. "PARST14,PARST14" "0,1"
|
|
bitfld.long 0x24 29. "PARST13,PARST13" "0,1"
|
|
bitfld.long 0x24 28. "PARST12,PARST12" "0,1"
|
|
bitfld.long 0x24 27. "PARST11,PARST11" "0,1"
|
|
bitfld.long 0x24 26. "PARST10,PARST10" "0,1"
|
|
bitfld.long 0x24 25. "PARST9,PARST9" "0,1"
|
|
bitfld.long 0x24 24. "PARST8,PARST8" "0,1"
|
|
bitfld.long 0x24 23. "PARST7,PARST7" "0,1"
|
|
bitfld.long 0x24 22. "PARST6,PARST6" "0,1"
|
|
bitfld.long 0x24 21. "PARST5,PARST5" "0,1"
|
|
newline
|
|
bitfld.long 0x24 20. "PARST4,PARST4" "0,1"
|
|
bitfld.long 0x24 19. "PARST3,PARST3" "0,1"
|
|
bitfld.long 0x24 18. "PARST2,PARST2" "0,1"
|
|
bitfld.long 0x24 17. "PARST1,PARST1" "0,1"
|
|
bitfld.long 0x24 16. "PARST0,PARST0" "0,1"
|
|
bitfld.long 0x24 15. "PASET15,PASET15" "0,1"
|
|
bitfld.long 0x24 14. "PASET14,PASET14" "0,1"
|
|
bitfld.long 0x24 13. "PASET13,PASET13" "0,1"
|
|
bitfld.long 0x24 12. "PASET12,PASET12" "0,1"
|
|
bitfld.long 0x24 11. "PASET11,PASET11" "0,1"
|
|
bitfld.long 0x24 10. "PASET10,PASET10" "0,1"
|
|
newline
|
|
bitfld.long 0x24 9. "PASET9,PASET9" "0,1"
|
|
bitfld.long 0x24 8. "PASET8,PASET8" "0,1"
|
|
bitfld.long 0x24 7. "PASET7,PASET7" "0,1"
|
|
bitfld.long 0x24 6. "PASET6,PASET6" "0,1"
|
|
bitfld.long 0x24 5. "PASET5,PASET5" "0,1"
|
|
bitfld.long 0x24 4. "PASET4,PASET4" "0,1"
|
|
bitfld.long 0x24 3. "PASET3,PASET3" "0,1"
|
|
bitfld.long 0x24 2. "PASET2,PASET2" "0,1"
|
|
bitfld.long 0x24 1. "PASET1,PASET1" "0,1"
|
|
bitfld.long 0x24 0. "PASET0,PASET0" "0,1"
|
|
line.long 0x28 "PARR,PARR"
|
|
bitfld.long 0x28 15. "PARST15,PARST15" "0,1"
|
|
bitfld.long 0x28 14. "PARST14,PARST14" "0,1"
|
|
bitfld.long 0x28 13. "PARST13,PARST13" "0,1"
|
|
bitfld.long 0x28 12. "PARST12,PARST12" "0,1"
|
|
bitfld.long 0x28 11. "PARST11,PARST11" "0,1"
|
|
bitfld.long 0x28 10. "PARST10,PARST10" "0,1"
|
|
bitfld.long 0x28 9. "PARST9,PARST9" "0,1"
|
|
bitfld.long 0x28 8. "PARST8,PARST8" "0,1"
|
|
bitfld.long 0x28 7. "PARST7,PARST7" "0,1"
|
|
bitfld.long 0x28 6. "PARST6,PARST6" "0,1"
|
|
bitfld.long 0x28 5. "PARST5,PARST5" "0,1"
|
|
newline
|
|
bitfld.long 0x28 4. "PARST4,PARST4" "0,1"
|
|
bitfld.long 0x28 3. "PARST3,PARST3" "0,1"
|
|
bitfld.long 0x28 2. "PARST2,PARST2" "0,1"
|
|
bitfld.long 0x28 1. "PARST1,PARST1" "0,1"
|
|
bitfld.long 0x28 0. "PARST0,PARST0" "0,1"
|
|
tree.end
|
|
tree "GPIOB"
|
|
base ad:0x400B2000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "PBDIRCR,PBDIRCR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 15. "PBDIR15,PBDIR15" "0,1"
|
|
endif
|
|
bitfld.long 0x0 14. "PBDIR14,PBDIR14" "0,1"
|
|
bitfld.long 0x0 13. "PBDIR13,PBDIR13" "0,1"
|
|
bitfld.long 0x0 12. "PBDIR12,PBDIR12" "0,1"
|
|
bitfld.long 0x0 11. "PBDIR11,PBDIR11" "0,1"
|
|
bitfld.long 0x0 10. "PBDIR10,PBDIR10" "0,1"
|
|
bitfld.long 0x0 9. "PBDIR9,PBDIR9" "0,1"
|
|
bitfld.long 0x0 8. "PBDIR8,PBDIR8" "0,1"
|
|
bitfld.long 0x0 7. "PBDIR7,PBDIR7" "0,1"
|
|
bitfld.long 0x0 6. "PBDIR6,PBDIR6" "0,1"
|
|
bitfld.long 0x0 5. "PBDIR5,PBDIR5" "0,1"
|
|
newline
|
|
bitfld.long 0x0 4. "PBDIR4,PBDIR4" "0,1"
|
|
bitfld.long 0x0 3. "PBDIR3,PBDIR3" "0,1"
|
|
bitfld.long 0x0 2. "PBDIR2,PBDIR2" "0,1"
|
|
bitfld.long 0x0 1. "PBDIR1,PBDIR1" "0,1"
|
|
bitfld.long 0x0 0. "PBDIR0,PBDIR0" "0,1"
|
|
line.long 0x4 "PBINER,PBINER"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 15. "PBINEN15,PBINEN15" "0,1"
|
|
endif
|
|
bitfld.long 0x4 14. "PBINEN14,PBINEN14" "0,1"
|
|
bitfld.long 0x4 13. "PBINEN13,PBINEN13" "0,1"
|
|
bitfld.long 0x4 12. "PBINEN12,PBINEN12" "0,1"
|
|
bitfld.long 0x4 11. "PBINEN11,PBINEN11" "0,1"
|
|
bitfld.long 0x4 10. "PBINEN10,PBINEN10" "0,1"
|
|
bitfld.long 0x4 9. "PBINEN9,PBINEN9" "0,1"
|
|
bitfld.long 0x4 8. "PBINEN8,PBINEN8" "0,1"
|
|
bitfld.long 0x4 7. "PBINEN7,PBINEN7" "0,1"
|
|
bitfld.long 0x4 6. "PBINEN6,PBINEN6" "0,1"
|
|
bitfld.long 0x4 5. "PBINEN5,PBINEN5" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "PBINEN4,PBINEN4" "0,1"
|
|
bitfld.long 0x4 3. "PBINEN3,PBINEN3" "0,1"
|
|
bitfld.long 0x4 2. "PBINEN2,PBINEN2" "0,1"
|
|
bitfld.long 0x4 1. "PBINEN1,PBINEN1" "0,1"
|
|
bitfld.long 0x4 0. "PBINEN0,PBINEN0" "0,1"
|
|
line.long 0x8 "PBPUR,PBPUR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x8 15. "PBPU15,PBPU15" "0,1"
|
|
endif
|
|
bitfld.long 0x8 14. "PBPU14,PBPU14" "0,1"
|
|
bitfld.long 0x8 13. "PBPU13,PBPU13" "0,1"
|
|
bitfld.long 0x8 12. "PBPU12,PBPU12" "0,1"
|
|
bitfld.long 0x8 11. "PBPU11,PBPU11" "0,1"
|
|
bitfld.long 0x8 10. "PBPU10,PBPU10" "0,1"
|
|
bitfld.long 0x8 9. "PBPU9,PBPU9" "0,1"
|
|
bitfld.long 0x8 8. "PBPU8,PBPU8" "0,1"
|
|
bitfld.long 0x8 7. "PBPU7,PBPU7" "0,1"
|
|
bitfld.long 0x8 6. "PBPU6,PBPU6" "0,1"
|
|
bitfld.long 0x8 5. "PBPU5,PBPU5" "0,1"
|
|
newline
|
|
bitfld.long 0x8 4. "PBPU4,PBPU4" "0,1"
|
|
bitfld.long 0x8 3. "PBPU3,PBPU3" "0,1"
|
|
bitfld.long 0x8 2. "PBPU2,PBPU2" "0,1"
|
|
bitfld.long 0x8 1. "PBPU1,PBPU1" "0,1"
|
|
bitfld.long 0x8 0. "PBPU0,PBPU0" "0,1"
|
|
line.long 0xC "PBPDR,PBPDR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 15. "PBPD15,PBPD15" "0,1"
|
|
endif
|
|
bitfld.long 0xC 14. "PBPD14,PBPD14" "0,1"
|
|
bitfld.long 0xC 13. "PBPD13,PBPD13" "0,1"
|
|
bitfld.long 0xC 12. "PBPD12,PBPD12" "0,1"
|
|
bitfld.long 0xC 11. "PBPD11,PBPD11" "0,1"
|
|
bitfld.long 0xC 10. "PBPD10,PBPD10" "0,1"
|
|
bitfld.long 0xC 9. "PBPD9,PBPD9" "0,1"
|
|
bitfld.long 0xC 8. "PBPD8,PBPD8" "0,1"
|
|
bitfld.long 0xC 7. "PBPD7,PBPD7" "0,1"
|
|
bitfld.long 0xC 6. "PBPD6,PBPD6" "0,1"
|
|
bitfld.long 0xC 5. "PBPD5,PBPD5" "0,1"
|
|
newline
|
|
bitfld.long 0xC 4. "PBPD4,PBPD4" "0,1"
|
|
bitfld.long 0xC 3. "PBPD3,PBPD3" "0,1"
|
|
bitfld.long 0xC 2. "PBPD2,PBPD2" "0,1"
|
|
bitfld.long 0xC 1. "PBPD1,PBPD1" "0,1"
|
|
bitfld.long 0xC 0. "PBPD0,PBPD0" "0,1"
|
|
line.long 0x10 "PBODR,PBODR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x10 15. "PBOD15,PBOD15" "0,1"
|
|
endif
|
|
bitfld.long 0x10 14. "PBOD14,PBOD14" "0,1"
|
|
bitfld.long 0x10 13. "PBOD13,PBOD13" "0,1"
|
|
bitfld.long 0x10 12. "PBOD12,PBOD12" "0,1"
|
|
bitfld.long 0x10 11. "PBOD11,PBOD11" "0,1"
|
|
bitfld.long 0x10 10. "PBOD10,PBOD10" "0,1"
|
|
bitfld.long 0x10 9. "PBOD9,PBOD9" "0,1"
|
|
bitfld.long 0x10 8. "PBOD8,PBOD8" "0,1"
|
|
bitfld.long 0x10 7. "PBOD7,PBOD7" "0,1"
|
|
bitfld.long 0x10 6. "PBOD6,PBOD6" "0,1"
|
|
bitfld.long 0x10 5. "PBOD5,PBOD5" "0,1"
|
|
newline
|
|
bitfld.long 0x10 4. "PBOD4,PBOD4" "0,1"
|
|
bitfld.long 0x10 3. "PBOD3,PBOD3" "0,1"
|
|
bitfld.long 0x10 2. "PBOD2,PBOD2" "0,1"
|
|
bitfld.long 0x10 1. "PBOD1,PBOD1" "0,1"
|
|
bitfld.long 0x10 0. "PBOD0,PBOD0" "0,1"
|
|
line.long 0x14 "PBDRVR,PBDRVR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x14 30.--31. "PBDV15,PBDV15" "0,1,2,3"
|
|
endif
|
|
bitfld.long 0x14 28.--29. "PBDV14,PBDV14" "0,1,2,3"
|
|
bitfld.long 0x14 26.--27. "PBDV13,PBDV13" "0,1,2,3"
|
|
bitfld.long 0x14 24.--25. "PBDV12,PBDV12" "0,1,2,3"
|
|
bitfld.long 0x14 22.--23. "PBDV11,PBDV11" "0,1,2,3"
|
|
bitfld.long 0x14 20.--21. "PBDV10,PBDV10" "0,1,2,3"
|
|
bitfld.long 0x14 18.--19. "PBDV9,PBDV9" "0,1,2,3"
|
|
bitfld.long 0x14 16.--17. "PBDV8,PBDV8" "0,1,2,3"
|
|
bitfld.long 0x14 14.--15. "PBDV7,PBDV7" "0,1,2,3"
|
|
bitfld.long 0x14 12.--13. "PBDV6,PBDV6" "0,1,2,3"
|
|
bitfld.long 0x14 10.--11. "PBDV5,PBDV5" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x14 8.--9. "PBDV4,PBDV4" "0,1,2,3"
|
|
bitfld.long 0x14 6.--7. "PBDV3,PBDV3" "0,1,2,3"
|
|
bitfld.long 0x14 4.--5. "PBDV2,PBDV2" "0,1,2,3"
|
|
bitfld.long 0x14 2.--3. "PBDV1,PBDV1" "0,1,2,3"
|
|
bitfld.long 0x14 0.--1. "PBDV0,PBDV0" "0,1,2,3"
|
|
line.long 0x18 "PBLOCKR,PBLOCKR"
|
|
hexmask.long.word 0x18 16.--31. 1. "PBLKEY,PBLKEY"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x18 15. "PBLOCK15,PBLOCK15" "0,1"
|
|
endif
|
|
bitfld.long 0x18 14. "PBLOCK14,PBLOCK14" "0,1"
|
|
bitfld.long 0x18 13. "PBLOCK13,PBLOCK13" "0,1"
|
|
bitfld.long 0x18 12. "PBLOCK12,PBLOCK12" "0,1"
|
|
bitfld.long 0x18 11. "PBLOCK11,PBLOCK11" "0,1"
|
|
bitfld.long 0x18 10. "PBLOCK10,PBLOCK10" "0,1"
|
|
bitfld.long 0x18 9. "PBLOCK9,PBLOCK9" "0,1"
|
|
bitfld.long 0x18 8. "PBLOCK8,PBLOCK8" "0,1"
|
|
bitfld.long 0x18 7. "PBLOCK7,PBLOCK7" "0,1"
|
|
bitfld.long 0x18 6. "PBLOCK6,PBLOCK6" "0,1"
|
|
newline
|
|
bitfld.long 0x18 5. "PBLOCK5,PBLOCK5" "0,1"
|
|
bitfld.long 0x18 4. "PBLOCK4,PBLOCK4" "0,1"
|
|
bitfld.long 0x18 3. "PBLOCK3,PBLOCK3" "0,1"
|
|
bitfld.long 0x18 2. "PBLOCK2,PBLOCK2" "0,1"
|
|
bitfld.long 0x18 1. "PBLOCK1,PBLOCK1" "0,1"
|
|
bitfld.long 0x18 0. "PBLOCK0,PBLOCK0" "0,1"
|
|
line.long 0x1C "PBDINR,PBDINR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x1C 15. "PBDIN15,PBDIN15" "0,1"
|
|
endif
|
|
bitfld.long 0x1C 14. "PBDIN14,PBDIN14" "0,1"
|
|
bitfld.long 0x1C 13. "PBDIN13,PBDIN13" "0,1"
|
|
bitfld.long 0x1C 12. "PBDIN12,PBDIN12" "0,1"
|
|
bitfld.long 0x1C 11. "PBDIN11,PBDIN11" "0,1"
|
|
bitfld.long 0x1C 10. "PBDIN10,PBDIN10" "0,1"
|
|
bitfld.long 0x1C 9. "PBDIN9,PBDIN9" "0,1"
|
|
bitfld.long 0x1C 8. "PBDIN8,PBDIN8" "0,1"
|
|
bitfld.long 0x1C 7. "PBDIN7,PBDIN7" "0,1"
|
|
bitfld.long 0x1C 6. "PBDIN6,PBDIN6" "0,1"
|
|
bitfld.long 0x1C 5. "PBDIN5,PBDIN5" "0,1"
|
|
newline
|
|
bitfld.long 0x1C 4. "PBDIN4,PBDIN4" "0,1"
|
|
bitfld.long 0x1C 3. "PBDIN3,PBDIN3" "0,1"
|
|
bitfld.long 0x1C 2. "PBDIN2,PBDIN2" "0,1"
|
|
bitfld.long 0x1C 1. "PBDIN1,PBDIN1" "0,1"
|
|
bitfld.long 0x1C 0. "PBDIN0,PBDIN0" "0,1"
|
|
line.long 0x20 "PBDOUTR,PBDOUTR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x20 15. "PBDOUT15,PBDOUT15" "0,1"
|
|
endif
|
|
bitfld.long 0x20 14. "PBDOUT14,PBDOUT14" "0,1"
|
|
bitfld.long 0x20 13. "PBDOUT13,PBDOUT13" "0,1"
|
|
bitfld.long 0x20 12. "PBDOUT12,PBDOUT12" "0,1"
|
|
bitfld.long 0x20 11. "PBDOUT11,PBDOUT11" "0,1"
|
|
bitfld.long 0x20 10. "PBDOUT10,PBDOUT10" "0,1"
|
|
bitfld.long 0x20 9. "PBDOUT9,PBDOUT9" "0,1"
|
|
bitfld.long 0x20 8. "PBDOUT8,PBDOUT8" "0,1"
|
|
bitfld.long 0x20 7. "PBDOUT7,PBDOUT7" "0,1"
|
|
bitfld.long 0x20 6. "PBDOUT6,PBDOUT6" "0,1"
|
|
bitfld.long 0x20 5. "PBDOUT5,PBDOUT5" "0,1"
|
|
newline
|
|
bitfld.long 0x20 4. "PBDOUT4,PBDOUT4" "0,1"
|
|
bitfld.long 0x20 3. "PBDOUT3,PBDOUT3" "0,1"
|
|
bitfld.long 0x20 2. "PBDOUT2,PBDOUT2" "0,1"
|
|
bitfld.long 0x20 1. "PBDOUT1,PBDOUT1" "0,1"
|
|
bitfld.long 0x20 0. "PBDOUT0,PBDOUT0" "0,1"
|
|
line.long 0x24 "PBSRR,PBSRR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x24 31. "PBRST15,PBRST15" "0,1"
|
|
endif
|
|
bitfld.long 0x24 30. "PBRST14,PBRST14" "0,1"
|
|
bitfld.long 0x24 29. "PBRST13,PBRST13" "0,1"
|
|
bitfld.long 0x24 28. "PBRST12,PBRST12" "0,1"
|
|
bitfld.long 0x24 27. "PBRST11,PBRST11" "0,1"
|
|
bitfld.long 0x24 26. "PBRST10,PBRST10" "0,1"
|
|
bitfld.long 0x24 25. "PBRST9,PBRST9" "0,1"
|
|
bitfld.long 0x24 24. "PBRST8,PBRST8" "0,1"
|
|
bitfld.long 0x24 23. "PBRST7,PBRST7" "0,1"
|
|
bitfld.long 0x24 22. "PBRST6,PBRST6" "0,1"
|
|
bitfld.long 0x24 21. "PBRST5,PBRST5" "0,1"
|
|
newline
|
|
bitfld.long 0x24 20. "PBRST4,PBRST4" "0,1"
|
|
bitfld.long 0x24 19. "PBRST3,PBRST3" "0,1"
|
|
bitfld.long 0x24 18. "PBRST2,PBRST2" "0,1"
|
|
bitfld.long 0x24 17. "PBRST1,PBRST1" "0,1"
|
|
bitfld.long 0x24 16. "PBRST0,PBRST0" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x24 15. "PBSET15,PBSET15" "0,1"
|
|
endif
|
|
bitfld.long 0x24 14. "PBSET14,PBSET14" "0,1"
|
|
bitfld.long 0x24 13. "PBSET13,PBSET13" "0,1"
|
|
bitfld.long 0x24 12. "PBSET12,PBSET12" "0,1"
|
|
bitfld.long 0x24 11. "PBSET11,PBSET11" "0,1"
|
|
bitfld.long 0x24 10. "PBSET10,PBSET10" "0,1"
|
|
newline
|
|
bitfld.long 0x24 9. "PBSET9,PBSET9" "0,1"
|
|
bitfld.long 0x24 8. "PBSET8,PBSET8" "0,1"
|
|
bitfld.long 0x24 7. "PBSET7,PBSET7" "0,1"
|
|
bitfld.long 0x24 6. "PBSET6,PBSET6" "0,1"
|
|
bitfld.long 0x24 5. "PBSET5,PBSET5" "0,1"
|
|
bitfld.long 0x24 4. "PBSET4,PBSET4" "0,1"
|
|
bitfld.long 0x24 3. "PBSET3,PBSET3" "0,1"
|
|
bitfld.long 0x24 2. "PBSET2,PBSET2" "0,1"
|
|
bitfld.long 0x24 1. "PBSET1,PBSET1" "0,1"
|
|
bitfld.long 0x24 0. "PBSET0,PBSET0" "0,1"
|
|
line.long 0x28 "PBRR,PBRR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x28 15. "PBRST15,PBRST15" "0,1"
|
|
endif
|
|
bitfld.long 0x28 14. "PBRST14,PBRST14" "0,1"
|
|
bitfld.long 0x28 13. "PBRST13,PBRST13" "0,1"
|
|
bitfld.long 0x28 12. "PBRST12,PBRST12" "0,1"
|
|
bitfld.long 0x28 11. "PBRST11,PBRST11" "0,1"
|
|
bitfld.long 0x28 10. "PBRST10,PBRST10" "0,1"
|
|
bitfld.long 0x28 9. "PBRST9,PBRST9" "0,1"
|
|
bitfld.long 0x28 8. "PBRST8,PBRST8" "0,1"
|
|
bitfld.long 0x28 7. "PBRST7,PBRST7" "0,1"
|
|
bitfld.long 0x28 6. "PBRST6,PBRST6" "0,1"
|
|
bitfld.long 0x28 5. "PBRST5,PBRST5" "0,1"
|
|
newline
|
|
bitfld.long 0x28 4. "PBRST4,PBRST4" "0,1"
|
|
bitfld.long 0x28 3. "PBRST3,PBRST3" "0,1"
|
|
bitfld.long 0x28 2. "PBRST2,PBRST2" "0,1"
|
|
bitfld.long 0x28 1. "PBRST1,PBRST1" "0,1"
|
|
bitfld.long 0x28 0. "PBRST0,PBRST0" "0,1"
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "GPIOC"
|
|
base ad:0x400B4000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "PCDIRCR,PCDIRCR"
|
|
bitfld.long 0x0 15. "PCDIR15,PCDIR15" "0,1"
|
|
bitfld.long 0x0 14. "PCDIR14,PCDIR14" "0,1"
|
|
bitfld.long 0x0 13. "PCDIR13,PCDIR13" "0,1"
|
|
bitfld.long 0x0 12. "PCDIR12,PCDIR12" "0,1"
|
|
bitfld.long 0x0 11. "PCDIR11,PCDIR11" "0,1"
|
|
bitfld.long 0x0 10. "PCDIR10,PCDIR10" "0,1"
|
|
bitfld.long 0x0 9. "PCDIR9,PCDIR9" "0,1"
|
|
bitfld.long 0x0 8. "PCDIR8,PCDIR8" "0,1"
|
|
bitfld.long 0x0 7. "PCDIR7,PCDIR7" "0,1"
|
|
bitfld.long 0x0 6. "PCDIR6,PCDIR6" "0,1"
|
|
bitfld.long 0x0 5. "PCDIR5,PCDIR5" "0,1"
|
|
newline
|
|
bitfld.long 0x0 4. "PCDIR4,PCDIR4" "0,1"
|
|
bitfld.long 0x0 3. "PCDIR3,PCDIR3" "0,1"
|
|
bitfld.long 0x0 2. "PCDIR2,PCDIR2" "0,1"
|
|
bitfld.long 0x0 1. "PCDIR1,PCDIR1" "0,1"
|
|
bitfld.long 0x0 0. "PCDIR0,PCDIR0" "0,1"
|
|
line.long 0x4 "PCINER,PCINER"
|
|
bitfld.long 0x4 15. "PCINEN15,PCINEN15" "0,1"
|
|
bitfld.long 0x4 14. "PCINEN14,PCINEN14" "0,1"
|
|
bitfld.long 0x4 13. "PCINEN13,PCINEN13" "0,1"
|
|
bitfld.long 0x4 12. "PCINEN12,PCINEN12" "0,1"
|
|
bitfld.long 0x4 11. "PCINEN11,PCINEN11" "0,1"
|
|
bitfld.long 0x4 10. "PCINEN10,PCINEN10" "0,1"
|
|
bitfld.long 0x4 9. "PCINEN9,PCINEN9" "0,1"
|
|
bitfld.long 0x4 8. "PCINEN8,PCINEN8" "0,1"
|
|
bitfld.long 0x4 7. "PCINEN7,PCINEN7" "0,1"
|
|
bitfld.long 0x4 6. "PCINEN6,PCINEN6" "0,1"
|
|
bitfld.long 0x4 5. "PCINEN5,PCINEN5" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "PCINEN4,PCINEN4" "0,1"
|
|
bitfld.long 0x4 3. "PCINEN3,PCINEN3" "0,1"
|
|
bitfld.long 0x4 2. "PCINEN2,PCINEN2" "0,1"
|
|
bitfld.long 0x4 1. "PCINEN1,PCINEN1" "0,1"
|
|
bitfld.long 0x4 0. "PCINEN0,PCINEN0" "0,1"
|
|
line.long 0x8 "PCPUR,PCPUR"
|
|
bitfld.long 0x8 15. "PCPU15,PCPU15" "0,1"
|
|
bitfld.long 0x8 14. "PCPU14,PCPU14" "0,1"
|
|
bitfld.long 0x8 13. "PCPU13,PCPU13" "0,1"
|
|
bitfld.long 0x8 12. "PCPU12,PCPU12" "0,1"
|
|
bitfld.long 0x8 11. "PCPU11,PCPU11" "0,1"
|
|
bitfld.long 0x8 10. "PCPU10,PCPU10" "0,1"
|
|
bitfld.long 0x8 9. "PCPU9,PCPU9" "0,1"
|
|
bitfld.long 0x8 8. "PCPU8,PCPU8" "0,1"
|
|
bitfld.long 0x8 7. "PCPU7,PCPU7" "0,1"
|
|
bitfld.long 0x8 6. "PCPU6,PCPU6" "0,1"
|
|
bitfld.long 0x8 5. "PCPU5,PCPU5" "0,1"
|
|
newline
|
|
bitfld.long 0x8 4. "PCPU4,PCPU4" "0,1"
|
|
bitfld.long 0x8 3. "PCPU3,PCPU3" "0,1"
|
|
bitfld.long 0x8 2. "PCPU2,PCPU2" "0,1"
|
|
bitfld.long 0x8 1. "PCPU1,PCPU1" "0,1"
|
|
bitfld.long 0x8 0. "PCPU0,PCPU0" "0,1"
|
|
line.long 0xC "PCPDR,PCPDR"
|
|
bitfld.long 0xC 15. "PCPD15,PCPD15" "0,1"
|
|
bitfld.long 0xC 14. "PCPD14,PCPD14" "0,1"
|
|
bitfld.long 0xC 13. "PCPD13,PCPD13" "0,1"
|
|
bitfld.long 0xC 12. "PCPD12,PCPD12" "0,1"
|
|
bitfld.long 0xC 11. "PCPD11,PCPD11" "0,1"
|
|
bitfld.long 0xC 10. "PCPD10,PCPD10" "0,1"
|
|
bitfld.long 0xC 9. "PCPD9,PCPD9" "0,1"
|
|
bitfld.long 0xC 8. "PCPD8,PCPD8" "0,1"
|
|
bitfld.long 0xC 7. "PCPD7,PCPD7" "0,1"
|
|
bitfld.long 0xC 6. "PCPD6,PCPD6" "0,1"
|
|
bitfld.long 0xC 5. "PCPD5,PCPD5" "0,1"
|
|
newline
|
|
bitfld.long 0xC 4. "PCPD4,PCPD4" "0,1"
|
|
bitfld.long 0xC 3. "PCPD3,PCPD3" "0,1"
|
|
bitfld.long 0xC 2. "PCPD2,PCPD2" "0,1"
|
|
bitfld.long 0xC 1. "PCPD1,PCPD1" "0,1"
|
|
bitfld.long 0xC 0. "PCPD0,PCPD0" "0,1"
|
|
line.long 0x10 "PCODR,PCODR"
|
|
bitfld.long 0x10 15. "PCOD15,PCOD15" "0,1"
|
|
bitfld.long 0x10 14. "PCOD14,PCOD14" "0,1"
|
|
bitfld.long 0x10 13. "PCOD13,PCOD13" "0,1"
|
|
bitfld.long 0x10 12. "PCOD12,PCOD12" "0,1"
|
|
bitfld.long 0x10 11. "PCOD11,PCOD11" "0,1"
|
|
bitfld.long 0x10 10. "PCOD10,PCOD10" "0,1"
|
|
bitfld.long 0x10 9. "PCOD9,PCOD9" "0,1"
|
|
bitfld.long 0x10 8. "PCOD8,PCOD8" "0,1"
|
|
bitfld.long 0x10 7. "PCOD7,PCOD7" "0,1"
|
|
bitfld.long 0x10 6. "PCOD6,PCOD6" "0,1"
|
|
bitfld.long 0x10 5. "PCOD5,PCOD5" "0,1"
|
|
newline
|
|
bitfld.long 0x10 4. "PCOD4,PCOD4" "0,1"
|
|
bitfld.long 0x10 3. "PCOD3,PCOD3" "0,1"
|
|
bitfld.long 0x10 2. "PCOD2,PCOD2" "0,1"
|
|
bitfld.long 0x10 1. "PCOD1,PCOD1" "0,1"
|
|
bitfld.long 0x10 0. "PCOD0,PCOD0" "0,1"
|
|
line.long 0x14 "PCDRVR,PCDRVR"
|
|
bitfld.long 0x14 30.--31. "PCDV15,PCDV15" "0,1,2,3"
|
|
bitfld.long 0x14 28.--29. "PCDV14,PCDV14" "0,1,2,3"
|
|
bitfld.long 0x14 26.--27. "PCDV13,PCDV13" "0,1,2,3"
|
|
bitfld.long 0x14 24.--25. "PCDV12,PCDV12" "0,1,2,3"
|
|
bitfld.long 0x14 22.--23. "PCDV11,PCDV11" "0,1,2,3"
|
|
bitfld.long 0x14 20.--21. "PCDV10,PCDV10" "0,1,2,3"
|
|
bitfld.long 0x14 18.--19. "PCDV9,PCDV9" "0,1,2,3"
|
|
bitfld.long 0x14 16.--17. "PCDV8,PCDV8" "0,1,2,3"
|
|
bitfld.long 0x14 14.--15. "PCDV7,PCDV7" "0,1,2,3"
|
|
bitfld.long 0x14 12.--13. "PCDV6,PCDV6" "0,1,2,3"
|
|
bitfld.long 0x14 10.--11. "PCDV5,PCDV5" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x14 8.--9. "PCDV4,PCDV4" "0,1,2,3"
|
|
bitfld.long 0x14 6.--7. "PCDV3,PCDV3" "0,1,2,3"
|
|
bitfld.long 0x14 4.--5. "PCDV2,PCDV2" "0,1,2,3"
|
|
bitfld.long 0x14 2.--3. "PCDV1,PCDV1" "0,1,2,3"
|
|
bitfld.long 0x14 0.--1. "PCDV0,PCDV0" "0,1,2,3"
|
|
line.long 0x18 "PCLOCKR,PCLOCKR"
|
|
hexmask.long.word 0x18 16.--31. 1. "PCLKEY,PCLKEY"
|
|
bitfld.long 0x18 15. "PCLOCK15,PCLOCK15" "0,1"
|
|
bitfld.long 0x18 14. "PCLOCK14,PCLOCK14" "0,1"
|
|
bitfld.long 0x18 13. "PCLOCK13,PCLOCK13" "0,1"
|
|
bitfld.long 0x18 12. "PCLOCK12,PCLOCK12" "0,1"
|
|
bitfld.long 0x18 11. "PCLOCK11,PCLOCK11" "0,1"
|
|
bitfld.long 0x18 10. "PCLOCK10,PCLOCK10" "0,1"
|
|
bitfld.long 0x18 9. "PCLOCK9,PCLOCK9" "0,1"
|
|
bitfld.long 0x18 8. "PCLOCK8,PCLOCK8" "0,1"
|
|
bitfld.long 0x18 7. "PCLOCK7,PCLOCK7" "0,1"
|
|
bitfld.long 0x18 6. "PCLOCK6,PCLOCK6" "0,1"
|
|
newline
|
|
bitfld.long 0x18 5. "PCLOCK5,PCLOCK5" "0,1"
|
|
bitfld.long 0x18 4. "PCLOCK4,PCLOCK4" "0,1"
|
|
bitfld.long 0x18 3. "PCLOCK3,PCLOCK3" "0,1"
|
|
bitfld.long 0x18 2. "PCLOCK2,PCLOCK2" "0,1"
|
|
bitfld.long 0x18 1. "PCLOCK1,PCLOCK1" "0,1"
|
|
bitfld.long 0x18 0. "PCLOCK0,PCLOCK0" "0,1"
|
|
line.long 0x1C "PCDINR,PCDINR"
|
|
bitfld.long 0x1C 15. "PCDIN15,PCDIN15" "0,1"
|
|
bitfld.long 0x1C 14. "PCDIN14,PCDIN14" "0,1"
|
|
bitfld.long 0x1C 13. "PCDIN13,PCDIN13" "0,1"
|
|
bitfld.long 0x1C 12. "PCDIN12,PCDIN12" "0,1"
|
|
bitfld.long 0x1C 11. "PCDIN11,PCDIN11" "0,1"
|
|
bitfld.long 0x1C 10. "PCDIN10,PCDIN10" "0,1"
|
|
bitfld.long 0x1C 9. "PCDIN9,PCDIN9" "0,1"
|
|
bitfld.long 0x1C 8. "PCDIN8,PCDIN8" "0,1"
|
|
bitfld.long 0x1C 7. "PCDIN7,PCDIN7" "0,1"
|
|
bitfld.long 0x1C 6. "PCDIN6,PCDIN6" "0,1"
|
|
bitfld.long 0x1C 5. "PCDIN5,PCDIN5" "0,1"
|
|
newline
|
|
bitfld.long 0x1C 4. "PCDIN4,PCDIN4" "0,1"
|
|
bitfld.long 0x1C 3. "PCDIN3,PCDIN3" "0,1"
|
|
bitfld.long 0x1C 2. "PCDIN2,PCDIN2" "0,1"
|
|
bitfld.long 0x1C 1. "PCDIN1,PCDIN1" "0,1"
|
|
bitfld.long 0x1C 0. "PCDIN0,PCDIN0" "0,1"
|
|
line.long 0x20 "PCDOUTR,PCDOUTR"
|
|
bitfld.long 0x20 15. "PCDOUT15,PCDOUT15" "0,1"
|
|
bitfld.long 0x20 14. "PCDOUT14,PCDOUT14" "0,1"
|
|
bitfld.long 0x20 13. "PCDOUT13,PCDOUT13" "0,1"
|
|
bitfld.long 0x20 12. "PCDOUT12,PCDOUT12" "0,1"
|
|
bitfld.long 0x20 11. "PCDOUT11,PCDOUT11" "0,1"
|
|
bitfld.long 0x20 10. "PCDOUT10,PCDOUT10" "0,1"
|
|
bitfld.long 0x20 9. "PCDOUT9,PCDOUT9" "0,1"
|
|
bitfld.long 0x20 8. "PCDOUT8,PCDOUT8" "0,1"
|
|
bitfld.long 0x20 7. "PCDOUT7,PCDOUT7" "0,1"
|
|
bitfld.long 0x20 6. "PCDOUT6,PCDOUT6" "0,1"
|
|
bitfld.long 0x20 5. "PCDOUT5,PCDOUT5" "0,1"
|
|
newline
|
|
bitfld.long 0x20 4. "PCDOUT4,PCDOUT4" "0,1"
|
|
bitfld.long 0x20 3. "PCDOUT3,PCDOUT3" "0,1"
|
|
bitfld.long 0x20 2. "PCDOUT2,PCDOUT2" "0,1"
|
|
bitfld.long 0x20 1. "PCDOUT1,PCDOUT1" "0,1"
|
|
bitfld.long 0x20 0. "PCDOUT0,PCDOUT0" "0,1"
|
|
line.long 0x24 "PCSRR,PCSRR"
|
|
bitfld.long 0x24 31. "PCRST15,PCRST15" "0,1"
|
|
bitfld.long 0x24 30. "PCRST14,PCRST14" "0,1"
|
|
bitfld.long 0x24 29. "PCRST13,PCRST13" "0,1"
|
|
bitfld.long 0x24 28. "PCRST12,PCRST12" "0,1"
|
|
bitfld.long 0x24 27. "PCRST11,PCRST11" "0,1"
|
|
bitfld.long 0x24 26. "PCRST10,PCRST10" "0,1"
|
|
bitfld.long 0x24 25. "PCRST9,PCRST9" "0,1"
|
|
bitfld.long 0x24 24. "PCRST8,PCRST8" "0,1"
|
|
bitfld.long 0x24 23. "PCRST7,PCRST7" "0,1"
|
|
bitfld.long 0x24 22. "PCRST6,PCRST6" "0,1"
|
|
bitfld.long 0x24 21. "PCRST5,PCRST5" "0,1"
|
|
newline
|
|
bitfld.long 0x24 20. "PCRST4,PCRST4" "0,1"
|
|
bitfld.long 0x24 19. "PCRST3,PCRST3" "0,1"
|
|
bitfld.long 0x24 18. "PCRST2,PCRST2" "0,1"
|
|
bitfld.long 0x24 17. "PCRST1,PCRST1" "0,1"
|
|
bitfld.long 0x24 16. "PCRST0,PCRST0" "0,1"
|
|
bitfld.long 0x24 15. "PCSET15,PCSET15" "0,1"
|
|
bitfld.long 0x24 14. "PCSET14,PCSET14" "0,1"
|
|
bitfld.long 0x24 13. "PCSET13,PCSET13" "0,1"
|
|
bitfld.long 0x24 12. "PCSET12,PCSET12" "0,1"
|
|
bitfld.long 0x24 11. "PCSET11,PCSET11" "0,1"
|
|
bitfld.long 0x24 10. "PCSET10,PCSET10" "0,1"
|
|
newline
|
|
bitfld.long 0x24 9. "PCSET9,PCSET9" "0,1"
|
|
bitfld.long 0x24 8. "PCSET8,PCSET8" "0,1"
|
|
bitfld.long 0x24 7. "PCSET7,PCSET7" "0,1"
|
|
bitfld.long 0x24 6. "PCSET6,PCSET6" "0,1"
|
|
bitfld.long 0x24 5. "PCSET5,PCSET5" "0,1"
|
|
bitfld.long 0x24 4. "PCSET4,PCSET4" "0,1"
|
|
bitfld.long 0x24 3. "PCSET3,PCSET3" "0,1"
|
|
bitfld.long 0x24 2. "PCSET2,PCSET2" "0,1"
|
|
bitfld.long 0x24 1. "PCSET1,PCSET1" "0,1"
|
|
bitfld.long 0x24 0. "PCSET0,PCSET0" "0,1"
|
|
line.long 0x28 "PCRR,PCRR"
|
|
bitfld.long 0x28 15. "PCRST15,PCRST15" "0,1"
|
|
bitfld.long 0x28 14. "PCRST14,PCRST14" "0,1"
|
|
bitfld.long 0x28 13. "PCRST13,PCRST13" "0,1"
|
|
bitfld.long 0x28 12. "PCRST12,PCRST12" "0,1"
|
|
bitfld.long 0x28 11. "PCRST11,PCRST11" "0,1"
|
|
bitfld.long 0x28 10. "PCRST10,PCRST10" "0,1"
|
|
bitfld.long 0x28 9. "PCRST9,PCRST9" "0,1"
|
|
bitfld.long 0x28 8. "PCRST8,PCRST8" "0,1"
|
|
bitfld.long 0x28 7. "PCRST7,PCRST7" "0,1"
|
|
bitfld.long 0x28 6. "PCRST6,PCRST6" "0,1"
|
|
bitfld.long 0x28 5. "PCRST5,PCRST5" "0,1"
|
|
newline
|
|
bitfld.long 0x28 4. "PCRST4,PCRST4" "0,1"
|
|
bitfld.long 0x28 3. "PCRST3,PCRST3" "0,1"
|
|
bitfld.long 0x28 2. "PCRST2,PCRST2" "0,1"
|
|
bitfld.long 0x28 1. "PCRST1,PCRST1" "0,1"
|
|
bitfld.long 0x28 0. "PCRST0,PCRST0" "0,1"
|
|
tree.end
|
|
tree "GPIOD"
|
|
base ad:0x400B6000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "PDDIRCR,PDDIRCR"
|
|
bitfld.long 0x0 3. "PDDIR3,PDDIR3" "0,1"
|
|
bitfld.long 0x0 2. "PDDIR2,PDDIR2" "0,1"
|
|
bitfld.long 0x0 1. "PDDIR1,PDDIR1" "0,1"
|
|
bitfld.long 0x0 0. "PDDIR0,PDDIR0" "0,1"
|
|
line.long 0x4 "PDINER,PDINER"
|
|
bitfld.long 0x4 3. "PDINEN3,PDINEN3" "0,1"
|
|
bitfld.long 0x4 2. "PDINEN2,PDINEN2" "0,1"
|
|
bitfld.long 0x4 1. "PDINEN1,PDINEN1" "0,1"
|
|
bitfld.long 0x4 0. "PDINEN0,PDINEN0" "0,1"
|
|
line.long 0x8 "PDPUR,PDPUR"
|
|
bitfld.long 0x8 3. "PDPU3,PDPU3" "0,1"
|
|
bitfld.long 0x8 2. "PDPU2,PDPU2" "0,1"
|
|
bitfld.long 0x8 1. "PDPU1,PDPU1" "0,1"
|
|
bitfld.long 0x8 0. "PDPU0,PDPU0" "0,1"
|
|
line.long 0xC "PDPDR,PDPDR"
|
|
bitfld.long 0xC 3. "PDPD3,PDPD3" "0,1"
|
|
bitfld.long 0xC 2. "PDPD2,PDPD2" "0,1"
|
|
bitfld.long 0xC 1. "PDPD1,PDPD1" "0,1"
|
|
bitfld.long 0xC 0. "PDPD0,PDPD0" "0,1"
|
|
line.long 0x10 "PDODR,PDODR"
|
|
bitfld.long 0x10 3. "PDOD3,PDOD3" "0,1"
|
|
bitfld.long 0x10 2. "PDOD2,PDOD2" "0,1"
|
|
bitfld.long 0x10 1. "PDOD1,PDOD1" "0,1"
|
|
bitfld.long 0x10 0. "PDOD0,PDOD0" "0,1"
|
|
line.long 0x14 "PDDRVR,PDDRVR"
|
|
bitfld.long 0x14 6.--7. "PDDV3,PDDV3" "0,1,2,3"
|
|
bitfld.long 0x14 4.--5. "PDDV2,PDDV2" "0,1,2,3"
|
|
bitfld.long 0x14 2.--3. "PDDV1,PDDV1" "0,1,2,3"
|
|
bitfld.long 0x14 0.--1. "PDDV0,PDDV0" "0,1,2,3"
|
|
line.long 0x18 "PDLOCKR,PDLOCKR"
|
|
hexmask.long.word 0x18 16.--31. 1. "PDLKEY,PDLKEY"
|
|
bitfld.long 0x18 3. "PDLOCK3,PDLOCK3" "0,1"
|
|
bitfld.long 0x18 2. "PDLOCK2,PDLOCK2" "0,1"
|
|
bitfld.long 0x18 1. "PDLOCK1,PDLOCK1" "0,1"
|
|
bitfld.long 0x18 0. "PDLOCK0,PDLOCK0" "0,1"
|
|
line.long 0x1C "PDDINR,PDDINR"
|
|
bitfld.long 0x1C 3. "PDDIN3,PDDIN3" "0,1"
|
|
bitfld.long 0x1C 2. "PDDIN2,PDDIN2" "0,1"
|
|
bitfld.long 0x1C 1. "PDDIN1,PDDIN1" "0,1"
|
|
bitfld.long 0x1C 0. "PDDIN0,PDDIN0" "0,1"
|
|
line.long 0x20 "PDDOUTR,PDDOUTR"
|
|
bitfld.long 0x20 3. "PDDOUT3,PDDOUT3" "0,1"
|
|
bitfld.long 0x20 2. "PDDOUT2,PDDOUT2" "0,1"
|
|
bitfld.long 0x20 1. "PDDOUT1,PDDOUT1" "0,1"
|
|
bitfld.long 0x20 0. "PDDOUT0,PDDOUT0" "0,1"
|
|
line.long 0x24 "PDSRR,PDSRR"
|
|
bitfld.long 0x24 19. "PDRST3,PDRST3" "0,1"
|
|
bitfld.long 0x24 18. "PDRST2,PDRST2" "0,1"
|
|
bitfld.long 0x24 17. "PDRST1,PDRST1" "0,1"
|
|
bitfld.long 0x24 16. "PDRST0,PDRST0" "0,1"
|
|
bitfld.long 0x24 3. "PDSET3,PDSET3" "0,1"
|
|
bitfld.long 0x24 2. "PDSET2,PDSET2" "0,1"
|
|
bitfld.long 0x24 1. "PDSET1,PDSET1" "0,1"
|
|
bitfld.long 0x24 0. "PDSET0,PDSET0" "0,1"
|
|
line.long 0x28 "PDRR,PDRR"
|
|
bitfld.long 0x28 3. "PDRST3,PDRST3" "0,1"
|
|
bitfld.long 0x28 2. "PDRST2,PDRST2" "0,1"
|
|
bitfld.long 0x28 1. "PDRST1,PDRST1" "0,1"
|
|
bitfld.long 0x28 0. "PDRST0,PDRST0" "0,1"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
tree "GPTM (General Purpose Timer)"
|
|
base ad:0x4006E000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 24. "DIR,DIR" "0,1"
|
|
bitfld.long 0x0 16.--17. "CMSEL,CMSEL" "0,1,2,3"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEVDIS,UEVDIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 24. "SPMSET,SPMSET" "0,1"
|
|
bitfld.long 0x4 16.--18. "MMSEL,MMSEL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x4 0. "TSE,TSE" "0,1"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 16. "CHCCDS,CHCCDS" "0,1"
|
|
endif
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0xF
|
|
line.long 0x0 "CH0ICFR,CH0ICFR"
|
|
bitfld.long 0x0 31. "TI0SRC,TI0SRC" "0,1"
|
|
bitfld.long 0x0 18.--19. "CH0PSC,CH0PSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CH0CCS,CH0CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TI0F,TI0F"
|
|
line.long 0x4 "CH1ICFR,CH1ICFR"
|
|
bitfld.long 0x4 18.--19. "CH1PSC,CH1PSC" "0,1,2,3"
|
|
bitfld.long 0x4 16.--17. "CH1CCS,CH1CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x4 0.--3. 1. "TI1F,TI1F"
|
|
line.long 0x8 "CH2ICFR,CH2ICFR"
|
|
bitfld.long 0x8 18.--19. "CH2PSC,CH2PSC" "0,1,2,3"
|
|
bitfld.long 0x8 16.--17. "CH2CCS,CH2CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TI2F,TI2F"
|
|
line.long 0xC "CH3ICFR,CH3ICFR"
|
|
bitfld.long 0xC 18.--19. "CH3PSC,CH3PSC" "0,1,2,3"
|
|
bitfld.long 0xC 16.--17. "CH3CCS,CH3CCS" "0,1,2,3"
|
|
hexmask.long.byte 0xC 0.--3. 1. "TI3F,TI3F"
|
|
group.long 0x40++0x17
|
|
line.long 0x0 "CH0OCFR,CH0OCFR"
|
|
bitfld.long 0x0 8. "CH0OM3,CH0OM3" "0,1"
|
|
bitfld.long 0x0 5. "CH0IMAE,CH0IMAE" "0,1"
|
|
bitfld.long 0x0 4. "CH0PRE,CH0PRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CH0OM20,CH0OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x4 "CH1OCFR,CH1OCFR"
|
|
bitfld.long 0x4 8. "CH1OM3,CH1OM3" "0,1"
|
|
bitfld.long 0x4 5. "CH1IMAE,CH1IMAE" "0,1"
|
|
bitfld.long 0x4 4. "CH1PRE,CH1PRE" "0,1"
|
|
bitfld.long 0x4 0.--2. "CH1OM20,CH1OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "CH2OCFR,CH2OCFR"
|
|
bitfld.long 0x8 8. "CH2OM3,CH2OM3" "0,1"
|
|
bitfld.long 0x8 5. "CH2IMAE,CH2IMAE" "0,1"
|
|
bitfld.long 0x8 4. "CH2PRE,CH2PRE" "0,1"
|
|
bitfld.long 0x8 0.--2. "CH2OM20,CH2OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0xC "CH3OCFR,CH3OCFR"
|
|
bitfld.long 0xC 8. "CH3OM3,CH3OM3" "0,1"
|
|
bitfld.long 0xC 5. "CH3IMAE,CH3IMAE" "0,1"
|
|
bitfld.long 0xC 4. "CH3PRE,CH3PRE" "0,1"
|
|
bitfld.long 0xC 0.--2. "CH3OM20,CH3OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x10 "CHCTR,CHCTR"
|
|
bitfld.long 0x10 6. "CH3E,CH3E" "0,1"
|
|
bitfld.long 0x10 4. "CH2E,CH2E" "0,1"
|
|
bitfld.long 0x10 2. "CH1E,CH1E" "0,1"
|
|
bitfld.long 0x10 0. "CH0E,CH0E" "0,1"
|
|
line.long 0x14 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x14 6. "CH3P,CH3P" "0,1"
|
|
bitfld.long 0x14 4. "CH2P,CH2P" "0,1"
|
|
bitfld.long 0x14 2. "CH1P,CH1P" "0,1"
|
|
bitfld.long 0x14 0. "CH0P,CH0P" "0,1"
|
|
group.long 0x74++0x17
|
|
line.long 0x0 "DICTR,DICTR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 26. "TEVDE,TEVDE" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 24. "UEVDE,UEVDE" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 19. "CH3CCDE,CH3CCDE" "0,1"
|
|
bitfld.long 0x0 18. "CH2CCDE,CH2CCDE" "0,1"
|
|
bitfld.long 0x0 17. "CH1CCDE,CH1CCDE" "0,1"
|
|
bitfld.long 0x0 16. "CH0CCDE,CH0CCDE" "0,1"
|
|
endif
|
|
bitfld.long 0x0 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x0 8. "UEVIE,UEVIE" "0,1"
|
|
bitfld.long 0x0 3. "CH3CCIE,CH3CCIE" "0,1"
|
|
bitfld.long 0x0 2. "CH2CCIE,CH2CCIE" "0,1"
|
|
bitfld.long 0x0 1. "CH1CCIE,CH1CCIE" "0,1"
|
|
newline
|
|
bitfld.long 0x0 0. "CH0CCIE,CH0CCIE" "0,1"
|
|
line.long 0x4 "EVGR,EVGR"
|
|
bitfld.long 0x4 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0x4 8. "UEVG,UEVG" "0,1"
|
|
bitfld.long 0x4 3. "CH3CCG,CH3CCG" "0,1"
|
|
bitfld.long 0x4 2. "CH2CCG,CH2CCG" "0,1"
|
|
bitfld.long 0x4 1. "CH1CCG,CH1CCG" "0,1"
|
|
bitfld.long 0x4 0. "CH0CCG,CH0CCG" "0,1"
|
|
line.long 0x8 "INTSR,INTSR"
|
|
bitfld.long 0x8 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x8 8. "UEVIF,UEVIF" "0,1"
|
|
bitfld.long 0x8 7. "CH3OCF,CH3OCF" "0,1"
|
|
bitfld.long 0x8 6. "CH2OCF,CH2OCF" "0,1"
|
|
bitfld.long 0x8 5. "CH1OCF,CH1OCF" "0,1"
|
|
bitfld.long 0x8 4. "CH0OCF,CH0OCF" "0,1"
|
|
bitfld.long 0x8 3. "CH3CCIF,CH3CCIF" "0,1"
|
|
bitfld.long 0x8 2. "CH2CCIF,CH2CCIF" "0,1"
|
|
bitfld.long 0x8 1. "CH1CCIF,CH1CCIF" "0,1"
|
|
bitfld.long 0x8 0. "CH0CCIF,CH0CCIF" "0,1"
|
|
line.long 0xC "CNTR,CNTR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x10 "PSCR,PSCR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x14 "CRR,CRR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CRV,CRV"
|
|
group.long 0x90++0x1F
|
|
line.long 0x0 "CH0CCR,CH0CCR"
|
|
hexmask.long.word 0x0 0.--15. 1. "CH0CCV,CH0CCV"
|
|
line.long 0x4 "CH1CCR,CH1CCR"
|
|
hexmask.long.word 0x4 0.--15. 1. "CH1CCV,CH1CCV"
|
|
line.long 0x8 "CH2CCR,CH2CCR"
|
|
hexmask.long.word 0x8 0.--15. 1. "CH2CCV,CH2CCV"
|
|
line.long 0xC "CH3CCR,CH3CCR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CH3CCV,CH3CCV"
|
|
line.long 0x10 "CH0ACR,CH0ACR"
|
|
hexmask.long.word 0x10 0.--15. 1. "CH0ACV,CH0ACV"
|
|
line.long 0x14 "CH1ACR,CH1ACR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CH1ACV,CH1ACV"
|
|
line.long 0x18 "CH2ACR,CH2ACR"
|
|
hexmask.long.word 0x18 0.--15. 1. "CH2ACV,CH2ACV"
|
|
line.long 0x1C "CH3ACR,CH3ACR"
|
|
hexmask.long.word 0x1C 0.--15. 1. "CH3ACV,CH3ACV"
|
|
tree.end
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
base ad:0x40048000
|
|
elif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
base ad:0x0
|
|
endif
|
|
tree "I2C (Inter-Integrated Circuit)"
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "I2CCR,I2CCR"
|
|
bitfld.long 0x0 14.--15. "SEQFILTER,SEQFILTER" "0,1,2,3"
|
|
bitfld.long 0x0 13. "COMBFILTERE,COMBFILTERE" "0,1"
|
|
newline
|
|
bitfld.long 0x0 12. "ENTOUT,ENTOUT" "0,1"
|
|
bitfld.long 0x0 7. "ADRM,ADRM" "0,1"
|
|
newline
|
|
bitfld.long 0x0 3. "I2CEN,I2CEN" "0,1"
|
|
bitfld.long 0x0 2. "GCEN,GCEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 1. "STOP,STOP" "0,1"
|
|
bitfld.long 0x0 0. "AA,AA" "0,1"
|
|
line.long 0x4 "I2CIER,I2CIER"
|
|
bitfld.long 0x4 18. "RXBFIE,RXBFIE" "0,1"
|
|
bitfld.long 0x4 17. "TXDEIE,TXDEIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 16. "RXDNEIE,RXDNEIE" "0,1"
|
|
bitfld.long 0x4 11. "TOUTIE,TOUTIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 10. "BUSERRIE,BUSERRIE" "0,1"
|
|
bitfld.long 0x4 9. "RXNACKIE,RXNACKIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 8. "ARBLOSIE,ARBLOSIE" "0,1"
|
|
bitfld.long 0x4 3. "GCSIE,GCSIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "ADRSIE,ADRSIE" "0,1"
|
|
bitfld.long 0x4 1. "STOIE,STOIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 0. "STAIE,STAIE" "0,1"
|
|
line.long 0x8 "I2CADDR,I2CADDR"
|
|
hexmask.long.word 0x8 0.--9. 1. "ADDR,ADDR"
|
|
line.long 0xC "I2CSR,I2CSR"
|
|
bitfld.long 0xC 21. "TXNRX,TXNRX" "0,1"
|
|
bitfld.long 0xC 20. "MASTER,MASTER" "0,1"
|
|
newline
|
|
bitfld.long 0xC 19. "BUSBUSY,BUSBUSY" "0,1"
|
|
bitfld.long 0xC 18. "RXBF,RXBF" "0,1"
|
|
newline
|
|
bitfld.long 0xC 17. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0xC 16. "RXDNE,RXDNE" "0,1"
|
|
newline
|
|
bitfld.long 0xC 11. "TOUTF,TOUTF" "0,1"
|
|
bitfld.long 0xC 10. "BUSERR,BUSERR" "0,1"
|
|
newline
|
|
bitfld.long 0xC 9. "RXNACK,RXNACK" "0,1"
|
|
bitfld.long 0xC 8. "ARBLOS,ARBLOS" "0,1"
|
|
newline
|
|
bitfld.long 0xC 3. "GCS,GCS" "0,1"
|
|
bitfld.long 0xC 2. "ADRS,ADRS" "0,1"
|
|
newline
|
|
bitfld.long 0xC 1. "STO,STO" "0,1"
|
|
bitfld.long 0xC 0. "STA,STA" "0,1"
|
|
line.long 0x10 "I2CSHPGR,I2CSHPGR"
|
|
hexmask.long.word 0x10 0.--15. 1. "SHPG,SHPG"
|
|
line.long 0x14 "I2CSLPGR,I2CSLPGR"
|
|
hexmask.long.word 0x14 0.--15. 1. "SLPG,SLPG"
|
|
line.long 0x18 "I2CDR,I2CDR"
|
|
hexmask.long.byte 0x18 0.--7. 1. "DATA,DATA"
|
|
line.long 0x1C "I2CTAR,I2CTAR"
|
|
bitfld.long 0x1C 10. "RWD,RWD" "0,1"
|
|
hexmask.long.word 0x1C 0.--9. 1. "TAR,TAR"
|
|
line.long 0x20 "I2CADDMR,I2CADDMR"
|
|
hexmask.long.word 0x20 0.--9. 1. "ADDMR,ADDMR"
|
|
line.long 0x24 "I2CADDSR,I2CADDSR"
|
|
hexmask.long.word 0x24 0.--9. 1. "ADDSR,ADDSR"
|
|
line.long 0x28 "I2CTOUT,I2CTOUT"
|
|
bitfld.long 0x28 16.--18. "PSC,PSC" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x28 0.--15. 1. "TOUT,TOUT"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "I2C0"
|
|
base ad:0x40048000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "I2CCR,I2CCR"
|
|
bitfld.long 0x0 14.--15. "SEQFILTER,SEQFILTER" "0,1,2,3"
|
|
bitfld.long 0x0 13. "COMBFILTERE,COMBFILTERE" "0,1"
|
|
bitfld.long 0x0 12. "ENTOUT,ENTOUT" "0,1"
|
|
bitfld.long 0x0 10. "DMANACK,DMANACK" "0,1"
|
|
bitfld.long 0x0 9. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x0 8. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x0 7. "ADRM,ADRM" "0,1"
|
|
bitfld.long 0x0 3. "I2CEN,I2CEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 2. "GCEN,GCEN" "0,1"
|
|
bitfld.long 0x0 1. "STOP,STOP" "0,1"
|
|
bitfld.long 0x0 0. "AA,AA" "0,1"
|
|
line.long 0x4 "I2CIER,I2CIER"
|
|
bitfld.long 0x4 18. "RXBFIE,RXBFIE" "0,1"
|
|
bitfld.long 0x4 17. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x4 16. "RXDNEIE,RXDNEIE" "0,1"
|
|
bitfld.long 0x4 11. "TOUTIE,TOUTIE" "0,1"
|
|
bitfld.long 0x4 10. "BUSERRIE,BUSERRIE" "0,1"
|
|
bitfld.long 0x4 9. "RXNACKIE,RXNACKIE" "0,1"
|
|
bitfld.long 0x4 8. "ARBLOSIE,ARBLOSIE" "0,1"
|
|
bitfld.long 0x4 3. "GCSIE,GCSIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "ADRSIE,ADRSIE" "0,1"
|
|
bitfld.long 0x4 1. "STOIE,STOIE" "0,1"
|
|
bitfld.long 0x4 0. "STAIE,STAIE" "0,1"
|
|
line.long 0x8 "I2CADDR,I2CADDR"
|
|
hexmask.long.word 0x8 0.--9. 1. "ADDR,ADDR"
|
|
line.long 0xC "I2CSR,I2CSR"
|
|
bitfld.long 0xC 21. "TXNRX,TXNRX" "0,1"
|
|
bitfld.long 0xC 20. "MASTER,MASTER" "0,1"
|
|
bitfld.long 0xC 19. "BUSBUSY,BUSBUSY" "0,1"
|
|
bitfld.long 0xC 18. "RXBF,RXBF" "0,1"
|
|
bitfld.long 0xC 17. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0xC 16. "RXDNE,RXDNE" "0,1"
|
|
bitfld.long 0xC 11. "TOUTF,TOUTF" "0,1"
|
|
bitfld.long 0xC 10. "BUSERR,BUSERR" "0,1"
|
|
newline
|
|
bitfld.long 0xC 9. "RXNACK,RXNACK" "0,1"
|
|
bitfld.long 0xC 8. "ARBLOS,ARBLOS" "0,1"
|
|
bitfld.long 0xC 3. "GCS,GCS" "0,1"
|
|
bitfld.long 0xC 2. "ADRS,ADRS" "0,1"
|
|
bitfld.long 0xC 1. "STO,STO" "0,1"
|
|
bitfld.long 0xC 0. "STA,STA" "0,1"
|
|
line.long 0x10 "I2CSHPGR,I2CSHPGR"
|
|
hexmask.long.word 0x10 0.--15. 1. "SHPG,SHPG"
|
|
line.long 0x14 "I2CSLPGR,I2CSLPGR"
|
|
hexmask.long.word 0x14 0.--15. 1. "SLPG,SLPG"
|
|
line.long 0x18 "I2CDR,I2CDR"
|
|
hexmask.long.byte 0x18 0.--7. 1. "DATA,DATA"
|
|
line.long 0x1C "I2CTAR,I2CTAR"
|
|
bitfld.long 0x1C 10. "RWD,RWD" "0,1"
|
|
hexmask.long.word 0x1C 0.--9. 1. "TAR,TAR"
|
|
line.long 0x20 "I2CADDMR,I2CADDMR"
|
|
hexmask.long.word 0x20 0.--9. 1. "ADDMR,ADDMR"
|
|
line.long 0x24 "I2CADDSR,I2CADDSR"
|
|
hexmask.long.word 0x24 0.--9. 1. "ADDSR,ADDSR"
|
|
line.long 0x28 "I2CTOUT,I2CTOUT"
|
|
bitfld.long 0x28 16.--18. "PSC,PSC" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x28 0.--15. 1. "TOUT,TOUT"
|
|
tree.end
|
|
tree "I2C1"
|
|
base ad:0x40049000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "I2CCR,I2CCR"
|
|
bitfld.long 0x0 14.--15. "SEQFILTER,SEQFILTER" "0,1,2,3"
|
|
bitfld.long 0x0 13. "COMBFILTERE,COMBFILTERE" "0,1"
|
|
bitfld.long 0x0 12. "ENTOUT,ENTOUT" "0,1"
|
|
bitfld.long 0x0 10. "DMANACK,DMANACK" "0,1"
|
|
bitfld.long 0x0 9. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x0 8. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x0 7. "ADRM,ADRM" "0,1"
|
|
bitfld.long 0x0 3. "I2CEN,I2CEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 2. "GCEN,GCEN" "0,1"
|
|
bitfld.long 0x0 1. "STOP,STOP" "0,1"
|
|
bitfld.long 0x0 0. "AA,AA" "0,1"
|
|
line.long 0x4 "I2CIER,I2CIER"
|
|
bitfld.long 0x4 18. "RXBFIE,RXBFIE" "0,1"
|
|
bitfld.long 0x4 17. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x4 16. "RXDNEIE,RXDNEIE" "0,1"
|
|
bitfld.long 0x4 11. "TOUTIE,TOUTIE" "0,1"
|
|
bitfld.long 0x4 10. "BUSERRIE,BUSERRIE" "0,1"
|
|
bitfld.long 0x4 9. "RXNACKIE,RXNACKIE" "0,1"
|
|
bitfld.long 0x4 8. "ARBLOSIE,ARBLOSIE" "0,1"
|
|
bitfld.long 0x4 3. "GCSIE,GCSIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "ADRSIE,ADRSIE" "0,1"
|
|
bitfld.long 0x4 1. "STOIE,STOIE" "0,1"
|
|
bitfld.long 0x4 0. "STAIE,STAIE" "0,1"
|
|
line.long 0x8 "I2CADDR,I2CADDR"
|
|
hexmask.long.word 0x8 0.--9. 1. "ADDR,ADDR"
|
|
line.long 0xC "I2CSR,I2CSR"
|
|
bitfld.long 0xC 21. "TXNRX,TXNRX" "0,1"
|
|
bitfld.long 0xC 20. "MASTER,MASTER" "0,1"
|
|
bitfld.long 0xC 19. "BUSBUSY,BUSBUSY" "0,1"
|
|
bitfld.long 0xC 18. "RXBF,RXBF" "0,1"
|
|
bitfld.long 0xC 17. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0xC 16. "RXDNE,RXDNE" "0,1"
|
|
bitfld.long 0xC 11. "TOUTF,TOUTF" "0,1"
|
|
bitfld.long 0xC 10. "BUSERR,BUSERR" "0,1"
|
|
newline
|
|
bitfld.long 0xC 9. "RXNACK,RXNACK" "0,1"
|
|
bitfld.long 0xC 8. "ARBLOS,ARBLOS" "0,1"
|
|
bitfld.long 0xC 3. "GCS,GCS" "0,1"
|
|
bitfld.long 0xC 2. "ADRS,ADRS" "0,1"
|
|
bitfld.long 0xC 1. "STO,STO" "0,1"
|
|
bitfld.long 0xC 0. "STA,STA" "0,1"
|
|
line.long 0x10 "I2CSHPGR,I2CSHPGR"
|
|
hexmask.long.word 0x10 0.--15. 1. "SHPG,SHPG"
|
|
line.long 0x14 "I2CSLPGR,I2CSLPGR"
|
|
hexmask.long.word 0x14 0.--15. 1. "SLPG,SLPG"
|
|
line.long 0x18 "I2CDR,I2CDR"
|
|
hexmask.long.byte 0x18 0.--7. 1. "DATA,DATA"
|
|
line.long 0x1C "I2CTAR,I2CTAR"
|
|
bitfld.long 0x1C 10. "RWD,RWD" "0,1"
|
|
hexmask.long.word 0x1C 0.--9. 1. "TAR,TAR"
|
|
line.long 0x20 "I2CADDMR,I2CADDMR"
|
|
hexmask.long.word 0x20 0.--9. 1. "ADDMR,ADDMR"
|
|
line.long 0x24 "I2CADDSR,I2CADDSR"
|
|
hexmask.long.word 0x24 0.--9. 1. "ADDSR,ADDSR"
|
|
line.long 0x28 "I2CTOUT,I2CTOUT"
|
|
bitfld.long 0x28 16.--18. "PSC,PSC" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x28 0.--15. 1. "TOUT,TOUT"
|
|
tree.end
|
|
tree "I2C2"
|
|
base ad:0x40008000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "I2CCR,I2CCR"
|
|
bitfld.long 0x0 14.--15. "SEQFILTER,SEQFILTER" "0,1,2,3"
|
|
bitfld.long 0x0 13. "COMBFILTERE,COMBFILTERE" "0,1"
|
|
bitfld.long 0x0 12. "ENTOUT,ENTOUT" "0,1"
|
|
bitfld.long 0x0 10. "DMANACK,DMANACK" "0,1"
|
|
bitfld.long 0x0 9. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x0 8. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x0 7. "ADRM,ADRM" "0,1"
|
|
bitfld.long 0x0 3. "I2CEN,I2CEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 2. "GCEN,GCEN" "0,1"
|
|
bitfld.long 0x0 1. "STOP,STOP" "0,1"
|
|
bitfld.long 0x0 0. "AA,AA" "0,1"
|
|
line.long 0x4 "I2CIER,I2CIER"
|
|
bitfld.long 0x4 18. "RXBFIE,RXBFIE" "0,1"
|
|
bitfld.long 0x4 17. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x4 16. "RXDNEIE,RXDNEIE" "0,1"
|
|
bitfld.long 0x4 11. "TOUTIE,TOUTIE" "0,1"
|
|
bitfld.long 0x4 10. "BUSERRIE,BUSERRIE" "0,1"
|
|
bitfld.long 0x4 9. "RXNACKIE,RXNACKIE" "0,1"
|
|
bitfld.long 0x4 8. "ARBLOSIE,ARBLOSIE" "0,1"
|
|
bitfld.long 0x4 3. "GCSIE,GCSIE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "ADRSIE,ADRSIE" "0,1"
|
|
bitfld.long 0x4 1. "STOIE,STOIE" "0,1"
|
|
bitfld.long 0x4 0. "STAIE,STAIE" "0,1"
|
|
line.long 0x8 "I2CADDR,I2CADDR"
|
|
hexmask.long.word 0x8 0.--9. 1. "ADDR,ADDR"
|
|
line.long 0xC "I2CSR,I2CSR"
|
|
bitfld.long 0xC 21. "TXNRX,TXNRX" "0,1"
|
|
bitfld.long 0xC 20. "MASTER,MASTER" "0,1"
|
|
bitfld.long 0xC 19. "BUSBUSY,BUSBUSY" "0,1"
|
|
bitfld.long 0xC 18. "RXBF,RXBF" "0,1"
|
|
bitfld.long 0xC 17. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0xC 16. "RXDNE,RXDNE" "0,1"
|
|
bitfld.long 0xC 11. "TOUTF,TOUTF" "0,1"
|
|
bitfld.long 0xC 10. "BUSERR,BUSERR" "0,1"
|
|
newline
|
|
bitfld.long 0xC 9. "RXNACK,RXNACK" "0,1"
|
|
bitfld.long 0xC 8. "ARBLOS,ARBLOS" "0,1"
|
|
bitfld.long 0xC 3. "GCS,GCS" "0,1"
|
|
bitfld.long 0xC 2. "ADRS,ADRS" "0,1"
|
|
bitfld.long 0xC 1. "STO,STO" "0,1"
|
|
bitfld.long 0xC 0. "STA,STA" "0,1"
|
|
line.long 0x10 "I2CSHPGR,I2CSHPGR"
|
|
hexmask.long.word 0x10 0.--15. 1. "SHPG,SHPG"
|
|
line.long 0x14 "I2CSLPGR,I2CSLPGR"
|
|
hexmask.long.word 0x14 0.--15. 1. "SLPG,SLPG"
|
|
line.long 0x18 "I2CDR,I2CDR"
|
|
hexmask.long.byte 0x18 0.--7. 1. "DATA,DATA"
|
|
line.long 0x1C "I2CTAR,I2CTAR"
|
|
bitfld.long 0x1C 10. "RWD,RWD" "0,1"
|
|
hexmask.long.word 0x1C 0.--9. 1. "TAR,TAR"
|
|
line.long 0x20 "I2CADDMR,I2CADDMR"
|
|
hexmask.long.word 0x20 0.--9. 1. "ADDMR,ADDMR"
|
|
line.long 0x24 "I2CADDSR,I2CADDSR"
|
|
hexmask.long.word 0x24 0.--9. 1. "ADDSR,ADDSR"
|
|
line.long 0x28 "I2CTOUT,I2CTOUT"
|
|
bitfld.long 0x28 16.--18. "PSC,PSC" "0,1,2,3,4,5,6,7"
|
|
hexmask.long.word 0x28 0.--15. 1. "TOUT,TOUT"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "MCTM (Motor Control Timer)"
|
|
base ad:0x4002C000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 24. "DIR,DIR" "0,1"
|
|
bitfld.long 0x0 16.--17. "CMSEL,CMSEL" "0,1,2,3"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEV1DIS,UEV1DIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 24. "SPMSET,SPMSET" "0,1"
|
|
bitfld.long 0x4 16.--18. "MMSEL,MMSEL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x4 0. "TSE,TSE" "0,1"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
bitfld.long 0x0 16. "CHCCDS,CHCCDS" "0,1"
|
|
bitfld.long 0x0 9. "COMUS,COMUS" "0,1"
|
|
bitfld.long 0x0 8. "COMPRE,COMPRE" "0,1"
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0xF
|
|
line.long 0x0 "CH0ICFR,CH0ICFR"
|
|
bitfld.long 0x0 31. "TI0SRC,TI0SRC" "0,1"
|
|
bitfld.long 0x0 18.--19. "CH0PSC,CH0PSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CH0CCS,CH0CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TI0F,TI0F"
|
|
line.long 0x4 "CH1ICFR,CH1ICFR"
|
|
bitfld.long 0x4 18.--19. "CH1PSC,CH1PSC" "0,1,2,3"
|
|
bitfld.long 0x4 16.--17. "CH1CCS,CH1CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x4 0.--3. 1. "TI1F,TI1F"
|
|
line.long 0x8 "CH2ICFR,CH2ICFR"
|
|
bitfld.long 0x8 18.--19. "CH2PSC,CH2PSC" "0,1,2,3"
|
|
bitfld.long 0x8 16.--17. "CH2CCS,CH2CCS" "0,1,2,3"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TI2F,TI2F"
|
|
line.long 0xC "CH3ICFR,CH3ICFR"
|
|
bitfld.long 0xC 18.--19. "CH3PSC,CH3PSC" "0,1,2,3"
|
|
bitfld.long 0xC 16.--17. "CH3CCS,CH3CCS" "0,1,2,3"
|
|
hexmask.long.byte 0xC 0.--3. 1. "TI3F,TI3F"
|
|
group.long 0x40++0x17
|
|
line.long 0x0 "CH0OCFR,CH0OCFR"
|
|
bitfld.long 0x0 8. "CH0OM3,CH0OM3" "0,1"
|
|
bitfld.long 0x0 5. "CH0IMAE,CH0IMAE" "0,1"
|
|
bitfld.long 0x0 4. "CH0PRE,CH0PRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CH0OM20,CH0OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x4 "CH1OCFR,CH1OCFR"
|
|
bitfld.long 0x4 8. "CH1OM3,CH1OM3" "0,1"
|
|
bitfld.long 0x4 5. "CH1IMAE,CH1IMAE" "0,1"
|
|
bitfld.long 0x4 4. "CH1PRE,CH1PRE" "0,1"
|
|
bitfld.long 0x4 0.--2. "CH1OM20,CH1OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "CH2OCFR,CH2OCFR"
|
|
bitfld.long 0x8 8. "CH2OM3,CH2OM3" "0,1"
|
|
bitfld.long 0x8 5. "CH2IMAE,CH2IMAE" "0,1"
|
|
bitfld.long 0x8 4. "CH2PRE,CH2PRE" "0,1"
|
|
bitfld.long 0x8 0.--2. "CH2OM20,CH2OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0xC "CH3OCFR,CH3OCFR"
|
|
bitfld.long 0xC 8. "CH3OM3,CH3OM3" "0,1"
|
|
bitfld.long 0xC 5. "CH3IMAE,CH3IMAE" "0,1"
|
|
bitfld.long 0xC 4. "CH3PRE,CH3PRE" "0,1"
|
|
bitfld.long 0xC 0.--2. "CH3OM20,CH3OM20" "0,1,2,3,4,5,6,7"
|
|
line.long 0x10 "CHCTR,CHCTR"
|
|
bitfld.long 0x10 6. "CH3E,CH3E" "0,1"
|
|
bitfld.long 0x10 5. "CH2NE,CH2NE" "0,1"
|
|
bitfld.long 0x10 4. "CH2E,CH2E" "0,1"
|
|
bitfld.long 0x10 3. "CH1NE,CH1NE" "0,1"
|
|
bitfld.long 0x10 2. "CH1E,CH1E" "0,1"
|
|
bitfld.long 0x10 1. "CH0NE,CH0NE" "0,1"
|
|
bitfld.long 0x10 0. "CH0E,CH0E" "0,1"
|
|
line.long 0x14 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x14 6. "CH3P,CH3P" "0,1"
|
|
bitfld.long 0x14 5. "CH2NP,CH2NP" "0,1"
|
|
bitfld.long 0x14 4. "CH2P,CH2P" "0,1"
|
|
bitfld.long 0x14 3. "CH1NP,CH1NP" "0,1"
|
|
bitfld.long 0x14 2. "CH1P,CH1P" "0,1"
|
|
bitfld.long 0x14 1. "CH0NP,CH0NP" "0,1"
|
|
bitfld.long 0x14 0. "CH0P,CH0P" "0,1"
|
|
group.long 0x6C++0x43
|
|
line.long 0x0 "CHBRKCFR,CHBRKCFR"
|
|
bitfld.long 0x0 6. "CH3OIS,CH3OIS" "0,1"
|
|
bitfld.long 0x0 5. "CH2OISN,CH2OISN" "0,1"
|
|
bitfld.long 0x0 4. "CH2OIS,CH2OIS" "0,1"
|
|
bitfld.long 0x0 3. "CH1OISN,CH1OISN" "0,1"
|
|
bitfld.long 0x0 2. "CH1OIS,CH1OIS" "0,1"
|
|
bitfld.long 0x0 1. "CH0OISN,CH0OISN" "0,1"
|
|
bitfld.long 0x0 0. "CH0OIS,CH0OIS" "0,1"
|
|
line.long 0x4 "CHBRKCTR,CHBRKCTR"
|
|
hexmask.long.byte 0x4 24.--31. 1. "CHDTG,CHDTG"
|
|
bitfld.long 0x4 21. "CHOSSR,CHOSSR" "0,1"
|
|
bitfld.long 0x4 20. "CHOSSI,CHOSSI" "0,1"
|
|
bitfld.long 0x4 18. "GFSEL,GFSEL" "0,1"
|
|
bitfld.long 0x4 16.--17. "LOCKLV,LOCKLV" "0,1,2,3"
|
|
hexmask.long.byte 0x4 8.--11. 1. "BKF,BKF"
|
|
bitfld.long 0x4 5. "CHAOE,CHAOE" "0,1"
|
|
bitfld.long 0x4 4. "CHMOE,CHMOE" "0,1"
|
|
bitfld.long 0x4 1. "BKP,BKP" "0,1"
|
|
bitfld.long 0x4 0. "BKE,BKE" "0,1"
|
|
line.long 0x8 "DICTR,DICTR"
|
|
bitfld.long 0x8 26. "TEVDE,TEVDE" "0,1"
|
|
bitfld.long 0x8 25. "UEV2DE,UEV2DE" "0,1"
|
|
bitfld.long 0x8 24. "UEV1DE,UEV1DE" "0,1"
|
|
bitfld.long 0x8 19. "CH3CCDE,CH3CCDE" "0,1"
|
|
bitfld.long 0x8 18. "CH2CCDE,CH2CCDE" "0,1"
|
|
bitfld.long 0x8 17. "CH1CCDE,CH1CCDE" "0,1"
|
|
bitfld.long 0x8 16. "CH0CCDE,CH0CCDE" "0,1"
|
|
bitfld.long 0x8 11. "BRKIE,BRKIE" "0,1"
|
|
bitfld.long 0x8 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x8 9. "UEV2IE,UEV2IE" "0,1"
|
|
bitfld.long 0x8 8. "UEV1IE,UEV1IE" "0,1"
|
|
newline
|
|
bitfld.long 0x8 3. "CH3CCIE,CH3CCIE" "0,1"
|
|
bitfld.long 0x8 2. "CH2CCIE,CH2CCIE" "0,1"
|
|
bitfld.long 0x8 1. "CH1CCIE,CH1CCIE" "0,1"
|
|
bitfld.long 0x8 0. "CH0CCIE,CH0CCIE" "0,1"
|
|
line.long 0xC "EVGR,EVGR"
|
|
bitfld.long 0xC 11. "BRKG,BRKG" "0,1"
|
|
bitfld.long 0xC 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0xC 9. "UEV2G,UEV2G" "0,1"
|
|
bitfld.long 0xC 8. "UEV1G,UEV1G" "0,1"
|
|
bitfld.long 0xC 3. "CH3CCG,CH3CCG" "0,1"
|
|
bitfld.long 0xC 2. "CH2CCG,CH2CCG" "0,1"
|
|
bitfld.long 0xC 1. "CH1CCG,CH1CCG" "0,1"
|
|
bitfld.long 0xC 0. "CH0CCG,CH0CCG" "0,1"
|
|
line.long 0x10 "INTSR,INTSR"
|
|
bitfld.long 0x10 11. "BRKIF,BRKIF" "0,1"
|
|
bitfld.long 0x10 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x10 9. "UEV2IF,UEV2IF" "0,1"
|
|
bitfld.long 0x10 8. "UEV1IF,UEV1IF" "0,1"
|
|
bitfld.long 0x10 7. "CH3OCF,CH3OCF" "0,1"
|
|
bitfld.long 0x10 6. "CH2OCF,CH2OCF" "0,1"
|
|
bitfld.long 0x10 5. "CH1OCF,CH1OCF" "0,1"
|
|
bitfld.long 0x10 4. "CH0OCF,CH0OCF" "0,1"
|
|
bitfld.long 0x10 3. "CH3CCIF,CH3CCIF" "0,1"
|
|
bitfld.long 0x10 2. "CH2CCIF,CH2CCIF" "0,1"
|
|
bitfld.long 0x10 1. "CH1CCIF,CH1CCIF" "0,1"
|
|
newline
|
|
bitfld.long 0x10 0. "CH0CCIF,CH0CCIF" "0,1"
|
|
line.long 0x14 "CNTR,CNTR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x18 "PSCR,PSCR"
|
|
hexmask.long.word 0x18 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x1C "CRR,CRR"
|
|
hexmask.long.word 0x1C 0.--15. 1. "CRV,CRV"
|
|
line.long 0x20 "REPR,REPR"
|
|
hexmask.long.byte 0x20 0.--7. 1. "REPV,REPV"
|
|
line.long 0x24 "CH0CCR,CH0CCR"
|
|
hexmask.long.word 0x24 0.--15. 1. "CH0CCV,CH0CCV"
|
|
line.long 0x28 "CH1CCR,CH1CCR"
|
|
hexmask.long.word 0x28 0.--15. 1. "CH1CCV,CH1CCV"
|
|
line.long 0x2C "CH2CCR,CH2CCR"
|
|
hexmask.long.word 0x2C 0.--15. 1. "CH2CCV,CH2CCV"
|
|
line.long 0x30 "CH3CCR,CH3CCR"
|
|
hexmask.long.word 0x30 0.--15. 1. "CH3CCV,CH3CCV"
|
|
line.long 0x34 "CH0ACR,CH0ACR"
|
|
hexmask.long.word 0x34 0.--15. 1. "CH0ACV,CH0ACV"
|
|
line.long 0x38 "CH1ACR,CH1ACR"
|
|
hexmask.long.word 0x38 0.--15. 1. "CH1ACV,CH1ACV"
|
|
line.long 0x3C "CH2ACR,CH2ACR"
|
|
hexmask.long.word 0x3C 0.--15. 1. "CH2ACV,CH2ACV"
|
|
line.long 0x40 "CH3ACR,CH3ACR"
|
|
hexmask.long.word 0x40 0.--15. 1. "CH3ACV,CH3ACV"
|
|
tree.end
|
|
endif
|
|
tree "NVIC (Nested Vectored Interrupt Controller)"
|
|
base ad:0xE000E100
|
|
group.long 0x0++0x3
|
|
line.long 0x0 "ISER,ISER"
|
|
bitfld.long 0x0 31. "SETENA31,SETENA31" "0,1"
|
|
bitfld.long 0x0 30. "SETENA30,SETENA30" "0,1"
|
|
bitfld.long 0x0 29. "SETENA29,SETENA29" "0,1"
|
|
bitfld.long 0x0 28. "SETENA28,SETENA28" "0,1"
|
|
bitfld.long 0x0 27. "SETENA27,SETENA27" "0,1"
|
|
bitfld.long 0x0 26. "SETENA26,SETENA26" "0,1"
|
|
bitfld.long 0x0 25. "SETENA25,SETENA25" "0,1"
|
|
bitfld.long 0x0 24. "SETENA24,SETENA24" "0,1"
|
|
bitfld.long 0x0 23. "SETENA23,SETENA23" "0,1"
|
|
bitfld.long 0x0 22. "SETENA22,SETENA22" "0,1"
|
|
newline
|
|
bitfld.long 0x0 21. "SETENA21,SETENA21" "0,1"
|
|
bitfld.long 0x0 20. "SETENA20,SETENA20" "0,1"
|
|
bitfld.long 0x0 19. "SETENA19,SETENA19" "0,1"
|
|
bitfld.long 0x0 18. "SETENA18,SETENA18" "0,1"
|
|
bitfld.long 0x0 17. "SETENA17,SETENA17" "0,1"
|
|
bitfld.long 0x0 16. "SETENA16,SETENA16" "0,1"
|
|
bitfld.long 0x0 15. "SETENA15,SETENA15" "0,1"
|
|
bitfld.long 0x0 14. "SETENA14,SETENA14" "0,1"
|
|
bitfld.long 0x0 13. "SETENA13,SETENA13" "0,1"
|
|
bitfld.long 0x0 12. "SETENA12,SETENA12" "0,1"
|
|
newline
|
|
bitfld.long 0x0 11. "SETENA11,SETENA11" "0,1"
|
|
bitfld.long 0x0 10. "SETENA10,SETENA10" "0,1"
|
|
bitfld.long 0x0 9. "SETENA9,SETENA9" "0,1"
|
|
bitfld.long 0x0 8. "SETENA8,SETENA8" "0,1"
|
|
bitfld.long 0x0 7. "SETENA7,SETENA7" "0,1"
|
|
bitfld.long 0x0 6. "SETENA6,SETENA6" "0,1"
|
|
bitfld.long 0x0 5. "SETENA5,SETENA5" "0,1"
|
|
bitfld.long 0x0 4. "SETENA4,SETENA4" "0,1"
|
|
bitfld.long 0x0 3. "SETENA3,SETENA3" "0,1"
|
|
bitfld.long 0x0 2. "SETENA2,SETENA2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 1. "SETENA1,SETENA1" "0,1"
|
|
bitfld.long 0x0 0. "SETENA0,SETENA0" "0,1"
|
|
group.long 0x80++0x3
|
|
line.long 0x0 "ICER,ICER"
|
|
bitfld.long 0x0 31. "CLRENA31,CLRENA31" "0,1"
|
|
bitfld.long 0x0 30. "CLRENA30,CLRENA30" "0,1"
|
|
bitfld.long 0x0 29. "CLRENA29,CLRENA29" "0,1"
|
|
bitfld.long 0x0 28. "CLRENA28,CLRENA28" "0,1"
|
|
bitfld.long 0x0 27. "CLRENA27,CLRENA27" "0,1"
|
|
bitfld.long 0x0 26. "CLRENA26,CLRENA26" "0,1"
|
|
bitfld.long 0x0 25. "CLRENA25,CLRENA25" "0,1"
|
|
bitfld.long 0x0 24. "CLRENA24,CLRENA24" "0,1"
|
|
bitfld.long 0x0 23. "CLRENA23,CLRENA23" "0,1"
|
|
bitfld.long 0x0 22. "CLRENA22,CLRENA22" "0,1"
|
|
newline
|
|
bitfld.long 0x0 21. "CLRENA21,CLRENA21" "0,1"
|
|
bitfld.long 0x0 20. "CLRENA20,CLRENA20" "0,1"
|
|
bitfld.long 0x0 19. "CLRENA19,CLRENA19" "0,1"
|
|
bitfld.long 0x0 18. "CLRENA18,CLRENA18" "0,1"
|
|
bitfld.long 0x0 17. "CLRENA17,CLRENA17" "0,1"
|
|
bitfld.long 0x0 16. "CLRENA16,CLRENA16" "0,1"
|
|
bitfld.long 0x0 15. "CLRENA15,CLRENA15" "0,1"
|
|
bitfld.long 0x0 14. "CLRENA14,CLRENA14" "0,1"
|
|
bitfld.long 0x0 13. "CLRENA13,CLRENA13" "0,1"
|
|
bitfld.long 0x0 12. "CLRENA12,CLRENA12" "0,1"
|
|
newline
|
|
bitfld.long 0x0 11. "CLRENA11,CLRENA11" "0,1"
|
|
bitfld.long 0x0 10. "CLRENA10,CLRENA10" "0,1"
|
|
bitfld.long 0x0 9. "CLRENA9,CLRENA9" "0,1"
|
|
bitfld.long 0x0 8. "CLRENA8,CLRENA8" "0,1"
|
|
bitfld.long 0x0 7. "CLRENA7,CLRENA7" "0,1"
|
|
bitfld.long 0x0 6. "CLRENA6,CLRENA6" "0,1"
|
|
bitfld.long 0x0 5. "CLRENA5,CLRENA5" "0,1"
|
|
bitfld.long 0x0 4. "CLRENA4,CLRENA4" "0,1"
|
|
bitfld.long 0x0 3. "CLRENA3,CLRENA3" "0,1"
|
|
bitfld.long 0x0 2. "CLRENA2,CLRENA2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 1. "CLRENA1,CLRENA1" "0,1"
|
|
bitfld.long 0x0 0. "CLRENA0,CLRENA0" "0,1"
|
|
group.long 0x100++0x3
|
|
line.long 0x0 "ISPR,ISPR"
|
|
bitfld.long 0x0 31. "SETPEND31,SETPEND31" "0,1"
|
|
bitfld.long 0x0 30. "SETPEND30,SETPEND30" "0,1"
|
|
bitfld.long 0x0 29. "SETPEND29,SETPEND29" "0,1"
|
|
bitfld.long 0x0 28. "SETPEND28,SETPEND28" "0,1"
|
|
bitfld.long 0x0 27. "SETPEND27,SETPEND27" "0,1"
|
|
bitfld.long 0x0 26. "SETPEND26,SETPEND26" "0,1"
|
|
bitfld.long 0x0 25. "SETPEND25,SETPEND25" "0,1"
|
|
bitfld.long 0x0 24. "SETPEND24,SETPEND24" "0,1"
|
|
bitfld.long 0x0 23. "SETPEND23,SETPEND23" "0,1"
|
|
bitfld.long 0x0 22. "SETPEND22,SETPEND22" "0,1"
|
|
newline
|
|
bitfld.long 0x0 21. "SETPEND21,SETPEND21" "0,1"
|
|
bitfld.long 0x0 20. "SETPEND20,SETPEND20" "0,1"
|
|
bitfld.long 0x0 19. "SETPEND19,SETPEND19" "0,1"
|
|
bitfld.long 0x0 18. "SETPEND18,SETPEND18" "0,1"
|
|
bitfld.long 0x0 17. "SETPEND17,SETPEND17" "0,1"
|
|
bitfld.long 0x0 16. "SETPEND16,SETPEND16" "0,1"
|
|
bitfld.long 0x0 15. "SETPEND15,SETPEND15" "0,1"
|
|
bitfld.long 0x0 14. "SETPEND14,SETPEND14" "0,1"
|
|
bitfld.long 0x0 13. "SETPEND13,SETPEND13" "0,1"
|
|
bitfld.long 0x0 12. "SETPEND12,SETPEND12" "0,1"
|
|
newline
|
|
bitfld.long 0x0 11. "SETPEND11,SETPEND11" "0,1"
|
|
bitfld.long 0x0 10. "SETPEND10,SETPEND10" "0,1"
|
|
bitfld.long 0x0 9. "SETPEND9,SETPEND9" "0,1"
|
|
bitfld.long 0x0 8. "SETPEND8,SETPEND8" "0,1"
|
|
bitfld.long 0x0 7. "SETPEND7,SETPEND7" "0,1"
|
|
bitfld.long 0x0 6. "SETPEND6,SETPEND6" "0,1"
|
|
bitfld.long 0x0 5. "SETPEND5,SETPEND5" "0,1"
|
|
bitfld.long 0x0 4. "SETPEND4,SETPEND4" "0,1"
|
|
bitfld.long 0x0 3. "SETPEND3,SETPEND3" "0,1"
|
|
bitfld.long 0x0 2. "SETPEND2,SETPEND2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 1. "SETPEND1,SETPEND1" "0,1"
|
|
bitfld.long 0x0 0. "SETPEND0,SETPEND0" "0,1"
|
|
group.long 0x180++0x3
|
|
line.long 0x0 "ICPR,ICPR"
|
|
bitfld.long 0x0 31. "CLRPEND31,CLRPEND31" "0,1"
|
|
bitfld.long 0x0 30. "CLRPEND30,CLRPEND30" "0,1"
|
|
bitfld.long 0x0 29. "CLRPEND29,CLRPEND29" "0,1"
|
|
bitfld.long 0x0 28. "CLRPEND28,CLRPEND28" "0,1"
|
|
bitfld.long 0x0 27. "CLRPEND27,CLRPEND27" "0,1"
|
|
bitfld.long 0x0 26. "CLRPEND26,CLRPEND26" "0,1"
|
|
bitfld.long 0x0 25. "CLRPEND25,CLRPEND25" "0,1"
|
|
bitfld.long 0x0 24. "CLRPEND24,CLRPEND24" "0,1"
|
|
bitfld.long 0x0 23. "CLRPEND23,CLRPEND23" "0,1"
|
|
bitfld.long 0x0 22. "CLRPEND22,CLRPEND22" "0,1"
|
|
newline
|
|
bitfld.long 0x0 21. "CLRPEND21,CLRPEND21" "0,1"
|
|
bitfld.long 0x0 20. "CLRPEND20,CLRPEND20" "0,1"
|
|
bitfld.long 0x0 19. "CLRPEND19,CLRPEND19" "0,1"
|
|
bitfld.long 0x0 18. "CLRPEND18,CLRPEND18" "0,1"
|
|
bitfld.long 0x0 17. "CLRPEND17,CLRPEND17" "0,1"
|
|
bitfld.long 0x0 16. "CLRPEND16,CLRPEND16" "0,1"
|
|
bitfld.long 0x0 15. "CLRPEND15,CLRPEND15" "0,1"
|
|
bitfld.long 0x0 14. "CLRPEND14,CLRPEND14" "0,1"
|
|
bitfld.long 0x0 13. "CLRPEND13,CLRPEND13" "0,1"
|
|
bitfld.long 0x0 12. "CLRPEND12,CLRPEND12" "0,1"
|
|
newline
|
|
bitfld.long 0x0 11. "CLRPEND11,CLRPEND11" "0,1"
|
|
bitfld.long 0x0 10. "CLRPEND10,CLRPEND10" "0,1"
|
|
bitfld.long 0x0 9. "CLRPEND9,CLRPEND9" "0,1"
|
|
bitfld.long 0x0 8. "CLRPEND8,CLRPEND8" "0,1"
|
|
bitfld.long 0x0 7. "CLRPEND7,CLRPEND7" "0,1"
|
|
bitfld.long 0x0 6. "CLRPEND6,CLRPEND6" "0,1"
|
|
bitfld.long 0x0 5. "CLRPEND5,CLRPEND5" "0,1"
|
|
bitfld.long 0x0 4. "CLRPEND4,CLRPEND4" "0,1"
|
|
bitfld.long 0x0 3. "CLRPEND3,CLRPEND3" "0,1"
|
|
bitfld.long 0x0 2. "CLRPEND2,CLRPEND2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 1. "CLRPEND1,CLRPEND1" "0,1"
|
|
bitfld.long 0x0 0. "CLRPEND0,CLRPEND0" "0,1"
|
|
group.long 0x300++0x1F
|
|
line.long 0x0 "IPR0,IPR0"
|
|
hexmask.long.byte 0x0 24.--31. 1. "PRI_3,PRI_3"
|
|
hexmask.long.byte 0x0 16.--23. 1. "PRI_2,PRI_2"
|
|
hexmask.long.byte 0x0 8.--15. 1. "PRI_1,PRI_1"
|
|
hexmask.long.byte 0x0 0.--7. 1. "PRI_0,PRI_0"
|
|
line.long 0x4 "IPR1,IPR1"
|
|
hexmask.long.byte 0x4 24.--31. 1. "PRI_7,PRI_7"
|
|
hexmask.long.byte 0x4 16.--23. 1. "PRI_6,PRI_6"
|
|
hexmask.long.byte 0x4 8.--15. 1. "PRI_5,PRI_5"
|
|
hexmask.long.byte 0x4 0.--7. 1. "PRI_4,PRI_4"
|
|
line.long 0x8 "IPR2,IPR2"
|
|
hexmask.long.byte 0x8 24.--31. 1. "PRI_11,PRI_11"
|
|
hexmask.long.byte 0x8 16.--23. 1. "PRI_10,PRI_10"
|
|
hexmask.long.byte 0x8 8.--15. 1. "PRI_9,PRI_9"
|
|
hexmask.long.byte 0x8 0.--7. 1. "PRI_8,PRI_8"
|
|
line.long 0xC "IPR3,IPR3"
|
|
hexmask.long.byte 0xC 24.--31. 1. "PRI_15,PRI_15"
|
|
hexmask.long.byte 0xC 16.--23. 1. "PRI_14,PRI_14"
|
|
hexmask.long.byte 0xC 8.--15. 1. "PRI_13,PRI_13"
|
|
hexmask.long.byte 0xC 0.--7. 1. "PRI_12,PRI_12"
|
|
line.long 0x10 "IPR4,IPR4"
|
|
hexmask.long.byte 0x10 24.--31. 1. "PRI_19,PRI_19"
|
|
hexmask.long.byte 0x10 16.--23. 1. "PRI_18,PRI_18"
|
|
hexmask.long.byte 0x10 8.--15. 1. "PRI_17,PRI_17"
|
|
hexmask.long.byte 0x10 0.--7. 1. "PRI_16,PRI_16"
|
|
line.long 0x14 "IPR5,IPR5"
|
|
hexmask.long.byte 0x14 24.--31. 1. "PRI_23,PRI_23"
|
|
hexmask.long.byte 0x14 16.--23. 1. "PRI_22,PRI_22"
|
|
hexmask.long.byte 0x14 8.--15. 1. "PRI_21,PRI_21"
|
|
hexmask.long.byte 0x14 0.--7. 1. "PRI_20,PRI_20"
|
|
line.long 0x18 "IPR6,IPR6"
|
|
hexmask.long.byte 0x18 24.--31. 1. "PRI_27,PRI_27"
|
|
hexmask.long.byte 0x18 16.--23. 1. "PRI_26,PRI_26"
|
|
hexmask.long.byte 0x18 8.--15. 1. "PRI_25,PRI_25"
|
|
hexmask.long.byte 0x18 0.--7. 1. "PRI_24,PRI_24"
|
|
line.long 0x1C "IPR7,IPR7"
|
|
hexmask.long.byte 0x1C 24.--31. 1. "PRI_31,PRI_31"
|
|
hexmask.long.byte 0x1C 16.--23. 1. "PRI_30,PRI_30"
|
|
hexmask.long.byte 0x1C 8.--15. 1. "PRI_29,PRI_29"
|
|
hexmask.long.byte 0x1C 0.--7. 1. "PRI_28,PRI_28"
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "PDMA (Peripheral Direct Memory Access)"
|
|
base ad:0x40090000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CH0CR,PDMA_CH0CR"
|
|
bitfld.long 0x0 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x0 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x0 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x0 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x0 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x0 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x0 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x0 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x0 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x0 0. "CHEN,CHEN" "0,1"
|
|
line.long 0x4 "CH0SADR,PDMA_CH0SADR"
|
|
hexmask.long 0x4 0.--31. 1. "SADR,SADR"
|
|
line.long 0x8 "CH0DADR,PDMA_CH0DADR"
|
|
hexmask.long 0x8 0.--31. 1. "DADR,DADR"
|
|
group.long 0x10++0x13
|
|
line.long 0x0 "CH0TSR,PDMA_CH0TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.byte 0x0 0.--7. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH0CTSR,PDMA_CH0CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
line.long 0x8 "CH1CR,PDMA_CH1CR"
|
|
bitfld.long 0x8 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x8 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x8 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x8 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x8 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x8 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x8 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x8 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x8 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x8 0. "CHEN,CHEN" "0,1"
|
|
line.long 0xC "CH1SADR,PDMA_CH1SADR"
|
|
hexmask.long 0xC 0.--31. 1. "SADR,SADR"
|
|
line.long 0x10 "CH1DADR,PDMA_CH1DADR"
|
|
hexmask.long 0x10 0.--31. 1. "DADR,DADR"
|
|
group.long 0x28++0x13
|
|
line.long 0x0 "CH1TSR,PDMA_CH1TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.word 0x0 0.--15. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH1CTSR,PDMA_CH1CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
line.long 0x8 "CH2CR,PDMA_CH2CR"
|
|
bitfld.long 0x8 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x8 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x8 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x8 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x8 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x8 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x8 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x8 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x8 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x8 0. "CHEN,CHEN" "0,1"
|
|
line.long 0xC "CH2SADR,PDMA_CH2SADR"
|
|
hexmask.long 0xC 0.--31. 1. "SADR,SADR"
|
|
line.long 0x10 "CH2DADR,PDMA_CH2DADR"
|
|
hexmask.long 0x10 0.--31. 1. "DADR,DADR"
|
|
group.long 0x40++0x13
|
|
line.long 0x0 "CH2TSR,PDMA_CH2TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.word 0x0 0.--15. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH2CTSR,PDMA_CH2CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
line.long 0x8 "CH3CR,PDMA_CH3CR"
|
|
bitfld.long 0x8 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x8 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x8 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x8 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x8 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x8 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x8 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x8 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x8 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x8 0. "CHEN,CHEN" "0,1"
|
|
line.long 0xC "CH3SADR,PDMA_CH3SADR"
|
|
hexmask.long 0xC 0.--31. 1. "SADR,SADR"
|
|
line.long 0x10 "CH3DADR,PDMA_CH3DADR"
|
|
hexmask.long 0x10 0.--31. 1. "DADR,DADR"
|
|
group.long 0x58++0x13
|
|
line.long 0x0 "CH3TSR,PDMA_CH3TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.word 0x0 0.--15. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH3CTSR,PDMA_CH3CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
line.long 0x8 "CH4CR,PDMA_CH4CR"
|
|
bitfld.long 0x8 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x8 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x8 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x8 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x8 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x8 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x8 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x8 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x8 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x8 0. "CHEN,CHEN" "0,1"
|
|
line.long 0xC "CH4SADR,PDMA_CH4SADR"
|
|
hexmask.long 0xC 0.--31. 1. "SADR,SADR"
|
|
line.long 0x10 "CH4DADR,PDMA_CH4DADR"
|
|
hexmask.long 0x10 0.--31. 1. "DADR,DADR"
|
|
group.long 0x70++0x13
|
|
line.long 0x0 "CH4TSR,PDMA_CH4TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.word 0x0 0.--15. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH4CTSR,PDMA_CH4CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
line.long 0x8 "CH5CR,PDMA_CH5CR"
|
|
bitfld.long 0x8 11. "AUTORL,AUTORL" "0,1"
|
|
bitfld.long 0x8 10. "FIXAEN,FIXAEN" "0,1"
|
|
bitfld.long 0x8 8.--9. "CHPRI,CHPRI" "0,1,2,3"
|
|
bitfld.long 0x8 7. "SRCAMOD,SRCAMOD" "0,1"
|
|
bitfld.long 0x8 6. "SRCAINC,SRCAINC" "0,1"
|
|
bitfld.long 0x8 5. "DSTAMOD,DSTAMOD" "0,1"
|
|
bitfld.long 0x8 4. "DSTAINC,DSTAINC" "0,1"
|
|
bitfld.long 0x8 2.--3. "DWIDTH,DWIDTH" "0,1,2,3"
|
|
bitfld.long 0x8 1. "SWTRIG,SWTRIG" "0,1"
|
|
bitfld.long 0x8 0. "CHEN,CHEN" "0,1"
|
|
line.long 0xC "CH5SADR,PDMA_CH5SADR"
|
|
hexmask.long 0xC 0.--31. 1. "SADR,SADR"
|
|
line.long 0x10 "CH5DADR,PDMA_CH5DADR"
|
|
hexmask.long 0x10 0.--31. 1. "DADR,DADR"
|
|
group.long 0x88++0x7
|
|
line.long 0x0 "CH5TSR,PDMA_CH5TSR"
|
|
hexmask.long.word 0x0 16.--31. 1. "BLKCNT,BLKCNT"
|
|
hexmask.long.word 0x0 0.--15. 1. "BLKLEN,BLKLEN"
|
|
line.long 0x4 "CH5CTSR,PDMA_CH5CTSR"
|
|
hexmask.long.word 0x4 16.--31. 1. "CBLKCNT,CBLKCNT"
|
|
group.long 0x120++0x3
|
|
line.long 0x0 "ISR,PDMA_ISR"
|
|
bitfld.long 0x0 29. "TEISTA5,TEISTA5" "0,1"
|
|
bitfld.long 0x0 28. "TCISTA5,TCISTA5" "0,1"
|
|
bitfld.long 0x0 27. "HTISTA5,HTISTA5" "0,1"
|
|
bitfld.long 0x0 26. "BEISTA5,BEISTA5" "0,1"
|
|
bitfld.long 0x0 25. "GEISTA5,GEISTA5" "0,1"
|
|
bitfld.long 0x0 24. "TEISTA4,TEISTA4" "0,1"
|
|
bitfld.long 0x0 23. "TCISTA4,TCISTA4" "0,1"
|
|
bitfld.long 0x0 22. "HTISTA4,HTISTA4" "0,1"
|
|
bitfld.long 0x0 21. "BEISTA4,BEISTA4" "0,1"
|
|
bitfld.long 0x0 20. "GEISTA4,GEISTA4" "0,1"
|
|
newline
|
|
bitfld.long 0x0 19. "TEISTA3,TEISTA3" "0,1"
|
|
bitfld.long 0x0 18. "TCISTA3,TCISTA3" "0,1"
|
|
bitfld.long 0x0 17. "HTISTA3,HTISTA3" "0,1"
|
|
bitfld.long 0x0 16. "BEISTA3,BEISTA3" "0,1"
|
|
bitfld.long 0x0 15. "GEISTA3,GEISTA3" "0,1"
|
|
bitfld.long 0x0 14. "TEISTA2,TEISTA2" "0,1"
|
|
bitfld.long 0x0 13. "TCISTA2,TCISTA2" "0,1"
|
|
bitfld.long 0x0 12. "HTISTA2,HTISTA2" "0,1"
|
|
bitfld.long 0x0 11. "BEISTA2,BEISTA2" "0,1"
|
|
bitfld.long 0x0 10. "GEISTA2,GEISTA2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 9. "TEISTA1,TEISTA1" "0,1"
|
|
bitfld.long 0x0 8. "TCISTA1,TCISTA1" "0,1"
|
|
bitfld.long 0x0 7. "HTISTA1,HTISTA1" "0,1"
|
|
bitfld.long 0x0 6. "BEISTA1,BEISTA1" "0,1"
|
|
bitfld.long 0x0 5. "GEISTA1,GEISTA1" "0,1"
|
|
bitfld.long 0x0 4. "TEISTA0,TEISTA0" "0,1"
|
|
bitfld.long 0x0 3. "TCISTA0,TCISTA0" "0,1"
|
|
bitfld.long 0x0 2. "HTISTA0,HTISTA0" "0,1"
|
|
bitfld.long 0x0 1. "BEISTA0,BEISTA0" "0,1"
|
|
bitfld.long 0x0 0. "GEISTA0,GEISTA0" "0,1"
|
|
group.long 0x128++0x3
|
|
line.long 0x0 "ISCR,PDMA_ISCR"
|
|
bitfld.long 0x0 29. "TEICLR5,TEICLR5" "0,1"
|
|
bitfld.long 0x0 28. "TCICLR5,TCICLR5" "0,1"
|
|
bitfld.long 0x0 27. "HTICLR5,HTICLR5" "0,1"
|
|
bitfld.long 0x0 26. "BEICLR5,BEICLR5" "0,1"
|
|
bitfld.long 0x0 25. "GEICLR5,GEICLR5" "0,1"
|
|
bitfld.long 0x0 24. "TEICLR4,TEICLR4" "0,1"
|
|
bitfld.long 0x0 23. "TCICLR4,TCICLR4" "0,1"
|
|
bitfld.long 0x0 22. "HTICLR4,HTICLR4" "0,1"
|
|
bitfld.long 0x0 21. "BEICLR4,BEICLR4" "0,1"
|
|
bitfld.long 0x0 20. "GEICLR4,GEICLR4" "0,1"
|
|
newline
|
|
bitfld.long 0x0 19. "TEICLR3,TEICLR3" "0,1"
|
|
bitfld.long 0x0 18. "TCICLR3,TCICLR3" "0,1"
|
|
bitfld.long 0x0 17. "HTICLR3,HTICLR3" "0,1"
|
|
bitfld.long 0x0 16. "BEICLR3,BEICLR3" "0,1"
|
|
bitfld.long 0x0 15. "GEICLR3,GEICLR3" "0,1"
|
|
bitfld.long 0x0 14. "TEICLR2,TEICLR2" "0,1"
|
|
bitfld.long 0x0 13. "TCICLR2,TCICLR2" "0,1"
|
|
bitfld.long 0x0 12. "HTICLR2,HTICLR2" "0,1"
|
|
bitfld.long 0x0 11. "BEICLR2,BEICLR2" "0,1"
|
|
bitfld.long 0x0 10. "GEICLR2,GEICLR2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 9. "TEICLR1,TEICLR1" "0,1"
|
|
bitfld.long 0x0 8. "TCICLR1,TCICLR1" "0,1"
|
|
bitfld.long 0x0 7. "HTICLR1,HTICLR1" "0,1"
|
|
bitfld.long 0x0 6. "BEICLR1,BEICLR1" "0,1"
|
|
bitfld.long 0x0 5. "GEICLR1,GEICLR1" "0,1"
|
|
bitfld.long 0x0 4. "TEICLR0,TEICLR0" "0,1"
|
|
bitfld.long 0x0 3. "TCICLR0,TCICLR0" "0,1"
|
|
bitfld.long 0x0 2. "HTICLR0,HTICLR0" "0,1"
|
|
bitfld.long 0x0 1. "BEICLR0,BEICLR0" "0,1"
|
|
bitfld.long 0x0 0. "GEICLR0,GEICLR0" "0,1"
|
|
group.long 0x130++0x3
|
|
line.long 0x0 "IER,PDMA_IER"
|
|
bitfld.long 0x0 29. "TEIE5,TEIE5" "0,1"
|
|
bitfld.long 0x0 28. "TCIE5,TCIE5" "0,1"
|
|
bitfld.long 0x0 27. "HTIE5,HTIE5" "0,1"
|
|
bitfld.long 0x0 26. "BEIE5,BEIE5" "0,1"
|
|
bitfld.long 0x0 25. "GEIE5,GEIE5" "0,1"
|
|
bitfld.long 0x0 24. "TEIE4,TEIE4" "0,1"
|
|
bitfld.long 0x0 23. "TCIE4,TCIE4" "0,1"
|
|
bitfld.long 0x0 22. "HTIE4,HTIE4" "0,1"
|
|
bitfld.long 0x0 21. "BEIE4,BEIE4" "0,1"
|
|
bitfld.long 0x0 20. "GEIE4,GEIE4" "0,1"
|
|
newline
|
|
bitfld.long 0x0 19. "TEIE3,TEIE3" "0,1"
|
|
bitfld.long 0x0 18. "TCIE3,TCIE3" "0,1"
|
|
bitfld.long 0x0 17. "HTIE3,HTIE3" "0,1"
|
|
bitfld.long 0x0 16. "BEIE3,BEIE3" "0,1"
|
|
bitfld.long 0x0 15. "GEIE3,GEIE3" "0,1"
|
|
bitfld.long 0x0 14. "TEIE2,TEIE2" "0,1"
|
|
bitfld.long 0x0 13. "TCIE2,TCIE2" "0,1"
|
|
bitfld.long 0x0 12. "HTIE2,HTIE2" "0,1"
|
|
bitfld.long 0x0 11. "BEIE2,BEIE2" "0,1"
|
|
bitfld.long 0x0 10. "GEIE2,GEIE2" "0,1"
|
|
newline
|
|
bitfld.long 0x0 9. "TEIE1,TEIE1" "0,1"
|
|
bitfld.long 0x0 8. "TCIE1,TCIE1" "0,1"
|
|
bitfld.long 0x0 7. "HTIE1,HTIE1" "0,1"
|
|
bitfld.long 0x0 6. "BEIE1,BEIE1" "0,1"
|
|
bitfld.long 0x0 5. "GEIE1,GEIE1" "0,1"
|
|
bitfld.long 0x0 4. "TEIE0,TEIE0" "0,1"
|
|
bitfld.long 0x0 3. "TCIE0,TCIE0" "0,1"
|
|
bitfld.long 0x0 2. "HTIE0,HTIE0" "0,1"
|
|
bitfld.long 0x0 1. "BEIE0,BEIE0" "0,1"
|
|
bitfld.long 0x0 0. "GEIE0,GEIE0" "0,1"
|
|
tree.end
|
|
endif
|
|
tree "PWRCU (Power Control Unit)"
|
|
base ad:0x4006A100
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "PWRSR,PWRSR"
|
|
bitfld.long 0x0 8. "WUPF,WUPF" "0,1"
|
|
bitfld.long 0x0 1. "PDF,PDF" "0,1"
|
|
bitfld.long 0x0 0. "PORF,PORF" "0,1"
|
|
line.long 0x4 "PWRCR,PWRCR"
|
|
bitfld.long 0x4 15. "DMOSSTS,DMOSSTS" "0,1"
|
|
bitfld.long 0x4 12. "V15RDYSC,V15RDYSC" "0,1"
|
|
bitfld.long 0x4 9. "WUPIEN,WUPIEN" "0,1"
|
|
bitfld.long 0x4 8. "WUPEN,WUPEN" "0,1"
|
|
bitfld.long 0x4 7. "DMOSON,DMOSON" "0,1"
|
|
bitfld.long 0x4 3. "LDOOFF,LDOOFF" "0,1"
|
|
bitfld.long 0x4 2. "LDOLCM,LDOLCM" "0,1"
|
|
bitfld.long 0x4 0. "PWRST,PWRST" "0,1"
|
|
line.long 0x8 "PWRTEST,PWRTEST"
|
|
hexmask.long.byte 0x8 0.--7. 1. "PWRTEST,PWRTEST"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "LVDCSR,LVDCSR"
|
|
bitfld.long 0x0 22. "LVDS2,LVDS2" "0,1"
|
|
bitfld.long 0x0 21. "LVDEWEN,LVDEWEN" "0,1"
|
|
bitfld.long 0x0 20. "LVDIWEN,LVDIWEN" "0,1"
|
|
bitfld.long 0x0 19. "LVDF,LVDF" "0,1"
|
|
bitfld.long 0x0 17.--18. "LVDS10,LVDS10" "0,1,2,3"
|
|
bitfld.long 0x0 16. "LVDEN,LVDEN" "0,1"
|
|
bitfld.long 0x0 3. "BODF,BODF" "0,1"
|
|
bitfld.long 0x0 1. "BODRIS,BODRIS" "0,1"
|
|
bitfld.long 0x0 0. "BODEN,BODEN" "0,1"
|
|
tree.end
|
|
tree "RSTCU (Reset Control Unit)"
|
|
base ad:0x40088100
|
|
group.long 0x0++0xF
|
|
line.long 0x0 "GRSR,GRSR"
|
|
bitfld.long 0x0 3. "PORSTF,PORSTF" "0,1"
|
|
bitfld.long 0x0 2. "WDTRSTF,WDTRSTF" "0,1"
|
|
bitfld.long 0x0 1. "EXTRSTF,EXTRSTF" "0,1"
|
|
bitfld.long 0x0 0. "NVICRSTF,NVICRSTF" "0,1"
|
|
line.long 0x4 "AHBPRSTR,AHBPRSTR"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 24. "DIVRST,DIVRST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 11. "PDRST,PDRST" "0,1"
|
|
bitfld.long 0x4 10. "PCRST,PCRST" "0,1"
|
|
endif
|
|
bitfld.long 0x4 9. "PBRST,PBRST" "0,1"
|
|
bitfld.long 0x4 8. "PARST,PARST" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 7. "CRCRST,CRCRST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x4 0. "DMARST,DMARST" "0,1"
|
|
endif
|
|
line.long 0x8 "APBPRSTR0,APBPRSTR0"
|
|
bitfld.long 0x8 15. "EXTIRST,EXTIRST" "0,1"
|
|
bitfld.long 0x8 14. "AFIORST,AFIORST" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x8 13. "UR3RST,UR3RST" "0,1"
|
|
bitfld.long 0x8 12. "UR2RST,UR2RST" "0,1"
|
|
bitfld.long 0x8 11. "UR1RST,UR1RST" "0,1"
|
|
bitfld.long 0x8 10. "UR0RST,UR0RST" "0,1"
|
|
bitfld.long 0x8 9. "USR1RST,USR1RST" "0,1"
|
|
bitfld.long 0x8 8. "USR0RST,USR0RST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0x8 10. "URRST,URRST" "0,1"
|
|
bitfld.long 0x8 8. "USRRST,USRRST" "0,1"
|
|
bitfld.long 0x8 4. "SPIRST,SPIRST" "0,1"
|
|
newline
|
|
bitfld.long 0x8 0. "I2CRST,I2CRST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x8 5. "SPI1RST,SPI1RST" "0,1"
|
|
bitfld.long 0x8 4. "SPI0RST,SPI0RST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x8 2. "I2C2RST,I2C2RST" "0,1"
|
|
bitfld.long 0x8 1. "I2C1RST,I2C1RST" "0,1"
|
|
bitfld.long 0x8 0. "I2C0RST,I2C0RST" "0,1"
|
|
endif
|
|
line.long 0xC "APBPRSTR1,APBPRSTR1"
|
|
bitfld.long 0xC 15. "EXTIRST,EXTIRST" "0,1"
|
|
bitfld.long 0xC 14. "AFIORST,AFIORST" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 13. "UR3RST,UR3RST" "0,1"
|
|
bitfld.long 0xC 12. "UR2RST,UR2RST" "0,1"
|
|
bitfld.long 0xC 11. "UR1RST,UR1RST" "0,1"
|
|
bitfld.long 0xC 10. "UR0RST,UR0RST" "0,1"
|
|
bitfld.long 0xC 9. "USR1RST,USR1RST" "0,1"
|
|
bitfld.long 0xC 8. "USR0RST,USR0RST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
bitfld.long 0xC 10. "URRST,URRST" "0,1"
|
|
bitfld.long 0xC 8. "USRRST,USRRST" "0,1"
|
|
bitfld.long 0xC 4. "SPIRST,SPIRST" "0,1"
|
|
newline
|
|
bitfld.long 0xC 0. "I2CRST,I2CRST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 5. "SPI1RST,SPI1RST" "0,1"
|
|
bitfld.long 0xC 4. "SPI0RST,SPI0RST" "0,1"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0xC 2. "I2C2RST,I2C2RST" "0,1"
|
|
bitfld.long 0xC 1. "I2C1RST,I2C1RST" "0,1"
|
|
bitfld.long 0xC 0. "I2C0RST,I2C0RST" "0,1"
|
|
endif
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "RTC (Real Time Clock)"
|
|
base ad:0x4006A000
|
|
group.long 0x0++0x13
|
|
line.long 0x0 "RTCCNT,RTCCNT"
|
|
hexmask.long.tbyte 0x0 0.--23. 1. "RTCCNTV,RTCCNTV"
|
|
line.long 0x4 "RTCCMP,RTCCMP"
|
|
hexmask.long.tbyte 0x4 0.--23. 1. "RTCCMPV,RTCCMPV"
|
|
line.long 0x8 "RTCCR,RTCCR"
|
|
bitfld.long 0x8 20. "ROLF,ROLF" "0,1"
|
|
bitfld.long 0x8 19. "ROAP,ROAP" "0,1"
|
|
bitfld.long 0x8 18. "ROWM,ROWM" "0,1"
|
|
bitfld.long 0x8 17. "ROES,ROES" "0,1"
|
|
bitfld.long 0x8 16. "ROEN,ROEN" "0,1"
|
|
hexmask.long.byte 0x8 8.--11. 1. "RPRE,RPRE"
|
|
bitfld.long 0x8 5. "LSESM,LSESM" "0,1"
|
|
bitfld.long 0x8 4. "CMPCLR,CMPCLR" "0,1"
|
|
bitfld.long 0x8 3. "LSEEN,LSEEN" "0,1"
|
|
bitfld.long 0x8 2. "LSIEN,LSIEN" "0,1"
|
|
newline
|
|
bitfld.long 0x8 1. "RTCSRC,RTCSRC" "0,1"
|
|
bitfld.long 0x8 0. "RTCEN,RTCEN" "0,1"
|
|
line.long 0xC "RTCSR,RTCSR"
|
|
bitfld.long 0xC 2. "OVFLAG,OVFLAG" "0,1"
|
|
bitfld.long 0xC 1. "CMFLAG,CMFLAG" "0,1"
|
|
bitfld.long 0xC 0. "CSECFLAG,CSECFLAG" "0,1"
|
|
line.long 0x10 "RTCIWEN,RTCIWEN"
|
|
bitfld.long 0x10 10. "OVWEN,OVWEN" "0,1"
|
|
bitfld.long 0x10 9. "CMWEN,CMWEN" "0,1"
|
|
bitfld.long 0x10 8. "CSECWEN,CSECWEN" "0,1"
|
|
bitfld.long 0x10 2. "OVIEN,OVIEN" "0,1"
|
|
bitfld.long 0x10 1. "CMIEN,CMIEN" "0,1"
|
|
bitfld.long 0x10 0. "CSECIEN,CSECIEN" "0,1"
|
|
tree.end
|
|
endif
|
|
tree "SCB"
|
|
base ad:0xE000ED00
|
|
group.long 0x0++0x17
|
|
line.long 0x0 "CPUID,CPUID"
|
|
hexmask.long.byte 0x0 24.--31. 1. "IMPLEMENTER,IMPLEMENTER"
|
|
hexmask.long.byte 0x0 20.--23. 1. "VARIANT,VARIANT"
|
|
hexmask.long.byte 0x0 16.--19. 1. "ARCHITECTURE,ARCHITECTURE"
|
|
hexmask.long.word 0x0 4.--15. 1. "PARTNO,PARTNO"
|
|
hexmask.long.byte 0x0 0.--3. 1. "REVISION,REVISION"
|
|
line.long 0x4 "ICSR,ICSR"
|
|
bitfld.long 0x4 31. "NMIPENDSET,NMIPENDSET" "0,1"
|
|
bitfld.long 0x4 28. "PENDSVSET,PENDSVSET" "0,1"
|
|
bitfld.long 0x4 27. "PENDSVCLR,PENDSVCLR" "0,1"
|
|
bitfld.long 0x4 26. "PENDSTSET,PENDSTSET" "0,1"
|
|
bitfld.long 0x4 25. "PENDSTCLR,PENDSTCLR" "0,1"
|
|
bitfld.long 0x4 23. "ISRPREEMPT,ISRPREEMPT" "0,1"
|
|
bitfld.long 0x4 22. "ISRPENDING,ISRPENDING" "0,1"
|
|
newline
|
|
hexmask.long.word 0x4 12.--21. 1. "VECTPENDING,VECTPENDING"
|
|
bitfld.long 0x4 11. "RETTOBASE,RETTOBASE" "0,1"
|
|
hexmask.long.word 0x4 0.--8. 1. "VECTACTIVE,VECTACTIVE"
|
|
line.long 0x8 "VTOR,VTOR"
|
|
hexmask.long 0x8 7.--31. 1. "TBLOFF,TBLOFF"
|
|
line.long 0xC "AIRCR,AIRCR"
|
|
hexmask.long.word 0xC 16.--31. 1. "VECTKEY,VECTKEY"
|
|
bitfld.long 0xC 15. "ENDIANESS,ENDIANESS" "0,1"
|
|
bitfld.long 0xC 2. "SYSRESETREQ,SYSRESETREQ" "0,1"
|
|
bitfld.long 0xC 1. "VECTCLRACTIVE,VECTCLRACTIVE" "0,1"
|
|
line.long 0x10 "SCR,SCR"
|
|
bitfld.long 0x10 4. "SEVONPEND,SEVONPEND" "0,1"
|
|
bitfld.long 0x10 2. "SLEEPDEEP,SLEEPDEEP" "0,1"
|
|
bitfld.long 0x10 1. "SLEEPONEXIT,SLEEPONEXIT" "0,1"
|
|
line.long 0x14 "CCR,CCR"
|
|
bitfld.long 0x14 9. "STKALIGN,STKALIGN" "0,1"
|
|
bitfld.long 0x14 3. "UNALIGN_TRP,UNALIGN_TRP" "0,1"
|
|
group.long 0x1C++0xB
|
|
line.long 0x0 "SHP2,SHPR2"
|
|
bitfld.long 0x0 30.--31. "PRI_11,PRI_11" "0,1,2,3"
|
|
line.long 0x4 "SHP3,SHPR3"
|
|
bitfld.long 0x4 30.--31. "PRI_15,PRI_15" "0,1,2,3"
|
|
bitfld.long 0x4 22.--23. "PRI_14,PRI_14" "0,1,2,3"
|
|
line.long 0x8 "SHCSR,SHCSR"
|
|
bitfld.long 0x8 15. "SVCALLPENDED,SVCALLPENDED" "0,1"
|
|
tree.end
|
|
tree "SCTM (Single-Channel Timer)"
|
|
base ad:0x0
|
|
tree "SCTM0"
|
|
base ad:0x40034000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEVDIS,UEVDIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0x3
|
|
line.long 0x0 "CHICFR,CHICFR"
|
|
bitfld.long 0x0 18.--19. "CHPSC,CHPSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CHCCS,CHCCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TIF,TIF"
|
|
group.long 0x40++0x3
|
|
line.long 0x0 "CHOCFR,CHOCFR"
|
|
bitfld.long 0x0 4. "CHPRE,CHPRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CHOM,CHOM" "0,1,2,3,4,5,6,7"
|
|
group.long 0x50++0x7
|
|
line.long 0x0 "CHCTR,CHCTR"
|
|
bitfld.long 0x0 0. "CHE,CHE" "0,1"
|
|
line.long 0x4 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x4 0. "CHP,CHP" "0,1"
|
|
group.long 0x74++0x17
|
|
line.long 0x0 "DICTR,DICTR"
|
|
bitfld.long 0x0 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x0 8. "UEVIE,UEVIE" "0,1"
|
|
bitfld.long 0x0 0. "CHCCIE,CHCCIE" "0,1"
|
|
line.long 0x4 "EVGR,EVGR"
|
|
bitfld.long 0x4 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0x4 8. "UEVG,UEVG" "0,1"
|
|
bitfld.long 0x4 0. "CHCCG,CHCCG" "0,1"
|
|
line.long 0x8 "INTSR,INTSR"
|
|
bitfld.long 0x8 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x8 8. "UEVIF,UEVIF" "0,1"
|
|
bitfld.long 0x8 4. "CHOCF,CHOCF" "0,1"
|
|
bitfld.long 0x8 0. "CHCCIF,CHCCIF" "0,1"
|
|
line.long 0xC "CNTR,CNTR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x10 "PSCR,PSCR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x14 "CRR,CRR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CRV,CRV"
|
|
group.long 0x90++0x3
|
|
line.long 0x0 "CHCCR,CHCCR"
|
|
hexmask.long.word 0x0 0.--15. 1. "CHCCV,CHCCV"
|
|
tree.end
|
|
tree "SCTM1"
|
|
base ad:0x40074000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEVDIS,UEVDIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0x3
|
|
line.long 0x0 "CHICFR,CHICFR"
|
|
bitfld.long 0x0 18.--19. "CHPSC,CHPSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CHCCS,CHCCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TIF,TIF"
|
|
group.long 0x40++0x3
|
|
line.long 0x0 "CHOCFR,CHOCFR"
|
|
bitfld.long 0x0 4. "CHPRE,CHPRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CHOM,CHOM" "0,1,2,3,4,5,6,7"
|
|
group.long 0x50++0x7
|
|
line.long 0x0 "CHCTR,CHCTR"
|
|
bitfld.long 0x0 0. "CHE,CHE" "0,1"
|
|
line.long 0x4 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x4 0. "CHP,CHP" "0,1"
|
|
group.long 0x74++0x17
|
|
line.long 0x0 "DICTR,DICTR"
|
|
bitfld.long 0x0 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x0 8. "UEVIE,UEVIE" "0,1"
|
|
bitfld.long 0x0 0. "CHCCIE,CHCCIE" "0,1"
|
|
line.long 0x4 "EVGR,EVGR"
|
|
bitfld.long 0x4 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0x4 8. "UEVG,UEVG" "0,1"
|
|
bitfld.long 0x4 0. "CHCCG,CHCCG" "0,1"
|
|
line.long 0x8 "INTSR,INTSR"
|
|
bitfld.long 0x8 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x8 8. "UEVIF,UEVIF" "0,1"
|
|
bitfld.long 0x8 4. "CHOCF,CHOCF" "0,1"
|
|
bitfld.long 0x8 0. "CHCCIF,CHCCIF" "0,1"
|
|
line.long 0xC "CNTR,CNTR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x10 "PSCR,PSCR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x14 "CRR,CRR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CRV,CRV"
|
|
group.long 0x90++0x3
|
|
line.long 0x0 "CHCCR,CHCCR"
|
|
hexmask.long.word 0x0 0.--15. 1. "CHCCV,CHCCV"
|
|
tree.end
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "SCTM2"
|
|
base ad:0x40035000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEVDIS,UEVDIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0x3
|
|
line.long 0x0 "CHICFR,CHICFR"
|
|
bitfld.long 0x0 18.--19. "CHPSC,CHPSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CHCCS,CHCCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TIF,TIF"
|
|
group.long 0x40++0x3
|
|
line.long 0x0 "CHOCFR,CHOCFR"
|
|
bitfld.long 0x0 4. "CHPRE,CHPRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CHOM,CHOM" "0,1,2,3,4,5,6,7"
|
|
group.long 0x50++0x7
|
|
line.long 0x0 "CHCTR,CHCTR"
|
|
bitfld.long 0x0 0. "CHE,CHE" "0,1"
|
|
line.long 0x4 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x4 0. "CHP,CHP" "0,1"
|
|
group.long 0x74++0x17
|
|
line.long 0x0 "DICTR,DICTR"
|
|
bitfld.long 0x0 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x0 8. "UEVIE,UEVIE" "0,1"
|
|
bitfld.long 0x0 0. "CHCCIE,CHCCIE" "0,1"
|
|
line.long 0x4 "EVGR,EVGR"
|
|
bitfld.long 0x4 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0x4 8. "UEVG,UEVG" "0,1"
|
|
bitfld.long 0x4 0. "CHCCG,CHCCG" "0,1"
|
|
line.long 0x8 "INTSR,INTSR"
|
|
bitfld.long 0x8 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x8 8. "UEVIF,UEVIF" "0,1"
|
|
bitfld.long 0x8 4. "CHOCF,CHOCF" "0,1"
|
|
bitfld.long 0x8 0. "CHCCIF,CHCCIF" "0,1"
|
|
line.long 0xC "CNTR,CNTR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x10 "PSCR,PSCR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x14 "CRR,CRR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CRV,CRV"
|
|
group.long 0x90++0x3
|
|
line.long 0x0 "CHCCR,CHCCR"
|
|
hexmask.long.word 0x0 0.--15. 1. "CHCCV,CHCCV"
|
|
tree.end
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "SCTM3"
|
|
base ad:0x40075000
|
|
group.long 0x0++0xB
|
|
line.long 0x0 "CNTCFR,CNTCFR"
|
|
bitfld.long 0x0 8.--9. "CKDIV,CKDIV" "0,1,2,3"
|
|
bitfld.long 0x0 1. "UGDIS,UGDIS" "0,1"
|
|
bitfld.long 0x0 0. "UEVDIS,UEVDIS" "0,1"
|
|
line.long 0x4 "MDCFR,MDCFR"
|
|
bitfld.long 0x4 8.--10. "SMSEL,SMSEL" "0,1,2,3,4,5,6,7"
|
|
line.long 0x8 "TRCFR,TRCFR"
|
|
hexmask.long.byte 0x8 0.--3. 1. "TRSEL,TRSEL"
|
|
group.long 0x10++0x3
|
|
line.long 0x0 "CTR,CTR"
|
|
bitfld.long 0x0 1. "CRBE,CRBE" "0,1"
|
|
bitfld.long 0x0 0. "TME,TME" "0,1"
|
|
group.long 0x20++0x3
|
|
line.long 0x0 "CHICFR,CHICFR"
|
|
bitfld.long 0x0 18.--19. "CHPSC,CHPSC" "0,1,2,3"
|
|
bitfld.long 0x0 16.--17. "CHCCS,CHCCS" "0,1,2,3"
|
|
hexmask.long.byte 0x0 0.--3. 1. "TIF,TIF"
|
|
group.long 0x40++0x3
|
|
line.long 0x0 "CHOCFR,CHOCFR"
|
|
bitfld.long 0x0 4. "CHPRE,CHPRE" "0,1"
|
|
bitfld.long 0x0 0.--2. "CHOM,CHOM" "0,1,2,3,4,5,6,7"
|
|
group.long 0x50++0x7
|
|
line.long 0x0 "CHCTR,CHCTR"
|
|
bitfld.long 0x0 0. "CHE,CHE" "0,1"
|
|
line.long 0x4 "CHPOLR,CHPOLR"
|
|
bitfld.long 0x4 0. "CHP,CHP" "0,1"
|
|
group.long 0x74++0x17
|
|
line.long 0x0 "DICTR,DICTR"
|
|
bitfld.long 0x0 10. "TEVIE,TEVIE" "0,1"
|
|
bitfld.long 0x0 8. "UEVIE,UEVIE" "0,1"
|
|
bitfld.long 0x0 0. "CHCCIE,CHCCIE" "0,1"
|
|
line.long 0x4 "EVGR,EVGR"
|
|
bitfld.long 0x4 10. "TEVG,TEVG" "0,1"
|
|
bitfld.long 0x4 8. "UEVG,UEVG" "0,1"
|
|
bitfld.long 0x4 0. "CHCCG,CHCCG" "0,1"
|
|
line.long 0x8 "INTSR,INTSR"
|
|
bitfld.long 0x8 10. "TEVIF,TEVIF" "0,1"
|
|
bitfld.long 0x8 8. "UEVIF,UEVIF" "0,1"
|
|
bitfld.long 0x8 4. "CHOCF,CHOCF" "0,1"
|
|
bitfld.long 0x8 0. "CHCCIF,CHCCIF" "0,1"
|
|
line.long 0xC "CNTR,CNTR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CNTV,CNTV"
|
|
line.long 0x10 "PSCR,PSCR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PSCV,PSCV"
|
|
line.long 0x14 "CRR,CRR"
|
|
hexmask.long.word 0x14 0.--15. 1. "CRV,CRV"
|
|
group.long 0x90++0x3
|
|
line.long 0x0 "CHCCR,CHCCR"
|
|
hexmask.long.word 0x0 0.--15. 1. "CHCCV,CHCCV"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
base ad:0x40004000
|
|
elif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
base ad:0x0
|
|
endif
|
|
tree "SPI (Serial Peripheral Interface)"
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x0++0x23
|
|
line.long 0x0 "SPICR0,SPICR0"
|
|
hexmask.long.byte 0x0 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x0 8.--11. 1. "GUADT,GUADT"
|
|
newline
|
|
bitfld.long 0x0 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x0 6. "DUALEN,DUALEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x0 3. "SELOEN,SELOEN" "0,1"
|
|
newline
|
|
bitfld.long 0x0 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x4 "SPICR1,SPICR1"
|
|
hexmask.long.byte 0x4 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x4 8.--11. 1. "GUADT,GUADT"
|
|
newline
|
|
bitfld.long 0x4 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x4 6. "DUALEN,DUALEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x4 3. "SELOEN,SELOEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x8 "SPIIER,SPIIER"
|
|
bitfld.long 0x8 7. "TOIEN,TOIEN" "0,1"
|
|
bitfld.long 0x8 6. "SAIEN,SAIEN" "0,1"
|
|
newline
|
|
bitfld.long 0x8 5. "MFIEN,MFIEN" "0,1"
|
|
bitfld.long 0x8 4. "ROIEN,ROIEN" "0,1"
|
|
newline
|
|
bitfld.long 0x8 3. "WCIEN,WCIEN" "0,1"
|
|
bitfld.long 0x8 2. "RXBNEIEN,RXBNEIEN" "0,1"
|
|
newline
|
|
bitfld.long 0x8 1. "TXEIEN,TXEIEN" "0,1"
|
|
bitfld.long 0x8 0. "TXBEIEN,TXBEIEN" "0,1"
|
|
line.long 0xC "SPICPR,SPICPR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CP,CP"
|
|
line.long 0x10 "SPIDR,SPIDR"
|
|
hexmask.long.word 0x10 0.--15. 1. "DR,DR"
|
|
line.long 0x14 "SPISR,SPISR"
|
|
bitfld.long 0x14 8. "BUSY,BUSY" "0,1"
|
|
bitfld.long 0x14 7. "TO,TO" "0,1"
|
|
newline
|
|
bitfld.long 0x14 6. "SA,SA" "0,1"
|
|
bitfld.long 0x14 5. "MF,MF" "0,1"
|
|
newline
|
|
bitfld.long 0x14 4. "RO,RO" "0,1"
|
|
bitfld.long 0x14 3. "WC,WC" "0,1"
|
|
newline
|
|
bitfld.long 0x14 2. "RXBNE,RXBNE" "0,1"
|
|
bitfld.long 0x14 1. "TXE,TXE" "0,1"
|
|
newline
|
|
bitfld.long 0x14 0. "TXBE,TXBE" "0,1"
|
|
line.long 0x18 "SPIFCR,SPIFCR"
|
|
bitfld.long 0x18 10. "FIFOEN,FIFOEN" "0,1"
|
|
hexmask.long.byte 0x18 4.--7. 1. "RXFTLS,RXFTLS"
|
|
newline
|
|
hexmask.long.byte 0x18 0.--3. 1. "TXFTLS,TXFTLS"
|
|
line.long 0x1C "SPIFSR,SPIFSR"
|
|
hexmask.long.byte 0x1C 4.--7. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x1C 0.--3. 1. "TXFS,TXFS"
|
|
line.long 0x20 "SPIFTOCR,SPIFTOCR"
|
|
hexmask.long.word 0x20 0.--15. 1. "TOC,TOC"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "SPI0"
|
|
base ad:0x40004000
|
|
group.long 0x0++0x23
|
|
line.long 0x0 "SPICR0,SPICR0"
|
|
hexmask.long.byte 0x0 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x0 8.--11. 1. "GUADT,GUADT"
|
|
bitfld.long 0x0 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x0 6. "DUALEN,DUALEN" "0,1"
|
|
bitfld.long 0x0 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x0 3. "SELOEN,SELOEN" "0,1"
|
|
bitfld.long 0x0 2. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x0 1. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x0 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x4 "SPICR1,SPICR1"
|
|
hexmask.long.byte 0x4 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x4 8.--11. 1. "GUADT,GUADT"
|
|
bitfld.long 0x4 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x4 6. "DUALEN,DUALEN" "0,1"
|
|
bitfld.long 0x4 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x4 3. "SELOEN,SELOEN" "0,1"
|
|
bitfld.long 0x4 2. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x4 1. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x4 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x8 "SPIIER,SPIIER"
|
|
bitfld.long 0x8 7. "TOIEN,TOIEN" "0,1"
|
|
bitfld.long 0x8 6. "SAIEN,SAIEN" "0,1"
|
|
bitfld.long 0x8 5. "MFIEN,MFIEN" "0,1"
|
|
bitfld.long 0x8 4. "ROIEN,ROIEN" "0,1"
|
|
bitfld.long 0x8 3. "WCIEN,WCIEN" "0,1"
|
|
bitfld.long 0x8 2. "RXBNEIEN,RXBNEIEN" "0,1"
|
|
bitfld.long 0x8 1. "TXEIEN,TXEIEN" "0,1"
|
|
bitfld.long 0x8 0. "TXBEIEN,TXBEIEN" "0,1"
|
|
line.long 0xC "SPICPR,SPICPR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CP,CP"
|
|
line.long 0x10 "SPIDR,SPIDR"
|
|
hexmask.long.word 0x10 0.--15. 1. "DR,DR"
|
|
line.long 0x14 "SPISR,SPISR"
|
|
bitfld.long 0x14 8. "BUSY,BUSY" "0,1"
|
|
bitfld.long 0x14 7. "TO,TO" "0,1"
|
|
bitfld.long 0x14 6. "SA,SA" "0,1"
|
|
bitfld.long 0x14 5. "MF,MF" "0,1"
|
|
bitfld.long 0x14 4. "RO,RO" "0,1"
|
|
bitfld.long 0x14 3. "WC,WC" "0,1"
|
|
bitfld.long 0x14 2. "RXBNE,RXBNE" "0,1"
|
|
bitfld.long 0x14 1. "TXE,TXE" "0,1"
|
|
bitfld.long 0x14 0. "TXBE,TXBE" "0,1"
|
|
line.long 0x18 "SPIFCR,SPIFCR"
|
|
bitfld.long 0x18 10. "FIFOEN,FIFOEN" "0,1"
|
|
hexmask.long.byte 0x18 4.--7. 1. "RXFTLS,RXFTLS"
|
|
hexmask.long.byte 0x18 0.--3. 1. "TXFTLS,TXFTLS"
|
|
line.long 0x1C "SPIFSR,SPIFSR"
|
|
hexmask.long.byte 0x1C 4.--7. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x1C 0.--3. 1. "TXFS,TXFS"
|
|
line.long 0x20 "SPIFTOCR,SPIFTOCR"
|
|
hexmask.long.word 0x20 0.--15. 1. "TOC,TOC"
|
|
tree.end
|
|
tree "SPI1"
|
|
base ad:0x40044000
|
|
group.long 0x0++0x23
|
|
line.long 0x0 "SPICR0,SPICR0"
|
|
hexmask.long.byte 0x0 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x0 8.--11. 1. "GUADT,GUADT"
|
|
bitfld.long 0x0 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x0 6. "DUALEN,DUALEN" "0,1"
|
|
bitfld.long 0x0 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x0 3. "SELOEN,SELOEN" "0,1"
|
|
bitfld.long 0x0 2. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x0 1. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x0 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x4 "SPICR1,SPICR1"
|
|
hexmask.long.byte 0x4 12.--15. 1. "SELHT,SELHT"
|
|
hexmask.long.byte 0x4 8.--11. 1. "GUADT,GUADT"
|
|
bitfld.long 0x4 7. "GUADTEN,GUADTEN" "0,1"
|
|
bitfld.long 0x4 6. "DUALEN,DUALEN" "0,1"
|
|
bitfld.long 0x4 4. "SSELC,SSELC" "0,1"
|
|
bitfld.long 0x4 3. "SELOEN,SELOEN" "0,1"
|
|
bitfld.long 0x4 2. "RXDMAE,RXDMAE" "0,1"
|
|
bitfld.long 0x4 1. "TXDMAE,TXDMAE" "0,1"
|
|
bitfld.long 0x4 0. "SPIEN,SPIEN" "0,1"
|
|
line.long 0x8 "SPIIER,SPIIER"
|
|
bitfld.long 0x8 7. "TOIEN,TOIEN" "0,1"
|
|
bitfld.long 0x8 6. "SAIEN,SAIEN" "0,1"
|
|
bitfld.long 0x8 5. "MFIEN,MFIEN" "0,1"
|
|
bitfld.long 0x8 4. "ROIEN,ROIEN" "0,1"
|
|
bitfld.long 0x8 3. "WCIEN,WCIEN" "0,1"
|
|
bitfld.long 0x8 2. "RXBNEIEN,RXBNEIEN" "0,1"
|
|
bitfld.long 0x8 1. "TXEIEN,TXEIEN" "0,1"
|
|
bitfld.long 0x8 0. "TXBEIEN,TXBEIEN" "0,1"
|
|
line.long 0xC "SPICPR,SPICPR"
|
|
hexmask.long.word 0xC 0.--15. 1. "CP,CP"
|
|
line.long 0x10 "SPIDR,SPIDR"
|
|
hexmask.long.word 0x10 0.--15. 1. "DR,DR"
|
|
line.long 0x14 "SPISR,SPISR"
|
|
bitfld.long 0x14 8. "BUSY,BUSY" "0,1"
|
|
bitfld.long 0x14 7. "TO,TO" "0,1"
|
|
bitfld.long 0x14 6. "SA,SA" "0,1"
|
|
bitfld.long 0x14 5. "MF,MF" "0,1"
|
|
bitfld.long 0x14 4. "RO,RO" "0,1"
|
|
bitfld.long 0x14 3. "WC,WC" "0,1"
|
|
bitfld.long 0x14 2. "RXBNE,RXBNE" "0,1"
|
|
bitfld.long 0x14 1. "TXE,TXE" "0,1"
|
|
bitfld.long 0x14 0. "TXBE,TXBE" "0,1"
|
|
line.long 0x18 "SPIFCR,SPIFCR"
|
|
bitfld.long 0x18 10. "FIFOEN,FIFOEN" "0,1"
|
|
hexmask.long.byte 0x18 4.--7. 1. "RXFTLS,RXFTLS"
|
|
hexmask.long.byte 0x18 0.--3. 1. "TXFTLS,TXFTLS"
|
|
line.long 0x1C "SPIFSR,SPIFSR"
|
|
hexmask.long.byte 0x1C 4.--7. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x1C 0.--3. 1. "TXFS,TXFS"
|
|
line.long 0x20 "SPIFTOCR,SPIFTOCR"
|
|
hexmask.long.word 0x20 0.--15. 1. "TOC,TOC"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
tree "SYSTICK"
|
|
base ad:0xE000E000
|
|
group.long 0x10++0xF
|
|
line.long 0x0 "CSR,CSR"
|
|
bitfld.long 0x0 16. "COUNTFLAG,COUNTFLAG" "0,1"
|
|
bitfld.long 0x0 2. "CLKSOURCE,CLKSOURCE" "0,1"
|
|
bitfld.long 0x0 1. "TICKINT,TICKINT" "0,1"
|
|
bitfld.long 0x0 0. "ENABLE,ENABLE" "0,1"
|
|
line.long 0x4 "RVR,RVR"
|
|
hexmask.long.tbyte 0x4 0.--23. 1. "RELOAD,RELOAD"
|
|
line.long 0x8 "CVR,CVR"
|
|
hexmask.long.tbyte 0x8 0.--23. 1. "CURRENT,CURRENT"
|
|
line.long 0xC "CALIB,CALIB"
|
|
bitfld.long 0xC 31. "NOREF,NOREF" "0,1"
|
|
bitfld.long 0xC 30. "SKEW,SKEW" "0,1"
|
|
hexmask.long.tbyte 0xC 0.--23. 1. "TENMS,TENMS"
|
|
tree.end
|
|
tree "UART (Universal Asynchronous Receiver Transmitter)"
|
|
base ad:0x0
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "URDR,URDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "URCR,URCR"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
group.long 0xC++0x7
|
|
line.long 0x0 "URIER,URIER"
|
|
bitfld.long 0x0 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0x0 5. "FEIE,FEIE" "0,1"
|
|
newline
|
|
bitfld.long 0x0 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0x0 3. "OEIE,OEIE" "0,1"
|
|
newline
|
|
bitfld.long 0x0 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0x0 1. "TXDEIE,TXDEIE" "0,1"
|
|
newline
|
|
bitfld.long 0x0 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x4 "URSIFR,URSIFR"
|
|
bitfld.long 0x4 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x4 7. "TXDE,TXDE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x4 4. "BII,BII" "0,1"
|
|
newline
|
|
bitfld.long 0x4 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x4 2. "PEI,PEI" "0,1"
|
|
newline
|
|
bitfld.long 0x4 1. "OEI,OEI" "0,1"
|
|
group.long 0x24++0x7
|
|
line.long 0x0 "URDLR,URDLR"
|
|
hexmask.long.word 0x0 0.--15. 1. "BRD,BRD"
|
|
line.long 0x4 "URTSTR,URTSTR"
|
|
bitfld.long 0x4 0.--1. "LBM,LBM" "0,1,2,3"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "UART0"
|
|
base ad:0x40001000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "URDR,URDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "URCR,URCR"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
group.long 0xC++0x7
|
|
line.long 0x0 "URIER,URIER"
|
|
bitfld.long 0x0 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0x0 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0x0 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0x0 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0x0 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0x0 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x0 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x4 "URSIFR,URSIFR"
|
|
bitfld.long 0x4 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x4 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x4 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x4 4. "BII,BII" "0,1"
|
|
bitfld.long 0x4 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x4 2. "PEI,PEI" "0,1"
|
|
bitfld.long 0x4 1. "OEI,OEI" "0,1"
|
|
group.long 0x24++0x7
|
|
line.long 0x0 "URDLR,URDLR"
|
|
hexmask.long.word 0x0 0.--15. 1. "BRD,BRD"
|
|
line.long 0x4 "URTSTR,URTSTR"
|
|
bitfld.long 0x4 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
tree "UART1"
|
|
base ad:0x40041000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "URDR,URDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "URCR,URCR"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
group.long 0xC++0x7
|
|
line.long 0x0 "URIER,URIER"
|
|
bitfld.long 0x0 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0x0 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0x0 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0x0 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0x0 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0x0 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x0 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x4 "URSIFR,URSIFR"
|
|
bitfld.long 0x4 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x4 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x4 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x4 4. "BII,BII" "0,1"
|
|
bitfld.long 0x4 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x4 2. "PEI,PEI" "0,1"
|
|
bitfld.long 0x4 1. "OEI,OEI" "0,1"
|
|
group.long 0x24++0x7
|
|
line.long 0x0 "URDLR,URDLR"
|
|
hexmask.long.word 0x0 0.--15. 1. "BRD,BRD"
|
|
line.long 0x4 "URTSTR,URTSTR"
|
|
bitfld.long 0x4 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
tree "UART2"
|
|
base ad:0x40002000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "URDR,URDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "URCR,URCR"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
group.long 0xC++0x7
|
|
line.long 0x0 "URIER,URIER"
|
|
bitfld.long 0x0 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0x0 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0x0 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0x0 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0x0 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0x0 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x0 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x4 "URSIFR,URSIFR"
|
|
bitfld.long 0x4 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x4 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x4 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x4 4. "BII,BII" "0,1"
|
|
bitfld.long 0x4 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x4 2. "PEI,PEI" "0,1"
|
|
bitfld.long 0x4 1. "OEI,OEI" "0,1"
|
|
group.long 0x24++0x7
|
|
line.long 0x0 "URDLR,URDLR"
|
|
hexmask.long.word 0x0 0.--15. 1. "BRD,BRD"
|
|
line.long 0x4 "URTSTR,URTSTR"
|
|
bitfld.long 0x4 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
tree "UART3"
|
|
base ad:0x40042000
|
|
group.long 0x0++0x7
|
|
line.long 0x0 "URDR,URDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "URCR,URCR"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
group.long 0xC++0x7
|
|
line.long 0x0 "URIER,URIER"
|
|
bitfld.long 0x0 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0x0 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0x0 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0x0 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0x0 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0x0 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0x0 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x4 "URSIFR,URSIFR"
|
|
bitfld.long 0x4 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x4 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x4 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x4 4. "BII,BII" "0,1"
|
|
bitfld.long 0x4 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x4 2. "PEI,PEI" "0,1"
|
|
bitfld.long 0x4 1. "OEI,OEI" "0,1"
|
|
group.long 0x24++0x7
|
|
line.long 0x0 "URDLR,URDLR"
|
|
hexmask.long.word 0x0 0.--15. 1. "BRD,BRD"
|
|
line.long 0x4 "URTSTR,URTSTR"
|
|
bitfld.long 0x4 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
tree "USART (Universal Synchronous Asynchronous Receiver Transmitter)"
|
|
base ad:0x0
|
|
sif (cpuis("HT32F52220*")||cpuis("HT32F52230*"))
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "USRDR,USRDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "USRCR,USRCR"
|
|
bitfld.long 0x4 15. "RTS,RTS" "0,1"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
newline
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
newline
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
newline
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 3. "HFCEN,HFCEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
bitfld.long 0x4 0.--1. "MODE,MODE" "0,1,2,3"
|
|
line.long 0x8 "USRFCR,USRFCR"
|
|
hexmask.long.byte 0x8 24.--27. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x8 16.--19. 1. "TXFS,TXFS"
|
|
newline
|
|
bitfld.long 0x8 6.--7. "RXTL,RXTL" "0,1,2,3"
|
|
bitfld.long 0x8 4.--5. "TXTL,TXTL" "0,1,2,3"
|
|
newline
|
|
bitfld.long 0x8 1. "RXR,RXR" "0,1"
|
|
bitfld.long 0x8 0. "TXR,TXR" "0,1"
|
|
line.long 0xC "USRIER,USRIER"
|
|
bitfld.long 0xC 9. "CTSIE,CTSIE" "0,1"
|
|
bitfld.long 0xC 8. "RXTOIE,RXTOIE" "0,1"
|
|
newline
|
|
bitfld.long 0xC 7. "RSADDIE,RSADDIE" "0,1"
|
|
bitfld.long 0xC 6. "BIE,BIE" "0,1"
|
|
newline
|
|
bitfld.long 0xC 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0xC 4. "PEIE,PEIE" "0,1"
|
|
newline
|
|
bitfld.long 0xC 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0xC 2. "TXCIE,TXCIE" "0,1"
|
|
newline
|
|
bitfld.long 0xC 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0xC 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x10 "USRSIFR,USRSIFR"
|
|
bitfld.long 0x10 11. "CTSS,CTSS" "0,1"
|
|
bitfld.long 0x10 10. "CTSC,CTSC" "0,1"
|
|
newline
|
|
bitfld.long 0x10 9. "RSADD,RSADD" "0,1"
|
|
bitfld.long 0x10 8. "TXC,TXC" "0,1"
|
|
newline
|
|
bitfld.long 0x10 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x10 6. "RXTOF,RXTOF" "0,1"
|
|
newline
|
|
bitfld.long 0x10 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x10 4. "BII,BII" "0,1"
|
|
newline
|
|
bitfld.long 0x10 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x10 2. "PEI,PEI" "0,1"
|
|
newline
|
|
bitfld.long 0x10 1. "OEI,OEI" "0,1"
|
|
bitfld.long 0x10 0. "RXDNE,RXDNE" "0,1"
|
|
line.long 0x14 "USRTPR,USRTPR"
|
|
hexmask.long.byte 0x14 8.--15. 1. "TG,TG"
|
|
bitfld.long 0x14 7. "RXTOEN,RXTOEN" "0,1"
|
|
newline
|
|
hexmask.long.byte 0x14 0.--6. 1. "RXTOC,RXTOC"
|
|
line.long 0x18 "IrDACR,IrDACR"
|
|
hexmask.long.byte 0x18 8.--15. 1. "IrDAPSC,IrDAPSC"
|
|
bitfld.long 0x18 5. "RXINV,RXINV" "0,1"
|
|
newline
|
|
bitfld.long 0x18 4. "TXINV,TXINV" "0,1"
|
|
bitfld.long 0x18 3. "LB,LB" "0,1"
|
|
newline
|
|
bitfld.long 0x18 2. "TXSEL,TXSEL" "0,1"
|
|
bitfld.long 0x18 1. "IrDALP,IrDALP" "0,1"
|
|
newline
|
|
bitfld.long 0x18 0. "IrDAEN,IrDAEN" "0,1"
|
|
line.long 0x1C "RS485CR,RS485CR"
|
|
hexmask.long.byte 0x1C 8.--15. 1. "ADDMATCH,ADDMATCH"
|
|
bitfld.long 0x1C 2. "RSAAD,RSAAD" "0,1"
|
|
newline
|
|
bitfld.long 0x1C 1. "RSNMM,RSNMM" "0,1"
|
|
bitfld.long 0x1C 0. "TXENP,TXENP" "0,1"
|
|
line.long 0x20 "SYNCR,SYNCR"
|
|
bitfld.long 0x20 3. "CPO,CPO" "0,1"
|
|
bitfld.long 0x20 2. "CPS,CPS" "0,1"
|
|
newline
|
|
bitfld.long 0x20 0. "CLKEN,CLKEN" "0,1"
|
|
line.long 0x24 "USRDLR,USRDLR"
|
|
hexmask.long.word 0x24 0.--15. 1. "BRD,BRD"
|
|
line.long 0x28 "USRTSTR,USRTSTR"
|
|
bitfld.long 0x28 0.--1. "LBM,LBM" "0,1,2,3"
|
|
endif
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
tree "USART0"
|
|
base ad:0x40000000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "USRDR,USRDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "USRCR,USRCR"
|
|
bitfld.long 0x4 15. "RTS,RTS" "0,1"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 3. "HFCEN,HFCEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
bitfld.long 0x4 0.--1. "MODE,MODE" "0,1,2,3"
|
|
line.long 0x8 "USRFCR,USRFCR"
|
|
hexmask.long.byte 0x8 24.--27. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x8 16.--19. 1. "TXFS,TXFS"
|
|
bitfld.long 0x8 6.--7. "RXTL,RXTL" "0,1,2,3"
|
|
bitfld.long 0x8 4.--5. "TXTL,TXTL" "0,1,2,3"
|
|
bitfld.long 0x8 1. "RXR,RXR" "0,1"
|
|
bitfld.long 0x8 0. "TXR,TXR" "0,1"
|
|
line.long 0xC "USRIER,USRIER"
|
|
bitfld.long 0xC 9. "CTSIE,CTSIE" "0,1"
|
|
bitfld.long 0xC 8. "RXTOIE,RXTOIE" "0,1"
|
|
bitfld.long 0xC 7. "RSADDIE,RSADDIE" "0,1"
|
|
bitfld.long 0xC 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0xC 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0xC 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0xC 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0xC 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0xC 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0xC 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x10 "USRSIFR,USRSIFR"
|
|
bitfld.long 0x10 11. "CTSS,CTSS" "0,1"
|
|
bitfld.long 0x10 10. "CTSC,CTSC" "0,1"
|
|
bitfld.long 0x10 9. "RSADD,RSADD" "0,1"
|
|
bitfld.long 0x10 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x10 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x10 6. "RXTOF,RXTOF" "0,1"
|
|
bitfld.long 0x10 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x10 4. "BII,BII" "0,1"
|
|
bitfld.long 0x10 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x10 2. "PEI,PEI" "0,1"
|
|
newline
|
|
bitfld.long 0x10 1. "OEI,OEI" "0,1"
|
|
bitfld.long 0x10 0. "RXDNE,RXDNE" "0,1"
|
|
line.long 0x14 "USRTPR,USRTPR"
|
|
hexmask.long.byte 0x14 8.--15. 1. "TG,TG"
|
|
bitfld.long 0x14 7. "RXTOEN,RXTOEN" "0,1"
|
|
hexmask.long.byte 0x14 0.--6. 1. "RXTOC,RXTOC"
|
|
line.long 0x18 "IrDACR,IrDACR"
|
|
hexmask.long.byte 0x18 8.--15. 1. "IrDAPSC,IrDAPSC"
|
|
bitfld.long 0x18 5. "RXINV,RXINV" "0,1"
|
|
bitfld.long 0x18 4. "TXINV,TXINV" "0,1"
|
|
bitfld.long 0x18 3. "LB,LB" "0,1"
|
|
bitfld.long 0x18 2. "TXSEL,TXSEL" "0,1"
|
|
bitfld.long 0x18 1. "IrDALP,IrDALP" "0,1"
|
|
bitfld.long 0x18 0. "IrDAEN,IrDAEN" "0,1"
|
|
line.long 0x1C "RS485CR,RS485CR"
|
|
hexmask.long.byte 0x1C 8.--15. 1. "ADDMATCH,ADDMATCH"
|
|
bitfld.long 0x1C 2. "RSAAD,RSAAD" "0,1"
|
|
bitfld.long 0x1C 1. "RSNMM,RSNMM" "0,1"
|
|
bitfld.long 0x1C 0. "TXENP,TXENP" "0,1"
|
|
line.long 0x20 "SYNCR,SYNCR"
|
|
bitfld.long 0x20 3. "CPO,CPO" "0,1"
|
|
bitfld.long 0x20 2. "CPS,CPS" "0,1"
|
|
bitfld.long 0x20 0. "CLKEN,CLKEN" "0,1"
|
|
line.long 0x24 "USRDLR,USRDLR"
|
|
hexmask.long.word 0x24 0.--15. 1. "BRD,BRD"
|
|
line.long 0x28 "USRTSTR,USRTSTR"
|
|
bitfld.long 0x28 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
tree "USART1"
|
|
base ad:0x40040000
|
|
group.long 0x0++0x2B
|
|
line.long 0x0 "USRDR,USRDR"
|
|
hexmask.long.word 0x0 0.--8. 1. "DB,DB"
|
|
line.long 0x4 "USRCR,USRCR"
|
|
bitfld.long 0x4 15. "RTS,RTS" "0,1"
|
|
bitfld.long 0x4 14. "BCB,BCB" "0,1"
|
|
bitfld.long 0x4 13. "SPE,SPE" "0,1"
|
|
bitfld.long 0x4 12. "EPE,EPE" "0,1"
|
|
bitfld.long 0x4 11. "PBE,PBE" "0,1"
|
|
bitfld.long 0x4 10. "NSB,NSB" "0,1"
|
|
bitfld.long 0x4 8.--9. "WLS,WLS" "0,1,2,3"
|
|
bitfld.long 0x4 7. "RXDMAEN,RXDMAEN" "0,1"
|
|
bitfld.long 0x4 6. "TXDMAEN,TXDMAEN" "0,1"
|
|
bitfld.long 0x4 5. "URRXEN,URRXEN" "0,1"
|
|
newline
|
|
bitfld.long 0x4 4. "URTXEN,URTXEN" "0,1"
|
|
bitfld.long 0x4 3. "HFCEN,HFCEN" "0,1"
|
|
bitfld.long 0x4 2. "TRSM,TRSM" "0,1"
|
|
bitfld.long 0x4 0.--1. "MODE,MODE" "0,1,2,3"
|
|
line.long 0x8 "USRFCR,USRFCR"
|
|
hexmask.long.byte 0x8 24.--27. 1. "RXFS,RXFS"
|
|
hexmask.long.byte 0x8 16.--19. 1. "TXFS,TXFS"
|
|
bitfld.long 0x8 6.--7. "RXTL,RXTL" "0,1,2,3"
|
|
bitfld.long 0x8 4.--5. "TXTL,TXTL" "0,1,2,3"
|
|
bitfld.long 0x8 1. "RXR,RXR" "0,1"
|
|
bitfld.long 0x8 0. "TXR,TXR" "0,1"
|
|
line.long 0xC "USRIER,USRIER"
|
|
bitfld.long 0xC 9. "CTSIE,CTSIE" "0,1"
|
|
bitfld.long 0xC 8. "RXTOIE,RXTOIE" "0,1"
|
|
bitfld.long 0xC 7. "RSADDIE,RSADDIE" "0,1"
|
|
bitfld.long 0xC 6. "BIE,BIE" "0,1"
|
|
bitfld.long 0xC 5. "FEIE,FEIE" "0,1"
|
|
bitfld.long 0xC 4. "PEIE,PEIE" "0,1"
|
|
bitfld.long 0xC 3. "OEIE,OEIE" "0,1"
|
|
bitfld.long 0xC 2. "TXCIE,TXCIE" "0,1"
|
|
bitfld.long 0xC 1. "TXDEIE,TXDEIE" "0,1"
|
|
bitfld.long 0xC 0. "RXDRIE,RXDRIE" "0,1"
|
|
line.long 0x10 "USRSIFR,USRSIFR"
|
|
bitfld.long 0x10 11. "CTSS,CTSS" "0,1"
|
|
bitfld.long 0x10 10. "CTSC,CTSC" "0,1"
|
|
bitfld.long 0x10 9. "RSADD,RSADD" "0,1"
|
|
bitfld.long 0x10 8. "TXC,TXC" "0,1"
|
|
bitfld.long 0x10 7. "TXDE,TXDE" "0,1"
|
|
bitfld.long 0x10 6. "RXTOF,RXTOF" "0,1"
|
|
bitfld.long 0x10 5. "RXDR,RXDR" "0,1"
|
|
bitfld.long 0x10 4. "BII,BII" "0,1"
|
|
bitfld.long 0x10 3. "FEI,FEI" "0,1"
|
|
bitfld.long 0x10 2. "PEI,PEI" "0,1"
|
|
newline
|
|
bitfld.long 0x10 1. "OEI,OEI" "0,1"
|
|
bitfld.long 0x10 0. "RXDNE,RXDNE" "0,1"
|
|
line.long 0x14 "USRTPR,USRTPR"
|
|
hexmask.long.byte 0x14 8.--15. 1. "TG,TG"
|
|
bitfld.long 0x14 7. "RXTOEN,RXTOEN" "0,1"
|
|
hexmask.long.byte 0x14 0.--6. 1. "RXTOC,RXTOC"
|
|
line.long 0x18 "IrDACR,IrDACR"
|
|
hexmask.long.byte 0x18 8.--15. 1. "IrDAPSC,IrDAPSC"
|
|
bitfld.long 0x18 5. "RXINV,RXINV" "0,1"
|
|
bitfld.long 0x18 4. "TXINV,TXINV" "0,1"
|
|
bitfld.long 0x18 3. "LB,LB" "0,1"
|
|
bitfld.long 0x18 2. "TXSEL,TXSEL" "0,1"
|
|
bitfld.long 0x18 1. "IrDALP,IrDALP" "0,1"
|
|
bitfld.long 0x18 0. "IrDAEN,IrDAEN" "0,1"
|
|
line.long 0x1C "RS485CR,RS485CR"
|
|
hexmask.long.byte 0x1C 8.--15. 1. "ADDMATCH,ADDMATCH"
|
|
bitfld.long 0x1C 2. "RSAAD,RSAAD" "0,1"
|
|
bitfld.long 0x1C 1. "RSNMM,RSNMM" "0,1"
|
|
bitfld.long 0x1C 0. "TXENP,TXENP" "0,1"
|
|
line.long 0x20 "SYNCR,SYNCR"
|
|
bitfld.long 0x20 3. "CPO,CPO" "0,1"
|
|
bitfld.long 0x20 2. "CPS,CPS" "0,1"
|
|
bitfld.long 0x20 0. "CLKEN,CLKEN" "0,1"
|
|
line.long 0x24 "USRDLR,USRDLR"
|
|
hexmask.long.word 0x24 0.--15. 1. "BRD,BRD"
|
|
line.long 0x28 "USRTSTR,USRTSTR"
|
|
bitfld.long 0x28 0.--1. "LBM,LBM" "0,1,2,3"
|
|
tree.end
|
|
endif
|
|
tree.end
|
|
tree "WDT (Watchdog Timer)"
|
|
base ad:0x40068000
|
|
group.long 0x0++0x13
|
|
line.long 0x0 "WDTCR,WDTCR"
|
|
hexmask.long.word 0x0 16.--31. 1. "RSKEY,RSKEY"
|
|
bitfld.long 0x0 0. "WDTRS,WDTRS" "0,1"
|
|
line.long 0x4 "WDTMR0,WDTMR0"
|
|
bitfld.long 0x4 16. "WDTEN,WDTEN" "0,1"
|
|
bitfld.long 0x4 14.--15. "WDTSHLT,WDTSHLT" "0,1,2,3"
|
|
bitfld.long 0x4 13. "WDTRSTEN,WDTRSTEN" "0,1"
|
|
hexmask.long.word 0x4 0.--11. 1. "WDTV,WDTV"
|
|
line.long 0x8 "WDTMR1,WDTMR1"
|
|
bitfld.long 0x8 16. "WDTEN,WDTEN" "0,1"
|
|
bitfld.long 0x8 14.--15. "WDTSHLT,WDTSHLT" "0,1,2,3"
|
|
bitfld.long 0x8 13. "WDTRSTEN,WDTRSTEN" "0,1"
|
|
hexmask.long.word 0x8 0.--11. 1. "WDTV,WDTV"
|
|
line.long 0xC "WDTSR,WDTSR"
|
|
bitfld.long 0xC 1. "WDTERR,WDTERR" "0,1"
|
|
bitfld.long 0xC 0. "WDTUF,WDTUF" "0,1"
|
|
line.long 0x10 "WDTPR,WDTPR"
|
|
hexmask.long.word 0x10 0.--15. 1. "PROTECT,PROTECT"
|
|
group.long 0x18++0x3
|
|
line.long 0x0 "WDTCSR,WDTCSR"
|
|
bitfld.long 0x0 4. "WDTLOCK,WDTLOCK" "0,1"
|
|
sif (cpuis("HT32F52243*")||cpuis("HT32F52253*"))
|
|
bitfld.long 0x0 0. "WDTSRC,WDTSRC" "0,1"
|
|
endif
|
|
tree.end
|
|
AUTOINDENT.OFF
|