Files
Gen4_R-Car_Trace32/2_Trunk/perpic32cmmc.per
2025-10-14 09:52:32 +09:00

4926 lines
285 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: PIC32CMMC On-Chip Peripherals
; @Props: Released
; @Author: NEJ
; @Changelog: 2022-05-12 NEJ
; @Manufacturer: MICROCHIP - Microchip Technology Inc.
; @Doc: SVD generated (SVD2PER 1.8.0) based on: PIC32CM1216MC00032.svd
; PIC32CM1216MC00048.svd
; @Core: Cortex-M0+
; @Chip: PIC32CM1216MC00, PIC32CM6408MC00
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: perpic32cmmc.per 14742 2022-05-12 14:17:46Z kwisniewski $
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
autoindent.on center tree
tree "AC (Analog Comparators)"
base ad:0x42005000
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "CTRLB,Control B"
bitfld.byte 0x00 1. "START1,Comparator 1 Start Comparison" "0,1"
bitfld.byte 0x00 0. "START0,Comparator 0 Start Comparison" "0,1"
group.word 0x02++0x01
line.word 0x00 "EVCTRL,Event Control"
bitfld.word 0x00 13. "INVEI1,Comparator 1 Input Event Invert Enable" "0,1"
bitfld.word 0x00 12. "INVEI0,Comparator 0 Input Event Invert Enable" "0,1"
newline
bitfld.word 0x00 9. "COMPEI1,Comparator 1 Event Input Enable" "0,1"
bitfld.word 0x00 8. "COMPEI0,Comparator 0 Event Input Enable" "0,1"
newline
bitfld.word 0x00 4. "WINEO0,Window 0 Event Output Enable" "0,1"
bitfld.word 0x00 1. "COMPEO1,Comparator 1 Event Output Enable" "0,1"
newline
bitfld.word 0x00 0. "COMPEO0,Comparator 0 Event Output Enable" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 4. "WIN0,Window 0 Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "COMP1,Comparator 1 Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "COMP0,Comparator 0 Interrupt Enable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 4. "WIN0,Window 0 Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "COMP1,Comparator 1 Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "COMP0,Comparator 0 Interrupt Enable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 4. "WIN0,Window 0" "0,1"
bitfld.byte 0x00 1. "COMP1,Comparator 1" "0,1"
newline
bitfld.byte 0x00 0. "COMP0,Comparator 0" "0,1"
rgroup.byte 0x07++0x00
line.byte 0x00 "STATUSA,Status A"
bitfld.byte 0x00 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?..."
bitfld.byte 0x00 1. "STATE1,Comparator 1 Current State" "0,1"
newline
bitfld.byte 0x00 0. "STATE0,Comparator 0 Current State" "0,1"
rgroup.byte 0x08++0x00
line.byte 0x00 "STATUSB,Status B"
bitfld.byte 0x00 1. "READY1,Comparator 1 Ready" "0,1"
bitfld.byte 0x00 0. "READY0,Comparator 0 Ready" "0,1"
group.byte 0x09++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
group.byte 0x0A++0x00
line.byte 0x00 "WINCTRL,Window Control"
bitfld.byte 0x00 1.--2. "WINTSEL0,Window 0 Interrupt Selection" "0: Interrupt on signal above window,1: Interrupt on signal inside window,2: Interrupt on signal below window,3: Interrupt on signal outside window"
bitfld.byte 0x00 0. "WEN0,Window 0 Mode Enable" "0,1"
repeat 2. (increment 0 1) (increment 0 0x1)
group.byte ($2+0x0C)++0x00
line.byte 0x00 "SCALER[$1],Scaler n $1"
bitfld.byte 0x00 0.--5. "VALUE,Scaler Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
repeat.end
repeat 2. (increment 0 1) (increment 0 0x4)
group.long ($2+0x10)++0x03
line.long 0x00 "COMPCTRL[$1],Comparator Control n $1"
bitfld.long 0x00 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering)..,?..."
bitfld.long 0x00 24.--26. "FLEN,Filter Length" "0: No filtering,1: 3-bit majority function (2 of 3),2: 5-bit majority function (3 of 5),?..."
newline
bitfld.long 0x00 19. "HYSTEN,Hysteresis Enable" "0,1"
bitfld.long 0x00 16.--17. "SPEED,Speed Selection" "0: Low speed,?,?,3: High speed"
newline
bitfld.long 0x00 15. "SWAP,Swap Inputs and Invert" "0,1"
bitfld.long 0x00 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0 for COMPCTRL0/1,1: I/O pin 1 for COMPCTRL0/1,2: I/O pin 2 for COMPCTRL0/1,3: I/O pin 3 for COMPCTRL0/1,4: VDD Scaler,?..."
newline
bitfld.long 0x00 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0 for COMPCTRL0/1,1: I/O pin 1 for COMPCTRL0/1,2: I/O pin 2 for COMPCTRL0/1,3: I/O pin 3 for COMPCTRL0/1,4: Ground,5: VDD Scaler,6: Internal Voltage Reference,7: DAC Voltage Output"
bitfld.long 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x00 3.--4. "INTSEL,Interrupt Selection" "0: Interrupt on comparator output toggle,1: Interrupt on comparator output rising,2: Interrupt on comparator output falling,3: Interrupt on end of comparison (single-shot.."
bitfld.long 0x00 2. "SINGLE,Single-Shot Mode" "0,1"
newline
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
repeat.end
rgroup.long 0x20++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
bitfld.long 0x00 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
newline
bitfld.long 0x00 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
tree.end
tree "ADC (Analog Digital Converter)"
repeat 2. (list 0. 1.) (list ad:0x42004400 ad:0x42004800)
tree "ADC$1"
base $2
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A"
bitfld.byte 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.byte 0x00 6. "RUNSTDBY,Run During Standby" "0,1"
newline
bitfld.byte 0x00 5. "SLAVEEN,Slave Enable" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "CTRLB,Control B"
bitfld.byte 0x00 0.--2. "PRESCALER,Prescaler Configuration" "0: Peripheral clock divided by 2,1: Peripheral clock divided by 4,2: Peripheral clock divided by 8,3: Peripheral clock divided by 16,4: Peripheral clock divided by 32,5: Peripheral clock divided by 64,6: Peripheral clock divided by 128,7: Peripheral clock divided by 256"
group.byte 0x02++0x00
line.byte 0x00 "REFCTRL,Reference Control"
bitfld.byte 0x00 7. "REFCOMP,Reference Buffer Offset Compensation Enable" "0,1"
bitfld.byte 0x00 0.--3. "REFSEL,Reference Selection" "0: Internal Voltage Reference,1: 1/1.6 VDDANA,2: 1/2 VDDANA,3: External Voltage Reference A (shared with DAC),4: DAC Internal Output,5: INTVCC2,?..."
group.byte 0x03++0x00
line.byte 0x00 "EVCTRL,Event Control"
bitfld.byte 0x00 5. "WINMONEO,Window Monitor Event Out" "0,1"
bitfld.byte 0x00 4. "RESRDYEO,Result Ready Event Out" "0,1"
newline
bitfld.byte 0x00 3. "STARTINV,Start Event Invert Enable" "0,1"
bitfld.byte 0x00 2. "FLUSHINV,Flush Event Invert Enable" "0,1"
newline
bitfld.byte 0x00 1. "STARTEI,Start Conversion Event Input Enable" "0,1"
bitfld.byte 0x00 0. "FLUSHEI,Flush Event Input Enable" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Disable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Enable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Flag" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Flag" "0,1"
newline
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Flag" "0,1"
rgroup.byte 0x07++0x00
line.byte 0x00 "SEQSTATUS,Sequence Status"
bitfld.byte 0x00 7. "SEQBUSY,Sequence Busy" "0,1"
bitfld.byte 0x00 0.--4. "SEQSTATE,Sequence State" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.word 0x08++0x01
line.word 0x00 "INPUTCTRL,Input Control"
bitfld.word 0x00 8.--12. "MUXNEG,Negative Mux Input Selection" "0: ADC AIN0 Pin,1: ADC AIN1 Pin,2: ADC AIN2 Pin,3: ADC AIN3 Pin,4: ADC AIN4 Pin,5: ADC AIN5 Pin,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,24: Internal Ground,?..."
bitfld.word 0x00 0.--4. "MUXPOS,Positive Mux Input Selection" "0: ADC AIN0 Pin,1: ADC AIN1 Pin,2: ADC AIN2 Pin,3: ADC AIN3 Pin,4: ADC AIN4 Pin,5: ADC AIN5 Pin,6: ADC AIN6 Pin,7: ADC AIN7 Pin,8: ADC AIN8 Pin,9: ADC AIN9 Pin,10: ADC AIN10 Pin,11: ADC AIN11 Pin,?,?,?,?,?,?,?,?,?,?,?,?,?,25: Internal Voltage Reference,26: 1/4 Scaled VDDCORE Supply,27: 1/4 Scaled VDDANA Supply,?..."
group.word 0x0A++0x01
line.word 0x00 "CTRLC,Control C"
bitfld.word 0x00 12.--13. "DUALSEL,Dual Mode Trigger Selection" "0: Start event or software trigger will start a..,1: START event or software trigger will..,?..."
bitfld.word 0x00 8.--10. "WINMODE,Window Monitor Mode" "0: No window mode (default),1: RESULT > WINLT,2: RESULT < WINUT,3: WINLT < RESULT < WINUT,4: !(WINLT < RESULT < WINUT),?..."
newline
bitfld.word 0x00 7. "R2R,Rail-to-Rail mode enable" "0,1"
bitfld.word 0x00 4.--5. "RESSEL,Conversion Result Resolution" "0: 12-bit result,1: Accumulation or Oversampling and Decimation..,2: 10-bit result,3: 8-bit result"
newline
bitfld.word 0x00 3. "CORREN,Digital Correction Logic Enable" "0,1"
bitfld.word 0x00 2. "FREERUN,Free Running Mode" "0,1"
newline
bitfld.word 0x00 1. "LEFTADJ,Left-Adjusted Result" "0,1"
bitfld.word 0x00 0. "DIFFMODE,Differential Mode" "0,1"
group.byte 0x0C++0x00
line.byte 0x00 "AVGCTRL,Average Control"
bitfld.byte 0x00 4.--6. "ADJRES,Adjusting Result / Division Coefficient" "0,1,2,3,4,5,6,7"
bitfld.byte 0x00 0.--3. "SAMPLENUM,Number of Samples to be Collected" "0: 1 sample,1: 2 samples,2: 4 samples,3: 8 samples,4: 16 samples,5: 32 samples,6: 64 samples,7: 128 samples,8: 256 samples,9: 512 samples,10: 1024 samples,?..."
group.byte 0x0D++0x00
line.byte 0x00 "SAMPCTRL,Sample Time Control"
bitfld.byte 0x00 7. "OFFCOMP,Comparator Offset Compensation Enable" "0,1"
bitfld.byte 0x00 0.--5. "SAMPLEN,Sampling Time Length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
group.word 0x0E++0x01
line.word 0x00 "WINLT,Window Monitor Lower Threshold"
hexmask.word 0x00 0.--15. 1. "WINLT,Window Lower Threshold"
group.word 0x10++0x01
line.word 0x00 "WINUT,Window Monitor Upper Threshold"
hexmask.word 0x00 0.--15. 1. "WINUT,Window Upper Threshold"
group.word 0x12++0x01
line.word 0x00 "GAINCORR,Gain Correction"
hexmask.word 0x00 0.--11. 1. "GAINCORR,Gain Correction Value"
group.word 0x14++0x01
line.word 0x00 "OFFSETCORR,Offset Correction"
hexmask.word 0x00 0.--11. 1. "OFFSETCORR,Offset Correction Value"
group.byte 0x18++0x00
line.byte 0x00 "SWTRIG,Software Trigger"
bitfld.byte 0x00 1. "START,Start ADC Conversion" "0,1"
bitfld.byte 0x00 0. "FLUSH,ADC Flush" "0,1"
group.byte 0x1C++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
rgroup.word 0x20++0x01
line.word 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.word 0x00 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.word 0x00 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x00 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x00 7. "WINUT,WINUT Synchronization Busy" "0,1"
newline
bitfld.word 0x00 6. "WINLT,WINLT Synchronization Busy" "0,1"
bitfld.word 0x00 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x00 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x00 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
newline
bitfld.word 0x00 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.word 0x00 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
newline
bitfld.word 0x00 0. "SWRST,SWRST Synchronization Busy" "0,1"
rgroup.word 0x24++0x01
line.word 0x00 "RESULT,Result"
hexmask.word 0x00 0.--15. 1. "RESULT,Result Value"
group.long 0x28++0x03
line.long 0x00 "SEQCTRL,Sequence Control"
hexmask.long 0x00 0.--31. 1. "SEQEN,Enable Positive Input in the Sequence"
group.word 0x2C++0x01
line.word 0x00 "CALIB,Calibration"
bitfld.word 0x00 8.--10. "BIASREFBUF,Bias Reference Buffer Scaling" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 0.--2. "BIASCOMP,Bias Comparator Scaling" "0,1,2,3,4,5,6,7"
tree.end
repeat.end
tree.end
tree "CCL (Configurable Custom Logic)"
base ad:0x42005C00
group.byte 0x00++0x00
line.byte 0x00 "CTRL,Control"
bitfld.byte 0x00 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby..,1: Generic clock is required in standby sleep mode"
bitfld.byte 0x00 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
repeat 2. (increment 0 1) (increment 0 0x1)
group.byte ($2+0x04)++0x00
line.byte 0x00 "SEQCTRL[$1],SEQ Control x $1"
bitfld.byte 0x00 0.--3. "SEQSEL,Sequential Selection" "0: Sequential logic is disabled,1: D flip flop,2: JK flip flop,3: D latch,4: RS latch,?..."
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x08)++0x03
line.long 0x00 "LUTCTRL[$1],LUT Control x $1"
hexmask.long.byte 0x00 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x00 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
bitfld.long 0x00 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
newline
bitfld.long 0x00 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
bitfld.long 0x00 16.--19. "INSEL2,Input Selection 2" "0: Masked input,1: Feedback input source,2: Linked LUT input source,3: Event input source,4: I/O pin input source,5: AC input source,6: TC input source,7: Alternate TC input source,8: TCC input source,9: SERCOM input source,?..."
bitfld.long 0x00 12.--15. "INSEL1,Input Selection 1" "0: Masked input,1: Feedback input source,2: Linked LUT input source,3: Event input source,4: I/O pin input source,5: AC input source,6: TC input source,7: Alternate TC input source,8: TCC input source,9: SERCOM input source,?..."
newline
bitfld.long 0x00 8.--11. "INSEL0,Input Selection 0" "0: Masked input,1: Feedback input source,2: Linked LUT input source,3: Event input source,4: I/O pin input source,5: AC input source,6: TC input source,7: Alternate TC input source,8: TCC input source,9: SERCOM input source,?..."
bitfld.long 0x00 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
bitfld.long 0x00 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?..."
newline
bitfld.long 0x00 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
tree.end
tree "DAC (Digital Analog Converter)"
base ad:0x42005400
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A"
bitfld.byte 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "CTRLB,Control B"
bitfld.byte 0x00 6.--7. "REFSEL,Reference Selection" "0: Internal Voltage Reference,1: Analog Voltage Supply,2: External Voltage Reference A (shared with ADC),?..."
bitfld.byte 0x00 5. "DITHER,Dither Enable" "0,1"
bitfld.byte 0x00 3. "VPD,Voltage Pump Disable" "0,1"
bitfld.byte 0x00 2. "LEFTADJ,Left Adjusted Data" "0,1"
bitfld.byte 0x00 1. "IOEN,Internal Output Enable" "0,1"
bitfld.byte 0x00 0. "EOEN,External Output Enable" "0,1"
group.byte 0x02++0x00
line.byte 0x00 "EVCTRL,Event Control"
bitfld.byte 0x00 2. "INVEI,Invert Event Input" "0,1"
bitfld.byte 0x00 1. "EMPTYEO,Data Buffer Empty Event Output" "0,1"
bitfld.byte 0x00 0. "STARTEI,Start Conversion Event Input" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 1. "EMPTY,Data Buffer Empty Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "UNDERRUN,Underrun Interrupt Enable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 1. "EMPTY,Data Buffer Empty Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "UNDERRUN,Underrun Interrupt Enable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 1. "EMPTY,Data Buffer Empty" "0,1"
bitfld.byte 0x00 0. "UNDERRUN,Underrun" "0,1"
rgroup.byte 0x07++0x00
line.byte 0x00 "STATUS,Status"
bitfld.byte 0x00 0. "READY,DAC Ready" "0,1"
wgroup.word 0x08++0x01
line.word 0x00 "DATA,Data"
hexmask.word 0x00 0.--15. 1. "DATA,Data value to be converted"
wgroup.word 0x0C++0x01
line.word 0x00 "DATABUF,Data Buffer"
hexmask.word 0x00 0.--15. 1. "DATABUF,Data Buffer"
rgroup.long 0x10++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 3. "DATABUF,Data Buffer" "0,1"
bitfld.long 0x00 2. "DATA,Data" "0,1"
bitfld.long 0x00 1. "ENABLE,DAC Enable Status" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
tree.end
tree "DIVAS (Divide and Square Root Accelerator)"
base ad:0x48000000
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control"
bitfld.byte 0x00 1. "DLZ,Disable Leading Zero Optimization" "0,1"
bitfld.byte 0x00 0. "SIGNED,Signed" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "STATUS,Status"
bitfld.byte 0x00 1. "DBZ,Writing a one to this bit clears DBZ to zero" "0,1"
bitfld.byte 0x00 0. "BUSY,DIVAS Accelerator Busy" "0,1"
group.long 0x08++0x03
line.long 0x00 "DIVIDEND,Dividend"
hexmask.long 0x00 0.--31. 1. "DIVIDEND,DIVIDEND"
group.long 0x0C++0x03
line.long 0x00 "DIVISOR,Divisor"
hexmask.long 0x00 0.--31. 1. "DIVISOR,DIVISOR"
rgroup.long 0x10++0x03
line.long 0x00 "RESULT,Result"
hexmask.long 0x00 0.--31. 1. "RESULT,RESULT"
rgroup.long 0x14++0x03
line.long 0x00 "REM,Remainder"
hexmask.long 0x00 0.--31. 1. "REM,REM"
group.long 0x18++0x03
line.long 0x00 "SQRNUM,Square Root Input"
hexmask.long 0x00 0.--31. 1. "SQRNUM,Square Root Input"
tree.end
tree "DMAC (Direct Memory Access Controller)"
base ad:0x41006000
group.word 0x00++0x01
line.word 0x00 "CTRL,Control"
bitfld.word 0x00 11. "LVLEN3,Priority Level 3 Enable" "0,1"
bitfld.word 0x00 10. "LVLEN2,Priority Level 2 Enable" "0,1"
newline
bitfld.word 0x00 9. "LVLEN1,Priority Level 1 Enable" "0,1"
bitfld.word 0x00 8. "LVLEN0,Priority Level 0 Enable" "0,1"
newline
bitfld.word 0x00 2. "CRCENABLE,CRC Enable" "0,1"
bitfld.word 0x00 1. "DMAENABLE,DMA Enable" "0,1"
newline
bitfld.word 0x00 0. "SWRST,Software Reset" "0,1"
group.word 0x02++0x01
line.word 0x00 "CRCCTRL,CRC Control"
bitfld.word 0x00 8.--13. "CRCSRC,CRC Input Source" "0: No action,1: I/O interface,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,32: DMA Channel 0,33: DMA Channel 1,34: DMA Channel 2,35: DMA Channel 3,36: DMA Channel 4,37: DMA Channel 5,38: DMA Channel 6,39: DMA Channel 7,40: DMA Channel 8,41: DMA Channel 9,42: DMA Channel 10,43: DMA Channel 11,?..."
bitfld.word 0x00 2.--3. "CRCPOLY,CRC Polynomial Type" "0: CRC-16 (CRC-CCITT),1: CRC32 (IEEE 802.3),?..."
newline
bitfld.word 0x00 0.--1. "CRCBEATSIZE,CRC Beat Size" "0: 8-bit bus transfer,1: 16-bit bus transfer,2: 32-bit bus transfer,?..."
group.long 0x04++0x03
line.long 0x00 "CRCDATAIN,CRC Data Input"
hexmask.long 0x00 0.--31. 1. "CRCDATAIN,CRC Data Input"
group.long 0x08++0x03
line.long 0x00 "CRCCHKSUM,CRC Checksum"
hexmask.long 0x00 0.--31. 1. "CRCCHKSUM,CRC Checksum"
group.byte 0x0C++0x00
line.byte 0x00 "CRCSTATUS,CRC Status"
bitfld.byte 0x00 1. "CRCZERO,CRC Zero" "0,1"
bitfld.byte 0x00 0. "CRCBUSY,CRC Module Busy" "0,1"
group.byte 0x0D++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
group.byte 0x0E++0x00
line.byte 0x00 "QOSCTRL,QOS Control"
bitfld.byte 0x00 4.--5. "DQOS,Data Transfer Quality of Service" "0: Background (no sensitive operation),1: Sensitive Bandwidth,2: Sensitive Latency,3: Critical Latency"
bitfld.byte 0x00 2.--3. "FQOS,Fetch Quality of Service" "0: Background (no sensitive operation),1: Sensitive Bandwidth,2: Sensitive Latency,3: Critical Latency"
newline
bitfld.byte 0x00 0.--1. "WRBQOS,Write-Back Quality of Service" "0: Background (no sensitive operation),1: Sensitive Bandwidth,2: Sensitive Latency,3: Critical Latency"
group.long 0x10++0x03
line.long 0x00 "SWTRIGCTRL,Software Trigger Control"
bitfld.long 0x00 11. "SWTRIG11,Channel 11 Software Trigger" "0,1"
bitfld.long 0x00 10. "SWTRIG10,Channel 10 Software Trigger" "0,1"
newline
bitfld.long 0x00 9. "SWTRIG9,Channel 9 Software Trigger" "0,1"
bitfld.long 0x00 8. "SWTRIG8,Channel 8 Software Trigger" "0,1"
newline
bitfld.long 0x00 7. "SWTRIG7,Channel 7 Software Trigger" "0,1"
bitfld.long 0x00 6. "SWTRIG6,Channel 6 Software Trigger" "0,1"
newline
bitfld.long 0x00 5. "SWTRIG5,Channel 5 Software Trigger" "0,1"
bitfld.long 0x00 4. "SWTRIG4,Channel 4 Software Trigger" "0,1"
newline
bitfld.long 0x00 3. "SWTRIG3,Channel 3 Software Trigger" "0,1"
bitfld.long 0x00 2. "SWTRIG2,Channel 2 Software Trigger" "0,1"
newline
bitfld.long 0x00 1. "SWTRIG1,Channel 1 Software Trigger" "0,1"
bitfld.long 0x00 0. "SWTRIG0,Channel 0 Software Trigger" "0,1"
group.long 0x14++0x03
line.long 0x00 "PRICTRL,Priority Control"
bitfld.long 0x00 31. "RRLVLEN3,Level 3 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels.."
bitfld.long 0x00 24.--27. "LVLPRI3,Level 3 Channel Priority Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 23. "RRLVLEN2,Level 2 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels.."
bitfld.long 0x00 16.--19. "LVLPRI2,Level 2 Channel Priority Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 15. "RRLVLEN1,Level 1 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels.."
bitfld.long 0x00 8.--11. "LVLPRI1,Level 1 Channel Priority Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels.."
bitfld.long 0x00 0.--3. "LVLPRI0,Level 0 Channel Priority Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.word 0x20++0x01
line.word 0x00 "INTPEND,Interrupt Pending"
bitfld.word 0x00 15. "PEND,Pending" "0,1"
bitfld.word 0x00 14. "BUSY,Busy" "0,1"
newline
bitfld.word 0x00 13. "FERR,Fetch Error" "0,1"
bitfld.word 0x00 10. "SUSP,Channel Suspend" "0,1"
newline
bitfld.word 0x00 9. "TCMPL,Transfer Complete" "0,1"
bitfld.word 0x00 8. "TERR,Transfer Error" "0,1"
newline
bitfld.word 0x00 0.--3. "ID,Channel ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long 0x24++0x03
line.long 0x00 "INTSTATUS,Interrupt Status"
bitfld.long 0x00 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x00 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x00 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x00 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x00 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x00 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x00 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x00 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x00 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x00 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x00 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x00 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
rgroup.long 0x28++0x03
line.long 0x00 "BUSYCH,Busy Channels"
bitfld.long 0x00 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x00 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x00 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x00 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x00 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x00 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x00 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x00 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x00 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x00 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x00 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x00 0. "BUSYCH0,Busy Channel 0" "0,1"
rgroup.long 0x2C++0x03
line.long 0x00 "PENDCH,Pending Channels"
bitfld.long 0x00 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x00 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x00 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x00 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x00 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x00 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x00 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x00 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x00 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x00 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x00 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x00 0. "PENDCH0,Pending Channel 0" "0,1"
rgroup.long 0x30++0x03
line.long 0x00 "ACTIVE,Active Channel and Levels"
hexmask.long.word 0x00 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
bitfld.long 0x00 15. "ABUSY,Active Channel Busy" "0,1"
newline
bitfld.long 0x00 8.--12. "ID,Active Channel ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0x00 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0x00 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0x00 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
group.long 0x34++0x03
line.long 0x00 "BASEADDR,Descriptor Memory Section Base Address"
hexmask.long 0x00 0.--31. 1. "BASEADDR,Descriptor Memory Base Address"
group.long 0x38++0x03
line.long 0x00 "WRBADDR,Write-Back Memory Section Base Address"
hexmask.long 0x00 0.--31. 1. "WRBADDR,Write-Back Memory Base Address"
group.byte 0x3F++0x00
line.byte 0x00 "CHID,Channel ID"
bitfld.byte 0x00 0.--3. "ID,Channel ID" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.byte 0x40++0x00
line.byte 0x00 "CHCTRLA,Channel Control A"
bitfld.byte 0x00 6. "RUNSTDBY,Channel run in standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Channel Enable" "0,1"
newline
bitfld.byte 0x00 0. "SWRST,Channel Software Reset" "0,1"
group.long 0x44++0x03
line.long 0x00 "CHCTRLB,Channel Control B"
bitfld.long 0x00 24.--25. "CMD,Software Command" "0: No action,1: Channel suspend operation,2: Channel resume operation,?..."
bitfld.long 0x00 22.--23. "TRIGACT,Trigger Action" "0: One trigger required for each block transfer,?,2: One trigger required for each beat transfer,3: One trigger required for each transaction"
newline
bitfld.long 0x00 8.--13. "TRIGSRC,Trigger Source" "0: Only software/event triggers,1: TSENS Result Ready Trigger,2: SERCOM0 RX Trigger,3: SERCOM0 TX Trigger,4: SERCOM1 RX Trigger,5: SERCOM1 TX Trigger,6: SERCOM2 RX Trigger,7: SERCOM2 TX Trigger,8: SERCOM3 RX Trigger,9: SERCOM3 TX Trigger,10: SERCOM4 RX Trigger,11: SERCOM4 TX Trigger,12: SERCOM5 RX Trigger,13: SERCOM5 TX Trigger,?,?,16: TCC0 Overflow Trigger,17: TCC0 Match/Compare 0 Trigger,18: TCC0 Match/Compare 1 Trigger,19: TCC0 Match/Compare 2 Trigger,20: TCC0 Match/Compare 3 Trigger,21: TCC1 Overflow Trigger,22: TCC1 Match/Compare 0 Trigger,23: TCC1 Match/Compare 1 Trigger,24: TCC2 Overflow Trigger,25: TCC2 Match/Compare 0 Trigger,26: TCC2 Match/Compare 1 Trigger,27: TC0 Overflow Trigger,28: TC0 Match/Compare 0 Trigger,29: TC0 Match/Compare 1 Trigger,30: TC1 Overflow Trigger,31: TC1 Match/Compare 0 Trigger,32: TC1 Match/Compare 1 Trigger,33: TC2 Overflow Trigger,34: TC2 Match/Compare 0 Trigger,35: TC2 Match/Compare 1 Trigger,36: TC3 Overflow Trigger,37: TC3 Match/Compare 0 Trigger,38: TC3 Match/Compare 1 Trigger,39: TC4 Overflow Trigger,40: TC4 Match/Compare 0 Trigger,41: TC4 Match/Compare 1 Trigger,42: ADC0 Result Ready Trigger,43: ADC1 Result Ready Trigger,44: SDADC Result Ready Trigger,45: DAC Empty Trigger,?..."
bitfld.long 0x00 5.--6. "LVL,Channel Arbitration Level" "0: Channel Priority Level 0,1: Channel Priority Level 1,2: Channel Priority Level 2,3: Channel Priority Level 3"
newline
bitfld.long 0x00 4. "EVOE,Channel Event Output Enable" "0,1"
bitfld.long 0x00 3. "EVIE,Channel Event Input Enable" "0,1"
newline
bitfld.long 0x00 0.--2. "EVACT,Event Input Action" "0: No action,1: Transfer and periodic transfer trigger,2: Conditional transfer trigger,3: Conditional block transfer,4: Channel suspend operation,5: Channel resume operation,6: Skip next block suspend action,?..."
group.byte 0x4C++0x00
line.byte 0x00 "CHINTENCLR,Channel Interrupt Enable Clear"
bitfld.byte 0x00 2. "SUSP,Channel Suspend Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TCMPL,Channel Transfer Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "TERR,Channel Transfer Error Interrupt Enable" "0,1"
group.byte 0x4D++0x00
line.byte 0x00 "CHINTENSET,Channel Interrupt Enable Set"
bitfld.byte 0x00 2. "SUSP,Channel Suspend Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TCMPL,Channel Transfer Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "TERR,Channel Transfer Error Interrupt Enable" "0,1"
group.byte 0x4E++0x00
line.byte 0x00 "CHINTFLAG,Channel Interrupt Flag Status and Clear"
bitfld.byte 0x00 2. "SUSP,Channel Suspend" "0,1"
bitfld.byte 0x00 1. "TCMPL,Channel Transfer Complete" "0,1"
newline
bitfld.byte 0x00 0. "TERR,Channel Transfer Error" "0,1"
rgroup.byte 0x4F++0x00
line.byte 0x00 "CHSTATUS,Channel Status"
bitfld.byte 0x00 2. "FERR,Channel Fetch Error" "0,1"
bitfld.byte 0x00 1. "BUSY,Channel Busy" "0,1"
newline
bitfld.byte 0x00 0. "PEND,Channel Pending" "0,1"
tree.end
tree "DSU (Device Service Unit)"
base ad:0x41002000
wgroup.byte 0x00++0x00
line.byte 0x00 "CTRL,Control"
bitfld.byte 0x00 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x00 6. "ARR,Auxiliary Row" "0,1"
bitfld.byte 0x00 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x00 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x00 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "STATUSA,Status A"
bitfld.byte 0x00 4. "PERR,Protection Error" "0,1"
bitfld.byte 0x00 3. "FAIL,Failure" "0,1"
bitfld.byte 0x00 2. "BERR,Bus Error" "0,1"
bitfld.byte 0x00 1. "CRSTEXT,CPU Reset Phase Extension" "0,1"
bitfld.byte 0x00 0. "DONE,Done" "0,1"
rgroup.byte 0x02++0x00
line.byte 0x00 "STATUSB,Status B"
bitfld.byte 0x00 5. "CEHL,Chip Erase Hard Lock" "0,1"
bitfld.byte 0x00 4. "HPE,Hot-Plugging Enable" "0,1"
bitfld.byte 0x00 3. "DCCD1,Debug Communication Channel 1 Dirty" "0,1"
bitfld.byte 0x00 2. "DCCD0,Debug Communication Channel 0 Dirty" "0,1"
bitfld.byte 0x00 1. "DBGPRES,Debugger Present" "0,1"
bitfld.byte 0x00 0. "PROT,Protected" "0,1"
rgroup.byte 0x03++0x00
line.byte 0x00 "STATUSC,Status C"
bitfld.byte 0x00 0.--2. "STATE,State" "0,1,2,3,4,5,6,7"
group.long 0x04++0x03
line.long 0x00 "ADDR,Address"
hexmask.long 0x00 2.--31. 1. "ADDR,Address"
bitfld.long 0x00 0.--1. "AMOD,Access Mode" "0,1,2,3"
group.long 0x08++0x03
line.long 0x00 "LENGTH,Length"
hexmask.long 0x00 2.--31. 1. "LENGTH,Length"
group.long 0x0C++0x03
line.long 0x00 "DATA,Data"
hexmask.long 0x00 0.--31. 1. "DATA,Data"
repeat 2. (increment 0 1) (increment 0 0x4)
group.long ($2+0x10)++0x03
line.long 0x00 "DCC[$1],Debug Communication Channel n $1"
hexmask.long 0x00 0.--31. 1. "DATA,Data"
repeat.end
rgroup.long 0x18++0x03
line.long 0x00 "DID,Device Identification"
bitfld.long 0x00 28.--31. "PROCESSOR,Processor" "?,1: Cortex-M0+,?..."
bitfld.long 0x00 23.--27. "FAMILY,Family" "?,?,2: 5V Industrial,?..."
bitfld.long 0x00 16.--21. "SERIES,Series" "?,?,?,?,?,?,6: PIC32CM MC00,?..."
bitfld.long 0x00 12.--15. "DIE,Die Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 8.--11. "REVISION,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.byte 0x00 0.--7. 1. "DEVSEL,Device Select"
repeat 2. (increment 0 1) (increment 0 0x4)
group.long ($2+0xF0)++0x03
line.long 0x00 "DCFG[$1],Device Configuration $1"
hexmask.long 0x00 0.--31. 1. "DCFG,Device Configuration"
repeat.end
rgroup.long 0x1000++0x03
line.long 0x00 "ENTRY0,CoreSight ROM Table Entry 0"
hexmask.long.tbyte 0x00 12.--31. 1. "ADDOFF,Address Offset"
bitfld.long 0x00 1. "FMT,Format" "0,1"
bitfld.long 0x00 0. "EPRES,Entry Present" "0,1"
rgroup.long 0x1004++0x03
line.long 0x00 "ENTRY1,CoreSight ROM Table Entry 1"
rgroup.long 0x1008++0x03
line.long 0x00 "END,CoreSight ROM Table End"
hexmask.long 0x00 0.--31. 1. "END,End Marker"
rgroup.long 0x1FCC++0x03
line.long 0x00 "MEMTYPE,CoreSight ROM Table Memory Type"
bitfld.long 0x00 0. "SMEMP,System Memory Present" "0,1"
rgroup.long 0x1FD0++0x03
line.long 0x00 "PID4,Peripheral Identification 4"
bitfld.long 0x00 4.--7. "FKBC,4KB count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "JEPCC,JEP-106 Continuation Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
repeat 3. (strings "5" "6" "7" )(list 0x00 0x04 0x08 )
rgroup.long ($2+0x1FD4)++0x03
line.long 0x00 "PID$1,Peripheral Identification $1"
repeat.end
rgroup.long 0x1FE0++0x03
line.long 0x00 "PID0,Peripheral Identification 0"
hexmask.long.byte 0x00 0.--7. 1. "PARTNBL,Part Number Low"
rgroup.long 0x1FE4++0x03
line.long 0x00 "PID1,Peripheral Identification 1"
bitfld.long 0x00 4.--7. "JEPIDCL,Low part of the JEP-106 Identity Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "PARTNBH,Part Number High" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long 0x1FE8++0x03
line.long 0x00 "PID2,Peripheral Identification 2"
bitfld.long 0x00 4.--7. "REVISION,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 3. "JEPU,JEP-106 Identity Code is used" "0,1"
bitfld.long 0x00 0.--2. "JEPIDCH,JEP-106 Identity Code High" "0,1,2,3,4,5,6,7"
rgroup.long 0x1FEC++0x03
line.long 0x00 "PID3,Peripheral Identification 3"
bitfld.long 0x00 4.--7. "REVAND,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "CUSMOD,ARM CUSMOD" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long 0x1FF0++0x03
line.long 0x00 "CID0,Component Identification 0"
hexmask.long.byte 0x00 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
rgroup.long 0x1FF4++0x03
line.long 0x00 "CID1,Component Identification 1"
bitfld.long 0x00 4.--7. "CCLASS,Component Class" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "PREAMBLE,Preamble" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long 0x1FF8++0x03
line.long 0x00 "CID2,Component Identification 2"
hexmask.long.byte 0x00 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
rgroup.long 0x1FFC++0x03
line.long 0x00 "CID3,Component Identification 3"
hexmask.long.byte 0x00 0.--7. 1. "PREAMBLEB3,Preamble Byte 3"
tree.end
tree "EIC (External Interrupt Controller)"
base ad:0x40002800
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A"
bitfld.byte 0x00 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "NMICTRL,Non-Maskable Interrupt Control"
bitfld.byte 0x00 4. "NMIASYNCH,Asynchronous Edge Detection Mode" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.byte 0x00 3. "NMIFILTEN,Non-Maskable Interrupt Filter Enable" "0,1"
newline
bitfld.byte 0x00 0.--2. "NMISENSE,Non-Maskable Interrupt Sense Configuration" "0: No detection,1: Rising-edge detection,2: Falling-edge detection,3: Both-edges detection,4: High-level detection,5: Low-level detection,?..."
group.word 0x02++0x01
line.word 0x00 "NMIFLAG,Non-Maskable Interrupt Flag Status and Clear"
bitfld.word 0x00 0. "NMI,Non-Maskable Interrupt" "0,1"
rgroup.long 0x04++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 1. "ENABLE,Enable Synchronization Busy Status" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy Status" "0,1"
group.long 0x08++0x03
line.long 0x00 "EVCTRL,Event Control"
bitfld.long 0x00 15. "EXTINTEO15,External Interrupt 15 Event Output Enable" "0,1"
bitfld.long 0x00 14. "EXTINTEO14,External Interrupt 14 Event Output Enable" "0,1"
newline
bitfld.long 0x00 13. "EXTINTEO13,External Interrupt 13 Event Output Enable" "0,1"
bitfld.long 0x00 12. "EXTINTEO12,External Interrupt 12 Event Output Enable" "0,1"
newline
bitfld.long 0x00 11. "EXTINTEO11,External Interrupt 11 Event Output Enable" "0,1"
bitfld.long 0x00 10. "EXTINTEO10,External Interrupt 10 Event Output Enable" "0,1"
newline
bitfld.long 0x00 9. "EXTINTEO9,External Interrupt 9 Event Output Enable" "0,1"
bitfld.long 0x00 8. "EXTINTEO8,External Interrupt 8 Event Output Enable" "0,1"
newline
bitfld.long 0x00 7. "EXTINTEO7,External Interrupt 7 Event Output Enable" "0,1"
bitfld.long 0x00 6. "EXTINTEO6,External Interrupt 6 Event Output Enable" "0,1"
newline
bitfld.long 0x00 5. "EXTINTEO5,External Interrupt 5 Event Output Enable" "0,1"
bitfld.long 0x00 4. "EXTINTEO4,External Interrupt 4 Event Output Enable" "0,1"
newline
bitfld.long 0x00 3. "EXTINTEO3,External Interrupt 3 Event Output Enable" "0,1"
bitfld.long 0x00 2. "EXTINTEO2,External Interrupt 2 Event Output Enable" "0,1"
newline
bitfld.long 0x00 1. "EXTINTEO1,External Interrupt 1 Event Output Enable" "0,1"
bitfld.long 0x00 0. "EXTINTEO0,External Interrupt 0 Event Output Enable" "0,1"
group.long 0x0C++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 15. "EXTINT15,External Interrupt 15 Enable" "0,1"
bitfld.long 0x00 14. "EXTINT14,External Interrupt 14 Enable" "0,1"
newline
bitfld.long 0x00 13. "EXTINT13,External Interrupt 13 Enable" "0,1"
bitfld.long 0x00 12. "EXTINT12,External Interrupt 12 Enable" "0,1"
newline
bitfld.long 0x00 11. "EXTINT11,External Interrupt 11 Enable" "0,1"
bitfld.long 0x00 10. "EXTINT10,External Interrupt 10 Enable" "0,1"
newline
bitfld.long 0x00 9. "EXTINT9,External Interrupt 9 Enable" "0,1"
bitfld.long 0x00 8. "EXTINT8,External Interrupt 8 Enable" "0,1"
newline
bitfld.long 0x00 7. "EXTINT7,External Interrupt 7 Enable" "0,1"
bitfld.long 0x00 6. "EXTINT6,External Interrupt 6 Enable" "0,1"
newline
bitfld.long 0x00 5. "EXTINT5,External Interrupt 5 Enable" "0,1"
bitfld.long 0x00 4. "EXTINT4,External Interrupt 4 Enable" "0,1"
newline
bitfld.long 0x00 3. "EXTINT3,External Interrupt 3 Enable" "0,1"
bitfld.long 0x00 2. "EXTINT2,External Interrupt 2 Enable" "0,1"
newline
bitfld.long 0x00 1. "EXTINT1,External Interrupt 1 Enable" "0,1"
bitfld.long 0x00 0. "EXTINT0,External Interrupt 0 Enable" "0,1"
group.long 0x10++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 15. "EXTINT15,External Interrupt 15 Enable" "0,1"
bitfld.long 0x00 14. "EXTINT14,External Interrupt 14 Enable" "0,1"
newline
bitfld.long 0x00 13. "EXTINT13,External Interrupt 13 Enable" "0,1"
bitfld.long 0x00 12. "EXTINT12,External Interrupt 12 Enable" "0,1"
newline
bitfld.long 0x00 11. "EXTINT11,External Interrupt 11 Enable" "0,1"
bitfld.long 0x00 10. "EXTINT10,External Interrupt 10 Enable" "0,1"
newline
bitfld.long 0x00 9. "EXTINT9,External Interrupt 9 Enable" "0,1"
bitfld.long 0x00 8. "EXTINT8,External Interrupt 8 Enable" "0,1"
newline
bitfld.long 0x00 7. "EXTINT7,External Interrupt 7 Enable" "0,1"
bitfld.long 0x00 6. "EXTINT6,External Interrupt 6 Enable" "0,1"
newline
bitfld.long 0x00 5. "EXTINT5,External Interrupt 5 Enable" "0,1"
bitfld.long 0x00 4. "EXTINT4,External Interrupt 4 Enable" "0,1"
newline
bitfld.long 0x00 3. "EXTINT3,External Interrupt 3 Enable" "0,1"
bitfld.long 0x00 2. "EXTINT2,External Interrupt 2 Enable" "0,1"
newline
bitfld.long 0x00 1. "EXTINT1,External Interrupt 1 Enable" "0,1"
bitfld.long 0x00 0. "EXTINT0,External Interrupt 0 Enable" "0,1"
group.long 0x14++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 15. "EXTINT15,External Interrupt 15" "0,1"
bitfld.long 0x00 14. "EXTINT14,External Interrupt 14" "0,1"
newline
bitfld.long 0x00 13. "EXTINT13,External Interrupt 13" "0,1"
bitfld.long 0x00 12. "EXTINT12,External Interrupt 12" "0,1"
newline
bitfld.long 0x00 11. "EXTINT11,External Interrupt 11" "0,1"
bitfld.long 0x00 10. "EXTINT10,External Interrupt 10" "0,1"
newline
bitfld.long 0x00 9. "EXTINT9,External Interrupt 9" "0,1"
bitfld.long 0x00 8. "EXTINT8,External Interrupt 8" "0,1"
newline
bitfld.long 0x00 7. "EXTINT7,External Interrupt 7" "0,1"
bitfld.long 0x00 6. "EXTINT6,External Interrupt 6" "0,1"
newline
bitfld.long 0x00 5. "EXTINT5,External Interrupt 5" "0,1"
bitfld.long 0x00 4. "EXTINT4,External Interrupt 4" "0,1"
newline
bitfld.long 0x00 3. "EXTINT3,External Interrupt 3" "0,1"
bitfld.long 0x00 2. "EXTINT2,External Interrupt 2" "0,1"
newline
bitfld.long 0x00 1. "EXTINT1,External Interrupt 1" "0,1"
bitfld.long 0x00 0. "EXTINT0,External Interrupt 0" "0,1"
group.long 0x18++0x03
line.long 0x00 "ASYNCH,External Interrupt Asynchronous Mode"
bitfld.long 0x00 15. "ASYNCH15,Asynchronous Edge Detection Mode of EXTINT15" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 14. "ASYNCH14,Asynchronous Edge Detection Mode of EXTINT14" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 13. "ASYNCH13,Asynchronous Edge Detection Mode of EXTINT13" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 12. "ASYNCH12,Asynchronous Edge Detection Mode of EXTINT12" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 11. "ASYNCH11,Asynchronous Edge Detection Mode of EXTINT11" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 10. "ASYNCH10,Asynchronous Edge Detection Mode of EXTINT10" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 9. "ASYNCH9,Asynchronous Edge Detection Mode of EXTINT9" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 8. "ASYNCH8,Asynchronous Edge Detection Mode of EXTINT8" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 7. "ASYNCH7,Asynchronous Edge Detection Mode of EXTINT7" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 6. "ASYNCH6,Asynchronous Edge Detection Mode of EXTINT6" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 5. "ASYNCH5,Asynchronous Edge Detection Mode of EXTINT5" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 4. "ASYNCH4,Asynchronous Edge Detection Mode of EXTINT4" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 3. "ASYNCH3,Asynchronous Edge Detection Mode of EXTINT3" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 2. "ASYNCH2,Asynchronous Edge Detection Mode of EXTINT2" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
bitfld.long 0x00 1. "ASYNCH1,Asynchronous Edge Detection Mode of EXTINT1" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
bitfld.long 0x00 0. "ASYNCH0,Asynchronous Edge Detection Mode of EXTINT0" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
group.long 0x1C++0x03
line.long 0x00 "CONFIG0,External Interrupt Sense Configuration"
bitfld.long 0x00 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x00 28.--30. "SENSE7,Input Sense Configuration 7" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x00 24.--26. "SENSE6,Input Sense Configuration 6" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x00 20.--22. "SENSE5,Input Sense Configuration 5" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x00 16.--18. "SENSE4,Input Sense Configuration 4" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x00 12.--14. "SENSE3,Input Sense Configuration 3" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x00 8.--10. "SENSE2,Input Sense Configuration 2" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x00 4.--6. "SENSE1,Input Sense Configuration 1" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x00 0.--2. "SENSE0,Input Sense Configuration 0" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
group.long 0x20++0x03
line.long 0x00 "CONFIG1,External Interrupt Sense Configuration"
bitfld.long 0x00 31. "FILTEN15,Filter Enable 15" "0,1"
bitfld.long 0x00 28.--30. "SENSE15,Input Sense Configuration 15" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 27. "FILTEN14,Filter Enable 14" "0,1"
bitfld.long 0x00 24.--26. "SENSE14,Input Sense Configuration 14" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 23. "FILTEN13,Filter Enable 13" "0,1"
bitfld.long 0x00 20.--22. "SENSE13,Input Sense Configuration 13" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 19. "FILTEN12,Filter Enable 12" "0,1"
bitfld.long 0x00 16.--18. "SENSE12,Input Sense Configuration 12" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 15. "FILTEN11,Filter Enable 11" "0,1"
bitfld.long 0x00 12.--14. "SENSE11,Input Sense Configuration 11" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 11. "FILTEN10,Filter Enable 10" "0,1"
bitfld.long 0x00 8.--10. "SENSE10,Input Sense Configuration 10" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 7. "FILTEN9,Filter Enable 9" "0,1"
bitfld.long 0x00 4.--6. "SENSE9,Input Sense Configuration 9" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
newline
bitfld.long 0x00 3. "FILTEN8,Filter Enable 8" "0,1"
bitfld.long 0x00 0.--2. "SENSE8,Input Sense Configuration 8" "0: No detection,1: Rising edge detection,2: Falling edge detection,3: Both edges detection,4: High level detection,5: Low level detection,?..."
tree.end
tree "EVSYS (Event System Interface)"
base ad:0x42000000
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "CHSTATUS,Channel Status"
bitfld.long 0x00 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x00 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x00 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x00 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x00 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x00 22. "CHBUSY6,Channel 6 Busy" "0,1"
newline
bitfld.long 0x00 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x00 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x00 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x00 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x00 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x00 16. "CHBUSY0,Channel 0 Busy" "0,1"
newline
bitfld.long 0x00 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x00 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x00 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x00 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x00 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x00 6. "USRRDY6,Channel 6 User Ready" "0,1"
newline
bitfld.long 0x00 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x00 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x00 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x00 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x00 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x00 0. "USRRDY0,Channel 0 User Ready" "0,1"
group.long 0x10++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 27. "EVD11,Channel 11 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 26. "EVD10,Channel 10 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 25. "EVD9,Channel 9 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 24. "EVD8,Channel 8 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 23. "EVD7,Channel 7 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 22. "EVD6,Channel 6 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x00 21. "EVD5,Channel 5 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 20. "EVD4,Channel 4 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 19. "EVD3,Channel 3 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 18. "EVD2,Channel 2 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 17. "EVD1,Channel 1 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 16. "EVD0,Channel 0 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x00 11. "OVR11,Channel 11 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 10. "OVR10,Channel 10 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 9. "OVR9,Channel 9 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 8. "OVR8,Channel 8 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 7. "OVR7,Channel 7 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 6. "OVR6,Channel 6 Overrun Interrupt Enable" "0,1"
newline
bitfld.long 0x00 5. "OVR5,Channel 5 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 4. "OVR4,Channel 4 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 3. "OVR3,Channel 3 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 2. "OVR2,Channel 2 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 1. "OVR1,Channel 1 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 0. "OVR0,Channel 0 Overrun Interrupt Enable" "0,1"
group.long 0x14++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 27. "EVD11,Channel 11 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 26. "EVD10,Channel 10 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 25. "EVD9,Channel 9 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 24. "EVD8,Channel 8 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 23. "EVD7,Channel 7 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 22. "EVD6,Channel 6 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x00 21. "EVD5,Channel 5 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 20. "EVD4,Channel 4 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 19. "EVD3,Channel 3 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 18. "EVD2,Channel 2 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 17. "EVD1,Channel 1 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x00 16. "EVD0,Channel 0 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x00 11. "OVR11,Channel 11 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 10. "OVR10,Channel 10 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 9. "OVR9,Channel 9 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 8. "OVR8,Channel 8 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 7. "OVR7,Channel 7 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 6. "OVR6,Channel 6 Overrun Interrupt Enable" "0,1"
newline
bitfld.long 0x00 5. "OVR5,Channel 5 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 4. "OVR4,Channel 4 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 3. "OVR3,Channel 3 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 2. "OVR2,Channel 2 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 1. "OVR1,Channel 1 Overrun Interrupt Enable" "0,1"
bitfld.long 0x00 0. "OVR0,Channel 0 Overrun Interrupt Enable" "0,1"
group.long 0x18++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 27. "EVD11,Channel 11 Event Detection" "0,1"
bitfld.long 0x00 26. "EVD10,Channel 10 Event Detection" "0,1"
bitfld.long 0x00 25. "EVD9,Channel 9 Event Detection" "0,1"
bitfld.long 0x00 24. "EVD8,Channel 8 Event Detection" "0,1"
bitfld.long 0x00 23. "EVD7,Channel 7 Event Detection" "0,1"
bitfld.long 0x00 22. "EVD6,Channel 6 Event Detection" "0,1"
newline
bitfld.long 0x00 21. "EVD5,Channel 5 Event Detection" "0,1"
bitfld.long 0x00 20. "EVD4,Channel 4 Event Detection" "0,1"
bitfld.long 0x00 19. "EVD3,Channel 3 Event Detection" "0,1"
bitfld.long 0x00 18. "EVD2,Channel 2 Event Detection" "0,1"
bitfld.long 0x00 17. "EVD1,Channel 1 Event Detection" "0,1"
bitfld.long 0x00 16. "EVD0,Channel 0 Event Detection" "0,1"
newline
bitfld.long 0x00 11. "OVR11,Channel 11 Overrun" "0,1"
bitfld.long 0x00 10. "OVR10,Channel 10 Overrun" "0,1"
bitfld.long 0x00 9. "OVR9,Channel 9 Overrun" "0,1"
bitfld.long 0x00 8. "OVR8,Channel 8 Overrun" "0,1"
bitfld.long 0x00 7. "OVR7,Channel 7 Overrun" "0,1"
bitfld.long 0x00 6. "OVR6,Channel 6 Overrun" "0,1"
newline
bitfld.long 0x00 5. "OVR5,Channel 5 Overrun" "0,1"
bitfld.long 0x00 4. "OVR4,Channel 4 Overrun" "0,1"
bitfld.long 0x00 3. "OVR3,Channel 3 Overrun" "0,1"
bitfld.long 0x00 2. "OVR2,Channel 2 Overrun" "0,1"
bitfld.long 0x00 1. "OVR1,Channel 1 Overrun" "0,1"
bitfld.long 0x00 0. "OVR0,Channel 0 Overrun" "0,1"
wgroup.long 0x1C++0x03
line.long 0x00 "SWEVT,Software Event"
bitfld.long 0x00 11. "CHANNEL11,Channel 11 Software Selection" "0,1"
bitfld.long 0x00 10. "CHANNEL10,Channel 10 Software Selection" "0,1"
bitfld.long 0x00 9. "CHANNEL9,Channel 9 Software Selection" "0,1"
bitfld.long 0x00 8. "CHANNEL8,Channel 8 Software Selection" "0,1"
bitfld.long 0x00 7. "CHANNEL7,Channel 7 Software Selection" "0,1"
bitfld.long 0x00 6. "CHANNEL6,Channel 6 Software Selection" "0,1"
newline
bitfld.long 0x00 5. "CHANNEL5,Channel 5 Software Selection" "0,1"
bitfld.long 0x00 4. "CHANNEL4,Channel 4 Software Selection" "0,1"
bitfld.long 0x00 3. "CHANNEL3,Channel 3 Software Selection" "0,1"
bitfld.long 0x00 2. "CHANNEL2,Channel 2 Software Selection" "0,1"
bitfld.long 0x00 1. "CHANNEL1,Channel 1 Software Selection" "0,1"
bitfld.long 0x00 0. "CHANNEL0,Channel 0 Software Selection" "0,1"
repeat 12. (increment 0 1) (increment 0 0x4)
group.long ($2+0x20)++0x03
line.long 0x00 "CHANNEL[$1],Channel n $1"
bitfld.long 0x00 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x00 14. "RUNSTDBY,Run in standby" "0,1"
bitfld.long 0x00 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized..,1: Event detection only on the rising edge of..,2: Event detection only on the falling edge of..,3: Event detection on rising and falling edges.."
bitfld.long 0x00 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?..."
hexmask.long.byte 0x00 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
repeat 47. (increment 0 1) (increment 0 0x4)
group.long ($2+0x80)++0x03
line.long 0x00 "USER[$1],User Multiplexer n $1"
bitfld.long 0x00 0.--4. "CHANNEL,Channel Event Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
repeat.end
tree.end
tree "FREQM (Frequency Meter)"
base ad:0x40002C00
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A Register"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
wgroup.byte 0x01++0x00
line.byte 0x00 "CTRLB,Control B Register"
bitfld.byte 0x00 0. "START,Start Measurement" "0,1"
group.word 0x02++0x01
line.word 0x00 "CFGA,Config A register"
hexmask.word.byte 0x00 0.--7. 1. "REFNUM,Number of Reference Clock Cycles"
group.byte 0x08++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear Register"
bitfld.byte 0x00 0. "DONE,Measurement Done Interrupt Enable" "0,1"
group.byte 0x09++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set Register"
bitfld.byte 0x00 0. "DONE,Measurement Done Interrupt Enable" "0,1"
group.byte 0x0A++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Register"
bitfld.byte 0x00 0. "DONE,Measurement Done" "0,1"
group.byte 0x0B++0x00
line.byte 0x00 "STATUS,Status Register"
bitfld.byte 0x00 1. "OVF,Sticky Count Value Overflow" "0,1"
bitfld.byte 0x00 0. "BUSY,FREQM Status" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy Register"
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
rgroup.long 0x10++0x03
line.long 0x00 "VALUE,Count Value Register"
hexmask.long.tbyte 0x00 0.--23. 1. "VALUE,Measurement Value"
tree.end
tree "GCLK (Generic Clock Generator)"
base ad:0x40001C00
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
rgroup.long 0x04++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bit" "?,1: Generic clock generator 0"
newline
bitfld.long 0x00 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bit" "?,1: Generic clock generator 0"
newline
bitfld.long 0x00 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bit" "?,1: Generic clock generator 0"
bitfld.long 0x00 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bit" "?,1: Generic clock generator 0"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy bit" "0,1"
repeat 9. (increment 0 1) (increment 0 0x4)
group.long ($2+0x20)++0x03
line.long 0x00 "GENCTRL[$1],Generic Clock Generator Control $1"
hexmask.long.word 0x00 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x00 13. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x00 12. "DIVSEL,Divide Selection" "0: Division by GENCTRLn.DIV,1: Division by 2^(GENCTRLn.DIV+1)"
newline
bitfld.long 0x00 11. "OE,Output Enable" "0,1"
bitfld.long 0x00 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x00 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x00 8. "GENEN,Generic Clock Generator Enable" "0,1"
bitfld.long 0x00 0.--2. "SRC,Source Select" "0: XOSC oscillator output,1: Generator input pad (GCLK_IO),2: Generic clock generator 1 output,3: OSCULP32K oscillator output,4: OSC32K oscillator output,5: XOSC32K oscillator output,6: OSC48M oscillator output,7: FDPLL96M output"
repeat.end
repeat 35. (increment 0 1) (increment 0 0x4)
group.long ($2+0x80)++0x03
line.long 0x00 "PCHCTRL[$1],Peripheral Clock Control $1"
bitfld.long 0x00 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x00 6. "CHEN,Channel Enable" "0,1"
bitfld.long 0x00 0.--3. "GEN,Generic Clock Generator" "0: Generic clock generator 0,1: Generic clock generator 1,2: Generic clock generator 2,3: Generic clock generator 3,4: Generic clock generator 4,5: Generic clock generator 5,6: Generic clock generator 6,7: Generic clock generator 7,8: Generic clock generator 8,?..."
repeat.end
tree.end
tree "HMATRIXB (HSB Matrix)"
base ad:0x4100A000
repeat 16. (increment 0 1) (increment 0 0x4)
group.long ($2+0x00)++0x03
line.long 0x00 "MCFG[$1],Master Configuration $1"
bitfld.long 0x00 0.--2. "ULBT,Undefined Length Burst Type" "0: Infinite Length,1: Single Access,2: Four Beat Burst,3: Eight Beat Burst,4: Sixteen Beat Burst,?..."
repeat.end
repeat 16. (increment 0 1) (increment 0 0x4)
group.long ($2+0x40)++0x03
line.long 0x00 "SCFG[$1],Slave Configuration $1"
bitfld.long 0x00 24. "ARBT,Arbitration Type" "0: Round-Robin Arbitration,1: Fixed Priority Arbitration"
bitfld.long 0x00 18.--21. "FIXED_DEFMSTR,Fixed Index of Default Master" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 16.--17. "DEFMSTR_TYPE,Default Master Type" "0: No Default Master,1: Last Default Master At the end of current..,2: Fixed Default Master At the end of current..,?..."
hexmask.long.byte 0x00 0.--7. 1. "SLOT_CYCLE,Maximum Number of Allowed Cycles for a Burst"
repeat.end
group.long 0x100++0x03
line.long 0x00 "MRCR,Master Remap Control"
bitfld.long 0x00 15. "RCB15,Remap Command Bit for Master 15" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 14. "RCB14,Remap Command Bit for Master 14" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 13. "RCB13,Remap Command Bit for Master 13" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 12. "RCB12,Remap Command Bit for Master 12" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 11. "RCB11,Remap Command Bit for Master 11" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 10. "RCB10,Remap Command Bit for Master 10" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 9. "RCB9,Remap Command Bit for Master 9" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 8. "RCB8,Remap Command Bit for Master 8" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 7. "RCB7,Remap Command Bit for Master 7" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 6. "RCB6,Remap Command Bit for Master 6" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 5. "RCB5,Remap Command Bit for Master 5" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 4. "RCB4,Remap Command Bit for Master 4" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 3. "RCB3,Remap Command Bit for Master 3" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 2. "RCB2,Remap Command Bit for Master 2" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
newline
bitfld.long 0x00 1. "RCB1,Remap Command Bit for Master 1" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
bitfld.long 0x00 0. "RCB0,Remap Command Bit for Master 0" "0: Disable remapped address decoding for master,1: Enable remapped address decoding for master"
repeat 16. (increment 0 1) (increment 0 0x04)
group.long ($2+0x110)++0x03
line.long 0x00 "SFR[$1],Special Function $1"
hexmask.long 0x00 0.--31. 1. "SFR,Special Function Register"
repeat.end
repeat 4. (increment 0 1)(increment 0 0x8)
tree "PRS[$1]"
group.long ($2+0x80)++0x03
line.long 0x00 "PRAS,Priority A for Slave"
bitfld.long 0x00 28.--31. "M7PR,Master 7 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 24.--27. "M6PR,Master 6 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 20.--23. "M5PR,Master 5 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 16.--19. "M4PR,Master 4 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 12.--15. "M3PR,Master 3 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 8.--11. "M2PR,Master 2 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 4.--7. "M1PR,Master 1 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "M0PR,Master 0 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.long ($2+0x84)++0x03
line.long 0x00 "PRBS,Priority B for Slave"
bitfld.long 0x00 28.--31. "M15PR,Master 15 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 24.--27. "M14PR,Master 14 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 20.--23. "M13PR,Master 13 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 16.--19. "M12PR,Master 12 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 12.--15. "M11PR,Master 11 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 8.--11. "M10PR,Master 10 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 4.--7. "M9PR,Master 9 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "M8PR,Master 8 Priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
tree.end
repeat.end
tree.end
tree "MCLK (Main Clock)"
base ad:0x40000800
group.byte 0x01++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 0. "CKRDY,Clock Ready Interrupt Enable" "0,1"
group.byte 0x02++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 0. "CKRDY,Clock Ready Interrupt Enable" "0,1"
group.byte 0x03++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 0. "CKRDY,Clock Ready" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "CPUDIV,CPU Clock Division"
hexmask.byte 0x00 0.--7. 1. "CPUDIV,CPU Clock Division Factor"
group.long 0x10++0x03
line.long 0x00 "AHBMASK,AHB Mask"
bitfld.long 0x00 10. "DIVAS_,DIVAS AHB Clock Mask" "0,1"
bitfld.long 0x00 8. "PAC_,PAC AHB Clock Mask" "0,1"
bitfld.long 0x00 7. "DMAC_,DMAC AHB Clock Mask" "0,1"
bitfld.long 0x00 6. "HSRAM_,HSRAM AHB Clock Mask" "0,1"
bitfld.long 0x00 5. "NVMCTRL_,NVMCTRL AHB Clock Mask" "0,1"
bitfld.long 0x00 4. "HMATRIXHS_,HMATRIXHS AHB Clock Mask" "0,1"
bitfld.long 0x00 3. "DSU_,DSU AHB Clock Mask" "0,1"
bitfld.long 0x00 2. "APBC_,APBC AHB Clock Mask" "0,1"
bitfld.long 0x00 1. "APBB_,APBB AHB Clock Mask" "0,1"
bitfld.long 0x00 0. "APBA_,APBA AHB Clock Mask" "0,1"
group.long 0x14++0x03
line.long 0x00 "APBAMASK,APBA Mask"
bitfld.long 0x00 12. "TSENS_,TSENS APB Clock Enable" "0,1"
bitfld.long 0x00 11. "FREQM_,FREQM APB Clock Enable" "0,1"
bitfld.long 0x00 10. "EIC_,EIC APB Clock Enable" "0,1"
bitfld.long 0x00 9. "RTC_,RTC APB Clock Enable" "0,1"
bitfld.long 0x00 8. "WDT_,WDT APB Clock Enable" "0,1"
bitfld.long 0x00 7. "GCLK_,GCLK APB Clock Enable" "0,1"
bitfld.long 0x00 6. "SUPC_,SUPC APB Clock Enable" "0,1"
bitfld.long 0x00 5. "OSC32KCTRL_,OSC32KCTRL APB Clock Enable" "0,1"
bitfld.long 0x00 4. "OSCCTRL_,OSCCTRL APB Clock Enable" "0,1"
bitfld.long 0x00 3. "RSTC_,RSTC APB Clock Enable" "0,1"
newline
bitfld.long 0x00 2. "MCLK_,MCLK APB Clock Enable" "0,1"
bitfld.long 0x00 1. "PM_,PM APB Clock Enable" "0,1"
bitfld.long 0x00 0. "PAC_,PAC APB Clock Enable" "0,1"
group.long 0x18++0x03
line.long 0x00 "APBBMASK,APBB Mask"
bitfld.long 0x00 5. "HMATRIXHS_,HMATRIXHS APB Clock Enable" "0,1"
bitfld.long 0x00 2. "NVMCTRL_,NVMCTRL APB Clock Enable" "0,1"
bitfld.long 0x00 1. "DSU_,DSU APB Clock Enable" "0,1"
bitfld.long 0x00 0. "PORT_,PORT APB Clock Enable" "0,1"
group.long 0x1C++0x03
line.long 0x00 "APBCMASK,APBC Mask"
bitfld.long 0x00 26. "PDEC_,PDEC APB Clock Enable" "0,1"
bitfld.long 0x00 23. "CCL_,CCL APB Clock Enable" "0,1"
bitfld.long 0x00 21. "DAC_,DAC APB Clock Enable" "0,1"
bitfld.long 0x00 20. "AC_,AC APB Clock Enable" "0,1"
bitfld.long 0x00 19. "SDADC_,SDADC APB Clock Enable" "0,1"
bitfld.long 0x00 18. "ADC1_,ADC1 APB Clock Enable" "0,1"
bitfld.long 0x00 17. "ADC0_,ADC0 APB Clock Enable" "0,1"
bitfld.long 0x00 16. "TC4_,TC4 APB Clock Enable" "0,1"
bitfld.long 0x00 15. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0x00 14. "TC2_,TC2 APB Clock Enable" "0,1"
newline
bitfld.long 0x00 13. "TC1_,TC1 APB Clock Enable" "0,1"
bitfld.long 0x00 12. "TC0_,TC0 APB Clock Enable" "0,1"
bitfld.long 0x00 11. "TCC2_,TCC2 APB Clock Enable" "0,1"
bitfld.long 0x00 10. "TCC1_,TCC1 APB Clock Enable" "0,1"
bitfld.long 0x00 9. "TCC0_,TCC0 APB Clock Enable" "0,1"
bitfld.long 0x00 4. "SERCOM3_,SERCOM3 APB Clock Enable" "0,1"
bitfld.long 0x00 3. "SERCOM2_,SERCOM2 APB Clock Enable" "0,1"
bitfld.long 0x00 2. "SERCOM1_,SERCOM1 APB Clock Enable" "0,1"
bitfld.long 0x00 1. "SERCOM0_,SERCOM0 APB Clock Enable" "0,1"
bitfld.long 0x00 0. "EVSYS_,EVSYS APB Clock Enable" "0,1"
tree.end
tree "MPU (Memory Protection Unit)"
base ad:0xE000ED90
rgroup.long 0x00++0x03
line.long 0x00 "TYPE,MPU Type Register"
hexmask.long.byte 0x00 16.--23. 1. "IREGION,Number of Instruction Regions"
hexmask.long.byte 0x00 8.--15. 1. "DREGION,Number of Data Regions"
bitfld.long 0x00 0. "SEPARATE,Separate instruction and Data Memory MapsRegions" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRL,MPU Control Register"
bitfld.long 0x00 2. "PRIVDEFENA,Enables privileged software access to default memory map" "0,1"
bitfld.long 0x00 1. "HFNMIENA,Enable Hard Fault and NMI handlers" "0,1"
bitfld.long 0x00 0. "ENABLE,MPU Enable" "0,1"
group.long 0x08++0x03
line.long 0x00 "RNR,MPU Region Number Register"
hexmask.long.byte 0x00 0.--7. 1. "REGION,Region referenced by RBAR and RASR"
group.long 0x0C++0x03
line.long 0x00 "RBAR,MPU Region Base Address Register"
hexmask.long 0x00 5.--31. 1. "ADDR,Region base address"
bitfld.long 0x00 4. "VALID,Region number valid" "0,1"
bitfld.long 0x00 0.--3. "REGION,Region number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.long 0x10++0x03
line.long 0x00 "RASR,MPU Region Attribute and Size Register"
bitfld.long 0x00 28. "XN,Execute Never Attribute" "0,1"
bitfld.long 0x00 24.--26. "AP,Access Permission" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 19.--21. "TEX,TEX bit" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 18. "S,Shareable bit" "0,1"
bitfld.long 0x00 17. "C,Cacheable bit" "0,1"
bitfld.long 0x00 16. "B,Bufferable bit" "0,1"
hexmask.long.byte 0x00 8.--15. 1. "SRD,Sub-region disable"
bitfld.long 0x00 1.--5. "SIZE,Region Size" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 0. "ENABLE,Region Enable" "0,1"
tree.end
tree "MTB (Cortex-M0+ Micro-Trace Buffer)"
base ad:0x41008000
group.long 0x00++0x03
line.long 0x00 "POSITION,MTB Position"
hexmask.long 0x00 3.--31. 1. "POINTER,Trace Packet Location Pointer"
bitfld.long 0x00 2. "WRAP,Pointer Value Wraps" "0,1"
group.long 0x04++0x03
line.long 0x00 "MASTER,MTB Master"
bitfld.long 0x00 31. "EN,Main Trace Enable" "0,1"
bitfld.long 0x00 9. "HALTREQ,Halt Request" "0,1"
bitfld.long 0x00 8. "RAMPRIV,SRAM Privilege" "0,1"
bitfld.long 0x00 7. "SFRWPRIV,Special Function Register Write Privilege" "0,1"
bitfld.long 0x00 6. "TSTOPEN,Trace Stop Input Enable" "0,1"
bitfld.long 0x00 5. "TSTARTEN,Trace Start Input Enable" "0,1"
bitfld.long 0x00 0.--4. "MASK,Maximum Value of the Trace Buffer in SRAM" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long 0x08++0x03
line.long 0x00 "FLOW,MTB Flow"
hexmask.long 0x00 3.--31. 1. "WATERMARK,Watermark value"
bitfld.long 0x00 1. "AUTOHALT,Auto Halt Request" "0,1"
bitfld.long 0x00 0. "AUTOSTOP,Auto Stop Tracing" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "BASE,MTB Base"
group.long 0xF00++0x03
line.long 0x00 "ITCTRL,MTB Integration Mode Control"
group.long 0xFA0++0x03
line.long 0x00 "CLAIMSET,MTB Claim Set"
group.long 0xFA4++0x03
line.long 0x00 "CLAIMCLR,MTB Claim Clear"
group.long 0xFB0++0x03
line.long 0x00 "LOCKACCESS,MTB Lock Access"
rgroup.long 0xFB4++0x03
line.long 0x00 "LOCKSTATUS,MTB Lock Status"
rgroup.long 0xFB8++0x03
line.long 0x00 "AUTHSTATUS,MTB Authentication Status"
rgroup.long 0xFBC++0x03
line.long 0x00 "DEVARCH,MTB Device Architecture"
rgroup.long 0xFC8++0x03
line.long 0x00 "DEVID,MTB Device Configuration"
rgroup.long 0xFCC++0x03
line.long 0x00 "DEVTYPE,MTB Device Type"
repeat 8. (strings "4" "5" "6" "7" "0" "1" "2" "3" )(list 0x00 0x04 0x08 0x0C 0x10 0x14 0x18 0x1C )
rgroup.long ($2+0xFD0)++0x03
line.long 0x00 "PID$1,Peripheral Identification $1"
repeat.end
repeat 4. (strings "0" "1" "2" "3" )(list 0x00 0x04 0x08 0x0C )
rgroup.long ($2+0xFF0)++0x03
line.long 0x00 "CID$1,Component Identification $1"
repeat.end
tree.end
tree "NVIC (Nested Vectored Interrupt Controller)"
base ad:0xE000E100
group.long 0x00++0x03
line.long 0x00 "ISER,Interrupt Set Enable Register"
hexmask.long 0x00 0.--30. 1. "SETENA,Interrupt set enable bits"
group.long 0x80++0x03
line.long 0x00 "ICER,Interrupt Clear Enable Register"
hexmask.long 0x00 0.--30. 1. "CLRENA,Interrupt clear-enable bits"
group.long 0x100++0x03
line.long 0x00 "ISPR,Interrupt Set Pending Register"
hexmask.long 0x00 0.--30. 1. "SETPEND,Interrupt set-pending bits"
group.long 0x180++0x03
line.long 0x00 "ICPR,Interrupt Clear Pending Register"
hexmask.long 0x00 0.--30. 1. "CLRPEND,Interrupt clear-pending bits"
repeat 8. (increment 0 1) (increment 0 0x04)
group.long ($2+0x300)++0x03
line.long 0x00 "IPR[$1],Interrupt Priority Register n $1"
bitfld.long 0x00 24.--25. "PRI3,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x00 16.--17. "PRI2,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x00 8.--9. "PRI1,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x00 0.--1. "PRI0,Priority of interrupt n" "0,1,2,3"
repeat.end
tree.end
tree "NVMCTRL (Non-Volatile Memory Controller)"
base ad:0x41004000
group.word 0x00++0x01
line.word 0x00 "CTRLA,Control A"
hexmask.word.byte 0x00 8.--15. 1. "CMDEX,Command Execution"
hexmask.word.byte 0x00 0.--6. 1. "CMD,Command"
group.long 0x04++0x03
line.long 0x00 "CTRLB,Control B"
bitfld.long 0x00 18.--19. "CACHEDIS,Cache Disable" "0: The Data Flash cache is disabled the main..,1: The Data Flash cache is disabled the main..,2: The Data Flash cache is enabled the main..,3: The Data Flash cache is enabled the main.."
bitfld.long 0x00 16.--17. "READMODE,NVM Read Mode" "0: The NVM Controller (cache system) does not..,1: Reduces power consumption of the cache system..,2: The cache system ensures that a cache hit or..,?..."
newline
bitfld.long 0x00 8.--9. "SLEEPPRM,Power Reduction Mode during Sleep" "0: NVM block enters low-power mode when entering..,1: NVM block enters low-power mode when entering..,?,3: Auto power reduction disabled"
bitfld.long 0x00 7. "MANW,Manual" "0,1"
newline
bitfld.long 0x00 1.--4. "RWS,NVM Read Wait States" "0: Single Auto Wait State,1: Half Auto Wait State,2: Dual Auto Wait State,?..."
group.long 0x08++0x03
line.long 0x00 "PARAM,NVM Parameter"
hexmask.long.word 0x00 20.--31. 1. "DFP,Data Flash Pages"
bitfld.long 0x00 16.--18. "PSZ,Page Size" "0: 8 bytes,1: 16 bytes,2: 32 bytes,3: 64 bytes,4: 128 bytes,5: 256 bytes,6: 512 bytes,7: 1024 bytes"
newline
hexmask.long.word 0x00 0.--15. 1. "NVMP,NVM Pages"
group.long 0x0C++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 1. "ERROR,Error Interrupt Enable" "0,1"
bitfld.long 0x00 0. "READY,NVM Ready Interrupt Enable" "0,1"
group.long 0x10++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 1. "ERROR,Error Interrupt Enable" "0,1"
bitfld.long 0x00 0. "READY,NVM Ready Interrupt Enable" "0,1"
group.long 0x14++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 1. "ERROR,Error" "0: No errors have been received since the last..,1: At least one error has occurred since the.."
bitfld.long 0x00 0. "READY,NVM Ready" "0: The NVM controller is busy programming or..,1: The NVM controller is ready to accept a new.."
group.word 0x18++0x01
line.word 0x00 "STATUS,Status"
bitfld.word 0x00 8. "SB,Security Bit Status" "0,1"
bitfld.word 0x00 4. "NVME,NVM Error" "0,1"
newline
bitfld.word 0x00 3. "LOCKE,Lock Error Status" "0,1"
bitfld.word 0x00 2. "PROGE,Programming Error Status" "0,1"
newline
bitfld.word 0x00 1. "LOAD,NVM Page Buffer Active Loading" "0,1"
bitfld.word 0x00 0. "PRM,Power Reduction Mode" "0,1"
group.long 0x1C++0x03
line.long 0x00 "ADDR,Address"
hexmask.long.tbyte 0x00 0.--21. 1. "ADDR,NVM Address"
group.word 0x20++0x01
line.word 0x00 "LOCK,Lock Section"
hexmask.word 0x00 0.--15. 1. "LOCK,Region Lock Bits"
repeat 2. (strings "0" "1" )(list 0x0 0x4 )
rgroup.long ($2+0x28)++0x03
line.long 0x00 "PBLDATA$1,Page Buffer Load Data $1"
hexmask.long 0x00 0.--31. 1. "PBLDATA,Page Buffer Load Data"
repeat.end
tree.end
tree "OSC32KCTRL (32k Oscillators Control)"
base ad:0x40001400
group.long 0x00++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 2. "CLKFAIL,XOSC32K Clock Failure Detector Interrupt Enable" "0,1"
bitfld.long 0x00 1. "OSC32KRDY,OSC32K Ready Interrupt Enable" "0,1"
bitfld.long 0x00 0. "XOSC32KRDY,XOSC32K Ready Interrupt Enable" "0,1"
group.long 0x04++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 2. "CLKFAIL,XOSC32K Clock Failure Detector Interrupt Enable" "0,1"
bitfld.long 0x00 1. "OSC32KRDY,OSC32K Ready Interrupt Enable" "0,1"
bitfld.long 0x00 0. "XOSC32KRDY,XOSC32K Ready Interrupt Enable" "0,1"
group.long 0x08++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 2. "CLKFAIL,XOSC32K Clock Failure Detector" "0,1"
bitfld.long 0x00 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x00 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "STATUS,Power and Clocks Status"
bitfld.long 0x00 3. "CLKSW,XOSC32K Clock switch" "0,1"
bitfld.long 0x00 2. "CLKFAIL,XOSC32K Clock Failure Detector" "0,1"
bitfld.long 0x00 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x00 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
group.long 0x10++0x03
line.long 0x00 "RTCCTRL,RTC Clock Selection"
bitfld.long 0x00 0.--2. "RTCSEL,RTC Clock Selection" "0: 1.024kHz from 32kHz internal ULP oscillator,1: 32.768kHz from 32kHz internal ULP oscillator,2: 1.024kHz from 32.768kHz internal oscillator,3: 32.768kHz from 32.768kHz internal oscillator,4: 1.024kHz from 32.768kHz external crystal..,5: 32.768kHz from 32.768kHz external crystal..,?..."
group.word 0x14++0x01
line.word 0x00 "XOSC32K,32kHz External Crystal Oscillator (XOSC32K) Control"
bitfld.word 0x00 12. "WRTLOCK,Write Lock" "0,1"
bitfld.word 0x00 8.--10. "STARTUP,Oscillator Start-Up Time" "0: CYCLE1,1: CYCLE32,2: CYCLE2048,3: CYCLE4096,4: CYCLE16384,5: CYCLE32768,6: CYCLE65536,7: CYCLE131072"
bitfld.word 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.word 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.word 0x00 4. "EN1K,1kHz Output Enable" "0,1"
newline
bitfld.word 0x00 3. "EN32K,32kHz Output Enable" "0,1"
bitfld.word 0x00 2. "XTALEN,Crystal Oscillator Enable" "0,1"
bitfld.word 0x00 1. "ENABLE,Oscillator Enable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "CFDCTRL,Clock Failure Detector Control"
bitfld.byte 0x00 2. "CFDPRESC,Clock Failure Detector Prescaler" "0,1"
bitfld.byte 0x00 1. "SWBACK,Clock Switch Back Enable" "0,1"
bitfld.byte 0x00 0. "CFDEN,Clock Failure Detector Enable" "0,1"
group.byte 0x17++0x00
line.byte 0x00 "EVCTRL,Event Control"
bitfld.byte 0x00 0. "CFDEO,Clock Failure Detector Event Output Enable" "0,1"
group.long 0x18++0x03
line.long 0x00 "OSC32K,32kHz Internal Oscillator (OSC32K) Control"
hexmask.long.byte 0x00 16.--22. 1. "CALIB,Oscillator Calibration"
bitfld.long 0x00 12. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x00 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.183 ms,1: 0.214 ms,2: 0.275 ms,3: 0.397 ms,4: 0.641 ms,5: 1.129 ms,6: 2.106 ms,7: CYCLE130"
bitfld.long 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.long 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x00 3. "EN1K,1kHz Output Enable" "0,1"
bitfld.long 0x00 2. "EN32K,32kHz Output Enable" "0,1"
bitfld.long 0x00 1. "ENABLE,Oscillator Enable" "0,1"
group.long 0x1C++0x03
line.long 0x00 "OSCULP32K,32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control"
bitfld.long 0x00 15. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x00 8.--12. "CALIB,Oscillator Calibration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 2. "EN1K,Enable Out 1k" "0,1"
bitfld.long 0x00 1. "EN32K,Enable Out 32k" "0,1"
tree.end
tree "OSCCTRL (Oscillators Control)"
base ad:0x40001000
group.long 0x00++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 11. "DPLLLDRTO,DPLL Ratio Ready Interrupt Enable" "0,1"
bitfld.long 0x00 10. "DPLLLTO,DPLL Time Out Interrupt Enable" "0,1"
bitfld.long 0x00 9. "DPLLLCKF,DPLL Lock Fall Interrupt Enable" "0,1"
newline
bitfld.long 0x00 8. "DPLLLCKR,DPLL Lock Rise Interrupt Enable" "0,1"
bitfld.long 0x00 4. "OSC48MRDY,OSC48M Ready Interrupt Enable" "0,1"
bitfld.long 0x00 1. "XOSCFAIL,XOSC Clock Failure Detector Interrupt Enable" "0,1"
newline
bitfld.long 0x00 0. "XOSCRDY,XOSC Ready Interrupt Enable" "0,1"
group.long 0x04++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 11. "DPLLLDRTO,DPLL Ratio Ready Interrupt Enable" "0,1"
bitfld.long 0x00 10. "DPLLLTO,DPLL Time Out Interrupt Enable" "0,1"
bitfld.long 0x00 9. "DPLLLCKF,DPLL Lock Fall Interrupt Enable" "0,1"
newline
bitfld.long 0x00 8. "DPLLLCKR,DPLL Lock Rise Interrupt Enable" "0,1"
bitfld.long 0x00 4. "OSC48MRDY,OSC48M Ready Interrupt Enable" "0,1"
bitfld.long 0x00 1. "XOSCFAIL,XOSC Clock Failure Detector Interrupt Enable" "0,1"
newline
bitfld.long 0x00 0. "XOSCRDY,XOSC Ready Interrupt Enable" "0,1"
group.long 0x08++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 11. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x00 10. "DPLLLTO,DPLL Timeout" "0,1"
bitfld.long 0x00 9. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
bitfld.long 0x00 8. "DPLLLCKR,DPLL Lock Rise" "0,1"
bitfld.long 0x00 4. "OSC48MRDY,OSC48M Ready" "0,1"
bitfld.long 0x00 1. "XOSCFAIL,XOSC Clock Failure Detector" "0,1"
newline
bitfld.long 0x00 0. "XOSCRDY,XOSC Ready" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "STATUS,Power and Clocks Status"
bitfld.long 0x00 11. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x00 10. "DPLLLTO,DPLL Timeout" "0,1"
bitfld.long 0x00 9. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
bitfld.long 0x00 8. "DPLLLCKR,DPLL Lock Rise" "0,1"
bitfld.long 0x00 4. "OSC48MRDY,OSC48M Ready" "0,1"
bitfld.long 0x00 2. "XOSCCKSW,XOSC Clock Switch" "0,1"
newline
bitfld.long 0x00 1. "XOSCFAIL,XOSC Clock Failure Detector" "0,1"
bitfld.long 0x00 0. "XOSCRDY,XOSC Ready" "0,1"
group.word 0x10++0x01
line.word 0x00 "XOSCCTRL,External Multipurpose Crystal Oscillator (XOSC) Control"
bitfld.word 0x00 12.--15. "STARTUP,Start-Up Time" "0: 1 cycle,1: 2 cycles,2: 4 cycles,3: 8 cycles,4: 16 cycles,5: 32 cycles,6: 64 cycles,7: 128 cycles,8: 256 cycles,9: 512 cycles,10: 1024 cycles,11: 2048 cycles,12: 4096 cycles,13: 8192 cycles,14: 16384 cycles,15: 32768 cycles"
bitfld.word 0x00 11. "AMPGC,Automatic Amplitude Gain Control" "0,1"
bitfld.word 0x00 8.--10. "GAIN,Oscillator Gain" "0: GAIN2,1: GAIN4,2: GAIN8,3: GAIN16,4: GAIN30,?..."
newline
bitfld.word 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.word 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.word 0x00 4. "SWBEN,Clock Switch Back Enable" "0,1"
newline
bitfld.word 0x00 3. "CFDEN,Xosc Clock Failure Detector Enable" "0,1"
bitfld.word 0x00 2. "XTALEN,Crystal Oscillator Enable" "0,1"
bitfld.word 0x00 1. "ENABLE,Oscillator Enable" "0,1"
group.byte 0x12++0x00
line.byte 0x00 "CFDPRESC,Clock Failure Detector Prescaler"
bitfld.byte 0x00 0.--2. "CFDPRESC,Clock Failure Detector Prescaler" "0: OSC48M frequency,1: OSC48M frequency / 2,2: OSC48M frequency / 4,3: OSC48M frequency / 8,4: OSC48M frequency / 16,5: OSC48M frequency / 32,6: OSC48M frequency / 64,7: OSC48M frequency / 128"
group.byte 0x13++0x00
line.byte 0x00 "EVCTRL,Event Control"
bitfld.byte 0x00 0. "CFDEO,Clock Failure Detector Event Output Enable" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "OSC48MCTRL,48MHz Internal Oscillator (OSC48M) Control"
bitfld.byte 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.byte 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Oscillator Enable" "0,1"
group.byte 0x15++0x00
line.byte 0x00 "OSC48MDIV,OSC48M Divider"
bitfld.byte 0x00 0.--3. "DIV,OSC48M Division Factor" "0: 48 MHz,1: 24 MHz,2: 16 MHz,3: 12 MHz,4: 9.6 MHz,5: 8 MHz,6: 6.86 MHz,7: 6 MHz,8: 5.33 MHz,9: 4.8 MHz,10: 4.36 MHz,11: DIV12,12: 3.69 MHz,13: 3.43 MHz,14: 3.2 MHz,15: DIV16"
group.byte 0x16++0x00
line.byte 0x00 "OSC48MSTUP,OSC48M Startup Time"
bitfld.byte 0x00 0.--2. "STARTUP,Startup Time" "0: CYCLE8,1: CYCLE16,2: CYCLE32,3: 1.333 us,4: CYCLE128,5: CYCLE256,6: 10.667 us,7: CYCLE1024"
rgroup.long 0x18++0x03
line.long 0x00 "OSC48MSYNCBUSY,OSC48M Synchronization Busy"
bitfld.long 0x00 2. "OSC48MDIV,OSC48MDIV Synchronization Status" "0,1"
group.byte 0x1C++0x00
line.byte 0x00 "DPLLCTRLA,DPLL Control"
bitfld.byte 0x00 7. "ONDEMAND,On Demand" "0,1"
bitfld.byte 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
group.long 0x20++0x03
line.long 0x00 "DPLLRATIO,DPLL Ratio Control"
bitfld.long 0x00 16.--19. "LDRFRAC,Loop Divider Ratio Fractional Part" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 0.--11. 1. "LDR,Loop Divider Ratio"
group.long 0x24++0x03
line.long 0x00 "DPLLCTRLB,Digital Core Configuration"
hexmask.long.word 0x00 16.--26. 1. "DIV,Clock Divider"
bitfld.long 0x00 12. "LBYPASS,Lock Bypass" "0,1"
bitfld.long 0x00 8.--10. "LTIME,Lock Time" "0: No time-out,?,?,?,4: Time-out if no lock within 8 ms,5: Time-out if no lock within 9 ms,6: Time-out if no lock within 10 ms,7: Time-out if no lock within 11 ms"
newline
bitfld.long 0x00 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K Clock Reference,1: XOSC Clock Reference,2: GCLK Clock Reference,?..."
bitfld.long 0x00 3. "WUF,Wake Up Fast" "0,1"
bitfld.long 0x00 2. "LPEN,Low-Power Enable" "0,1"
newline
bitfld.long 0x00 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default Filter Mode,1: Low Bandwidth Filter,2: High Bandwidth Filter,3: High Damping Filter"
group.byte 0x28++0x00
line.byte 0x00 "DPLLPRESC,DPLL Prescaler"
bitfld.byte 0x00 0.--1. "PRESC,Output Clock Prescaler" "0: DPLL output is divided by 1,1: DPLL output is divided by 2,2: DPLL output is divided by 4,?..."
rgroup.byte 0x2C++0x00
line.byte 0x00 "DPLLSYNCBUSY,DPLL Synchronization Busy"
bitfld.byte 0x00 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x00 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x00 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
rgroup.byte 0x30++0x00
line.byte 0x00 "DPLLSTATUS,DPLL Status"
bitfld.byte 0x00 1. "CLKRDY,DPLL Clock Ready" "0,1"
bitfld.byte 0x00 0. "LOCK,DPLL Lock Status" "0,1"
group.long 0x38++0x03
line.long 0x00 "CAL48M,48MHz Oscillator Calibration"
bitfld.long 0x00 16.--21. "TCAL,Temperature Calibration (48MHz)" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 8.--9. "FRANGE,Frequency Range (48MHz)" "0,1,2,3"
bitfld.long 0x00 0.--5. "FCAL,Frequency Calibration (48MHz)" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
tree.end
tree "PAC (Peripheral Access Controller)"
base ad:0x40000000
group.long 0x00++0x03
line.long 0x00 "WRCTRL,Write control"
hexmask.long.byte 0x00 16.--23. 1. "KEY,Peripheral access control key"
hexmask.long.word 0x00 0.--15. 1. "PERID,Peripheral identifier"
group.byte 0x04++0x00
line.byte 0x00 "EVCTRL,Event control"
bitfld.byte 0x00 0. "ERREO,Peripheral acess error event output" "0,1"
group.byte 0x08++0x00
line.byte 0x00 "INTENCLR,Interrupt enable clear"
bitfld.byte 0x00 0. "ERR,Peripheral access error interrupt disable" "0,1"
group.byte 0x09++0x00
line.byte 0x00 "INTENSET,Interrupt enable set"
bitfld.byte 0x00 0. "ERR,Peripheral access error interrupt enable" "0,1"
group.long 0x10++0x03
line.long 0x00 "INTFLAGAHB,Bridge interrupt flag status"
bitfld.long 0x00 7. "DIVAS_,DIVAS" "0,1"
bitfld.long 0x00 6. "LPRAMDMAC_,SRAM DMAC" "0,1"
bitfld.long 0x00 5. "APBC_,HPB2" "0,1"
bitfld.long 0x00 4. "APBA_,HPB0" "0,1"
bitfld.long 0x00 3. "APBB_,HPB1" "0,1"
bitfld.long 0x00 2. "HSRAMDSU_,SRAM DSU" "0,1"
bitfld.long 0x00 1. "HSRAMCM0P_,SRAM CPU" "0,1"
bitfld.long 0x00 0. "FLASH_,FLASH" "0,1"
group.long 0x14++0x03
line.long 0x00 "INTFLAGA,Peripheral interrupt flag status - Bridge A"
bitfld.long 0x00 12. "TSENS_,TSENS" "0,1"
bitfld.long 0x00 11. "FREQM_,FREQM" "0,1"
bitfld.long 0x00 10. "EIC_,EIC" "0,1"
bitfld.long 0x00 9. "RTC_,RTC" "0,1"
bitfld.long 0x00 8. "WDT_,WDT" "0,1"
bitfld.long 0x00 7. "GCLK_,GCLK" "0,1"
bitfld.long 0x00 6. "SUPC_,SUPC" "0,1"
bitfld.long 0x00 5. "OSC32KCTRL_,OSC32KCTRL" "0,1"
bitfld.long 0x00 4. "OSCCTRL_,OSCCTRL" "0,1"
newline
bitfld.long 0x00 3. "RSTC_,RSTC" "0,1"
bitfld.long 0x00 2. "MCLK_,MCLK" "0,1"
bitfld.long 0x00 1. "PM_,PM" "0,1"
bitfld.long 0x00 0. "PAC_,PAC" "0,1"
group.long 0x18++0x03
line.long 0x00 "INTFLAGB,Peripheral interrupt flag status - Bridge B"
bitfld.long 0x00 5. "HMATRIXHS_,HMATRIXHS" "0,1"
bitfld.long 0x00 4. "MTB_,MTB" "0,1"
bitfld.long 0x00 3. "DMAC_,DMAC" "0,1"
bitfld.long 0x00 2. "NVMCTRL_,NVMCTRL" "0,1"
bitfld.long 0x00 1. "DSU_,DSU" "0,1"
bitfld.long 0x00 0. "PORT_,PORT" "0,1"
group.long 0x1C++0x03
line.long 0x00 "INTFLAGC,Peripheral interrupt flag status - Bridge C"
bitfld.long 0x00 26. "PDEC_,PDEC" "0,1"
bitfld.long 0x00 23. "CCL_,CCL" "0,1"
bitfld.long 0x00 21. "DAC_,DAC" "0,1"
bitfld.long 0x00 20. "AC_,AC" "0,1"
bitfld.long 0x00 19. "SDADC_,SDADC" "0,1"
bitfld.long 0x00 18. "ADC1_,ADC1" "0,1"
bitfld.long 0x00 17. "ADC0_,ADC0" "0,1"
bitfld.long 0x00 16. "TC4_,TC4" "0,1"
bitfld.long 0x00 15. "TC3_,TC3" "0,1"
newline
bitfld.long 0x00 14. "TC2_,TC2" "0,1"
bitfld.long 0x00 13. "TC1_,TC1" "0,1"
bitfld.long 0x00 12. "TC0_,TC0" "0,1"
bitfld.long 0x00 11. "TCC2_,TCC2" "0,1"
bitfld.long 0x00 10. "TCC1_,TCC1" "0,1"
bitfld.long 0x00 9. "TCC0_,TCC0" "0,1"
bitfld.long 0x00 4. "SERCOM3_,SERCOM3" "0,1"
bitfld.long 0x00 3. "SERCOM2_,SERCOM2" "0,1"
bitfld.long 0x00 2. "SERCOM1_,SERCOM1" "0,1"
newline
bitfld.long 0x00 1. "SERCOM0_,SERCOM0" "0,1"
bitfld.long 0x00 0. "EVSYS_,EVSYS" "0,1"
rgroup.long 0x34++0x03
line.long 0x00 "STATUSA,Peripheral write protection status - Bridge A"
bitfld.long 0x00 12. "TSENS_,TSENS APB Protect Enable" "0,1"
bitfld.long 0x00 11. "FREQM_,FREQM APB Protect Enable" "0,1"
bitfld.long 0x00 10. "EIC_,EIC APB Protect Enable" "0,1"
bitfld.long 0x00 9. "RTC_,RTC APB Protect Enable" "0,1"
bitfld.long 0x00 8. "WDT_,WDT APB Protect Enable" "0,1"
bitfld.long 0x00 7. "GCLK_,GCLK APB Protect Enable" "0,1"
bitfld.long 0x00 6. "SUPC_,SUPC APB Protect Enable" "0,1"
bitfld.long 0x00 5. "OSC32KCTRL_,OSC32KCTRL APB Protect Enable" "0,1"
bitfld.long 0x00 4. "OSCCTRL_,OSCCTRL APB Protect Enable" "0,1"
newline
bitfld.long 0x00 3. "RSTC_,RSTC APB Protect Enable" "0,1"
bitfld.long 0x00 2. "MCLK_,MCLK APB Protect Enable" "0,1"
bitfld.long 0x00 1. "PM_,PM APB Protect Enable" "0,1"
bitfld.long 0x00 0. "PAC_,PAC APB Protect Enable" "0,1"
rgroup.long 0x38++0x03
line.long 0x00 "STATUSB,Peripheral write protection status - Bridge B"
bitfld.long 0x00 5. "HMATRIXHS_,HMATRIXHS APB Protect Enable" "0,1"
bitfld.long 0x00 4. "MTB_,MTB APB Protect Enable" "0,1"
bitfld.long 0x00 3. "DMAC_,DMAC APB Protect Enable" "0,1"
bitfld.long 0x00 2. "NVMCTRL_,NVMCTRL APB Protect Enable" "0,1"
bitfld.long 0x00 1. "DSU_,DSU APB Protect Enable" "0,1"
bitfld.long 0x00 0. "PORT_,PORT APB Protect Enable" "0,1"
rgroup.long 0x3C++0x03
line.long 0x00 "STATUSC,Peripheral write protection status - Bridge C"
bitfld.long 0x00 26. "PDEC_,PDEC APB Protect Enable" "0,1"
bitfld.long 0x00 23. "CCL_,CCL APB Protect Enable" "0,1"
bitfld.long 0x00 21. "DAC_,DAC APB Protect Enable" "0,1"
bitfld.long 0x00 20. "AC_,AC APB Protect Enable" "0,1"
bitfld.long 0x00 19. "SDADC_,SDADC APB Protect Enable" "0,1"
bitfld.long 0x00 18. "ADC1_,ADC1 APB Protect Enable" "0,1"
bitfld.long 0x00 17. "ADC0_,ADC0 APB Protect Enable" "0,1"
bitfld.long 0x00 16. "TC4_,TC4 APB Protect Enable" "0,1"
bitfld.long 0x00 15. "TC3_,TC3 APB Protect Enable" "0,1"
newline
bitfld.long 0x00 14. "TC2_,TC2 APB Protect Enable" "0,1"
bitfld.long 0x00 13. "TC1_,TC1 APB Protect Enable" "0,1"
bitfld.long 0x00 12. "TC0_,TC0 APB Protect Enable" "0,1"
bitfld.long 0x00 11. "TCC2_,TCC2 APB Protect Enable" "0,1"
bitfld.long 0x00 10. "TCC1_,TCC1 APB Protect Enable" "0,1"
bitfld.long 0x00 9. "TCC0_,TCC0 APB Protect Enable" "0,1"
bitfld.long 0x00 4. "SERCOM3_,SERCOM3 APB Protect Enable" "0,1"
bitfld.long 0x00 3. "SERCOM2_,SERCOM2 APB Protect Enable" "0,1"
bitfld.long 0x00 2. "SERCOM1_,SERCOM1 APB Protect Enable" "0,1"
newline
bitfld.long 0x00 1. "SERCOM0_,SERCOM0 APB Protect Enable" "0,1"
bitfld.long 0x00 0. "EVSYS_,EVSYS APB Protect Enable" "0,1"
tree.end
tree "PDEC (Quadrature Decodeur)"
base ad:0x42006800
group.long 0x00++0x03
line.long 0x00 "CTRLA,Control A"
bitfld.long 0x00 28.--31. "MAXCMP,Maximum Consecutive Missing Pulses" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 24.--26. "ANGULAR,Angular Counter Length" "0,1,2,3,4,5,6,7"
newline
bitfld.long 0x00 22. "PINVEN2,IO Pin 2 Invert Enable" "0,1"
bitfld.long 0x00 21. "PINVEN1,IO Pin 1 Invert Enable" "0,1"
newline
bitfld.long 0x00 20. "PINVEN0,IO Pin 0 Invert Enable" "0,1"
bitfld.long 0x00 18. "PINEN2,PDEC Input From Pin 2 Enable" "0,1"
newline
bitfld.long 0x00 17. "PINEN1,PDEC Input From Pin 1 Enable" "0,1"
bitfld.long 0x00 16. "PINEN0,PDEC Input From Pin 0 Enable" "0,1"
newline
bitfld.long 0x00 15. "PEREN,Period Enable" "0,1"
bitfld.long 0x00 14. "SWAP,PDEC Phase A and B Swap" "0,1"
newline
bitfld.long 0x00 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x00 8.--10. "CONF,PDEC Configuration" "0: Quadrature decoder direction,1: Secure Quadrature decoder direction,2: Decoder direction,3: Secure decoder direction,4: Auto correction mode,?..."
newline
bitfld.long 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x00 2.--3. "MODE,Operation Mode" "0: QDEC operating mode,1: HALL operating mode,2: COUNTER operating mode,?..."
newline
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "CTRLBCLR,Control B Clear"
bitfld.byte 0x00 5.--7. "CMD,Command" "0: No action,1: Force a counter restart or retrigger,2: Force update of double buffered registers,3: Force a read synchronization of COUNT,4: Start QDEC/HALL,5: Stop QDEC/HALL,?..."
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "CTRLBSET,Control B Set"
bitfld.byte 0x00 5.--7. "CMD,Command" "0: No action,1: Force a counter restart or retrigger,2: Force update of double buffered registers,3: Force a read synchronization of COUNT,4: Start QDEC/HALL,5: Stop QDEC/HALL,?..."
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
group.word 0x06++0x01
line.word 0x00 "EVCTRL,Event Control"
bitfld.word 0x00 13. "MCEO1,Match Channel 1 Event Output Enable" "0,1"
bitfld.word 0x00 12. "MCEO0,Match Channel 0 Event Output Enable" "0,1"
newline
bitfld.word 0x00 11. "VLCEO,Velocity Output Event Enable" "0,1"
bitfld.word 0x00 10. "DIREO,Direction Output Event Enable" "0,1"
newline
bitfld.word 0x00 9. "ERREO,Error Output Event Enable" "0,1"
bitfld.word 0x00 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
newline
bitfld.word 0x00 5.--7. "EVEI,Event Input Enable" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 2.--4. "EVINV,Inverted Event Input Enable" "0,1,2,3,4,5,6,7"
newline
bitfld.word 0x00 0.--1. "EVACT,Event Action" "0: Event action disabled,1: Start restart or retrigger on event,?..."
group.byte 0x08++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 5. "MC1,Channel 1 Compare Match Disable" "0,1"
bitfld.byte 0x00 4. "MC0,Channel 0 Compare Match Disable" "0,1"
newline
bitfld.byte 0x00 3. "VLC,Velocity Interrupt Disable" "0,1"
bitfld.byte 0x00 2. "DIR,Direction Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 1. "ERR,Error Interrupt Disable" "0,1"
bitfld.byte 0x00 0. "OVF,Overflow/Underflow Interrupt Disable" "0,1"
group.byte 0x09++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 5. "MC1,Channel 1 Compare Match Enable" "0,1"
bitfld.byte 0x00 4. "MC0,Channel 0 Compare Match Enable" "0,1"
newline
bitfld.byte 0x00 3. "VLC,Velocity Interrupt Enable" "0,1"
bitfld.byte 0x00 2. "DIR,Direction Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 1. "ERR,Error Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "OVF,Overflow/Underflow Interrupt Enable" "0,1"
group.byte 0x0A++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 5. "MC1,Channel 1 Compare Match" "0,1"
bitfld.byte 0x00 4. "MC0,Channel 0 Compare Match" "0,1"
newline
bitfld.byte 0x00 3. "VLC,Velocity" "0,1"
bitfld.byte 0x00 2. "DIR,Direction Change" "0,1"
newline
bitfld.byte 0x00 1. "ERR,Error" "0,1"
bitfld.byte 0x00 0. "OVF,Overflow/Underflow" "0,1"
group.word 0x0C++0x01
line.word 0x00 "STATUS,Status"
bitfld.word 0x00 13. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.word 0x00 12. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.word 0x00 9. "FILTERBUFV,Filter Buffer Valid" "0,1"
bitfld.word 0x00 8. "PRESCBUFV,Prescaler Buffer Valid" "0,1"
newline
bitfld.word 0x00 7. "DIR,Direction Status Flag" "0,1"
bitfld.word 0x00 6. "STOP,Stop" "0,1"
newline
bitfld.word 0x00 5. "HERR,Hall Error Flag" "0,1"
bitfld.word 0x00 4. "WINERR,Window Error Flag" "0,1"
newline
bitfld.word 0x00 2. "MPERR,Missing Pulse Error flag" "0,1"
bitfld.word 0x00 1. "IDXERR,Index Error Flag" "0,1"
newline
bitfld.word 0x00 0. "QERR,Quadrature Error Flag" "0,1"
group.byte 0x0F++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run Mode" "0,1"
rgroup.long 0x10++0x03
line.long 0x00 "SYNCBUSY,Synchronization Status"
bitfld.long 0x00 8. "CC1,Compare Channel 1 Synchronization Busy" "0,1"
bitfld.long 0x00 7. "CC0,Compare Channel 0 Synchronization Busy" "0,1"
newline
bitfld.long 0x00 6. "COUNT,Count Synchronization Busy" "0,1"
bitfld.long 0x00 5. "FILTER,Filter Synchronization Busy" "0,1"
newline
bitfld.long 0x00 4. "PRESC,Prescaler Synchronization Busy" "0,1"
bitfld.long 0x00 3. "STATUS,Status Synchronization Busy" "0,1"
newline
bitfld.long 0x00 2. "CTRLB,Control B Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "PRESC,Prescaler Value"
bitfld.byte 0x00 0.--3. "PRESC,Prescaler Value" "0: No division,1: Divide by 2,2: Divide by 4,3: Divide by 8,4: Divide by 16,5: Divide by 32,6: Divide by 64,7: Divide by 128,8: Divide by 256,9: Divide by 512,10: Divide by 1024,?..."
group.byte 0x15++0x00
line.byte 0x00 "FILTER,Filter Value"
hexmask.byte 0x00 0.--7. 1. "FILTER,Filter Value"
group.byte 0x18++0x00
line.byte 0x00 "PRESCBUF,Prescaler Buffer Value"
bitfld.byte 0x00 0.--3. "PRESCBUF,Prescaler Buffer Value" "0: No division,1: Divide by 2,2: Divide by 4,3: Divide by 8,4: Divide by 16,5: Divide by 32,6: Divide by 64,7: Divide by 128,8: Divide by 256,9: Divide by 512,10: Divide by 1024,?..."
group.byte 0x19++0x00
line.byte 0x00 "FILTERBUF,Filter Buffer Value"
hexmask.byte 0x00 0.--7. 1. "FILTERBUF,Filter Buffer Value"
group.long 0x1C++0x03
line.long 0x00 "COUNT,Counter Value"
hexmask.long.word 0x00 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0 1) (increment 0 0x4)
group.long ($2+0x20)++0x03
line.long 0x00 "CC[$1],Channel n Compare Value $1"
hexmask.long.word 0x00 0.--15. 1. "CC,Channel Compare Value"
repeat.end
repeat 2. (increment 0 1) (increment 0 0x4)
group.long ($2+0x30)++0x03
line.long 0x00 "CCBUF[$1],Channel Compare Buffer Value $1"
hexmask.long.word 0x00 0.--15. 1. "CCBUF,Channel Compare Buffer Value"
repeat.end
tree.end
tree "PM (Power Manager)"
base ad:0x40000400
group.byte 0x01++0x00
line.byte 0x00 "SLEEPCFG,Sleep Configuration"
bitfld.byte 0x00 0.--2. "SLEEPMODE,Sleep Mode" "?,?,2: CPU clock is OFF,?,4: CPU clock is OFF,?..."
group.word 0x08++0x01
line.word 0x00 "STDBYCFG,Standby Configuration"
bitfld.word 0x00 10. "BBIASHS,Back Bias for SRAM" "0,1"
bitfld.word 0x00 6.--7. "VREGSMOD,Voltage Regulator Standby mode" "0: Automatic mode,1: Performance oriented,2: Low Power oriented,?..."
tree.end
tree "PORT (Port Module)"
tree "PORT"
base ad:0x41000000
repeat 2. (increment 0 1)(increment 0 0x80)
tree "GROUP[$1]"
group.long ($2+0x00)++0x03
line.long 0x00 "DIR,Data Direction"
hexmask.long 0x00 0.--31. 1. "DIR,Port Data Direction"
group.long ($2+0x04)++0x03
line.long 0x00 "DIRCLR,Data Direction Clear"
hexmask.long 0x00 0.--31. 1. "DIRCLR,Port Data Direction Clear"
group.long ($2+0x08)++0x03
line.long 0x00 "DIRSET,Data Direction Set"
hexmask.long 0x00 0.--31. 1. "DIRSET,Port Data Direction Set"
group.long ($2+0x0C)++0x03
line.long 0x00 "DIRTGL,Data Direction Toggle"
hexmask.long 0x00 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
group.long ($2+0x10)++0x03
line.long 0x00 "OUT,Data Output Value"
hexmask.long 0x00 0.--31. 1. "OUT,PORT Data Output Value"
group.long ($2+0x14)++0x03
line.long 0x00 "OUTCLR,Data Output Value Clear"
hexmask.long 0x00 0.--31. 1. "OUTCLR,PORT Data Output Value Clear"
group.long ($2+0x18)++0x03
line.long 0x00 "OUTSET,Data Output Value Set"
hexmask.long 0x00 0.--31. 1. "OUTSET,PORT Data Output Value Set"
group.long ($2+0x1C)++0x03
line.long 0x00 "OUTTGL,Data Output Value Toggle"
hexmask.long 0x00 0.--31. 1. "OUTTGL,PORT Data Output Value Toggle"
rgroup.long ($2+0x20)++0x03
line.long 0x00 "IN,Data Input Value"
hexmask.long 0x00 0.--31. 1. "IN,PORT Data Input Value"
group.long ($2+0x24)++0x03
line.long 0x00 "CTRL,Control"
hexmask.long 0x00 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x03
line.long 0x00 "WRCONFIG,Write Configuration"
bitfld.long 0x00 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x00 30. "WRPINCFG,Write PINCFG" "0,1"
newline
bitfld.long 0x00 28. "WRPMUX,Write PMUX" "0,1"
bitfld.long 0x00 24.--27. "PMUX,Peripheral Multiplexing" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x00 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x00 17. "INEN,Input Enable" "0,1"
bitfld.long 0x00 16. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
newline
hexmask.long.word 0x00 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x03
line.long 0x00 "EVCTRL,Event Input Control"
bitfld.long 0x00 31. "PORTEI3,PORT Event Input Enable 3" "0,1"
bitfld.long 0x00 29.--30. "EVACT3,PORT Event Action 3" "0,1,2,3"
newline
bitfld.long 0x00 24.--28. "PID3,PORT Event Pin Identifier 3" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 23. "PORTEI2,PORT Event Input Enable 2" "0,1"
newline
bitfld.long 0x00 21.--22. "EVACT2,PORT Event Action 2" "0,1,2,3"
bitfld.long 0x00 16.--20. "PID2,PORT Event Pin Identifier 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
newline
bitfld.long 0x00 15. "PORTEI1,PORT Event Input Enable 1" "0,1"
bitfld.long 0x00 13.--14. "EVACT1,PORT Event Action 1" "0,1,2,3"
newline
bitfld.long 0x00 8.--12. "PID1,PORT Event Pin Identifier 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 7. "PORTEI0,PORT Event Input Enable 0" "0,1"
newline
bitfld.long 0x00 5.--6. "EVACT0,PORT Event Action 0" "0: Event output to pin,1: Set output register of pin on event,2: Clear output register of pin on event,3: Toggle output register of pin on event"
bitfld.long 0x00 0.--4. "PID0,PORT Event Pin Identifier 0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.byte ($2+0x30)++0x00
line.byte 0x00 "PMUX[0],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x31)++0x00
line.byte 0x00 "PMUX[1],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x32)++0x00
line.byte 0x00 "PMUX[2],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x33)++0x00
line.byte 0x00 "PMUX[3],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x34)++0x00
line.byte 0x00 "PMUX[4],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x35)++0x00
line.byte 0x00 "PMUX[5],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x36)++0x00
line.byte 0x00 "PMUX[6],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x37)++0x00
line.byte 0x00 "PMUX[7],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x38)++0x00
line.byte 0x00 "PMUX[8],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x39)++0x00
line.byte 0x00 "PMUX[9],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3A)++0x00
line.byte 0x00 "PMUX[10],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3B)++0x00
line.byte 0x00 "PMUX[11],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3C)++0x00
line.byte 0x00 "PMUX[12],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3D)++0x00
line.byte 0x00 "PMUX[13],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3E)++0x00
line.byte 0x00 "PMUX[14],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3F)++0x00
line.byte 0x00 "PMUX[15],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x40)++0x00
line.byte 0x00 "PINCFG[0],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x41)++0x00
line.byte 0x00 "PINCFG[1],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x42)++0x00
line.byte 0x00 "PINCFG[2],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x43)++0x00
line.byte 0x00 "PINCFG[3],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x44)++0x00
line.byte 0x00 "PINCFG[4],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x45)++0x00
line.byte 0x00 "PINCFG[5],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x46)++0x00
line.byte 0x00 "PINCFG[6],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x47)++0x00
line.byte 0x00 "PINCFG[7],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x48)++0x00
line.byte 0x00 "PINCFG[8],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x49)++0x00
line.byte 0x00 "PINCFG[9],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4A)++0x00
line.byte 0x00 "PINCFG[10],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4B)++0x00
line.byte 0x00 "PINCFG[11],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4C)++0x00
line.byte 0x00 "PINCFG[12],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4D)++0x00
line.byte 0x00 "PINCFG[13],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4E)++0x00
line.byte 0x00 "PINCFG[14],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4F)++0x00
line.byte 0x00 "PINCFG[15],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x50)++0x00
line.byte 0x00 "PINCFG[16],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x51)++0x00
line.byte 0x00 "PINCFG[17],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x52)++0x00
line.byte 0x00 "PINCFG[18],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x53)++0x00
line.byte 0x00 "PINCFG[19],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x54)++0x00
line.byte 0x00 "PINCFG[20],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x55)++0x00
line.byte 0x00 "PINCFG[21],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x56)++0x00
line.byte 0x00 "PINCFG[22],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x57)++0x00
line.byte 0x00 "PINCFG[23],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x58)++0x00
line.byte 0x00 "PINCFG[24],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x59)++0x00
line.byte 0x00 "PINCFG[25],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5A)++0x00
line.byte 0x00 "PINCFG[26],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5B)++0x00
line.byte 0x00 "PINCFG[27],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5C)++0x00
line.byte 0x00 "PINCFG[28],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5D)++0x00
line.byte 0x00 "PINCFG[29],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5E)++0x00
line.byte 0x00 "PINCFG[30],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5F)++0x00
line.byte 0x00 "PINCFG[31],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 2. (increment 0 1)(increment 0 0x80)
tree "GROUP[$1]"
group.long ($2+0x00)++0x03
line.long 0x00 "DIR,Data Direction"
hexmask.long 0x00 0.--31. 1. "DIR,Port Data Direction"
group.long ($2+0x04)++0x03
line.long 0x00 "DIRCLR,Data Direction Clear"
hexmask.long 0x00 0.--31. 1. "DIRCLR,Port Data Direction Clear"
group.long ($2+0x08)++0x03
line.long 0x00 "DIRSET,Data Direction Set"
hexmask.long 0x00 0.--31. 1. "DIRSET,Port Data Direction Set"
group.long ($2+0x0C)++0x03
line.long 0x00 "DIRTGL,Data Direction Toggle"
hexmask.long 0x00 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
group.long ($2+0x10)++0x03
line.long 0x00 "OUT,Data Output Value"
hexmask.long 0x00 0.--31. 1. "OUT,PORT Data Output Value"
group.long ($2+0x14)++0x03
line.long 0x00 "OUTCLR,Data Output Value Clear"
hexmask.long 0x00 0.--31. 1. "OUTCLR,PORT Data Output Value Clear"
group.long ($2+0x18)++0x03
line.long 0x00 "OUTSET,Data Output Value Set"
hexmask.long 0x00 0.--31. 1. "OUTSET,PORT Data Output Value Set"
group.long ($2+0x1C)++0x03
line.long 0x00 "OUTTGL,Data Output Value Toggle"
hexmask.long 0x00 0.--31. 1. "OUTTGL,PORT Data Output Value Toggle"
rgroup.long ($2+0x20)++0x03
line.long 0x00 "IN,Data Input Value"
hexmask.long 0x00 0.--31. 1. "IN,PORT Data Input Value"
group.long ($2+0x24)++0x03
line.long 0x00 "CTRL,Control"
hexmask.long 0x00 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x03
line.long 0x00 "WRCONFIG,Write Configuration"
bitfld.long 0x00 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x00 30. "WRPINCFG,Write PINCFG" "0,1"
newline
bitfld.long 0x00 28. "WRPMUX,Write PMUX" "0,1"
bitfld.long 0x00 24.--27. "PMUX,Peripheral Multiplexing" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x00 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x00 17. "INEN,Input Enable" "0,1"
bitfld.long 0x00 16. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
newline
hexmask.long.word 0x00 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x03
line.long 0x00 "EVCTRL,Event Input Control"
bitfld.long 0x00 31. "PORTEI3,PORT Event Input Enable 3" "0,1"
bitfld.long 0x00 29.--30. "EVACT3,PORT Event Action 3" "0,1,2,3"
newline
bitfld.long 0x00 24.--28. "PID3,PORT Event Pin Identifier 3" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 23. "PORTEI2,PORT Event Input Enable 2" "0,1"
newline
bitfld.long 0x00 21.--22. "EVACT2,PORT Event Action 2" "0,1,2,3"
bitfld.long 0x00 16.--20. "PID2,PORT Event Pin Identifier 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
newline
bitfld.long 0x00 15. "PORTEI1,PORT Event Input Enable 1" "0,1"
bitfld.long 0x00 13.--14. "EVACT1,PORT Event Action 1" "0,1,2,3"
newline
bitfld.long 0x00 8.--12. "PID1,PORT Event Pin Identifier 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 7. "PORTEI0,PORT Event Input Enable 0" "0,1"
newline
bitfld.long 0x00 5.--6. "EVACT0,PORT Event Action 0" "0: Event output to pin,1: Set output register of pin on event,2: Clear output register of pin on event,3: Toggle output register of pin on event"
bitfld.long 0x00 0.--4. "PID0,PORT Event Pin Identifier 0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.byte ($2+0x30)++0x00
line.byte 0x00 "PMUX[0],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x31)++0x00
line.byte 0x00 "PMUX[1],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x32)++0x00
line.byte 0x00 "PMUX[2],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x33)++0x00
line.byte 0x00 "PMUX[3],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x34)++0x00
line.byte 0x00 "PMUX[4],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x35)++0x00
line.byte 0x00 "PMUX[5],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x36)++0x00
line.byte 0x00 "PMUX[6],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x37)++0x00
line.byte 0x00 "PMUX[7],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x38)++0x00
line.byte 0x00 "PMUX[8],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x39)++0x00
line.byte 0x00 "PMUX[9],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3A)++0x00
line.byte 0x00 "PMUX[10],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3B)++0x00
line.byte 0x00 "PMUX[11],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3C)++0x00
line.byte 0x00 "PMUX[12],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3D)++0x00
line.byte 0x00 "PMUX[13],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3E)++0x00
line.byte 0x00 "PMUX[14],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x3F)++0x00
line.byte 0x00 "PMUX[15],Peripheral Multiplexing"
bitfld.byte 0x00 4.--7. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
bitfld.byte 0x00 0.--3. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin" "0: Peripheral function A selected,1: Peripheral function B selected,2: Peripheral function C selected,3: Peripheral function D selected,4: Peripheral function E selected,5: Peripheral function F selected,6: Peripheral function G selected,7: Peripheral function H selected,8: Peripheral function I selected,9: Peripheral function J selected,?..."
group.byte ($2+0x40)++0x00
line.byte 0x00 "PINCFG[0],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x41)++0x00
line.byte 0x00 "PINCFG[1],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x42)++0x00
line.byte 0x00 "PINCFG[2],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x43)++0x00
line.byte 0x00 "PINCFG[3],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x44)++0x00
line.byte 0x00 "PINCFG[4],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x45)++0x00
line.byte 0x00 "PINCFG[5],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x46)++0x00
line.byte 0x00 "PINCFG[6],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x47)++0x00
line.byte 0x00 "PINCFG[7],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x48)++0x00
line.byte 0x00 "PINCFG[8],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x49)++0x00
line.byte 0x00 "PINCFG[9],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4A)++0x00
line.byte 0x00 "PINCFG[10],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4B)++0x00
line.byte 0x00 "PINCFG[11],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4C)++0x00
line.byte 0x00 "PINCFG[12],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4D)++0x00
line.byte 0x00 "PINCFG[13],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4E)++0x00
line.byte 0x00 "PINCFG[14],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x4F)++0x00
line.byte 0x00 "PINCFG[15],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x50)++0x00
line.byte 0x00 "PINCFG[16],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x51)++0x00
line.byte 0x00 "PINCFG[17],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x52)++0x00
line.byte 0x00 "PINCFG[18],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x53)++0x00
line.byte 0x00 "PINCFG[19],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x54)++0x00
line.byte 0x00 "PINCFG[20],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x55)++0x00
line.byte 0x00 "PINCFG[21],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x56)++0x00
line.byte 0x00 "PINCFG[22],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x57)++0x00
line.byte 0x00 "PINCFG[23],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x58)++0x00
line.byte 0x00 "PINCFG[24],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x59)++0x00
line.byte 0x00 "PINCFG[25],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5A)++0x00
line.byte 0x00 "PINCFG[26],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5B)++0x00
line.byte 0x00 "PINCFG[27],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5C)++0x00
line.byte 0x00 "PINCFG[28],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5D)++0x00
line.byte 0x00 "PINCFG[29],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5E)++0x00
line.byte 0x00 "PINCFG[30],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
group.byte ($2+0x5F)++0x00
line.byte 0x00 "PINCFG[31],Pin Configuration"
bitfld.byte 0x00 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x00 2. "PULLEN,Pull Enable" "0,1"
newline
bitfld.byte 0x00 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x00 0. "PMUXEN,Peripheral Multiplexer Enable" "0,1"
tree.end
repeat.end
tree.end
tree.end
tree "RSTC (Reset Controller)"
base ad:0x40000C00
rgroup.byte 0x00++0x00
line.byte 0x00 "RCAUSE,Reset Cause"
bitfld.byte 0x00 6. "SYST,System Reset Request" "0,1"
bitfld.byte 0x00 5. "WDT,Watchdog Reset" "0,1"
bitfld.byte 0x00 4. "EXT,External Reset" "0,1"
bitfld.byte 0x00 2. "BODVDD,Brown Out VDD Detector Reset" "0,1"
bitfld.byte 0x00 1. "BODCORE,Brown Out CORE Detector Reset" "0,1"
bitfld.byte 0x00 0. "POR,Power On Reset" "0,1"
tree.end
tree "RTC (Real-time Counter)"
base ad:0x40002400
tree "MODE0"
group.word 0x00++0x01
line.word 0x00 "CTRLA,MODE0 Control A"
bitfld.word 0x00 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
bitfld.word 0x00 8.--11. "PRESCALER,Prescaler" "0: CLK_RTC_CNT = GCLK_RTC/1,1: CLK_RTC_CNT = GCLK_RTC/1,2: CLK_RTC_CNT = GCLK_RTC/2,3: CLK_RTC_CNT = GCLK_RTC/4,4: CLK_RTC_CNT = GCLK_RTC/8,5: CLK_RTC_CNT = GCLK_RTC/16,6: CLK_RTC_CNT = GCLK_RTC/32,7: CLK_RTC_CNT = GCLK_RTC/64,8: CLK_RTC_CNT = GCLK_RTC/128,9: CLK_RTC_CNT = GCLK_RTC/256,10: CLK_RTC_CNT = GCLK_RTC/512,11: CLK_RTC_CNT = GCLK_RTC/1024,?..."
bitfld.word 0x00 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x00 2.--3. "MODE,Operating Mode" "0: Mode 0,1: Mode 1,2: Mode 2,?..."
bitfld.word 0x00 1. "ENABLE,Enable" "0,1"
bitfld.word 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "EVCTRL,MODE0 Event Control"
bitfld.long 0x00 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x00 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x00 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x00 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x00 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x00 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x00 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x00 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x00 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x00 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x08++0x01
line.word 0x00 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x00 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x00 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x00 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x00 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x00 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x00 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x00 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x00 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x00 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x00 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
group.word 0x0A++0x01
line.word 0x00 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x00 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x00 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x00 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x00 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x00 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x00 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x00 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x00 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x00 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x00 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
group.word 0x0C++0x01
line.word 0x00 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x00 15. "OVF,Overflow" "0,1"
bitfld.word 0x00 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x00 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x00 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x00 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x00 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x00 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x00 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x00 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x00 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0x0E++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x03
line.long 0x00 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x00 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x00 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x00 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x00 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "FREQCORR,Frequency Correction"
bitfld.byte 0x00 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x00 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x03
line.long 0x00 "COUNT,MODE0 Counter Value"
hexmask.long 0x00 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x03
line.long 0x00 "COMP,MODE0 Compare n Value"
hexmask.long 0x00 0.--31. 1. "COMP,Compare Value"
tree.end
tree.end
tree "SDADC (Sigma-Delta Analog Digital Converter)"
base ad:0x42004C00
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A"
bitfld.byte 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.byte 0x00 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "REFCTRL,Reference Control"
bitfld.byte 0x00 7. "ONREFBUF,Reference Buffer" "0,1"
bitfld.byte 0x00 0.--1. "REFSEL,Reference Selection" "0: Internal Bandgap Reference,1: External Reference,2: Internal DAC Output,3: INTVCC"
group.word 0x02++0x01
line.word 0x00 "CTRLB,Control B"
bitfld.word 0x00 12.--15. "SKPCNT,Skip Sample Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.word 0x00 8.--10. "OSR,Over Sampling Ratio" "0: Over Sampling Ratio is 64,1: Over Sampling Ratio is 128,2: Over Sampling Ratio is 256,3: Over Sampling Ratio is 512,4: Over Sampling Ratio is 1024,?..."
hexmask.word.byte 0x00 0.--7. 1. "PRESCALER,Prescaler Configuration"
group.byte 0x04++0x00
line.byte 0x00 "EVCTRL,Event Control"
bitfld.byte 0x00 5. "WINMONEO,Window Monitor Event Out" "0,1"
bitfld.byte 0x00 4. "RESRDYEO,Result Ready Event Out" "0,1"
bitfld.byte 0x00 3. "STARTINV,Satrt Event Invert Enable" "0,1"
bitfld.byte 0x00 2. "FLUSHINV,Flush Event Invert Enable" "0,1"
bitfld.byte 0x00 1. "STARTEI,Start Conversion Event Input Enable" "0,1"
bitfld.byte 0x00 0. "FLUSHEI,Flush Event Input Enable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Disable" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Disable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Enable" "0,1"
group.byte 0x07++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Flag" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Flag" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Flag" "0,1"
rgroup.byte 0x08++0x00
line.byte 0x00 "SEQSTATUS,Sequence Status"
bitfld.byte 0x00 7. "SEQBUSY,Sequence Busy" "0,1"
bitfld.byte 0x00 0.--3. "SEQSTATE,Sequence State" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.byte 0x09++0x00
line.byte 0x00 "INPUTCTRL,Input Control"
bitfld.byte 0x00 0.--3. "MUXSEL,SDADC Input Selection" "0: SDADC AIN0 Pin,1: SDADC AIN1 Pin,2: SDADC AIN2 Pin,?..."
group.byte 0x0A++0x00
line.byte 0x00 "CTRLC,Control C"
bitfld.byte 0x00 0. "FREERUN,Free Running Mode" "0,1"
group.byte 0x0B++0x00
line.byte 0x00 "WINCTRL,Window Monitor Control"
bitfld.byte 0x00 0.--2. "WINMODE,Window Monitor Mode" "0,1,2,3,4,5,6,7"
group.long 0x0C++0x03
line.long 0x00 "WINLT,Window Monitor Lower Threshold"
hexmask.long.tbyte 0x00 0.--23. 1. "WINLT,Window Lower Threshold"
group.long 0x10++0x03
line.long 0x00 "WINUT,Window Monitor Upper Threshold"
hexmask.long.tbyte 0x00 0.--23. 1. "WINUT,Window Upper Threshold"
group.long 0x14++0x03
line.long 0x00 "OFFSETCORR,Offset Correction"
hexmask.long.tbyte 0x00 0.--23. 1. "OFFSETCORR,Offset Correction Value"
group.word 0x18++0x01
line.word 0x00 "GAINCORR,Gain Correction"
hexmask.word 0x00 0.--13. 1. "GAINCORR,Gain Correction Value"
group.byte 0x1A++0x00
line.byte 0x00 "SHIFTCORR,Shift Correction"
bitfld.byte 0x00 0.--3. "SHIFTCORR,Shift Correction Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.byte 0x1C++0x00
line.byte 0x00 "SWTRIG,Software Trigger"
bitfld.byte 0x00 1. "START,Start SDADC Conversion" "0,1"
bitfld.byte 0x00 0. "FLUSH,SDADC Flush" "0,1"
rgroup.long 0x20++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 11. "ANACTRL,ANACTRL Synchronization Busy" "0,1"
bitfld.long 0x00 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.long 0x00 9. "SHIFTCORR,SHIFTCORR Synchronization Busy" "0,1"
bitfld.long 0x00 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.long 0x00 7. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
bitfld.long 0x00 6. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.long 0x00 5. "WINLT,WINLT Synchronization Busy" "0,1"
newline
bitfld.long 0x00 4. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x00 3. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.long 0x00 2. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
bitfld.long 0x00 0. "SWRST,SWRST Synchronization Busy" "0,1"
rgroup.long 0x24++0x03
line.long 0x00 "RESULT,Result"
hexmask.long.byte 0x00 24.--31. 1. "RESERVED,"
hexmask.long.tbyte 0x00 0.--23. 1. "RESULT,Result Value"
group.byte 0x28++0x00
line.byte 0x00 "SEQCTRL,Sequence Control"
bitfld.byte 0x00 0.--2. "SEQEN,Enable Positive Input in the Sequence" "0,1,2,3,4,5,6,7"
group.byte 0x2C++0x00
line.byte 0x00 "ANACTRL,Analog Control"
bitfld.byte 0x00 7. "BUFTEST,BUFTEST" "0,1"
bitfld.byte 0x00 6. "ONCHOP,Chopper" "0,1"
bitfld.byte 0x00 0.--5. "CTRSDADC,SDADC Control" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
group.byte 0x2E++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
tree.end
tree "SERCOM (Serial Communication Interface)"
repeat 4. (list 0. 1. 2. 3.) (list ad:0x42000400 ad:0x42000800 ad:0x42000C00 ad:0x42001000)
tree "SERCOM$1"
base $2
tree "I2CM"
group.long 0x00++0x03
line.long 0x00 "CTRLA,I2CM Control A"
bitfld.long 0x00 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x00 28.--29. "INACTOUT,Inactive Time-Out" "0: Disable,1: 5-6 SCL cycle time-out,2: 10-11 SCL cycle time-out,3: 20-21 SCL cycle time-out"
newline
bitfld.long 0x00 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x00 24.--25. "SPEED,Transfer Speed" "0: Standard-Mode (SM) and Fast-Mode (FM),1: Fast-Mode Plus (FM+),2: High-Speed Mode,?..."
newline
bitfld.long 0x00 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x00 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x00 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
bitfld.long 0x00 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x00 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "?,?,?,?,?,5: I2C master operation,?..."
newline
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,I2CM Control B"
bitfld.long 0x00 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x00 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x00 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x00 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0x0C++0x03
line.long 0x00 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x00 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x00 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x00 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x00 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,I2CM Status"
bitfld.word 0x00 10. "LENERR,Length Error" "0,1"
bitfld.word 0x00 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x00 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x00 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x00 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x00 4.--5. "BUSSTATE,Bus State" "0: Wait for stop or idle,1: Wait for transaction initialization,2: I2C master is the current owner of the bus,3: Some other I2C master owns the bus"
newline
bitfld.word 0x00 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x00 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x00 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x00 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x03
line.long 0x00 "ADDR,I2CM Address"
hexmask.long.byte 0x00 16.--23. 1. "LEN,Length"
bitfld.long 0x00 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x00 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x00 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x00 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x00
line.byte 0x00 "DATA,I2CM Data"
hexmask.byte 0x00 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x00
line.byte 0x00 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x00 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x00++0x03
line.long 0x00 "CTRLA,I2CS Control A"
bitfld.long 0x00 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x00 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x00 24.--25. "SPEED,Transfer Speed" "0: Standard-Mode (SM) and Fast-Mode (FM),1: Fast-Mode Plus (FM+),2: High-Speed Mode,?..."
newline
bitfld.long 0x00 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x00 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
bitfld.long 0x00 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x00 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "?,?,?,?,4: I2C slave operation,?..."
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,I2CS Control B"
bitfld.long 0x00 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x00 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x00 14.--15. "AMODE,Address Mode" "0: The slave responds to the address written in..,1: The slave responds to the two unique..,2: The slave responds to the range of addresses..,?..."
newline
bitfld.long 0x00 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x00 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x00 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x00 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,I2CS Status"
bitfld.word 0x00 10. "HS,High Speed" "0,1"
bitfld.word 0x00 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x00 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x00 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x00 4. "SR,Repeated Start" "0,1"
bitfld.word 0x00 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x00 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x00 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x00 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x03
line.long 0x00 "ADDR,I2CS Address"
hexmask.long.byte 0x00 17.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x00 1.--7. 1. "ADDR,Address Value"
bitfld.long 0x00 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x00
line.byte 0x00 "DATA,I2CS Data"
hexmask.byte 0x00 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIS"
group.long 0x00++0x03
line.long 0x00 "CTRLA,SPIS Control A"
bitfld.long 0x00 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x00 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x00 28. "CPHA,Clock Phase" "0: The data is sampled on a leading SCK edge and..,1: The data is sampled on a trailing SCK edge.."
bitfld.long 0x00 24.--27. "FORM,Frame Format" "0: SPI_FRAME,?,2: SPI_FRAME_WITH_ADDR,?..."
newline
bitfld.long 0x00 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0] is used as data input,1: SERCOM PAD[1] is used as data input,2: SERCOM PAD[2] is used as data input,3: SERCOM PAD[3] is used as data input"
bitfld.long 0x00 16.--17. "DOPO,Data Out Pinout" "0: PAD[0]=DO PAD[1]=SCK PAD[2]=SlaveSS,1: PAD[2]=DO PAD[3]=SCK PAD[1]=SlaveSS,2: PAD[3]=DO PAD[1]=SCK PAD[2]=SlaveSS,3: PAD[0]=DO PAD[3]=SCK PAD[1]=SlaveSS"
newline
bitfld.long 0x00 8. "IBON,Immediate Buffer Overflow Notification" "0: STATUS.BUFOVF is set when it occurs in the..,1: STATUS.BUFOVF is set immediately upon buffer.."
bitfld.long 0x00 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "?,?,2: SPI in slave operation,3: SPI in master operation,?..."
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,SPIS Control B"
bitfld.long 0x00 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x00 14.--15. "AMODE,Address Mode" "0: ADDRMASK is used as a mask to the AADR register,1: The slave responds to the two unique..,2: The slave responds to the range of addresses..,?..."
newline
bitfld.long 0x00 13. "MSSEN,Master Slave Select Enable" "0: Hardware SS control is disabled,1: Hardware SS control is enabled"
bitfld.long 0x00 9. "SSDE,Slave Select Low Detect Enable" "0: SS low detector is disabled,1: SS low detector is enabled"
newline
bitfld.long 0x00 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x00 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?..."
group.byte 0x0C++0x00
line.byte 0x00 "BAUD,SPIS Baud Rate"
hexmask.byte 0x00 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,SPIS Status"
bitfld.word 0x00 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x00 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x03
line.long 0x00 "ADDR,SPIS Address"
hexmask.long.byte 0x00 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x00 0.--7. 1. "ADDR,Address Value"
group.long 0x28++0x03
line.long 0x00 "DATA,SPIS Data"
hexmask.long.word 0x00 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x00
line.byte 0x00 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x00 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIM"
group.long 0x00++0x03
line.long 0x00 "CTRLA,SPIM Control A"
bitfld.long 0x00 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x00 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x00 28. "CPHA,Clock Phase" "0: The data is sampled on a leading SCK edge and..,1: The data is sampled on a trailing SCK edge.."
bitfld.long 0x00 24.--27. "FORM,Frame Format" "0: SPI_FRAME,?,2: SPI_FRAME_WITH_ADDR,?..."
newline
bitfld.long 0x00 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0] is used as data input,1: SERCOM PAD[1] is used as data input,2: SERCOM PAD[2] is used as data input,3: SERCOM PAD[3] is used as data input"
bitfld.long 0x00 16.--17. "DOPO,Data Out Pinout" "0: PAD[0]=DO PAD[1]=SCK PAD[2]=SlaveSS,1: PAD[2]=DO PAD[3]=SCK PAD[1]=SlaveSS,2: PAD[3]=DO PAD[1]=SCK PAD[2]=SlaveSS,3: PAD[0]=DO PAD[3]=SCK PAD[1]=SlaveSS"
newline
bitfld.long 0x00 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x00 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "?,?,2: SPI in slave operation,3: SPI in master operation,?..."
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,SPIM Control B"
bitfld.long 0x00 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x00 14.--15. "AMODE,Address Mode" "0: ADDRMASK is used as a mask to the AADR register,1: The slave responds to the two unique..,2: The slave responds to the range of addresses..,?..."
newline
bitfld.long 0x00 13. "MSSEN,Master Slave Select Enable" "0: Hardware SS control is disabled,1: Hardware SS control is enabled"
bitfld.long 0x00 9. "SSDE,Slave Select Low Detect Enable" "0: SS low detector is disabled,1: SS low detector is enabled"
newline
bitfld.long 0x00 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x00 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?..."
group.byte 0x0C++0x00
line.byte 0x00 "BAUD,SPIM Baud Rate"
hexmask.byte 0x00 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,SPIM Status"
bitfld.word 0x00 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x00 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x03
line.long 0x00 "ADDR,SPIM Address"
hexmask.long.byte 0x00 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x00 0.--7. 1. "ADDR,Address Value"
group.long 0x28++0x03
line.long 0x00 "DATA,SPIM Data"
hexmask.long.word 0x00 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x00
line.byte 0x00 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x00 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x00++0x03
line.long 0x00 "CTRLA,USART_EXT Control A"
bitfld.long 0x00 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x00 29. "CPOL,Clock Polarity" "0: TxD Change,1: TxD Change"
newline
bitfld.long 0x00 28. "CMODE,Communication Mode" "0: Asynchronous communication,1: Synchronous communication"
bitfld.long 0x00 24.--27. "FORM,Frame Format" "0: USART_FRAME_NO_PARITY,1: USART_FRAME_WITH_PARITY,2: LIN Master Break and Sync generation,?,4: Auto-baud (LIN Slave) - break detection and..,5: Auto-baud - break detection and auto-baud..,?..."
newline
bitfld.long 0x00 22.--23. "SAMPA,Sample Adjustment" "0: 16x Over-sampling = 7-8-9 8x Over-sampling =..,1: 16x Over-sampling = 9-10-11 8x Over-sampling..,2: 16x Over-sampling = 11-12-13 8x Over-sampling..,3: 16x Over-sampling = 13-14-15 8x Over-sampling.."
bitfld.long 0x00 20.--21. "RXPO,Receive Data Pinout" "0: SERCOM PAD[0] is used for data reception,1: SERCOM PAD[1] is used for data reception,2: SERCOM PAD[2] is used for data reception,3: SERCOM PAD[3] is used for data reception"
newline
bitfld.long 0x00 16.--17. "TXPO,Transmit Data Pinout" "0: PAD[0]=TxD PAD[1]=XCK,1: PAD[2]=TxD PAD[3]=XCK,2: PAD[0]=TxD PAD[2]=RTS/TE PAD[3]=CTS,3: PAD[0]=TxD PAD[1]=XCK PAD[2]=RTS/TE"
bitfld.long 0x00 13.--15. "SAMPR,Sample" "0: 16x over-sampling using arithmetic baudrate..,1: 16x over-sampling using fractional baudrate..,2: 8x over-sampling using arithmetic baudrate..,3: 8x over-sampling using fractional baudrate..,4: 3x over-sampling using arithmetic baudrate..,?..."
newline
bitfld.long 0x00 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x00 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,?..."
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,USART_EXT Control B"
bitfld.long 0x00 24.--25. "LINCMD,LIN Command" "0: Normal USART transmission,1: Break field is transmitted when DATA is written,2: Break sync and identifier are automatically..,?..."
bitfld.long 0x00 17. "RXEN,Receiver Enable" "0,1"
newline
bitfld.long 0x00 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x00 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
newline
bitfld.long 0x00 10. "ENC,Encoding Format" "0: Data is not encoded,1: Data is IrDA encoded"
bitfld.long 0x00 9. "SFDE,Start of Frame Detection Enable" "0,1"
newline
bitfld.long 0x00 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x00 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
newline
bitfld.long 0x00 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.long 0x08++0x03
line.long 0x00 "CTRLC,USART_EXT Control C"
bitfld.long 0x00 10.--11. "HDRDLY,LIN Master Header Delay" "0: Delay between break and sync transmission is..,1: Delay between break and sync transmission is..,2: Delay between break and sync transmission is..,3: Delay between break and sync transmission is.."
bitfld.long 0x00 8.--9. "BRKLEN,LIN Master Break Length" "0: Break field transmission is 13 bit times,1: Break field transmission is 17 bit times,2: Break field transmission is 21 bit times,3: Break field transmission is 26 bit times"
newline
bitfld.long 0x00 0.--2. "GTIME,Guard Time" "0,1,2,3,4,5,6,7"
group.word 0x0C++0x01
line.word 0x00 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x00 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x00 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x00 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x00 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x00 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x00 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0x0E++0x00
line.byte 0x00 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x00 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,USART_EXT Status"
bitfld.word 0x00 6. "TXE,Transmitter Empty" "0,1"
bitfld.word 0x00 5. "COLL,Collision Detected" "0,1"
newline
bitfld.word 0x00 4. "ISF,Inconsistent Sync Field" "0,1"
bitfld.word 0x00 3. "CTS,Clear To Send" "0,1"
newline
bitfld.word 0x00 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x00 1. "FERR,Frame Error" "0,1"
newline
bitfld.word 0x00 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x00 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x01
line.word 0x00 "DATA,USART_EXT Data"
hexmask.word 0x00 0.--8. 1. "DATA,Data Value"
tree.end
tree "USART_INT"
group.long 0x00++0x03
line.long 0x00 "CTRLA,USART_INT Control A"
bitfld.long 0x00 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x00 29. "CPOL,Clock Polarity" "0: TxD Change,1: TxD Change"
newline
bitfld.long 0x00 28. "CMODE,Communication Mode" "0: Asynchronous communication,1: Synchronous communication"
bitfld.long 0x00 24.--27. "FORM,Frame Format" "0: USART_FRAME_NO_PARITY,1: USART_FRAME_WITH_PARITY,2: LIN Master Break and Sync generation,?,4: Auto-baud (LIN Slave) - break detection and..,5: Auto-baud - break detection and auto-baud..,?..."
newline
bitfld.long 0x00 22.--23. "SAMPA,Sample Adjustment" "0: 16x Over-sampling = 7-8-9 8x Over-sampling =..,1: 16x Over-sampling = 9-10-11 8x Over-sampling..,2: 16x Over-sampling = 11-12-13 8x Over-sampling..,3: 16x Over-sampling = 13-14-15 8x Over-sampling.."
bitfld.long 0x00 20.--21. "RXPO,Receive Data Pinout" "0: SERCOM PAD[0] is used for data reception,1: SERCOM PAD[1] is used for data reception,2: SERCOM PAD[2] is used for data reception,3: SERCOM PAD[3] is used for data reception"
newline
bitfld.long 0x00 16.--17. "TXPO,Transmit Data Pinout" "0: PAD[0]=TxD PAD[1]=XCK,1: PAD[2]=TxD PAD[3]=XCK,2: PAD[0]=TxD PAD[2]=RTS/TE PAD[3]=CTS,3: PAD[0]=TxD PAD[1]=XCK PAD[2]=RTS/TE"
bitfld.long 0x00 13.--15. "SAMPR,Sample" "0: 16x over-sampling using arithmetic baudrate..,1: 16x over-sampling using fractional baudrate..,2: 8x over-sampling using arithmetic baudrate..,3: 8x over-sampling using fractional baudrate..,4: 3x over-sampling using arithmetic baudrate..,?..."
newline
bitfld.long 0x00 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x00 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,?..."
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.long 0x04++0x03
line.long 0x00 "CTRLB,USART_INT Control B"
bitfld.long 0x00 24.--25. "LINCMD,LIN Command" "0: Normal USART transmission,1: Break field is transmitted when DATA is written,2: Break sync and identifier are automatically..,?..."
bitfld.long 0x00 17. "RXEN,Receiver Enable" "0,1"
newline
bitfld.long 0x00 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x00 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
newline
bitfld.long 0x00 10. "ENC,Encoding Format" "0: Data is not encoded,1: Data is IrDA encoded"
bitfld.long 0x00 9. "SFDE,Start of Frame Detection Enable" "0,1"
newline
bitfld.long 0x00 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x00 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
newline
bitfld.long 0x00 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.long 0x08++0x03
line.long 0x00 "CTRLC,USART_INT Control C"
bitfld.long 0x00 10.--11. "HDRDLY,LIN Master Header Delay" "0: Delay between break and sync transmission is..,1: Delay between break and sync transmission is..,2: Delay between break and sync transmission is..,3: Delay between break and sync transmission is.."
bitfld.long 0x00 8.--9. "BRKLEN,LIN Master Break Length" "0: Break field transmission is 13 bit times,1: Break field transmission is 17 bit times,2: Break field transmission is 21 bit times,3: Break field transmission is 26 bit times"
newline
bitfld.long 0x00 0.--2. "GTIME,Guard Time" "0,1,2,3,4,5,6,7"
group.word 0x0C++0x01
line.word 0x00 "BAUD,USART_INT Baud Rate"
hexmask.word 0x00 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x00 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x00 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x00 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x00 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0x0C++0x01
line.word 0x00 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x00 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0x0E++0x00
line.byte 0x00 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x00 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x00
line.byte 0x00 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x00
line.byte 0x00 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x00
line.byte 0x00 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x00 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x00 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x00 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x00 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x00 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x00 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x00 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x01
line.word 0x00 "STATUS,USART_INT Status"
bitfld.word 0x00 6. "TXE,Transmitter Empty" "0,1"
bitfld.word 0x00 5. "COLL,Collision Detected" "0,1"
newline
bitfld.word 0x00 4. "ISF,Inconsistent Sync Field" "0,1"
bitfld.word 0x00 3. "CTS,Clear To Send" "0,1"
newline
bitfld.word 0x00 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x00 1. "FERR,Frame Error" "0,1"
newline
bitfld.word 0x00 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x03
line.long 0x00 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x00 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x00 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x01
line.word 0x00 "DATA,USART_INT Data"
hexmask.word 0x00 0.--8. 1. "DATA,Data Value"
tree.end
tree.end
repeat.end
tree.end
tree "SUPC (Supply Controller)"
base ad:0x40001800
group.long 0x00++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 2. "BVDDSRDY,BODVDD Synchronization Ready" "0,1"
bitfld.long 0x00 1. "BODVDDDET,BODVDD Detection" "0,1"
bitfld.long 0x00 0. "BODVDDRDY,BODVDD Ready" "0,1"
group.long 0x04++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 2. "BVDDSRDY,BODVDD Synchronization Ready" "0,1"
bitfld.long 0x00 1. "BODVDDDET,BODVDD Detection" "0,1"
bitfld.long 0x00 0. "BODVDDRDY,BODVDD Ready" "0,1"
group.long 0x08++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 2. "BVDDSRDY,BODVDD Synchronization Ready" "0,1"
bitfld.long 0x00 1. "BODVDDDET,BODVDD Detection" "0,1"
bitfld.long 0x00 0. "BODVDDRDY,BODVDD Ready" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "STATUS,Power and Clocks Status"
bitfld.long 0x00 2. "BVDDSRDY,BODVDD Synchronization Ready" "0,1"
bitfld.long 0x00 1. "BODVDDDET,BODVDD Detection" "0,1"
bitfld.long 0x00 0. "BODVDDRDY,BODVDD Ready" "0,1"
group.long 0x10++0x03
line.long 0x00 "BODVDD,BODVDD Control"
bitfld.long 0x00 16.--21. "LEVEL,Threshold Level for VDD" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 12.--15. "PSEL,Prescaler Select" "0: Divide clock by 2,1: Divide clock by 4,2: Divide clock by 8,3: Divide clock by 16,4: Divide clock by 32,5: Divide clock by 64,6: Divide clock by 128,7: Divide clock by 256,8: Divide clock by 512,9: Divide clock by 1024,10: Divide clock by 2048,11: Divide clock by 4096,12: Divide clock by 8192,13: Divide clock by 16384,14: Divide clock by 32768,15: Divide clock by 65536"
bitfld.long 0x00 8. "ACTCFG,Configuration in Active mode" "0,1"
bitfld.long 0x00 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 5. "STDBYCFG,Configuration in Standby mode" "0,1"
bitfld.long 0x00 3.--4. "ACTION,Action when Threshold Crossed" "0: No action,1: The BODVDD generates a reset,2: The BODVDD generates an interrupt,?..."
bitfld.long 0x00 2. "HYST,Hysteresis Enable" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
group.long 0x18++0x03
line.long 0x00 "VREG,VREG Control"
bitfld.long 0x00 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
group.long 0x1C++0x03
line.long 0x00 "VREF,VREF Control"
bitfld.long 0x00 16.--19. "SEL,Voltage Reference Selection" "0: 1.024V voltage reference typical value,?,2: 2.048V voltage reference typical value,3: 4.096V voltage reference typical value,?..."
bitfld.long 0x00 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.long 0x00 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x00 2. "VREFOE,Voltage Reference Output Enable" "0,1"
newline
bitfld.long 0x00 1. "TSEN,Temperature Sensor Output Enable" "0,1"
tree.end
tree "SYSTEMCONTROL (System Control Registers)"
base ad:0xE000E000
rgroup.long 0xD00++0x03
line.long 0x00 "CPUID,CPUID Base Register"
hexmask.long.byte 0x00 24.--31. 1. "IMPLEMENTER,Implementer code ARM=0x41"
bitfld.long 0x00 20.--23. "VARIANT,Major revision number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 16.--19. "ARCHITECTURE,Processor Architecture" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 4.--15. 1. "PARTNO,Processor Part Number"
newline
bitfld.long 0x00 0.--3. "REVISION,Minor revision number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.long 0xD04++0x03
line.long 0x00 "ICSR,Interrupt Control and State Register"
bitfld.long 0x00 31. "NMIPENDSET,NMI set-pending bit" "0: Write: no effect read: NMI exception is not..,1: Write: changes NMI exception state to pending.."
bitfld.long 0x00 28. "PENDSVSET,PendSV set-pending bit" "0: Write: no effect read: PendSV exception is..,1: Write: changes PendSV exception state to.."
newline
bitfld.long 0x00 27. "PENDSVCLR,PendSV clear-pending bit" "0: No effect,1: Removes the pending state from the PendSV.."
bitfld.long 0x00 26. "PENDSTSET,SysTick exception set-pending bit" "0: Write: no effect read: SysTick exception is..,1: Write: changes SysTick exception state to.."
newline
bitfld.long 0x00 25. "PENDSTCLR,SysTick exception clear-pending bit" "0: No effect,1: Removes the pending state from the SysTick.."
bitfld.long 0x00 23. "ISRPREEMPT,Debug: Pending exception serviced on exit from debug halt" "0,1"
newline
bitfld.long 0x00 22. "ISRPENDING,Debug: NVIC interrupt pending" "0,1"
hexmask.long.word 0x00 12.--20. 1. "VECTPENDING,Exception number of the highest priority pending enabled exception"
newline
hexmask.long.word 0x00 0.--8. 1. "VECTACTIVE,Debug: Exception number of currently executing exception or 0 if thread mode"
group.long 0xD08++0x03
line.long 0x00 "VTOR,Vector Table Offset Register"
hexmask.long 0x00 7.--31. 1. "TBLOFF,Vector table base offset"
group.long 0xD0C++0x03
line.long 0x00 "AIRCR,Application Interrupt and Reset Control Register"
hexmask.long.word 0x00 16.--31. 1. "VECTKEY,Register key (0x05FA)"
bitfld.long 0x00 15. "ENDIANNESS,Data Endianness" "0: Little-endian,1: Big-endian"
newline
bitfld.long 0x00 2. "SYSRESETREQ,System Reset Request" "0: No system reset request,1: Asserts a signal to the outer system that.."
bitfld.long 0x00 1. "VECTCLRACTIVE,Debug: Clear state information" "0,1"
group.long 0xD10++0x03
line.long 0x00 "SCR,System Control Register"
bitfld.long 0x00 4. "SEVONPEND,Send Event on Pending bit" "0: Only enabled interrupts or events can wakeup..,1: Enabled events and all interrupts including.."
bitfld.long 0x00 2. "SLEEPDEEP,Uses Deep Sleep as low power mode" "0: VALUE_0,1: Deep sleep"
newline
bitfld.long 0x00 1. "SLEEPONEXIT,Sleep-On-Exit when exiting Handler mode" "0: O not sleep when returning to Thread mode,1: Enter sleep or deep sleep on return from an ISR"
rgroup.long 0xD14++0x03
line.long 0x00 "CCR,Configuration and Control Register"
bitfld.long 0x00 9. "STKALIGN,Stack 8-byte aligned on exception entry" "0: 4-byte aligned,1: 8-byte aligned"
bitfld.long 0x00 3. "UNALIGN_TRP,Unaligned accesses generates a Hard Fault" "0: Do not trap unaligned halfword and word..,1: Trap unaligned halfword and word accesses"
group.long 0xD1C++0x03
line.long 0x00 "SHPR2,System Handler Priority Register 2"
hexmask.long.byte 0x00 24.--31. 1. "PRI_11,Priority of system handler 11 SVCall"
group.long 0xD20++0x03
line.long 0x00 "SHPR3,System Handler Priority Register 3"
hexmask.long.byte 0x00 24.--31. 1. "PRI_15,Priority of system handler 15 SysTick exception"
hexmask.long.byte 0x00 16.--23. 1. "PRI_14,Priority of system handler 14 PendSV"
group.long 0xD24++0x03
line.long 0x00 "SHCSR,System Handler Control and State Register"
bitfld.long 0x00 15. "SVCALLPENDED," "0,1"
group.long 0xD30++0x03
line.long 0x00 "DFSR,Debug Fault Status Register"
bitfld.long 0x00 4. "EXTERNAL,EDBGRQ debug event" "0,1"
bitfld.long 0x00 3. "VCATCH,Vector catch debug event" "0,1"
newline
bitfld.long 0x00 2. "DWTTRAP,DWT debug event" "0,1"
bitfld.long 0x00 1. "BKPT,Breakpoint debug event" "0,1"
newline
bitfld.long 0x00 0. "HALTED,Halt request debug event active" "0,1"
tree.end
tree "SYSTICK (System Timer)"
base ad:0xE000E010
group.long 0x00++0x03
line.long 0x00 "CSR,SysTick Control and Status Register"
bitfld.long 0x00 16. "COUNTFLAG,Timer counted to 0 since last read of register" "0,1"
bitfld.long 0x00 2. "CLKSOURCE,Clock Source" "0: External clock,1: Processor clock"
newline
bitfld.long 0x00 1. "TICKINT,SysTick Exception Request Enable" "0: Counting down to 0 does not assert the..,1: Counting down to 0 asserts the SysTick.."
bitfld.long 0x00 0. "ENABLE,SysTick Counter Enable" "0: Counter disabled,1: Counter enabled"
group.long 0x04++0x03
line.long 0x00 "RVR,SysTick Reload Value Register"
hexmask.long.tbyte 0x00 0.--23. 1. "RELOAD,Value to load into the SysTick Current Value Register when the counter reaches 0"
group.long 0x08++0x03
line.long 0x00 "CVR,SysTick Current Value Register"
hexmask.long.tbyte 0x00 0.--23. 1. "CURRENT,Current value at the time the register is accessed"
rgroup.long 0x0C++0x03
line.long 0x00 "CALIB,SysTick Calibration Value Register"
bitfld.long 0x00 31. "NOREF,No Separate Reference Clock" "0: The reference clock is provided,1: The reference clock is not provided"
bitfld.long 0x00 30. "SKEW,TENMS is rounded from non-integer ratio" "0: 10ms calibration value is exact,1: 10ms calibration value is inexact because of.."
newline
hexmask.long.tbyte 0x00 0.--23. 1. "TENMS,Reload value to use for 10ms timing"
tree.end
tree "TC (Basic Timer Counter)"
repeat 5. (list 0. 1. 2. 3. 4.) (list ad:0x42003000 ad:0x42003400 ad:0x42003800 ad:0x42003C00 ad:0x42004000)
tree "TC$1"
base $2
tree "COUNT8"
group.long 0x00++0x03
line.long 0x00 "CTRLA,Control A"
bitfld.long 0x00 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x00 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x00 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x00 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x00 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x00 8.--10. "PRESCALER,Prescaler" "0: Prescaler,1: Prescaler,2: Prescaler,3: Prescaler,4: Prescaler,5: Prescaler,6: Prescaler,7: Prescaler"
newline
bitfld.long 0x00 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x00 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x00 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic..,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?..."
bitfld.long 0x00 2.--3. "MODE,Timer Counter Mode" "0: Counter in 16-bit mode,1: Counter in 8-bit mode,2: Counter in 32-bit mode,?..."
newline
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "CTRLBCLR,Control B Clear"
bitfld.byte 0x00 5.--7. "CMD,Command" "0: No action,1: Force a start restart or retrigger,2: Force a stop,3: Force update of double-buffered register,4: Force a read synchronization of COUNT,5: One-shot DMA trigger,?..."
bitfld.byte 0x00 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x00 0. "DIR,Counter Direction" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "CTRLBSET,Control B Set"
bitfld.byte 0x00 5.--7. "CMD,Command" "0: No action,1: Force a start restart or retrigger,2: Force a stop,3: Force update of double-buffered register,4: Force a read synchronization of COUNT,5: One-shot DMA trigger,?..."
bitfld.byte 0x00 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x00 0. "DIR,Counter Direction" "0,1"
group.word 0x06++0x01
line.word 0x00 "EVCTRL,Event Control"
bitfld.word 0x00 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x00 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x00 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x00 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x00 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x00 0.--2. "EVACT,Event Action" "0: Event action disabled,1: Start restart or retrigger TC on event,2: Count on event,3: Start TC on event,4: Time stamp capture,5: Period catured in CC0 pulse width in CC1,6: Period catured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x08++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x00 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x00 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x00 0. "OVF,OVF Interrupt Disable" "0,1"
group.byte 0x09++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x00 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x00 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "OVF,OVF Interrupt Enable" "0,1"
group.byte 0x0A++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x00 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x00 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x00 0. "OVF,OVF Interrupt Flag" "0,1"
group.byte 0x0B++0x00
line.byte 0x00 "STATUS,Status"
bitfld.byte 0x00 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x00 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x00 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x00 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x00 0. "STOP,Stop Status Flag" "0,1"
group.byte 0x0C++0x00
line.byte 0x00 "WAVE,Waveform Generation Control"
bitfld.byte 0x00 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
group.byte 0x0D++0x00
line.byte 0x00 "DRVCTRL,Control C"
bitfld.byte 0x00 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x00 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0x0F++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x03
line.long 0x00 "SYNCBUSY,Synchronization Status"
bitfld.long 0x00 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x00 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x00 5. "PER,Period" "0,1"
bitfld.long 0x00 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x00 3. "STATUS,STATUS" "0,1"
bitfld.long 0x00 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x00 1. "ENABLE,enable" "0,1"
bitfld.long 0x00 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x00
line.byte 0x00 "COUNT,COUNT8 Count"
hexmask.byte 0x00 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x00
line.byte 0x00 "PER,COUNT8 Period"
hexmask.byte 0x00 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0 1) (increment 0 0x1)
group.byte ($2+0x1C)++0x00
line.byte 0x00 "CC[$1],COUNT8 Compare and Capture $1"
hexmask.byte 0x00 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x00
line.byte 0x00 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x00 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0 1) (increment 0 0x1)
group.byte ($2+0x30)++0x00
line.byte 0x00 "CCBUF[$1],COUNT8 Compare and Capture Buffer $1"
hexmask.byte 0x00 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
repeat.end
tree.end
tree "TCC (Timer Counter for Control Applications)"
repeat 3. (list 0. 1. 2.) (list ad:0x42002400 ad:0x42002800 ad:0x42002C00)
tree "TCC$1"
base $2
group.long 0x00++0x03
line.long 0x00 "CTRLA,Control A"
bitfld.long 0x00 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x00 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x00 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x00 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x00 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x00 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x00 12.--13. "PRESCSYNC,Prescaler and Counter Synchronization Selection" "0: Reload or reset counter on next GCLK,1: Reload or reset counter on next prescaler clock,2: Reload or reset counter on next GCLK and..,?..."
bitfld.long 0x00 11. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x00 8.--10. "PRESCALER,Prescaler" "0: No division,1: Divide by 2,2: Divide by 4,3: Divide by 8,4: Divide by 16,5: Divide by 64,6: Divide by 256,7: Divide by 1024"
bitfld.long 0x00 5.--6. "RESOLUTION,Enhanced Resolution" "0: Dithering is disabled,1: Dithering is done every 16 PWM frames,2: Dithering is done every 32 PWM frames,3: Dithering is done every 64 PWM frames"
newline
bitfld.long 0x00 1. "ENABLE,Enable" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "CTRLBCLR,Control B Clear"
bitfld.byte 0x00 5.--7. "CMD,TCC Command" "0: No action,1: Clear start restart or retrigger,2: Force stop,3: Force update or double buffered registers,4: Force COUNT read synchronization,5: One-shot DMA trigger,?..."
bitfld.byte 0x00 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled,1: Set index,2: Clear index,3: Hold index"
newline
bitfld.byte 0x00 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x00 0. "DIR,Counter Direction" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "CTRLBSET,Control B Set"
bitfld.byte 0x00 5.--7. "CMD,TCC Command" "0: No action,1: Clear start restart or retrigger,2: Force stop,3: Force update or double buffered registers,4: Force COUNT read synchronization,5: One-shot DMA trigger,?..."
bitfld.byte 0x00 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled,1: Set index,2: Clear index,3: Hold index"
newline
bitfld.byte 0x00 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x00 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x00 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x08++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x00 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x00 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x00 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x00 7. "PER,Period Busy" "0,1"
bitfld.long 0x00 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x00 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x00 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x00 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x00 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x00 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x00 0. "SWRST,Swrst Busy" "0,1"
group.long 0x0C++0x03
line.long 0x00 "FCTRLA,Recoverable Fault A Configuration"
bitfld.long 0x00 24.--27. "FILTERVAL,Fault A Filter Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.byte 0x00 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x00 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x00 12.--14. "CAPTURE,Fault A Capture Action" "0: No capture,1: Capture on fault,2: Minimum capture,3: Maximum capture,4: Minimum local detection,5: Maximum local detection,6: Minimum and maximum local detection,7: Capture with ramp index as MSB value"
newline
bitfld.long 0x00 10.--11. "CHSEL,Fault A Capture Channel" "0: Capture value stored in channel 0,1: Capture value stored in channel 1,2: Capture value stored in channel 2,3: Capture value stored in channel 3"
bitfld.long 0x00 8.--9. "HALT,Fault A Halt Mode" "0: Halt action disabled,1: Hardware halt action,2: Software halt action,3: Non-recoverable fault"
newline
bitfld.long 0x00 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x00 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the..,2: Blanking applied from falling edge of the..,3: Blanking applied from each toggle of the.."
newline
bitfld.long 0x00 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x00 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x00 0.--1. "SRC,Fault A Source" "0: Fault input disabled,1: MCEx (x=0 1) event input,2: Inverted MCEx (x=0 1) event input,3: Alternate fault (A or B) state at the end of.."
group.long 0x10++0x03
line.long 0x00 "FCTRLB,Recoverable Fault B Configuration"
bitfld.long 0x00 24.--27. "FILTERVAL,Fault B Filter Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.byte 0x00 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x00 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x00 12.--14. "CAPTURE,Fault B Capture Action" "0: No capture,1: Capture on fault,2: Minimum capture,3: Maximum capture,4: Minimum local detection,5: Maximum local detection,6: Minimum and maximum local detection,7: Capture with ramp index as MSB value"
newline
bitfld.long 0x00 10.--11. "CHSEL,Fault B Capture Channel" "0: Capture value stored in channel 0,1: Capture value stored in channel 1,2: Capture value stored in channel 2,3: Capture value stored in channel 3"
bitfld.long 0x00 8.--9. "HALT,Fault B Halt Mode" "0: Halt action disabled,1: Hardware halt action,2: Software halt action,3: Non-recoverable fault"
newline
bitfld.long 0x00 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x00 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the..,2: Blanking applied from falling edge of the..,3: Blanking applied from each toggle of the.."
newline
bitfld.long 0x00 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x00 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x00 0.--1. "SRC,Fault B Source" "0: Fault input disabled,1: MCEx (x=0 1) event input,2: Inverted MCEx (x=0 1) event input,3: Alternate fault (A or B) state at the end of.."
group.long 0x14++0x03
line.long 0x00 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x00 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x00 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x00 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x00 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x00 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x00 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x00 0.--1. "OTMX,Output Matrix" "0,1,2,3"
group.long 0x18++0x03
line.long 0x00 "DRVCTRL,Driver Control"
bitfld.long 0x00 28.--31. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 24.--27. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
newline
bitfld.long 0x00 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0x00 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0x00 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0x00 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0x00 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0x00 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0x00 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0x00 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0x00 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0x00 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0x00 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0x00 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0x00 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0x00 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0x00 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0x00 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0x00 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0x00 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0x00 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0x00 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0x00 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0x00 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0x00 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0x00 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x00
line.byte 0x00 "DBGCTRL,Debug Control"
bitfld.byte 0x00 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x00 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x03
line.long 0x00 "EVCTRL,Event Control"
bitfld.long 0x00 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x00 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x00 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x00 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x00 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x00 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x00 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x00 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x00 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x00 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x00 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x00 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x00 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x00 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x00 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x00 6.--7. "CNTSEL,Timer/counter Output Event Mode" "0: An interrupt/event is generated when a new..,1: An interrupt/event is generated when a..,2: An interrupt/event is generated when a..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x00 3.--5. "EVACT1,Timer/counter Input Event1 Action" "0: Event action disabled,1: Re-trigger counter on event,2: Direction control,3: Stop counter on event,4: Decrement counter on event,5: Period capture value in CC0 register pulse..,6: Period capture value in CC1 register pulse..,7: Non-recoverable fault"
bitfld.long 0x00 0.--2. "EVACT0,Timer/counter Input Event0 Action" "0: Event action disabled,1: Start restart or re-trigger counter on event,2: Count on event,3: Start counter on event,4: Increment counter on event,5: Count on active state of asynchronous event,6: Stamp capture,7: Non-recoverable fault"
group.long 0x24++0x03
line.long 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x00 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x00 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x00 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x00 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x00 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x00 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x00 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x00 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x00 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x00 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x00 0. "OVF,Overflow Interrupt Enable" "0,1"
group.long 0x28++0x03
line.long 0x00 "INTENSET,Interrupt Enable Set"
bitfld.long 0x00 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x00 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x00 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x00 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x00 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x00 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x00 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x00 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x00 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x00 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x00 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x00 0. "OVF,Overflow Interrupt Enable" "0,1"
group.long 0x2C++0x03
line.long 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x00 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0x00 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0x00 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0x00 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0x00 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0x00 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0x00 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0x00 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0x00 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0x00 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0x00 3. "ERR,Error" "0,1"
bitfld.long 0x00 2. "CNT,Counter" "0,1"
newline
bitfld.long 0x00 1. "TRG,Retrigger" "0,1"
bitfld.long 0x00 0. "OVF,Overflow" "0,1"
group.long 0x30++0x03
line.long 0x00 "STATUS,Status"
bitfld.long 0x00 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x00 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x00 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x00 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x00 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x00 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x00 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x00 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x00 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x00 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x00 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x00 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x00 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x00 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x00 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x00 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x00 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x00 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x00 4. "SLAVE,Slave" "0,1"
bitfld.long 0x00 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x00 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x00 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x00 0. "STOP,Stop" "0,1"
group.long 0x34++0x03
line.long 0x00 "COUNT,Count"
hexmask.long.tbyte 0x00 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x03
line.long 0x00 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x00 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x03
line.long 0x00 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x00 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x03
line.long 0x00 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x00 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x01
line.word 0x00 "PATT,Pattern"
bitfld.word 0x00 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x00 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x00 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x00 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x00 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x00 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x00 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x00 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x00 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x00 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x00 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x00 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x00 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x00 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x00 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x00 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x03
line.long 0x00 "WAVE,Waveform Control"
bitfld.long 0x00 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x00 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x00 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x00 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x00 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x00 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x00 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x00 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x00 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x00 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x00 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x00 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x00 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x00 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x00 0.--2. "WAVEGEN,Waveform Generation" "0: Normal frequency,1: Match frequency,2: Normal PWM,?,4: Dual-slope critical,5: Dual-slope with interrupt/event condition..,6: Dual-slope with interrupt/event condition..,7: Dual-slope with interrupt/event condition.."
group.long 0x40++0x03
line.long 0x00 "PER,Period"
hexmask.long.tbyte 0x00 0.--23. 1. "PER,Period Value"
group.long 0x40++0x03
line.long 0x00 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x00 4.--23. 1. "PER,Period Value"
bitfld.long 0x00 0.--3. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.long 0x40++0x03
line.long 0x00 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x00 5.--23. 1. "PER,Period Value"
bitfld.long 0x00 0.--4. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long 0x40++0x03
line.long 0x00 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x00 6.--23. 1. "PER,Period Value"
bitfld.long 0x00 0.--5. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x44)++0x03
line.long 0x00 "CC[$1],Compare and Capture $1"
hexmask.long.tbyte 0x00 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x44)++0x03
line.long 0x00 "CC_DITH4_MODE[$1],Compare and Capture $1"
hexmask.long.tbyte 0x00 4.--23. 1. "CC,Channel Compare/Capture Value"
bitfld.long 0x00 0.--3. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x44)++0x03
line.long 0x00 "CC_DITH5_MODE[$1],Compare and Capture $1"
hexmask.long.tbyte 0x00 5.--23. 1. "CC,Channel Compare/Capture Value"
bitfld.long 0x00 0.--4. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x44)++0x03
line.long 0x00 "CC_DITH6_MODE[$1],Compare and Capture $1"
hexmask.long.tbyte 0x00 6.--23. 1. "CC,Channel Compare/Capture Value"
bitfld.long 0x00 0.--5. "DITHER,Dithering Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
repeat.end
group.word 0x64++0x01
line.word 0x00 "PATTBUF,Pattern Buffer"
bitfld.word 0x00 15. "PGVB7,Pattern Generation 7 Output Value Buffer" "0,1"
bitfld.word 0x00 14. "PGVB6,Pattern Generation 6 Output Value Buffer" "0,1"
newline
bitfld.word 0x00 13. "PGVB5,Pattern Generation 5 Output Value Buffer" "0,1"
bitfld.word 0x00 12. "PGVB4,Pattern Generation 4 Output Value Buffer" "0,1"
newline
bitfld.word 0x00 11. "PGVB3,Pattern Generation 3 Output Value Buffer" "0,1"
bitfld.word 0x00 10. "PGVB2,Pattern Generation 2 Output Value Buffer" "0,1"
newline
bitfld.word 0x00 9. "PGVB1,Pattern Generation 1 Output Value Buffer" "0,1"
bitfld.word 0x00 8. "PGVB0,Pattern Generation 0 Output Value Buffer" "0,1"
newline
bitfld.word 0x00 7. "PGEB7,Pattern Generation 7 Output Enable Buffer" "0,1"
bitfld.word 0x00 6. "PGEB6,Pattern Generation 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x00 5. "PGEB5,Pattern Generation 5 Output Enable Buffer" "0,1"
bitfld.word 0x00 4. "PGEB4,Pattern Generation 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x00 3. "PGEB3,Pattern Generation 3 Output Enable Buffer" "0,1"
bitfld.word 0x00 2. "PGEB2,Pattern Generation 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x00 1. "PGEB1,Pattern Generation 1 Output Enable Buffer" "0,1"
bitfld.word 0x00 0. "PGEB0,Pattern Generation 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x03
line.long 0x00 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x00 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x03
line.long 0x00 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x00 4.--23. 1. "PERBUF,Period Buffer Value"
bitfld.long 0x00 0.--3. "DITHERBUF,Dithering Buffer Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.long 0x6C++0x03
line.long 0x00 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x00 5.--23. 1. "PERBUF,Period Buffer Value"
bitfld.long 0x00 0.--4. "DITHERBUF,Dithering Buffer Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long 0x6C++0x03
line.long 0x00 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x00 6.--23. 1. "PERBUF,Period Buffer Value"
bitfld.long 0x00 0.--5. "DITHERBUF,Dithering Buffer Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x70)++0x03
line.long 0x00 "CCBUF[$1],Compare and Capture Buffer $1"
hexmask.long.tbyte 0x00 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x70)++0x03
line.long 0x00 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer $1"
hexmask.long.tbyte 0x00 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
bitfld.long 0x00 0.--3. "CCBUF,Channel Compare/Capture Buffer Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x70)++0x03
line.long 0x00 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer $1"
hexmask.long.tbyte 0x00 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
bitfld.long 0x00 0.--4. "DITHERBUF,Dithering Buffer Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
repeat.end
repeat 4. (increment 0 1) (increment 0 0x4)
group.long ($2+0x70)++0x03
line.long 0x00 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer $1"
hexmask.long.tbyte 0x00 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
bitfld.long 0x00 0.--5. "DITHERBUF,Dithering Buffer Cycle Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
repeat.end
tree.end
repeat.end
tree.end
tree "TSENS (Temperature Sensor)"
base ad:0x40003000
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control A Register"
bitfld.byte 0x00 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x00 0. "SWRST,Software Reset" "0,1"
wgroup.byte 0x01++0x00
line.byte 0x00 "CTRLB,Control B Register"
bitfld.byte 0x00 0. "START,Start Measurement" "0,1"
group.byte 0x02++0x00
line.byte 0x00 "CTRLC,Control C Register"
bitfld.byte 0x00 4. "FREERUN,Free Running Measurement" "0,1"
bitfld.byte 0x00 0.--2. "WINMODE,Window Monitor Mode" "0: No window mode (default),1: VALUE greater than WINLT,2: VALUE less than WINUT,3: VALUE greater than WINLT and VALUE less than..,4: VALUE less than WINLT or VALUE greater than..,5: VALUE greater than WINUT with hysteresis to..,6: VALUE less than WINLST with hysteresis to WINUT,?..."
group.byte 0x03++0x00
line.byte 0x00 "EVCTRL,Event Control Register"
bitfld.byte 0x00 2. "WINEO,Window Monitor Event Out" "0,1"
bitfld.byte 0x00 1. "STARTINV,Start Conversion Event Invert Enable" "0,1"
bitfld.byte 0x00 0. "STARTEI,Start Conversion Event Input Enable" "0,1"
group.byte 0x04++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear Register"
bitfld.byte 0x00 3. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Enable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set Register"
bitfld.byte 0x00 3. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.byte 0x00 2. "WINMON,Window Monitor Interrupt Enable" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun Interrupt Enable" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready Interrupt Enable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear Register"
bitfld.byte 0x00 3. "OVF,Overflow" "0,1"
bitfld.byte 0x00 2. "WINMON,Window Monitor" "0,1"
bitfld.byte 0x00 1. "OVERRUN,Overrun" "0,1"
bitfld.byte 0x00 0. "RESRDY,Result Ready" "0,1"
rgroup.byte 0x07++0x00
line.byte 0x00 "STATUS,Status Register"
bitfld.byte 0x00 0. "OVF,Result Overflow" "0,1"
rgroup.long 0x08++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy Register"
bitfld.long 0x00 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x00 0. "SWRST,Software Reset Busy" "0,1"
rgroup.long 0x0C++0x03
line.long 0x00 "VALUE,Value Register"
hexmask.long.tbyte 0x00 0.--23. 1. "VALUE,Measurement Value"
group.long 0x10++0x03
line.long 0x00 "WINLT,Window Monitor Lower Threshold Register"
hexmask.long.tbyte 0x00 0.--23. 1. "WINLT,Window Lower Threshold"
group.long 0x14++0x03
line.long 0x00 "WINUT,Window Monitor Upper Threshold Register"
hexmask.long.tbyte 0x00 0.--23. 1. "WINUT,Window Upper Threshold"
group.long 0x18++0x03
line.long 0x00 "GAIN,Gain Register"
hexmask.long.tbyte 0x00 0.--23. 1. "GAIN,Time Amplifier Gain"
group.long 0x1C++0x03
line.long 0x00 "OFFSET,Offset Register"
hexmask.long.tbyte 0x00 0.--23. 1. "OFFSETC,Offset Correction"
group.long 0x20++0x03
line.long 0x00 "CAL,Calibration Register"
bitfld.long 0x00 8.--13. "TCAL,Temperature Calibration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 0.--5. "FCAL,Frequency Calibration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
group.byte 0x24++0x00
line.byte 0x00 "DBGCTRL,Debug Control Register"
bitfld.byte 0x00 0. "DBGRUN,Debug Run" "0,1"
tree.end
tree "WDT (Watchdog Timer Unit)"
base ad:0x40002000
group.byte 0x00++0x00
line.byte 0x00 "CTRLA,Control"
bitfld.byte 0x00 7. "ALWAYSON,Always-On" "0,1"
bitfld.byte 0x00 2. "WEN,Watchdog Timer Window Mode Enable" "0,1"
bitfld.byte 0x00 1. "ENABLE,Enable" "0,1"
group.byte 0x01++0x00
line.byte 0x00 "CONFIG,Configuration"
bitfld.byte 0x00 4.--7. "WINDOW,Window Mode Time-Out Period" "0: 8 clock cycles,1: 16 clock cycles,2: 32 clock cycles,3: 64 clock cycles,4: 128 clock cycles,5: 256 clock cycles,6: 512 clock cycles,7: 1024 clock cycles,8: 2048 clock cycles,9: 4096 clock cycles,10: 8192 clock cycles,11: 16384 clock cycles,?..."
bitfld.byte 0x00 0.--3. "PER,Time-Out Period" "0: 8 clock cycles,1: 16 clock cycles,2: 32 clock cycles,3: 64 clock cycles,4: 128 clock cycles,5: 256 clock cycles,6: 512 clock cycles,7: 1024 clock cycles,8: 2048 clock cycles,9: 4096 clock cycles,10: 8192 clock cycles,11: 16384 clock cycles,?..."
group.byte 0x02++0x00
line.byte 0x00 "EWCTRL,Early Warning Interrupt Control"
bitfld.byte 0x00 0.--3. "EWOFFSET,Early Warning Interrupt Time Offset" "0: 8 clock cycles,1: 16 clock cycles,2: 32 clock cycles,3: 64 clock cycles,4: 128 clock cycles,5: 256 clock cycles,6: 512 clock cycles,7: 1024 clock cycles,8: 2048 clock cycles,9: 4096 clock cycles,10: 8192 clock cycles,11: 16384 clock cycles,?..."
group.byte 0x04++0x00
line.byte 0x00 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x00 0. "EW,Early Warning Interrupt Enable" "0,1"
group.byte 0x05++0x00
line.byte 0x00 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x00 0. "EW,Early Warning Interrupt Enable" "0,1"
group.byte 0x06++0x00
line.byte 0x00 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x00 0. "EW,Early Warning" "0,1"
rgroup.long 0x08++0x03
line.long 0x00 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x00 4. "CLEAR,Clear Synchronization Busy" "0,1"
bitfld.long 0x00 3. "ALWAYSON,Always-On Synchronization Busy" "0,1"
bitfld.long 0x00 2. "WEN,Window Enable Synchronization Busy" "0,1"
bitfld.long 0x00 1. "ENABLE,Enable Synchronization Busy" "0,1"
wgroup.byte 0x0C++0x00
line.byte 0x00 "CLEAR,Clear"
hexmask.byte 0x00 0.--7. 1. "CLEAR,Watchdog Clear"
tree.end
autoindent.off
newline