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

49808 lines
2.3 MiB

; --------------------------------------------------------------------------------
; @Title: ATSAMR3X On-Chip Peripherals
; @Props: Released
; @Author: NEJ
; @Changelog: 2023-11-17 NEJ
; @Manufacturer: MICROCHIP - Microchip Technology Inc.
; @Doc: Generated (TRACE32, build: 164363.), based on:
; ATSAMR30E18A.svd (Ver. B), ATSAMR30G18A.svd (Ver. B),
; ATSAMR34J16B.svd (Ver. 0), ATSAMR34J17B.svd (Ver. 0),
; ATSAMR34J18B.svd (Ver. 0), ATSAMR35J16B.svd (Ver. 0),
; ATSAMR35J17B.svd (Ver. 0), ATSAMR35J18B.svd (Ver. 0)
; @Core: Cortex-M0+
; @Chip: ATSAMR3*
; @Copyright: (C) 1989-2023 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: peratsamr3x.per 17082 2023-11-24 11:08:47Z kwisniewski $
AUTOINDENT.ON CENTER TREE
ENUMDELIMITER ","
base ad:0x0
tree.close "Core Registers (Cortex-M0+)"
AUTOINDENT.PUSH
AUTOINDENT.OFF
tree "System Control"
sif COMPonent.AVAILABLE("COREDEBUG")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
width 0x8
if (CORENAME()=="CORTEXM1")
group.long 0x10++0x0b
line.long 0x00 "STCSR,SysTick Control and Status Register"
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "No effect,Processor clock"
textline " "
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
line.long 0x04 "STRVR,SysTick Reload Value Register"
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
line.long 0x08 "STCVR,SysTick Current Value Register"
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
else
group.long 0x10++0x0b
line.long 0x00 "STCSR,SysTick Control and Status Register"
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "External clock,Processor clock"
textline " "
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
line.long 0x04 "STRVR,SysTick Reload Value Register"
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
line.long 0x08 "STCVR,SysTick Current Value Register"
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
endif
if (CORENAME()=="CORTEXM1")
rgroup.long 0x1c++0x03
line.long 0x00 "STCR,SysTick Calibration Value Register"
bitfld.long 0x00 31. " NOREF ,Reads as one" "0,1"
bitfld.long 0x00 30. " SKEW ,Reads as zero" "0,1"
textline " "
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Indicates calibration value is not known"
else
rgroup.long 0x1c++0x03
line.long 0x00 "STCR,SysTick Calibration Value Register"
bitfld.long 0x00 31. " NOREF ,Indicates whether the IMPL_DEF reference clock is provided" "Implemented,Not implemented"
bitfld.long 0x00 30. " SKEW ,Indicates whether the 10ms calibration value is exact" "Exact,Inexact"
textline " "
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Holds a reload value to be used for 10ms (100Hz) timing subject to system clock skew errors"
endif
rgroup.long 0xd00++0x03
line.long 0x00 "CPUID,CPU ID Base Register"
hexmask.long.byte 0x00 24.--31. 1. " IMPLEMENTER ,Implementer code"
hexmask.long.byte 0x00 20.--23. 1. " VARIANT ,Implementation defined variant number"
textline " "
hexmask.long.byte 0x00 4.--15. 1. " PARTNO ,Number of processor within family"
hexmask.long.byte 0x00 0.--3. 1. " REVISION ,Implementation defined revision number"
group.long 0xd04++0x03
line.long 0x00 "ICSR,Interrupt Control State Register"
bitfld.long 0x00 31. " NMIPENDSET ,Setting this bit will activate an NMI" "No effect,Set pending"
bitfld.long 0x00 28. " PENDSVSET ,Set a pending PendSV interrupt" "No effect,Set pending"
textline " "
bitfld.long 0x00 27. " PENDSVCLR ,Clear a pending PendSV interrupt" "No effect,Clear pending"
bitfld.long 0x00 26. " PENDSTSET ,Set a pending SysTick" "No effect,Set pending"
textline " "
bitfld.long 0x00 25. " PENDSVCLR ,Clear a pending SysTick" "No effect,Clear pending"
bitfld.long 0x00 23. " ISRPREEMPT ,Pending exception service" "No service,Service"
textline " "
bitfld.long 0x00 22. " ISRPENDING ,External interrupt pending flag" "No interrupt,Interrupt"
hexmask.long.byte 0x00 12.--17. 1. " VECTPENDING ,Active exception number field"
textline " "
hexmask.long.byte 0x00 0.--5. 1. " VECTACTIVET ,Active exception number field"
if (CORENAME()=="CORTEXM0+")
group.long 0xd08++0x03
line.long 0x00 "VTOR,Vector Table Offset Register"
hexmask.long 0x00 7.--31. 0x80 " TBLOFF ,Vector table address"
else
textline " "
endif
group.long 0xd0c++0x03
line.long 0x00 "AIRCR,Application Interrupt and Reset Control Register"
hexmask.long.word 0x00 16.--31. 1. " VECTKEY ,Vector Key"
bitfld.long 0x00 15. " ENDIANNESS ,Data endianness bit" "Little-endian,Big-endian"
textline " "
bitfld.long 0x00 2. " SYSRESETREQ ,System reset setup request" "No effect,Reset"
bitfld.long 0x00 1. " VECTCLRACTIVE ,Clears all active state information" "No clear,Clear"
group.long 0xd10++0x03
line.long 0x00 "SCR,System Control Register"
bitfld.long 0x00 4. " SEVONPEND ,Determines whether an interrupt transition from inactive state to pending state is a wakeup event" "Not wakeup,Wakeup"
bitfld.long 0x00 2. " SLEEPDEEP ,Provides a qualifying hint indicating that waking from sleep might take longer" "Not deep sleep,Deep sleep"
textline " "
bitfld.long 0x00 1. " SLEEPONEXIT ,Determines whether, on an exit from an ISR that returns to the base level of execution priority, the processor enters a sleep state" "Disabled,Enabled"
rgroup.long 0xd14++0x03
line.long 0x00 "CCR,Configuration and Control Register"
bitfld.long 0x00 9. " STKALIGN ,Indicates whether on exception entry all exceptions are entered with 8-byte stack alignment and the context to restore it is saved" "Reserved,Aligned"
bitfld.long 0x00 3. " UNALIGN_TRP ,Indicates that all unaligned accesses results in a Hard Fault" "Reserved,Trapped"
group.long 0xd1c++0x0b
line.long 0x00 "SHPR2,System Handler Priority Register 2"
bitfld.long 0x00 30.--31. " PRI_11 ,Priority of system handler 11-SVCall" "00,01,10,11"
line.long 0x04 "SHPR3,System Handler Priority Register 3"
bitfld.long 0x04 30.--31. " PRI_15 ,Priority of system handler 15-SysTick" "00,01,10,11"
bitfld.long 0x04 22.--23. " PRI_14 ,Priority of system handler 14- PendSV" "00,01,10,11"
line.long 0x08 "SHCSR,System Handler Control and State Register"
bitfld.long 0x08 15. " SVCALLPENDED ,Reads as 1 if SVCall is pending" "Not pending,Pending"
if (CORENAME()=="CORTEXM0+")
hgroup.long 0x08++0x03
hide.long 0x00 "ACTLR,Auxiliary Control Register"
else
textline " "
endif
else
newline
textline "COREDEBUG component base address not specified"
newline
endif
tree.end
tree "Memory Protection Unit (MPU)"
sif COMPonent.AVAILABLE("COREDEBUG")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
width 15.
rgroup.long 0xD90++0x03
line.long 0x00 "MPU_TYPE,MPU Type Register"
bitfld.long 0x00 8.--15. 1. " DREGION ,Number of regions supported by the MPU" "0,1,2,3,4,5,6,7,8,?..."
group.long 0xD94++0x03
line.long 0x00 "MPU_CTRL,MPU Control Register"
bitfld.long 0x00 2. " PRIVDEFENA ,Enables the default memory map as a background region for privileged access" "Disabled,Enabled"
bitfld.long 0x00 1. " HFNMIENA ,Handlers executing with priority less than 0 access memory with the MPU enabled or with the MPU disabled" "MPU disabled,MPU enabled"
bitfld.long 0x00 0. " ENABLE ,Enables the MPU" "Disabled,Enabled"
group.long 0xD98++0x03
line.long 0x00 "MPU_RNR,MPU Region Number Register"
hexmask.long.byte 0x00 0.--7. 1. " REGION ,Indicates the memory region accessed by MPU_RBAR and MPU_RASR"
tree.close "MPU regions"
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x0
group.long 0xD9C++0x03 "Region 0"
saveout 0xD98 %l 0x0
line.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x0
line.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 0 (not implemented)"
saveout 0xD98 %l 0x0
hide.long 0x00 "MPU_RBAR0,MPU Region Base Address Register 0"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x0
hide.long 0x00 "MPU_RASR0,MPU Region Attribute and Size Register 0"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x1
group.long 0xD9C++0x03 "Region 1"
saveout 0xD98 %l 0x1
line.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x1
line.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 1 (not implemented)"
saveout 0xD98 %l 0x1
hide.long 0x00 "MPU_RBAR1,MPU Region Base Address Register 1"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x1
hide.long 0x00 "MPU_RASR1,MPU Region Attribute and Size Register 1"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x2
group.long 0xD9C++0x03 "Region 2"
saveout 0xD98 %l 0x2
line.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x2
line.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 2 (not implemented)"
saveout 0xD98 %l 0x2
hide.long 0x00 "MPU_RBAR2,MPU Region Base Address Register 2"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x2
hide.long 0x00 "MPU_RASR2,MPU Region Attribute and Size Register 2"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x3
group.long 0xD9C++0x03 "Region 3"
saveout 0xD98 %l 0x3
line.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x3
line.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 3 (not implemented)"
saveout 0xD98 %l 0x3
hide.long 0x00 "MPU_RBAR3,MPU Region Base Address Register 3"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x3
hide.long 0x00 "MPU_RASR3,MPU Region Attribute and Size Register 3"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x4
group.long 0xD9C++0x03 "Region 4"
saveout 0xD98 %l 0x4
line.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x4
line.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 4 (not implemented)"
saveout 0xD98 %l 0x4
hide.long 0x00 "MPU_RBAR4,MPU Region Base Address Register 4"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x4
hide.long 0x00 "MPU_RASR4,MPU Region Attribute and Size Register 4"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x5
group.long 0xD9C++0x03 "Region 5"
saveout 0xD98 %l 0x5
line.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x5
line.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 5 (not implemented)"
saveout 0xD98 %l 0x5
hide.long 0x00 "MPU_RBAR5,MPU Region Base Address Register 5"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x5
hide.long 0x00 "MPU_RASR5,MPU Region Attribute and Size Register 5"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x6
group.long 0xD9C++0x03 "Region 6"
saveout 0xD98 %l 0x6
line.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x6
line.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 6 (not implemented)"
saveout 0xD98 %l 0x6
hide.long 0x00 "MPU_RBAR6,MPU Region Base Address Register 6"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x6
hide.long 0x00 "MPU_RASR6,MPU Region Attribute and Size Register 6"
textline " "
textline " "
endif
if ((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xD90)&0xff00)>>8)>0x7
group.long 0xD9C++0x03 "Region 7"
saveout 0xD98 %l 0x7
line.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7"
hexmask.long 0x00 8.--31. 0x20 " ADDR ,Base address of the region"
group.long 0xDA0++0x03
saveout 0xD98 %l 0x7
line.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7"
bitfld.long 0x00 28. " XN ,eXecute Never" "Execute,Not execute"
bitfld.long 0x00 24.--26. " AP ,Data Access Permission" "No access,S:RW U:--,S:RW U:R-,S:RW U:RR,reserved,S:R- U:--,S:R- U:R-,S:R- U:R-"
bitfld.long 0x00 19.--21. " TEX ,Type Extension Field" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 18. " S ,Shareable Bit" "Not shareable,Shareable"
bitfld.long 0x00 17. " C ,Cacheable Bit" "Not cacheable,Cacheable"
bitfld.long 0x00 16. " B ,Bufferable Bit" "Not bufferable,Bufferable"
textline " "
bitfld.long 0x00 15. " SRD[7..0] ,Subregion 7 Disable" "0,1"
bitfld.long 0x00 14. ",Subregion 6 Disable" "0,1"
bitfld.long 0x00 13. ",Subregion 5 Disable" "0,1"
bitfld.long 0x00 12. ",Subregion 4 Disable" "0,1"
bitfld.long 0x00 11. ",Subregion 3 Disable" "0,1"
bitfld.long 0x00 10. ",Subregion 2 Disable" "0,1"
bitfld.long 0x00 9. ",Subregion 1 Disabled" "0,1"
bitfld.long 0x00 8. ",Subregion 0 Disable" "0,1"
bitfld.long 0x00 1.--5. " SIZE ,Indicates the region size" "-,-,-,-,-,-,-,256 B,512 B,1 kB,2 kB,4 kB,8 kB,16 kB,32 kB,64 kB,128 kB,256 kB,512 kB,1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB"
bitfld.long 0x00 0. " ENABLE ,Enables this region" "Disabled,Enabled"
else
hgroup.long 0xD9C++0x03 "Region 7 (not implemented)"
saveout 0xD98 %l 0x7
hide.long 0x00 "MPU_RBAR7,MPU Region Base Address Register 7"
hgroup.long 0xDA0++0x03
saveout 0xD98 %l 0x7
hide.long 0x00 "MPU_RASR7,MPU Region Attribute and Size Register 7"
textline " "
textline " "
endif
tree.end
width 0x0b
else
newline
textline "COREDEBUG component base address not specified"
newline
endif
tree.end
tree "Nested Vectored Interrupt Controller (NVIC)"
sif COMPonent.AVAILABLE("COREDEBUG")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
width 12.
tree "Interrupt Enable Registers"
group.long 0x100++0x03
line.long 0x00 "SET/CLREN,Interrupt Set/Clear Enable Register"
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
textline " "
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
tree.end
tree "Interrupt Pending Registers"
group.long 0x200++0x03
line.long 0x00 "SET/CLRPEN,Interrupt Set/Clear Pending Register"
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRPEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRPEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRPEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRPEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRPEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRPEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRPEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRPEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRPEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRPEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRPEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRPEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRPEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRPEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRPEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRPEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRPEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRPEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRPEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRPEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRPEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRPEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRPEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRPEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRPEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRPEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRPEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRPEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRPEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRPEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending"
textline " "
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRPEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending"
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRPEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending"
tree.end
width 6.
tree "Interrupt Priority Registers"
group.long 0x400++0x1F
line.long 0x00 "INT0,Interrupt Priority Register"
bitfld.long 0x00 30.--31. " IP_3 ,Priority of interrupt 3" "0,1,2,3"
bitfld.long 0x00 22.--23. " IP_2 ,Priority of interrupt 2" "0,1,2,3"
bitfld.long 0x00 14.--15. " IP_1 ,Priority of interrupt 1" "0,1,2,3"
bitfld.long 0x00 6.--7. " IP_0 ,Priority of interrupt 0" "0,1,2,3"
line.long 0x04 "INT1,Interrupt Priority Register"
bitfld.long 0x04 30.--31. " IP_7 ,Priority of interrupt 7" "0,1,2,3"
bitfld.long 0x04 22.--23. " IP_6 ,Priority of interrupt 6" "0,1,2,3"
bitfld.long 0x04 14.--15. " IP_5 ,Priority of interrupt 5" "0,1,2,3"
bitfld.long 0x04 6.--7. " IP_4 ,Priority of interrupt 4" "0,1,2,3"
line.long 0x08 "INT2,Interrupt Priority Register"
bitfld.long 0x08 30.--31. " IP_11 ,Priority of interrupt 11" "0,1,2,3"
bitfld.long 0x08 22.--23. " IP_10 ,Priority of interrupt 10" "0,1,2,3"
bitfld.long 0x08 14.--15. " IP_9 ,Priority of interrupt 9" "0,1,2,3"
bitfld.long 0x08 6.--7. " IP_8 ,Priority of interrupt 8" "0,1,2,3"
line.long 0x0C "INT3,Interrupt Priority Register"
bitfld.long 0x0C 30.--31. " IP_15 ,Priority of interrupt 15" "0,1,2,3"
bitfld.long 0x0C 22.--23. " IP_14 ,Priority of interrupt 14" "0,1,2,3"
bitfld.long 0x0C 14.--15. " IP_13 ,Priority of interrupt 13" "0,1,2,3"
bitfld.long 0x0C 6.--7. " IP_12 ,Priority of interrupt 12" "0,1,2,3"
line.long 0x10 "INT4,Interrupt Priority Register"
bitfld.long 0x10 30.--31. " IP_19 ,Priority of interrupt 19" "0,1,2,3"
bitfld.long 0x10 22.--23. " IP_18 ,Priority of interrupt 18" "0,1,2,3"
bitfld.long 0x10 14.--15. " IP_17 ,Priority of interrupt 17" "0,1,2,3"
bitfld.long 0x10 6.--7. " IP_16 ,Priority of interrupt 16" "0,1,2,3"
line.long 0x14 "INT5,Interrupt Priority Register"
bitfld.long 0x14 30.--31. " IP_23 ,Priority of interrupt 23" "0,1,2,3"
bitfld.long 0x14 22.--23. " IP_22 ,Priority of interrupt 22" "0,1,2,3"
bitfld.long 0x14 14.--15. " IP_21 ,Priority of interrupt 21" "0,1,2,3"
bitfld.long 0x14 6.--7. " IP_20 ,Priority of interrupt 20" "0,1,2,3"
line.long 0x18 "INT6,Interrupt Priority Register"
bitfld.long 0x18 30.--31. " IP_27 ,Priority of interrupt 27" "0,1,2,3"
bitfld.long 0x18 22.--23. " IP_26 ,Priority of interrupt 26" "0,1,2,3"
bitfld.long 0x18 14.--15. " IP_25 ,Priority of interrupt 25" "0,1,2,3"
bitfld.long 0x18 6.--7. " IP_24 ,Priority of interrupt 24" "0,1,2,3"
line.long 0x1C "INT7,Interrupt Priority Register"
bitfld.long 0x1C 30.--31. " IP_31 ,Priority of interrupt 31" "0,1,2,3"
bitfld.long 0x1C 22.--23. " IP_30 ,Priority of interrupt 30" "0,1,2,3"
bitfld.long 0x1C 14.--15. " IP_29 ,Priority of interrupt 29" "0,1,2,3"
bitfld.long 0x1C 6.--7. " IP_28 ,Priority of interrupt 28" "0,1,2,3"
tree.end
width 0x0B
else
newline
textline "COREDEBUG component base address not specified"
newline
endif
tree.end
tree "Debug"
tree "Core Debug"
sif COMPonent.AVAILABLE("COREDEBUG")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
width 0xA
group.long 0xD30++0x03
line.long 0x00 "DFSR,Data Fault Status Register"
eventfld.long 0x00 4. " EXTERNAL ,External debug request flag" "No occurred,Occurred"
eventfld.long 0x00 3. " VCATCH ,Vector catch flag" "No occurred,Occurred"
textline " "
eventfld.long 0x00 2. " DWTRAP ,Data Watchpoint flag" "No match,Match"
textline " "
eventfld.long 0x00 1. " BKPT ,BKPT flag" "No match,Match"
eventfld.long 0x00 0. " HALTED ,Halt request flag" "No request,Request"
if (CORENAME()=="CORTEXM1")
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
group.long 0xDF0++0x03
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
textline " "
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
textline " "
textline " "
textfld " "
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
else
group.long 0xDF0++0x03
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
textline " "
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
textline " "
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
textline " "
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
endif
else
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
group.long 0xDF0++0x03
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
textline " "
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
textline " "
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
textline " "
textline " "
textfld " "
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
else
group.long 0xDF0++0x03
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
textline " "
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
textline " "
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
textline " "
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
textline " "
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
textline " "
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
endif
endif
wgroup.long 0xDF4++0x03
line.long 0x00 "DCRSR,Debug Core Selector Register"
bitfld.long 0x00 16. " REGWnR ,Register Read/Write" "Read,Write"
bitfld.long 0x00 0.--4. " REGSEL ,Register Selection" "R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,Current SP,LR,DebugReturnAddress,xPSR Flags,MSP,PSP,Reserved,CONTROL[1]/PRIMASK[0],?..."
group.long 0xDF8++0x07
line.long 0x00 "DCRDR,Debug Core Register Data Register"
hexmask.long 0x00 0.--31. 1. " DATA ,Data for reading and writing registers to and from the processor"
line.long 0x04 "DEMCR,Debug Exception and Monitor Control Register"
bitfld.long 0x04 24. " DWTENA ,Global enable or disable for the DW unit" "Disabled,Enabled"
bitfld.long 0x04 10. " VC_HARDERR ,Debug trap on a Hard Fault" "No error,Error"
textline " "
bitfld.long 0x04 0. " VC_CORERESET ,Reset Vector Catch" "No reset,Reset"
width 0x0B
else
newline
textline "COREDEBUG component base address not specified"
newline
endif
tree.end
tree "Breakpoint Unit (BPU)"
sif COMPonent.AVAILABLE("BPU")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("BPU",-1))
width 8.
group.long 0x00++0x03
line.long 0x00 "BP_CTRL,Breakpoint Control Register"
bitfld.long 0x00 4.--7. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 1. " KEY ,Key field" "No write,Write"
bitfld.long 0x00 0. " ENABLE ,Breakpoint unit enable bit" "Disabled,Enabled"
group.long 0x8++0x03
line.long 0x00 "B_COMP0,Breakpoint Comparator Registers 0"
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 0" "Disabled,Enabled"
group.long 0xC++0x03
line.long 0x00 "B_COMP1,Breakpoint Comparator Registers 1"
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 1" "Disabled,Enabled"
group.long 0x10++0x03
line.long 0x00 "B_COMP2,Breakpoint Comparator Registers 2"
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 2" "Disabled,Enabled"
group.long 0x14++0x03
line.long 0x00 "B_COMP3,Breakpoint Comparator Registers 3"
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 3" "Disabled,Enabled"
else
newline
textline "BPU component base address not specified"
newline
endif
tree.end
tree "Data Watchpoint and Trace Unit (DWT)"
sif COMPonent.AVAILABLE("DWT")
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))
width 14.
rgroup.long 0x00++0x03
line.long 0x00 "DW_CTRL,DW Control Register "
bitfld.long 0x00 28.--31. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long 0x1c++0x03
line.long 0x00 "DW_PCSR,DW Program Counter Sample Register"
hexmask.long 0x00 0.--31. 1. " EIASAMPLE ,Execution instruction address sample or 0xFFFFFFFF"
group.long 0x20++0x0b
line.long 0x00 "DW_COMP0,DW Comparator Register 0"
hexmask.long 0x00 0.--31. 1. " COMP1 ,Compare against PC or the data address"
line.long 0x04 "DW_MASK0,DW Mask Register 0"
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
line.long 0x08 "DW_FUNCTION0,DW Function Register 0"
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
group.long 0x30++0x0b
line.long 0x00 "DW_COMP1,DW Comparator Register 1"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare against PC or the data address"
line.long 0x04 "DW_MASK1,DW Mask Register 1 "
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
line.long 0x08 "DW_FUNCTION1,DW Function Register 1"
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
else
newline
textline "DWT component base address not specified"
newline
endif
tree.end
tree.end
AUTOINDENT.POP
tree.end
tree "AC (Analog Comparator)"
base ad:0x43001000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
wgroup.byte 0x1++0x0
line.byte 0x0 "CTRLB,Control B"
bitfld.byte 0x0 1. "START1,Comparator 1 Start Comparison" "0,1"
bitfld.byte 0x0 0. "START0,Comparator 0 Start Comparison" "0,1"
group.word 0x2++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "INVEI1,Comparator 1 Input Event Invert Enable" "0,1"
bitfld.word 0x0 12. "INVEI0,Comparator 0 Input Event Invert Enable" "0,1"
bitfld.word 0x0 9. "COMPEI1,Comparator 1 Event Input Enable" "0,1"
newline
bitfld.word 0x0 8. "COMPEI0,Comparator 0 Event Input Enable" "0,1"
bitfld.word 0x0 4. "WINEO0,Window 0 Event Output Enable" "0,1"
bitfld.word 0x0 1. "COMPEO1,Comparator 1 Event Output Enable" "0,1"
newline
bitfld.word 0x0 0. "COMPEO0,Comparator 0 Event Output Enable" "0,1"
group.byte 0x4++0x2
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 4. "WIN0,Window 0 Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "COMP1,Comparator 1 Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "COMP0,Comparator 0 Interrupt Enable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 4. "WIN0,Window 0 Interrupt Enable" "0,1"
bitfld.byte 0x1 1. "COMP1,Comparator 1 Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "COMP0,Comparator 0 Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 4. "WIN0,Window 0" "0,1"
bitfld.byte 0x2 1. "COMP1,Comparator 1" "0,1"
bitfld.byte 0x2 0. "COMP0,Comparator 0" "0,1"
rgroup.byte 0x7++0x1
line.byte 0x0 "STATUSA,Status A"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
rbitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
rbitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 4.--5. "WSTATE0,Window 0 Current State" "0: Signal is above window,1: Signal is inside window,2: Signal is below window,?"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
newline
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
newline
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 1. "STATE1,Comparator 1 Current State" "0,1"
bitfld.byte 0x0 0. "STATE0,Comparator 0 Current State" "0,1"
endif
line.byte 0x1 "STATUSB,Status B"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
rbitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
newline
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
newline
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x1 1. "READY1,Comparator 1 Ready" "0,1"
bitfld.byte 0x1 0. "READY0,Comparator 0 Ready" "0,1"
endif
group.byte 0x9++0x1
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Debug Run" "0,1"
line.byte 0x1 "WINCTRL,Window Control"
bitfld.byte 0x1 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 0x1 0. "WEN0,Window 0 Mode Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER$1,Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL$1,Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
rgroup.long 0x20++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
rbitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
rbitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
newline
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
newline
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
newline
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
newline
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 4. "COMPCTRL1,COMPCTRL 1 Synchronization Busy" "0,1"
bitfld.long 0x0 3. "COMPCTRL0,COMPCTRL 0 Synchronization Busy" "0,1"
bitfld.long 0x0 2. "WINCTRL,WINCTRL Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0xC)++0x0
line.byte 0x0 "SCALER[$1],Scaler n"
hexmask.byte 0x0 0.--5. 1. "VALUE,Scaler Value"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "COMPCTRL[$1],Comparator Control n"
bitfld.long 0x0 28.--29. "OUT,Output" "0: The output of COMPn is not routed to the COMPn..,1: The asynchronous output of COMPn is routed to..,2: The synchronous output (including filtering) of..,?"
bitfld.long 0x0 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 0x0 20.--21. "HYST,Hysteresis Level" "0: 50mV,1: 70mV,2: 90mV,3: 110mV"
bitfld.long 0x0 19. "HYSTEN,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 16.--17. "SPEED,Speed Selection" "0: Low speed,1: Medium low speed,2: Medium high speed,3: High speed"
bitfld.long 0x0 15. "SWAP,Swap Inputs and Invert" "0,1"
newline
bitfld.long 0x0 12.--14. "MUXPOS,Positive Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: VDD Scaler,?,?,?"
bitfld.long 0x0 8.--10. "MUXNEG,Negative Input Mux Selection" "0: I/O pin 0,1: I/O pin 1,2: I/O pin 2,3: I/O pin 3,4: Ground,5: VDD scaler,6: Internal bandgap voltage,?"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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 mode.."
newline
bitfld.long 0x0 2. "SINGLE,Single-Shot Mode" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
repeat.end
endif
tree.end
tree "ADC (Analog-to-Digital Converter)"
base ad:0x43000C00
group.byte 0x0++0x6
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.byte 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
line.byte 0x1 "CTRLB,Control B"
bitfld.byte 0x1 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"
line.byte 0x2 "REFCTRL,Reference Control"
bitfld.byte 0x2 7. "REFCOMP,Reference Buffer Offset Compensation Enable" "0,1"
hexmask.byte 0x2 0.--3. 1. "REFSEL,Reference Selection"
line.byte 0x3 "EVCTRL,Event Control"
bitfld.byte 0x3 5. "WINMONEO,Window Monitor Event Out" "0,1"
bitfld.byte 0x3 4. "RESRDYEO,Result Ready Event Out" "0,1"
bitfld.byte 0x3 3. "STARTINV,Satrt Event Invert Enable" "0,1"
bitfld.byte 0x3 2. "FLUSHINV,Flush Event Invert Enable" "0,1"
newline
bitfld.byte 0x3 1. "STARTEI,Start Conversion Event Input Enable" "0,1"
bitfld.byte 0x3 0. "FLUSHEI,Flush Event Input Enable" "0,1"
line.byte 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x4 2. "WINMON,Window Monitor Interrupt Disable" "0,1"
bitfld.byte 0x4 1. "OVERRUN,Overrun Interrupt Disable" "0,1"
bitfld.byte 0x4 0. "RESRDY,Result Ready Interrupt Disable" "0,1"
line.byte 0x5 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x5 2. "WINMON,Window Monitor Interrupt Enable" "0,1"
bitfld.byte 0x5 1. "OVERRUN,Overrun Interrupt Enable" "0,1"
bitfld.byte 0x5 0. "RESRDY,Result Ready Interrupt Enable" "0,1"
line.byte 0x6 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x6 2. "WINMON,Window Monitor Interrupt Flag" "0,1"
bitfld.byte 0x6 1. "OVERRUN,Overrun Interrupt Flag" "0,1"
bitfld.byte 0x6 0. "RESRDY,Result Ready Interrupt Flag" "0,1"
rgroup.byte 0x7++0x0
line.byte 0x0 "SEQSTATUS,Sequence Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 7. "SEQBUSY,Sequence Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
newline
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.byte 0x0 0.--4. 1. "SEQSTATE,Sequence State"
endif
group.word 0x8++0x3
line.word 0x0 "INPUTCTRL,Input Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word.byte 0x0 8.--12. 1. "MUXNEG,Negative Mux Input Selection"
newline
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word.byte 0x0 0.--4. 1. "MUXPOS,Positive Mux Input Selection"
endif
line.word 0x2 "CTRLC,Control C"
bitfld.word 0x2 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),?,?,?"
bitfld.word 0x2 4.--5. "RESSEL,Conversion Result Resolution" "0: 12-bit result,1: For averaging mode output,2: 10-bit result,3: 8-bit result"
bitfld.word 0x2 3. "CORREN,Digital Correction Logic Enable" "0,1"
bitfld.word 0x2 2. "FREERUN,Free Running Mode" "0,1"
newline
bitfld.word 0x2 1. "LEFTADJ,Left-Adjusted Result" "0,1"
bitfld.word 0x2 0. "DIFFMODE,Differential Mode" "0,1"
group.byte 0xC++0x1
line.byte 0x0 "AVGCTRL,Average Control"
bitfld.byte 0x0 4.--6. "ADJRES,Adjusting Result / Division Coefficient" "0,1,2,3,4,5,6,7"
hexmask.byte 0x0 0.--3. 1. "SAMPLENUM,Number of Samples to be Collected"
line.byte 0x1 "SAMPCTRL,Sample Time Control"
bitfld.byte 0x1 7. "OFFCOMP,Comparator Offset Compensation Enable" "0,1"
hexmask.byte 0x1 0.--5. 1. "SAMPLEN,Sampling Time Length"
group.word 0xE++0x7
line.word 0x0 "WINLT,Window Monitor Lower Threshold"
hexmask.word 0x0 0.--15. 1. "WINLT,Window Lower Threshold"
line.word 0x2 "WINUT,Window Monitor Upper Threshold"
hexmask.word 0x2 0.--15. 1. "WINUT,Window Upper Threshold"
line.word 0x4 "GAINCORR,Gain Correction"
hexmask.word 0x4 0.--11. 1. "GAINCORR,Gain Correction Value"
line.word 0x6 "OFFSETCORR,Offset Correction"
hexmask.word 0x6 0.--11. 1. "OFFSETCORR,Offset Correction Value"
group.byte 0x18++0x0
line.byte 0x0 "SWTRIG,Software Trigger"
bitfld.byte 0x0 1. "START,Start ADC Conversion" "0,1"
bitfld.byte 0x0 0. "FLUSH,ADC Flush" "0,1"
group.byte 0x1C++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Debug Run" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
rbitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
rbitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
rbitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
newline
rbitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
rbitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
rbitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
rbitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
newline
rbitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
rbitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
rbitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
newline
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
newline
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
newline
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
newline
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
newline
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
newline
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
newline
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
newline
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.word 0x0 10. "SWTRIG,SWTRG Synchronization Busy" "0,1"
bitfld.word 0x0 9. "OFFSETCORR,OFFSETCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 8. "GAINCORR,GAINCORR Synchronization Busy" "0,1"
bitfld.word 0x0 7. "WINUT,WINUT Synchronization Busy" "0,1"
bitfld.word 0x0 6. "WINLT,WINLT Synchronization Busy" "0,1"
bitfld.word 0x0 5. "SAMPCTRL,SAMPCTRL Synchronization Busy" "0,1"
newline
bitfld.word 0x0 4. "AVGCTRL,AVGCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 3. "CTRLC,CTRLC Synchronization Busy" "0,1"
bitfld.word 0x0 2. "INPUTCTRL,INPUTCTRL Synchronization Busy" "0,1"
bitfld.word 0x0 1. "ENABLE,ENABLE Synchronization Busy" "0,1"
newline
bitfld.word 0x0 0. "SWRST,SWRST Synchronization Busy" "0,1"
endif
rgroup.word 0x24++0x1
line.word 0x0 "RESULT,Result"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
newline
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word 0x0 0.--15. 1. "RESULT,Result Value"
endif
group.long 0x28++0x3
line.long 0x0 "SEQCTRL,Sequence Control"
hexmask.long 0x0 0.--31. 1. "SEQEN,Enable Positive Input in the Sequence"
group.word 0x2C++0x1
line.word 0x0 "CALIB,Calibration"
bitfld.word 0x0 8.--10. "BIASREFBUF,Bias Reference Buffer Scaling" "0,1,2,3,4,5,6,7"
bitfld.word 0x0 0.--2. "BIASCOMP,Bias Comparator Scaling" "0,1,2,3,4,5,6,7"
tree.end
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "AES (Advanced Encryption Standard)"
base ad:0x42003400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
hexmask.long.byte 0x0 16.--19. 1. "CTYPE,Counter measure types"
bitfld.long 0x0 14. "XORKEY,Xor Key operation" "0,1"
bitfld.long 0x0 13. "KEYGEN,Last key generation" "0,1"
bitfld.long 0x0 12. "LOD,LOD Enable" "0,1"
bitfld.long 0x0 11. "STARTMODE,Start mode" "0,1"
bitfld.long 0x0 10. "CIPHER,Cipher mode" "0,1"
bitfld.long 0x0 8.--9. "KEYSIZE,Keysize" "0,1,2,3"
bitfld.long 0x0 5.--7. "CFBS,CFB Types" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 2.--4. "AESMODE,AES Modes of operation" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x4
line.byte 0x0 "CTRLB,Control B"
bitfld.byte 0x0 3. "GFMUL,GF Multiplication" "0,1"
bitfld.byte 0x0 2. "EOM,End of message" "0,1"
bitfld.byte 0x0 1. "NEWMSG,New message" "0,1"
bitfld.byte 0x0 0. "START,Manual Start" "0,1"
line.byte 0x1 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x1 1. "GFMCMP,GF Multiplication Complete" "0,1"
bitfld.byte 0x1 0. "ENCCMP,Encryption Complete" "0,1"
line.byte 0x2 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x2 1. "GFMCMP,GF Multiplication Complete" "0,1"
bitfld.byte 0x2 0. "ENCCMP,Encryption Complete" "0,1"
line.byte 0x3 "INTFLAG,Interrupt Flag Status"
bitfld.byte 0x3 1. "GFMCMP,GF Multiplication Complete" "0,1"
bitfld.byte 0x3 0. "ENCCMP,Encryption Complete" "0,1"
line.byte 0x4 "DATABUFPTR,Data buffer pointer"
bitfld.byte 0x4 0.--1. "INDATAPTR,Input Data Pointer" "0,1,2,3"
wgroup.byte 0x9++0x0
line.byte 0x0 "DBGCTRL,Debug control"
bitfld.byte 0x0 0. "DBGRUN,Debug Run" "0,1"
repeat 8. (increment 0x0 0x1)(increment 0x0 0x4)
wgroup.long ($2+0xC)++0x3
line.long 0x0 "KEYWORD[$1],Keyword n"
repeat.end
group.long 0x38++0x3
line.long 0x0 "INDATA,Indata"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
wgroup.long ($2+0x3C)++0x3
line.long 0x0 "INTVECTV[$1],Initialisation Vector n"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x5C)++0x3
line.long 0x0 "HASHKEY[$1],Hash key n"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x6C)++0x3
line.long 0x0 "GHASH[$1],Galois Hash n"
repeat.end
group.long 0x80++0x7
line.long 0x0 "CIPLEN,Cipher Length"
line.long 0x4 "RANDSEED,Random Seed"
tree.end
endif
tree "CCL (Configurable Custom Logic)"
base ad:0x43001C00
group.byte 0x0++0x0
line.byte 0x0 "CTRL,Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0: Generic clock is not required in standby sleep..,1: Generic clock is required in standby sleep mode"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 1. "ENABLE,Enable" "0: The peripheral is disabled,1: The peripheral is enabled"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0: The peripheral is not reset,1: The peripheral is reset"
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL$1,SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL$1,LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,Event Output Enable" "0,1"
newline
bitfld.long 0x0 21. "LUTEI,Event Input Enable" "0,1"
bitfld.long 0x0 20. "INVEI,Input Event Invert" "0,1"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0,1"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x4)++0x0
line.byte 0x0 "SEQCTRL[$1],SEQ Control x"
hexmask.byte 0x0 0.--3. 1. "SEQSEL,Sequential Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x8)++0x3
line.long 0x0 "LUTCTRL[$1],LUT Control x"
hexmask.long.byte 0x0 24.--31. 1. "TRUTH,Truth Value"
bitfld.long 0x0 22. "LUTEO,LUT Event Output Enable" "0: LUT event output is disabled,1: LUT event output is enabled"
newline
bitfld.long 0x0 21. "LUTEI,LUT Event Input Enable" "0: LUT incoming event is disabled,1: LUT incoming event is enabled"
bitfld.long 0x0 20. "INVEI,Inverted Event Input Enable" "0: Incoming event is not inverted,1: Incoming event is inverted"
newline
hexmask.long.byte 0x0 16.--19. 1. "INSEL2,Input Selection 2"
hexmask.long.byte 0x0 12.--15. 1. "INSEL1,Input Selection 1"
newline
hexmask.long.byte 0x0 8.--11. 1. "INSEL0,Input Selection 0"
bitfld.long 0x0 7. "EDGESEL,Edge Selection" "0: Edge detector is disabled,1: Edge detector is enabled"
newline
bitfld.long 0x0 4.--5. "FILTSEL,Filter Selection" "0: Filter disabled,1: Synchronizer enabled,2: Filter enabled,?"
bitfld.long 0x0 1. "ENABLE,LUT Enable" "0: LUT block is disabled,1: LUT block is enabled"
repeat.end
endif
tree.end
tree "DMAC (Direct Memory Access Controller)"
base ad:0x44000400
group.word 0x0++0x3
line.word 0x0 "CTRL,Control"
bitfld.word 0x0 11. "LVLEN3,Priority Level 3 Enable" "0,1"
bitfld.word 0x0 10. "LVLEN2,Priority Level 2 Enable" "0,1"
newline
bitfld.word 0x0 9. "LVLEN1,Priority Level 1 Enable" "0,1"
bitfld.word 0x0 8. "LVLEN0,Priority Level 0 Enable" "0,1"
newline
bitfld.word 0x0 2. "CRCENABLE,CRC Enable" "0,1"
bitfld.word 0x0 1. "DMAENABLE,DMA Enable" "0,1"
newline
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
line.word 0x2 "CRCCTRL,CRC Control"
hexmask.word.byte 0x2 8.--13. 1. "CRCSRC,CRC Input Source"
bitfld.word 0x2 2.--3. "CRCPOLY,CRC Polynomial Type" "0: CRC-16 (CRC-CCITT),1: CRC32 (IEEE 802.3),?,?"
newline
bitfld.word 0x2 0.--1. "CRCBEATSIZE,CRC Beat Size" "0: 8-bit bus transfer,1: 16-bit bus transfer,2: 32-bit bus transfer,?"
group.long 0x4++0x7
line.long 0x0 "CRCDATAIN,CRC Data Input"
hexmask.long 0x0 0.--31. 1. "CRCDATAIN,CRC Data Input"
line.long 0x4 "CRCCHKSUM,CRC Checksum"
hexmask.long 0x4 0.--31. 1. "CRCCHKSUM,CRC Checksum"
group.byte 0xC++0x2
line.byte 0x0 "CRCSTATUS,CRC Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 1. "CRCZERO,CRC Zero" "0,1"
endif
bitfld.byte 0x0 0. "CRCBUSY,CRC Module Busy" "0,1"
line.byte 0x1 "DBGCTRL,Debug Control"
bitfld.byte 0x1 0. "DBGRUN,Debug Run" "0,1"
line.byte 0x2 "QOSCTRL,QOS Control"
bitfld.byte 0x2 4.--5. "DQOS,Data Transfer Quality of Service" "0: Background (no sensitive operation),1: Sensitive Bandwidth,2: Sensitive Latency,3: Critical Latency"
bitfld.byte 0x2 2.--3. "FQOS,Fetch Quality of Service" "0: Background (no sensitive operation),1: Sensitive Bandwidth,2: Sensitive Latency,3: Critical Latency"
newline
bitfld.byte 0x2 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++0x7
line.long 0x0 "SWTRIGCTRL,Software Trigger Control"
bitfld.long 0x0 15. "SWTRIG15,Channel 15 Software Trigger" "0,1"
bitfld.long 0x0 14. "SWTRIG14,Channel 14 Software Trigger" "0,1"
newline
bitfld.long 0x0 13. "SWTRIG13,Channel 13 Software Trigger" "0,1"
bitfld.long 0x0 12. "SWTRIG12,Channel 12 Software Trigger" "0,1"
newline
bitfld.long 0x0 11. "SWTRIG11,Channel 11 Software Trigger" "0,1"
bitfld.long 0x0 10. "SWTRIG10,Channel 10 Software Trigger" "0,1"
newline
bitfld.long 0x0 9. "SWTRIG9,Channel 9 Software Trigger" "0,1"
bitfld.long 0x0 8. "SWTRIG8,Channel 8 Software Trigger" "0,1"
newline
bitfld.long 0x0 7. "SWTRIG7,Channel 7 Software Trigger" "0,1"
bitfld.long 0x0 6. "SWTRIG6,Channel 6 Software Trigger" "0,1"
newline
bitfld.long 0x0 5. "SWTRIG5,Channel 5 Software Trigger" "0,1"
bitfld.long 0x0 4. "SWTRIG4,Channel 4 Software Trigger" "0,1"
newline
bitfld.long 0x0 3. "SWTRIG3,Channel 3 Software Trigger" "0,1"
bitfld.long 0x0 2. "SWTRIG2,Channel 2 Software Trigger" "0,1"
newline
bitfld.long 0x0 1. "SWTRIG1,Channel 1 Software Trigger" "0,1"
bitfld.long 0x0 0. "SWTRIG0,Channel 0 Software Trigger" "0,1"
line.long 0x4 "PRICTRL0,Priority Control 0"
bitfld.long 0x4 31. "RRLVLEN3,Level 3 Round-Robin Scheduling Enable" "0,1"
hexmask.long.byte 0x4 24.--27. 1. "LVLPRI3,Level 3 Channel Priority Number"
newline
bitfld.long 0x4 23. "RRLVLEN2,Level 2 Round-Robin Scheduling Enable" "0,1"
hexmask.long.byte 0x4 16.--19. 1. "LVLPRI2,Level 2 Channel Priority Number"
newline
bitfld.long 0x4 15. "RRLVLEN1,Level 1 Round-Robin Scheduling Enable" "0,1"
hexmask.long.byte 0x4 8.--11. 1. "LVLPRI1,Level 1 Channel Priority Number"
newline
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 7. "RRLVLEN0,Level 0 Round-Robin Scheduling Enable" "0: Static arbitration scheme for channels with..,1: Round-robin arbitration scheme for channels with.."
endif
hexmask.long.byte 0x4 0.--3. 1. "LVLPRI0,Level 0 Channel Priority Number"
group.word 0x20++0x1
line.word 0x0 "INTPEND,Interrupt Pending"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 15. "PEND,Pending" "0,1"
rbitfld.word 0x0 14. "BUSY,Busy" "0,1"
newline
rbitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
newline
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
newline
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
newline
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
newline
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
newline
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.word 0x0 15. "PEND,Pending" "0,1"
bitfld.word 0x0 14. "BUSY,Busy" "0,1"
newline
bitfld.word 0x0 13. "FERR,Fetch Error" "0,1"
endif
bitfld.word 0x0 10. "SUSP,Channel Suspend" "0,1"
newline
bitfld.word 0x0 9. "TCMPL,Transfer Complete" "0,1"
bitfld.word 0x0 8. "TERR,Transfer Error" "0,1"
newline
hexmask.word.byte 0x0 0.--3. 1. "ID,Channel ID"
rgroup.long 0x24++0xF
line.long 0x0 "INTSTATUS,Interrupt Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
rbitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
rbitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
rbitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
rbitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
rbitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
rbitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
rbitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
rbitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
rbitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 15. "CHINT15,Channel 15 Pending Interrupt" "0,1"
bitfld.long 0x0 14. "CHINT14,Channel 14 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 13. "CHINT13,Channel 13 Pending Interrupt" "0,1"
bitfld.long 0x0 12. "CHINT12,Channel 12 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 11. "CHINT11,Channel 11 Pending Interrupt" "0,1"
bitfld.long 0x0 10. "CHINT10,Channel 10 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 9. "CHINT9,Channel 9 Pending Interrupt" "0,1"
bitfld.long 0x0 8. "CHINT8,Channel 8 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 7. "CHINT7,Channel 7 Pending Interrupt" "0,1"
bitfld.long 0x0 6. "CHINT6,Channel 6 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 5. "CHINT5,Channel 5 Pending Interrupt" "0,1"
bitfld.long 0x0 4. "CHINT4,Channel 4 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 3. "CHINT3,Channel 3 Pending Interrupt" "0,1"
bitfld.long 0x0 2. "CHINT2,Channel 2 Pending Interrupt" "0,1"
newline
bitfld.long 0x0 1. "CHINT1,Channel 1 Pending Interrupt" "0,1"
bitfld.long 0x0 0. "CHINT0,Channel 0 Pending Interrupt" "0,1"
endif
line.long 0x4 "BUSYCH,Busy Channels"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
rbitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
rbitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
rbitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
rbitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
rbitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
rbitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
rbitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
rbitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
rbitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
rbitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
rbitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
rbitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
rbitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
rbitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
rbitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 15. "BUSYCH15,Busy Channel 15" "0,1"
bitfld.long 0x4 14. "BUSYCH14,Busy Channel 14" "0,1"
newline
bitfld.long 0x4 13. "BUSYCH13,Busy Channel 13" "0,1"
bitfld.long 0x4 12. "BUSYCH12,Busy Channel 12" "0,1"
newline
bitfld.long 0x4 11. "BUSYCH11,Busy Channel 11" "0,1"
bitfld.long 0x4 10. "BUSYCH10,Busy Channel 10" "0,1"
newline
bitfld.long 0x4 9. "BUSYCH9,Busy Channel 9" "0,1"
bitfld.long 0x4 8. "BUSYCH8,Busy Channel 8" "0,1"
newline
bitfld.long 0x4 7. "BUSYCH7,Busy Channel 7" "0,1"
bitfld.long 0x4 6. "BUSYCH6,Busy Channel 6" "0,1"
newline
bitfld.long 0x4 5. "BUSYCH5,Busy Channel 5" "0,1"
bitfld.long 0x4 4. "BUSYCH4,Busy Channel 4" "0,1"
newline
bitfld.long 0x4 3. "BUSYCH3,Busy Channel 3" "0,1"
bitfld.long 0x4 2. "BUSYCH2,Busy Channel 2" "0,1"
newline
bitfld.long 0x4 1. "BUSYCH1,Busy Channel 1" "0,1"
bitfld.long 0x4 0. "BUSYCH0,Busy Channel 0" "0,1"
endif
line.long 0x8 "PENDCH,Pending Channels"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
rbitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
rbitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
rbitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
rbitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
rbitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
rbitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
rbitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
rbitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
rbitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
rbitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
rbitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
rbitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
rbitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
rbitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
rbitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x8 15. "PENDCH15,Pending Channel 15" "0,1"
bitfld.long 0x8 14. "PENDCH14,Pending Channel 14" "0,1"
newline
bitfld.long 0x8 13. "PENDCH13,Pending Channel 13" "0,1"
bitfld.long 0x8 12. "PENDCH12,Pending Channel 12" "0,1"
newline
bitfld.long 0x8 11. "PENDCH11,Pending Channel 11" "0,1"
bitfld.long 0x8 10. "PENDCH10,Pending Channel 10" "0,1"
newline
bitfld.long 0x8 9. "PENDCH9,Pending Channel 9" "0,1"
bitfld.long 0x8 8. "PENDCH8,Pending Channel 8" "0,1"
newline
bitfld.long 0x8 7. "PENDCH7,Pending Channel 7" "0,1"
bitfld.long 0x8 6. "PENDCH6,Pending Channel 6" "0,1"
newline
bitfld.long 0x8 5. "PENDCH5,Pending Channel 5" "0,1"
bitfld.long 0x8 4. "PENDCH4,Pending Channel 4" "0,1"
newline
bitfld.long 0x8 3. "PENDCH3,Pending Channel 3" "0,1"
bitfld.long 0x8 2. "PENDCH2,Pending Channel 2" "0,1"
newline
bitfld.long 0x8 1. "PENDCH1,Pending Channel 1" "0,1"
bitfld.long 0x8 0. "PENDCH0,Pending Channel 0" "0,1"
endif
line.long 0xC "ACTIVE,Active Channel and Levels"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
rbitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
newline
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
rbitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
rbitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
rbitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
rbitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.word 0xC 16.--31. 1. "BTCNT,Active Channel Block Transfer Count"
newline
bitfld.long 0xC 15. "ABUSY,Active Channel Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
newline
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
newline
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0xC 8.--12. 1. "ID,Active Channel ID"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 3. "LVLEX3,Level 3 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 2. "LVLEX2,Level 2 Channel Trigger Request Executing" "0,1"
bitfld.long 0xC 1. "LVLEX1,Level 1 Channel Trigger Request Executing" "0,1"
newline
bitfld.long 0xC 0. "LVLEX0,Level 0 Channel Trigger Request Executing" "0,1"
endif
group.long 0x34++0x7
line.long 0x0 "BASEADDR,Descriptor Memory Section Base Address"
hexmask.long 0x0 0.--31. 1. "BASEADDR,Descriptor Memory Base Address"
line.long 0x4 "WRBADDR,Write-Back Memory Section Base Address"
hexmask.long 0x4 0.--31. 1. "WRBADDR,Write-Back Memory Base Address"
group.byte 0x3F++0x1
line.byte 0x0 "CHID,Channel ID"
hexmask.byte 0x0 0.--3. 1. "ID,Channel ID"
line.byte 0x1 "CHCTRLA,Channel Control A"
bitfld.byte 0x1 6. "RUNSTDBY,Channel run in standby" "0,1"
bitfld.byte 0x1 1. "ENABLE,Channel Enable" "0,1"
newline
bitfld.byte 0x1 0. "SWRST,Channel Software Reset" "0,1"
group.long 0x44++0x3
line.long 0x0 "CHCTRLB,Channel Control B"
bitfld.long 0x0 24.--25. "CMD,Software Command" "0: No action,1: Channel suspend operation,2: Channel resume operation,?"
bitfld.long 0x0 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
hexmask.long.byte 0x0 8.--13. 1. "TRIGSRC,Trigger Source"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 5.--6. "LVL,Channel Arbitration Level" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 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"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 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
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 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"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 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
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 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"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 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
endif
bitfld.long 0x0 4. "EVOE,Channel Event Output Enable" "0,1"
bitfld.long 0x0 3. "EVIE,Channel Event Input Enable" "0,1"
newline
bitfld.long 0x0 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++0x2
line.byte 0x0 "CHINTENCLR,Channel Interrupt Enable Clear"
bitfld.byte 0x0 2. "SUSP,Channel Suspend Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TCMPL,Channel Transfer Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "TERR,Channel Transfer Error Interrupt Enable" "0,1"
line.byte 0x1 "CHINTENSET,Channel Interrupt Enable Set"
bitfld.byte 0x1 2. "SUSP,Channel Suspend Interrupt Enable" "0,1"
bitfld.byte 0x1 1. "TCMPL,Channel Transfer Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x1 0. "TERR,Channel Transfer Error Interrupt Enable" "0,1"
line.byte 0x2 "CHINTFLAG,Channel Interrupt Flag Status and Clear"
bitfld.byte 0x2 2. "SUSP,Channel Suspend" "0,1"
bitfld.byte 0x2 1. "TCMPL,Channel Transfer Complete" "0,1"
newline
bitfld.byte 0x2 0. "TERR,Channel Transfer Error" "0,1"
rgroup.byte 0x4F++0x0
line.byte 0x0 "CHSTATUS,Channel Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
rbitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
newline
rbitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
newline
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
newline
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
newline
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
newline
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
newline
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 2. "FERR,Channel Fetch Error" "0,1"
bitfld.byte 0x0 1. "BUSY,Channel Busy" "0,1"
newline
bitfld.byte 0x0 0. "PEND,Channel Pending" "0,1"
endif
tree.end
tree "DSU (Device Service Unit)"
base ad:0x41002000
wgroup.byte 0x0++0x0
line.byte 0x0 "CTRL,Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 7. "SMSA,Start Memory Stream Access" "0,1"
bitfld.byte 0x0 6. "ARR,Auxiliary Row Read" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 4. "CE,Chip-Erase" "0,1"
bitfld.byte 0x0 3. "MBIST,Memory built-in self-test" "0,1"
bitfld.byte 0x0 2. "CRC,32-bit Cyclic Redundancy Code" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x1++0x0
line.byte 0x0 "STATUSA,Status A"
bitfld.byte 0x0 4. "PERR,Protection Error" "0,1"
bitfld.byte 0x0 3. "FAIL,Failure" "0,1"
bitfld.byte 0x0 2. "BERR,Bus Error" "0,1"
bitfld.byte 0x0 1. "CRSTEXT,CPU Reset Phase Extension" "0,1"
bitfld.byte 0x0 0. "DONE,Done" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "STATUSB,Status B"
bitfld.byte 0x0 4. "HPE,Hot-Plugging Enable" "0,1"
bitfld.byte 0x0 3. "DCCD1,Debug Communication Channel 1 Dirty" "0,1"
bitfld.byte 0x0 2. "DCCD0,Debug Communication Channel 0 Dirty" "0,1"
bitfld.byte 0x0 1. "DBGPRES,Debugger Present" "0,1"
bitfld.byte 0x0 0. "PROT,Protected" "0,1"
group.long 0x4++0xB
line.long 0x0 "ADDR,Address"
hexmask.long 0x0 2.--31. 1. "ADDR,Address"
bitfld.long 0x0 0.--1. "AMOD,Access Mode" "0,1,2,3"
line.long 0x4 "LENGTH,Length"
hexmask.long 0x4 2.--31. 1. "LENGTH,Length"
line.long 0x8 "DATA,Data"
hexmask.long 0x8 0.--31. 1. "DATA,Data"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC$1,Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG$1,Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
rgroup.long 0x18++0x3
line.long 0x0 "DID,Device Identification"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
newline
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
newline
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x0 28.--31. 1. "PROCESSOR,Processor"
hexmask.long.byte 0x0 23.--27. 1. "FAMILY,Family"
newline
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
newline
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
newline
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
newline
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x0 16.--21. 1. "SERIES,Series"
hexmask.long.byte 0x0 12.--15. 1. "DIE,Die Number"
hexmask.long.byte 0x0 8.--11. 1. "REVISION,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "DEVSEL,Device Select"
endif
rgroup.long 0x1000++0xB
line.long 0x0 "ENTRY0,Coresight ROM Table Entry 0"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
rbitfld.long 0x0 1. "FMT,Format" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
newline
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.tbyte 0x0 12.--31. 1. "ADDOFF,Address Offset"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 1. "FMT,Format" "0,1"
endif
bitfld.long 0x0 0. "EPRES,Entry Present" "0,1"
line.long 0x4 "ENTRY1,Coresight ROM Table Entry 1"
line.long 0x8 "END,Coresight ROM Table End"
hexmask.long 0x8 0.--31. 1. "END,End Marker"
rgroup.long 0x1FCC++0x33
line.long 0x0 "MEMTYPE,Coresight ROM Table Memory Type"
bitfld.long 0x0 0. "SMEMP,System Memory Present" "0,1"
line.long 0x4 "PID4,Peripheral Identification 4"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x4 4.--7. 1. "FKBC,4KB count"
endif
hexmask.long.byte 0x4 0.--3. 1. "JEPCC,JEP-106 Continuation Code"
line.long 0x8 "PID5,Peripheral Identification 5"
line.long 0xC "PID6,Peripheral Identification 6"
line.long 0x10 "PID7,Peripheral Identification 7"
line.long 0x14 "PID0,Peripheral Identification 0"
hexmask.long.byte 0x14 0.--7. 1. "PARTNBL,Part Number Low"
line.long 0x18 "PID1,Peripheral Identification 1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x18 4.--7. 1. "JEPIDCL,Low part of the JEP-106 Identity Code"
endif
hexmask.long.byte 0x18 0.--3. 1. "PARTNBH,Part Number High"
line.long 0x1C "PID2,Peripheral Identification 2"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
rbitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x1C 4.--7. 1. "REVISION,Revision Number"
bitfld.long 0x1C 3. "JEPU,JEP-106 Identity Code is used" "0,1"
endif
bitfld.long 0x1C 0.--2. "JEPIDCH,JEP-106 Identity Code High" "0,1,2,3,4,5,6,7"
line.long 0x20 "PID3,Peripheral Identification 3"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x20 4.--7. 1. "REVAND,Revision Number"
endif
hexmask.long.byte 0x20 0.--3. 1. "CUSMOD,ARM CUSMOD"
line.long 0x24 "CID0,Component Identification 0"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x24 0.--7. 1. "PREAMBLEB0,Preamble Byte 0"
endif
line.long 0x28 "CID1,Component Identification 1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x28 4.--7. 1. "CCLASS,Component Class"
hexmask.long.byte 0x28 0.--3. 1. "PREAMBLE,Preamble"
endif
line.long 0x2C "CID2,Component Identification 2"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.byte 0x2C 0.--7. 1. "PREAMBLEB2,Preamble Byte 2"
endif
line.long 0x30 "CID3,Component Identification 3"
hexmask.long.byte 0x30 0.--7. 1. "PREAMBLEB3,Preamble Byte 3"
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x10)++0x3
line.long 0x0 "DCC[$1],Debug Communication Channel n"
hexmask.long 0x0 0.--31. 1. "DATA,Data"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0xF0)++0x3
line.long 0x0 "DCFG[$1],Device Configuration"
hexmask.long 0x0 0.--31. 1. "DCFG,Device Configuration"
repeat.end
endif
tree.end
tree "EIC (External Interrupt Controller)"
base ad:0x40002400
group.byte 0x0++0x1
line.byte 0x0 "CTRLA,Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 4. "CKSEL,Clock Selection" "0: Clocked by GCLK,1: Clocked by ULP32K"
newline
endif
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
line.byte 0x1 "NMICTRL,NMI Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x1 4. "NMIASYNCH,NMI Asynchronous edge Detection Enable" "0: Edge detection is clock synchronously operated,1: Edge detection is clock asynchronously operated"
endif
bitfld.byte 0x1 3. "NMIFILTEN,NMI Filter Enable" "0,1"
newline
bitfld.byte 0x1 0.--2. "NMISENSE,NMI Input 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 0x2++0x1
line.word 0x0 "NMIFLAG,NMI Interrupt Flag"
bitfld.word 0x0 0. "NMI,NMI Interrupt Flag" "0,1"
rgroup.long 0x4++0x3
line.long 0x0 "SYNCBUSY,Syncbusy register"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
rbitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 1. "ENABLE,Enable synchronisation" "0,1"
bitfld.long 0x0 0. "SWRST,Software reset synchronisation" "0,1"
endif
group.long 0x8++0x13
line.long 0x0 "EVCTRL,Event Control"
hexmask.long.word 0x0 0.--15. 1. "EXTINTEO,External Interrupt Event Output Enable"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
hexmask.long.word 0x4 0.--15. 1. "EXTINT,External Interrupt Disable"
line.long 0x8 "INTENSET,Interrupt Enable Set"
hexmask.long.word 0x8 0.--15. 1. "EXTINT,External Interrupt Disable"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
hexmask.long.word 0xC 0.--15. 1. "EXTINT,External Interrupt Flag"
line.long 0x10 "ASYNCH,EIC Asynchronous edge Detection Enable"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
newline
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.word 0x10 0.--15. 1. "ASYNCH,EIC Asynchronous edge Detection Enable"
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG$1,Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CONFIG[$1],Configuration n"
bitfld.long 0x0 31. "FILTEN7,Filter Enable 7" "0,1"
bitfld.long 0x0 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 0x0 27. "FILTEN6,Filter Enable 6" "0,1"
bitfld.long 0x0 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 0x0 23. "FILTEN5,Filter Enable 5" "0,1"
bitfld.long 0x0 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 0x0 19. "FILTEN4,Filter Enable 4" "0,1"
bitfld.long 0x0 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 0x0 15. "FILTEN3,Filter Enable 3" "0,1"
bitfld.long 0x0 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 0x0 11. "FILTEN2,Filter Enable 2" "0,1"
bitfld.long 0x0 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 0x0 7. "FILTEN1,Filter Enable 1" "0,1"
bitfld.long 0x0 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 0x0 3. "FILTEN0,Filter Enable 0" "0,1"
bitfld.long 0x0 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,?,?"
repeat.end
endif
tree.end
tree "EVSYS (Event System Interface)"
base ad:0x43000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
endif
rgroup.long 0xC++0x3
line.long 0x0 "CHSTATUS,Channel Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
rbitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
rbitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
rbitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
rbitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
rbitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
rbitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
rbitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
rbitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
rbitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
rbitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
newline
rbitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
rbitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
rbitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
rbitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
rbitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
rbitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
rbitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
rbitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
rbitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
rbitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
rbitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
newline
rbitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
rbitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
newline
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
newline
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
newline
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
newline
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
newline
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 27. "CHBUSY11,Channel 11 Busy" "0,1"
bitfld.long 0x0 26. "CHBUSY10,Channel 10 Busy" "0,1"
bitfld.long 0x0 25. "CHBUSY9,Channel 9 Busy" "0,1"
bitfld.long 0x0 24. "CHBUSY8,Channel 8 Busy" "0,1"
newline
bitfld.long 0x0 23. "CHBUSY7,Channel 7 Busy" "0,1"
bitfld.long 0x0 22. "CHBUSY6,Channel 6 Busy" "0,1"
bitfld.long 0x0 21. "CHBUSY5,Channel 5 Busy" "0,1"
bitfld.long 0x0 20. "CHBUSY4,Channel 4 Busy" "0,1"
bitfld.long 0x0 19. "CHBUSY3,Channel 3 Busy" "0,1"
bitfld.long 0x0 18. "CHBUSY2,Channel 2 Busy" "0,1"
bitfld.long 0x0 17. "CHBUSY1,Channel 1 Busy" "0,1"
bitfld.long 0x0 16. "CHBUSY0,Channel 0 Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
newline
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
newline
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
newline
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
newline
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
newline
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 11. "USRRDY11,Channel 11 User Ready" "0,1"
bitfld.long 0x0 10. "USRRDY10,Channel 10 User Ready" "0,1"
bitfld.long 0x0 9. "USRRDY9,Channel 9 User Ready" "0,1"
bitfld.long 0x0 8. "USRRDY8,Channel 8 User Ready" "0,1"
bitfld.long 0x0 7. "USRRDY7,Channel 7 User Ready" "0,1"
bitfld.long 0x0 6. "USRRDY6,Channel 6 User Ready" "0,1"
bitfld.long 0x0 5. "USRRDY5,Channel 5 User Ready" "0,1"
bitfld.long 0x0 4. "USRRDY4,Channel 4 User Ready" "0,1"
bitfld.long 0x0 3. "USRRDY3,Channel 3 User Ready" "0,1"
newline
bitfld.long 0x0 2. "USRRDY2,Channel 2 User Ready" "0,1"
bitfld.long 0x0 1. "USRRDY1,Channel 1 User Ready" "0,1"
bitfld.long 0x0 0. "USRRDY0,Channel 0 User Ready" "0,1"
endif
group.long 0x10++0xB
line.long 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x0 27. "EVD11,Channel 11 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 26. "EVD10,Channel 10 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 25. "EVD9,Channel 9 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 24. "EVD8,Channel 8 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 23. "EVD7,Channel 7 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 22. "EVD6,Channel 6 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 21. "EVD5,Channel 5 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 20. "EVD4,Channel 4 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 19. "EVD3,Channel 3 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 18. "EVD2,Channel 2 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 17. "EVD1,Channel 1 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x0 16. "EVD0,Channel 0 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x0 11. "OVR11,Channel 11 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 10. "OVR10,Channel 10 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 9. "OVR9,Channel 9 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 8. "OVR8,Channel 8 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 7. "OVR7,Channel 7 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 6. "OVR6,Channel 6 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 5. "OVR5,Channel 5 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 4. "OVR4,Channel 4 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 3. "OVR3,Channel 3 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 2. "OVR2,Channel 2 Overrun Interrupt Enable" "0,1"
newline
bitfld.long 0x0 1. "OVR1,Channel 1 Overrun Interrupt Enable" "0,1"
bitfld.long 0x0 0. "OVR0,Channel 0 Overrun Interrupt Enable" "0,1"
line.long 0x4 "INTENSET,Interrupt Enable Set"
bitfld.long 0x4 27. "EVD11,Channel 11 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 26. "EVD10,Channel 10 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 25. "EVD9,Channel 9 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 24. "EVD8,Channel 8 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 23. "EVD7,Channel 7 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 22. "EVD6,Channel 6 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 21. "EVD5,Channel 5 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 20. "EVD4,Channel 4 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 19. "EVD3,Channel 3 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 18. "EVD2,Channel 2 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 17. "EVD1,Channel 1 Event Detection Interrupt Enable" "0,1"
newline
bitfld.long 0x4 16. "EVD0,Channel 0 Event Detection Interrupt Enable" "0,1"
bitfld.long 0x4 11. "OVR11,Channel 11 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 10. "OVR10,Channel 10 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 9. "OVR9,Channel 9 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 8. "OVR8,Channel 8 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 7. "OVR7,Channel 7 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 6. "OVR6,Channel 6 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 5. "OVR5,Channel 5 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 4. "OVR4,Channel 4 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 3. "OVR3,Channel 3 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 2. "OVR2,Channel 2 Overrun Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "OVR1,Channel 1 Overrun Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVR0,Channel 0 Overrun Interrupt Enable" "0,1"
line.long 0x8 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x8 27. "EVD11,Channel 11 Event Detection" "0,1"
bitfld.long 0x8 26. "EVD10,Channel 10 Event Detection" "0,1"
bitfld.long 0x8 25. "EVD9,Channel 9 Event Detection" "0,1"
bitfld.long 0x8 24. "EVD8,Channel 8 Event Detection" "0,1"
bitfld.long 0x8 23. "EVD7,Channel 7 Event Detection" "0,1"
bitfld.long 0x8 22. "EVD6,Channel 6 Event Detection" "0,1"
bitfld.long 0x8 21. "EVD5,Channel 5 Event Detection" "0,1"
bitfld.long 0x8 20. "EVD4,Channel 4 Event Detection" "0,1"
bitfld.long 0x8 19. "EVD3,Channel 3 Event Detection" "0,1"
bitfld.long 0x8 18. "EVD2,Channel 2 Event Detection" "0,1"
bitfld.long 0x8 17. "EVD1,Channel 1 Event Detection" "0,1"
newline
bitfld.long 0x8 16. "EVD0,Channel 0 Event Detection" "0,1"
bitfld.long 0x8 11. "OVR11,Channel 11 Overrun" "0,1"
bitfld.long 0x8 10. "OVR10,Channel 10 Overrun" "0,1"
bitfld.long 0x8 9. "OVR9,Channel 9 Overrun" "0,1"
bitfld.long 0x8 8. "OVR8,Channel 8 Overrun" "0,1"
bitfld.long 0x8 7. "OVR7,Channel 7 Overrun" "0,1"
bitfld.long 0x8 6. "OVR6,Channel 6 Overrun" "0,1"
bitfld.long 0x8 5. "OVR5,Channel 5 Overrun" "0,1"
bitfld.long 0x8 4. "OVR4,Channel 4 Overrun" "0,1"
bitfld.long 0x8 3. "OVR3,Channel 3 Overrun" "0,1"
bitfld.long 0x8 2. "OVR2,Channel 2 Overrun" "0,1"
newline
bitfld.long 0x8 1. "OVR1,Channel 1 Overrun" "0,1"
bitfld.long 0x8 0. "OVR0,Channel 0 Overrun" "0,1"
wgroup.long 0x1C++0x3
line.long 0x0 "SWEVT,Software Event"
bitfld.long 0x0 11. "CHANNEL11,Channel 11 Software Selection" "0,1"
bitfld.long 0x0 10. "CHANNEL10,Channel 10 Software Selection" "0,1"
bitfld.long 0x0 9. "CHANNEL9,Channel 9 Software Selection" "0,1"
bitfld.long 0x0 8. "CHANNEL8,Channel 8 Software Selection" "0,1"
bitfld.long 0x0 7. "CHANNEL7,Channel 7 Software Selection" "0,1"
bitfld.long 0x0 6. "CHANNEL6,Channel 6 Software Selection" "0,1"
bitfld.long 0x0 5. "CHANNEL5,Channel 5 Software Selection" "0,1"
bitfld.long 0x0 4. "CHANNEL4,Channel 4 Software Selection" "0,1"
bitfld.long 0x0 3. "CHANNEL3,Channel 3 Software Selection" "0,1"
bitfld.long 0x0 2. "CHANNEL2,Channel 2 Software Selection" "0,1"
bitfld.long 0x0 1. "CHANNEL1,Channel 1 Software Selection" "0,1"
newline
bitfld.long 0x0 0. "CHANNEL0,Channel 0 Software Selection" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL$1,Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER$1,User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 12. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "CHANNEL[$1],Channel n"
bitfld.long 0x0 15. "ONDEMAND,Generic Clock On Demand" "0,1"
bitfld.long 0x0 14. "RUNSTDBY,Run in standby" "0,1"
newline
bitfld.long 0x0 10.--11. "EDGSEL,Edge Detection Selection" "0: No event output when using the resynchronized or..,1: Event detection only on the rising edge of the..,2: Event detection only on the falling edge of the..,3: Event detection on rising and falling edges of.."
bitfld.long 0x0 8.--9. "PATH,Path Selection" "0: Synchronous path,1: Resynchronized path,2: Asynchronous path,?"
newline
hexmask.long.byte 0x0 0.--6. 1. "EVGEN,Event Generator Selection"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 45. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "USER[$1],User Multiplexer n"
hexmask.long.byte 0x0 0.--4. 1. "CHANNEL,Channel Event Selection"
repeat.end
endif
tree.end
tree "GCLK (Generic Clock Generator)"
base ad:0x40001800
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.long 0x4++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
rbitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
rbitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
rbitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 10. "GENCTRL8,Generic Clock Generator Control 8 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 9. "GENCTRL7,Generic Clock Generator Control 7 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 8. "GENCTRL6,Generic Clock Generator Control 6 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 7. "GENCTRL5,Generic Clock Generator Control 5 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 6. "GENCTRL4,Generic Clock Generator Control 4 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 5. "GENCTRL3,Generic Clock Generator Control 3 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 4. "GENCTRL2,Generic Clock Generator Control 2 Synchronization Busy bits" "?,1: Generic clock generator 0"
bitfld.long 0x0 3. "GENCTRL1,Generic Clock Generator Control 1 Synchronization Busy bits" "?,1: Generic clock generator 0"
newline
bitfld.long 0x0 2. "GENCTRL0,Generic Clock Generator Control 0 Synchronization Busy bits" "?,1: Generic clock generator 0"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 0. "SWRST,Software Reset Synchroniation Busy bit" "0,1"
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL$1,Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0,1"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL$1,Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR34J17*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR34J18*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR35J16*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR35J17*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 9. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x20)++0x3
line.long 0x0 "GENCTRL[$1],Generic Clock Generator Control"
hexmask.long.word 0x0 16.--31. 1. "DIV,Division Factor"
bitfld.long 0x0 13. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.long 0x0 12. "DIVSEL,Divide Selection" "0: Divide input directly by divider factor,1: Divide input by 2^(divider factor+ 1)"
bitfld.long 0x0 11. "OE,Output Enable" "0,1"
newline
bitfld.long 0x0 10. "OOV,Output Off Value" "0,1"
bitfld.long 0x0 9. "IDC,Improve Duty Cycle" "0,1"
newline
bitfld.long 0x0 8. "GENEN,Generic Clock Generator Enable" "0,1"
hexmask.long.byte 0x0 0.--3. 1. "SRC,Source Select"
repeat.end
endif
sif (cpuis("ATSAMR35J18*"))
repeat 36. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x80)++0x3
line.long 0x0 "PCHCTRL[$1],Peripheral Clock Control"
bitfld.long 0x0 7. "WRTLOCK,Write Lock" "0,1"
bitfld.long 0x0 6. "CHEN,Channel Enable" "0,1"
newline
hexmask.long.byte 0x0 0.--3. 1. "GEN,Generic Clock Generator"
repeat.end
endif
tree.end
tree "MCLK (Main Clock)"
base ad:0x40000400
group.byte 0x0++0x6
line.byte 0x0 "CTRLA,Control A"
line.byte 0x1 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x1 0. "CKRDY,Clock Ready Interrupt Enable" "0,1"
line.byte 0x2 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x2 0. "CKRDY,Clock Ready Interrupt Enable" "0,1"
line.byte 0x3 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x3 0. "CKRDY,Clock Ready" "0,1"
line.byte 0x4 "CPUDIV,CPU Clock Division"
hexmask.byte 0x4 0.--7. 1. "CPUDIV,CPU Clock Division Factor"
line.byte 0x5 "LPDIV,Low-Power Clock Division"
hexmask.byte 0x5 0.--7. 1. "LPDIV,Low-Power Clock Division Factor"
line.byte 0x6 "BUPDIV,Backup Clock Division"
hexmask.byte 0x6 0.--7. 1. "BUPDIV,Backup Clock Division Factor"
group.long 0x10++0x17
line.long 0x0 "AHBMASK,AHB Mask"
bitfld.long 0x0 19. "HSRAM_HMATRIXLP2HMCRAMCHSBRIDGE_,HSRAM_HMATRIXLP2HMCRAMCHSBRIDGE AHB Clock Mask" "0,1"
bitfld.long 0x0 18. "HSRAM_AHBSETUPKEEPER_,HSRAM_AHBSETUPKEEPER AHB Clock Mask" "0,1"
bitfld.long 0x0 17. "H2LBRIDGES_H_,H2LBRIDGES_H AHB Clock Mask" "0,1"
bitfld.long 0x0 16. "L2HBRIDGES_H_,L2HBRIDGES_H AHB Clock Mask" "0,1"
newline
bitfld.long 0x0 15. "NVMCTRL_PICACHU_,NVMCTRL_PICACHU AHB Clock Mask" "0,1"
bitfld.long 0x0 14. "PAC_,PAC AHB Clock Mask" "0,1"
bitfld.long 0x0 12. "USB_,USB AHB Clock Mask" "0,1"
bitfld.long 0x0 11. "DMAC_,DMAC AHB Clock Mask" "0,1"
newline
bitfld.long 0x0 10. "LPRAM_,LPRAM AHB Clock Mask" "0,1"
bitfld.long 0x0 9. "HSRAM_,HSRAM AHB Clock Mask" "0,1"
bitfld.long 0x0 8. "NVMCTRL_,NVMCTRL AHB Clock Mask" "0,1"
bitfld.long 0x0 5. "DSU_,DSU AHB Clock Mask" "0,1"
newline
bitfld.long 0x0 4. "HPB4_,HPB4 AHB Clock Mask" "0,1"
bitfld.long 0x0 3. "HPB3_,HPB3 AHB Clock Mask" "0,1"
bitfld.long 0x0 2. "HPB2_,HPB2 AHB Clock Mask" "0,1"
bitfld.long 0x0 1. "HPB1_,HPB1 AHB Clock Mask" "0,1"
newline
bitfld.long 0x0 0. "HPB0_,HPB0 AHB Clock Mask" "0,1"
line.long 0x4 "APBAMASK,APBA Mask"
bitfld.long 0x4 10. "PORT_,PORT APB Clock Enable" "0,1"
bitfld.long 0x4 9. "EIC_,EIC APB Clock Enable" "0,1"
bitfld.long 0x4 8. "RTC_,RTC APB Clock Enable" "0,1"
bitfld.long 0x4 7. "WDT_,WDT APB Clock Enable" "0,1"
newline
bitfld.long 0x4 6. "GCLK_,GCLK APB Clock Enable" "0,1"
bitfld.long 0x4 5. "SUPC_,SUPC APB Clock Enable" "0,1"
bitfld.long 0x4 4. "OSC32KCTRL_,OSC32KCTRL APB Clock Enable" "0,1"
bitfld.long 0x4 3. "OSCCTRL_,OSCCTRL APB Clock Enable" "0,1"
newline
bitfld.long 0x4 2. "RSTC_,RSTC APB Clock Enable" "0,1"
bitfld.long 0x4 1. "MCLK_,MCLK APB Clock Enable" "0,1"
bitfld.long 0x4 0. "PM_,PM APB Clock Enable" "0,1"
line.long 0x8 "APBBMASK,APBB Mask"
bitfld.long 0x8 2. "NVMCTRL_,NVMCTRL APB Clock Enable" "0,1"
bitfld.long 0x8 1. "DSU_,DSU APB Clock Enable" "0,1"
bitfld.long 0x8 0. "USB_,USB APB Clock Enable" "0,1"
line.long 0xC "APBCMASK,APBC Mask"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 14. "TRNG_,TRNG APB Clock Enable" "0,1"
bitfld.long 0xC 13. "AES_,AES APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 11. "TC3_,TC3 APB Clock Enable" "0,1"
bitfld.long 0xC 10. "TC2_,TC2 APB Clock Enable" "0,1"
newline
endif
bitfld.long 0xC 9. "TC1_,TC1 APB Clock Enable" "0,1"
bitfld.long 0xC 8. "TC0_,TC0 APB Clock Enable" "0,1"
bitfld.long 0xC 7. "TCC2_,TCC2 APB Clock Enable" "0,1"
bitfld.long 0xC 6. "TCC1_,TCC1 APB Clock Enable" "0,1"
newline
bitfld.long 0xC 5. "TCC0_,TCC0 APB Clock Enable" "0,1"
bitfld.long 0xC 4. "SERCOM4_,SERCOM4 APB Clock Enable" "0,1"
bitfld.long 0xC 3. "SERCOM3_,SERCOM3 APB Clock Enable" "0,1"
bitfld.long 0xC 2. "SERCOM2_,SERCOM2 APB Clock Enable" "0,1"
newline
bitfld.long 0xC 1. "SERCOM1_,SERCOM1 APB Clock Enable" "0,1"
bitfld.long 0xC 0. "SERCOM0_,SERCOM0 APB Clock Enable" "0,1"
line.long 0x10 "APBDMASK,APBD Mask"
bitfld.long 0x10 7. "CCL_,CCL APB Clock Enable" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP APB Clock Enable" "0,1"
endif
bitfld.long 0x10 5. "PTC_,PTC APB Clock Enable" "0,1"
newline
bitfld.long 0x10 4. "AC_,AC APB Clock Enable" "0,1"
bitfld.long 0x10 3. "ADC_,ADC APB Clock Enable" "0,1"
bitfld.long 0x10 2. "TC4_,TC4 APB Clock Enable" "0,1"
bitfld.long 0x10 1. "SERCOM5_,SERCOM5 APB Clock Enable" "0,1"
newline
bitfld.long 0x10 0. "EVSYS_,EVSYS APB Clock Enable" "0,1"
line.long 0x14 "APBEMASK,APBE Mask"
bitfld.long 0x14 0. "PAC_,PAC APB Clock Enable" "0,1"
tree.end
tree "MTB (Micro Trace Buffer)"
base ad:0x41006000
group.long 0x0++0xB
line.long 0x0 "POSITION,MTB Position"
hexmask.long 0x0 3.--31. 1. "POINTER,Trace Packet Location Pointer"
bitfld.long 0x0 2. "WRAP,Pointer Value Wraps" "0,1"
line.long 0x4 "MASTER,MTB Master"
bitfld.long 0x4 31. "EN,Main Trace Enable" "0,1"
bitfld.long 0x4 9. "HALTREQ,Halt Request" "0,1"
bitfld.long 0x4 8. "RAMPRIV,SRAM Privilege" "0,1"
bitfld.long 0x4 7. "SFRWPRIV,Special Function Register Write Privilege" "0,1"
bitfld.long 0x4 6. "TSTOPEN,Trace Stop Input Enable" "0,1"
bitfld.long 0x4 5. "TSTARTEN,Trace Start Input Enable" "0,1"
hexmask.long.byte 0x4 0.--4. 1. "MASK,Maximum Value of the Trace Buffer in SRAM"
line.long 0x8 "FLOW,MTB Flow"
hexmask.long 0x8 3.--31. 1. "WATERMARK,Watermark value"
bitfld.long 0x8 1. "AUTOHALT,Auto Halt Request" "0,1"
bitfld.long 0x8 0. "AUTOSTOP,Auto Stop Tracing" "0,1"
rgroup.long 0xC++0x3
line.long 0x0 "BASE,MTB Base"
group.long 0xF00++0x3
line.long 0x0 "ITCTRL,MTB Integration Mode Control"
group.long 0xFA0++0x7
line.long 0x0 "CLAIMSET,MTB Claim Set"
line.long 0x4 "CLAIMCLR,MTB Claim Clear"
group.long 0xFB0++0x3
line.long 0x0 "LOCKACCESS,MTB Lock Access"
rgroup.long 0xFB4++0xB
line.long 0x0 "LOCKSTATUS,MTB Lock Status"
line.long 0x4 "AUTHSTATUS,MTB Authentication Status"
line.long 0x8 "DEVARCH,MTB Device Architecture"
rgroup.long 0xFC8++0x37
line.long 0x0 "DEVID,MTB Device Configuration"
line.long 0x4 "DEVTYPE,MTB Device Type"
line.long 0x8 "PID4,Peripheral Identification 4"
line.long 0xC "PID5,Peripheral Identification 5"
line.long 0x10 "PID6,Peripheral Identification 6"
line.long 0x14 "PID7,Peripheral Identification 7"
line.long 0x18 "PID0,Peripheral Identification 0"
line.long 0x1C "PID1,Peripheral Identification 1"
line.long 0x20 "PID2,Peripheral Identification 2"
line.long 0x24 "PID3,Peripheral Identification 3"
line.long 0x28 "CID0,Component Identification 0"
line.long 0x2C "CID1,Component Identification 1"
line.long 0x30 "CID2,Component Identification 2"
line.long 0x34 "CID3,Component Identification 3"
tree.end
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "NVIC (Nested Vectored Interrupt Controller)"
base ad:0xE000E100
group.long 0x0++0x3
line.long 0x0 "ISER,Interrupt Set Enable Register"
hexmask.long 0x0 0.--28. 1. "SETENA,Interrupt set enable bits"
group.long 0x80++0x3
line.long 0x0 "ICER,Interrupt Clear Enable Register"
hexmask.long 0x0 0.--28. 1. "CLRENA,Interrupt clear-enable bits"
group.long 0x100++0x3
line.long 0x0 "ISPR,Interrupt Set Pending Register"
hexmask.long 0x0 0.--28. 1. "SETPEND,Interrupt set-pending bits"
group.long 0x180++0x3
line.long 0x0 "ICPR,Interrupt Clear Pending Register"
hexmask.long 0x0 0.--28. 1. "CLRPEND,Interrupt clear-pending bits"
repeat 8. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x300)++0x3
line.long 0x0 "IPR[$1],Interrupt Priority Register n"
bitfld.long 0x0 24.--25. "PRI3,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x0 16.--17. "PRI2,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x0 8.--9. "PRI1,Priority of interrupt n" "0,1,2,3"
bitfld.long 0x0 0.--1. "PRI0,Priority of interrupt n" "0,1,2,3"
repeat.end
tree.end
endif
tree "NVMCTRL (Non-Volatile Memory Controller)"
base ad:0x41004000
group.word 0x0++0x1
line.word 0x0 "CTRLA,Control A"
hexmask.word.byte 0x0 8.--15. 1. "CMDEX,Command Execution"
hexmask.word.byte 0x0 0.--6. 1. "CMD,Command"
group.long 0x4++0x7
line.long 0x0 "CTRLB,Control B"
bitfld.long 0x0 18. "CACHEDIS,Cache Disable" "0,1"
bitfld.long 0x0 16.--17. "READMODE,NVMCTRL 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..,?"
bitfld.long 0x0 11. "FWUP,fast wake-up" "0,1"
newline
bitfld.long 0x0 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 0x0 7. "MANW,Manual Write" "0,1"
hexmask.long.byte 0x0 1.--4. 1. "RWS,NVM Read Wait States"
line.long 0x4 "PARAM,NVM Parameter"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
rbitfld.long 0x4 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"
hexmask.long.word 0x4 0.--15. 1. "NVMP,NVM Pages"
newline
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
newline
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.word 0x4 20.--31. 1. "RWWEEP,RWW EEPROM Pages"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 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"
hexmask.long.word 0x4 0.--15. 1. "NVMP,NVM Pages"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 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 0x4 0.--15. 1. "NVMP,NVM Pages"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 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"
hexmask.long.word 0x4 0.--15. 1. "NVMP,NVM Pages"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 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"
hexmask.long.word 0x4 0.--15. 1. "NVMP,NVM Pages"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 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 0x4 0.--15. 1. "NVMP,NVM Pages"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 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"
hexmask.long.word 0x4 0.--15. 1. "NVMP,NVM Pages"
endif
group.byte 0xC++0x0
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 1. "ERROR,Error Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "READY,NVM Ready Interrupt Enable" "0,1"
group.byte 0x10++0x0
line.byte 0x0 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x0 1. "ERROR,Error Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "READY,NVM Ready Interrupt Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x0 1. "ERROR,Error" "0,1"
bitfld.byte 0x0 0. "READY,NVM Ready" "0,1"
group.word 0x18++0x1
line.word 0x0 "STATUS,Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
rbitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.word 0x0 8. "SB,Security Bit Status" "0,1"
endif
bitfld.word 0x0 4. "NVME,NVM Error" "0,1"
newline
bitfld.word 0x0 3. "LOCKE,Lock Error Status" "0,1"
bitfld.word 0x0 2. "PROGE,Programming Error Status" "0,1"
bitfld.word 0x0 1. "LOAD,NVM Page Buffer Active Loading" "0,1"
newline
sif (cpuis("ATSAMR34J17*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 0. "PRM,Power Reduction Mode" "0,1"
endif
group.long 0x1C++0x3
line.long 0x0 "ADDR,Address"
hexmask.long.tbyte 0x0 0.--21. 1. "ADDR,NVM Address"
group.word 0x20++0x1
line.word 0x0 "LOCK,Lock Section"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word 0x0 0.--15. 1. "LOCK,Region Lock Bits"
endif
tree.end
tree "OSC32KCTRL (32KHz Oscillators Controller)"
base ad:0x40001000
group.long 0x0++0xB
line.long 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready Interrupt Enable" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready Interrupt Enable" "0,1"
line.long 0x4 "INTENSET,Interrupt Enable Set"
bitfld.long 0x4 1. "OSC32KRDY,OSC32K Ready Interrupt Enable" "0,1"
bitfld.long 0x4 0. "XOSC32KRDY,XOSC32K Ready Interrupt Enable" "0,1"
line.long 0x8 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x8 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x8 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
rgroup.long 0xC++0x3
line.long 0x0 "STATUS,Power and Clocks Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
rbitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 1. "OSC32KRDY,OSC32K Ready" "0,1"
bitfld.long 0x0 0. "XOSC32KRDY,XOSC32K Ready" "0,1"
endif
group.long 0x10++0xF
line.long 0x0 "RTCCTRL,Clock selection"
bitfld.long 0x0 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 internal oscillator,5: 32.768kHz from 32.768kHz external crystal..,?,?"
line.long 0x4 "XOSC32K,32kHz External Crystal Oscillator (XOSC32K) Control"
bitfld.long 0x4 12. "WRTLOCK,Write Lock" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 62.5 ms,1: 125 ms,2: 500 ms,3: 1000 ms,4: 2000 ms,5: 4000 ms,6: 8000 ms,?"
newline
endif
bitfld.long 0x4 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.long 0x4 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x4 4. "EN1K,1kHz Output Enable" "0,1"
bitfld.long 0x4 3. "EN32K,32kHz Output Enable" "0,1"
newline
bitfld.long 0x4 2. "XTALEN,Crystal Oscillator Enable" "0,1"
bitfld.long 0x4 1. "ENABLE,Oscillator Enable" "0,1"
line.long 0x8 "OSC32K,32kHz Internal Oscillator (OSC32K) Control"
hexmask.long.byte 0x8 16.--22. 1. "CALIB,Oscillator Calibration"
bitfld.long 0x8 12. "WRTLOCK,Write Lock" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x8 8.--10. "STARTUP,Oscillator Start-Up Time" "0: 0.092 ms,1: 0.122 ms,2: 0.183 ms,3: 0.305 ms,4: 0.549 ms,5: 1.038 ms,6: 2.014 ms,7: 3.967 ms"
endif
bitfld.long 0x8 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.long 0x8 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x8 3. "EN1K,1kHz Output Enable" "0,1"
newline
bitfld.long 0x8 2. "EN32K,32kHz Output Enable" "0,1"
bitfld.long 0x8 1. "ENABLE,Oscillator Enable" "0,1"
line.long 0xC "OSCULP32K,32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control"
bitfld.long 0xC 15. "WRTLOCK,Write Lock" "0,1"
hexmask.long.byte 0xC 8.--12. 1. "CALIB,Oscillator Calibration"
tree.end
tree "OSCCTRL (Oscillators Controller)"
base ad:0x40000C00
group.long 0x0++0xB
line.long 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready Interrupt Enable" "0,1"
bitfld.long 0x0 18. "DPLLLTO,DPLL Time Out Interrupt Enable" "0,1"
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall Interrupt Enable" "0,1"
newline
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise Interrupt Enable" "0,1"
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped Interrupt Enable" "0,1"
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse Interrupt Enable" "0,1"
newline
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine Interrupt Enable" "0,1"
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds Interrupt Enable" "0,1"
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready Interrupt Enable" "0,1"
newline
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready Interrupt Enable" "0,1"
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready Interrupt Enable" "0,1"
line.long 0x4 "INTENSET,Interrupt Enable Set"
bitfld.long 0x4 19. "DPLLLDRTO,DPLL Ratio Ready Interrupt Enable" "0,1"
bitfld.long 0x4 18. "DPLLLTO,DPLL Time Out Interrupt Enable" "0,1"
bitfld.long 0x4 17. "DPLLLCKF,DPLL Lock Fall Interrupt Enable" "0,1"
newline
bitfld.long 0x4 16. "DPLLLCKR,DPLL Lock Rise Interrupt Enable" "0,1"
bitfld.long 0x4 12. "DFLLRCS,DFLL Reference Clock Stopped Interrupt Enable" "0,1"
bitfld.long 0x4 11. "DFLLLCKC,DFLL Lock Coarse Interrupt Enable" "0,1"
newline
bitfld.long 0x4 10. "DFLLLCKF,DFLL Lock Fine Interrupt Enable" "0,1"
bitfld.long 0x4 9. "DFLLOOB,DFLL Out Of Bounds Interrupt Enable" "0,1"
bitfld.long 0x4 8. "DFLLRDY,DFLL Ready Interrupt Enable" "0,1"
newline
bitfld.long 0x4 4. "OSC16MRDY,OSC16M Ready Interrupt Enable" "0,1"
bitfld.long 0x4 0. "XOSCRDY,XOSC Ready Interrupt Enable" "0,1"
line.long 0x8 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x8 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x8 18. "DPLLLTO,DPLL Timeout" "0,1"
bitfld.long 0x8 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
bitfld.long 0x8 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
bitfld.long 0x8 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
bitfld.long 0x8 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
newline
bitfld.long 0x8 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
bitfld.long 0x8 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
bitfld.long 0x8 8. "DFLLRDY,DFLL Ready" "0,1"
newline
bitfld.long 0x8 4. "OSC16MRDY,OSC16M Ready" "0,1"
bitfld.long 0x8 0. "XOSCRDY,XOSC Ready" "0,1"
rgroup.long 0xC++0x3
line.long 0x0 "STATUS,Power and Clocks Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
rbitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
rbitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
rbitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
rbitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
rbitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
newline
rbitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
rbitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
rbitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
newline
rbitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
rbitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
newline
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
newline
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
newline
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
newline
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 19. "DPLLLDRTO,DPLL Ratio Ready" "0,1"
bitfld.long 0x0 18. "DPLLTO,DPLL Timeout" "0,1"
newline
bitfld.long 0x0 17. "DPLLLCKF,DPLL Lock Fall" "0,1"
bitfld.long 0x0 16. "DPLLLCKR,DPLL Lock Rise" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
newline
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
newline
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
newline
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
newline
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
newline
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
newline
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
newline
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 12. "DFLLRCS,DFLL Reference Clock Stopped" "0,1"
bitfld.long 0x0 11. "DFLLLCKC,DFLL Lock Coarse" "0,1"
bitfld.long 0x0 10. "DFLLLCKF,DFLL Lock Fine" "0,1"
newline
bitfld.long 0x0 9. "DFLLOOB,DFLL Out Of Bounds" "0,1"
bitfld.long 0x0 8. "DFLLRDY,DFLL Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 4. "OSC16MRDY,OSC16M Ready" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 0. "XOSCRDY,XOSC Ready" "0,1"
endif
group.word 0x10++0x1
line.word 0x0 "XOSCCTRL,External Multipurpose Crystal Oscillator (XOSC) Control"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
newline
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
newline
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word.byte 0x0 12.--15. 1. "STARTUP,Start-Up Time"
endif
bitfld.word 0x0 11. "AMPGC,Automatic Amplitude Gain Control" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.word 0x0 8.--10. "GAIN,Oscillator Gain" "0: 2 MHz,1: 4 MHz,2: 8 MHz,3: 16 MHz,4: 30 MHz,?,?,?"
newline
endif
bitfld.word 0x0 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.word 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.word 0x0 2. "XTALEN,Crystal Oscillator Enable" "0,1"
newline
bitfld.word 0x0 1. "ENABLE,Oscillator Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "OSC16MCTRL,16MHz Internal Oscillator (OSC16M) Control"
bitfld.byte 0x0 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x0 2.--3. "FSEL,Oscillator Frequency Select" "0: 4MHz,1: 8MHz,2: 12MHz,3: 16MHz"
newline
bitfld.byte 0x0 1. "ENABLE,Oscillator Enable" "0,1"
group.word 0x18++0x1
line.word 0x0 "DFLLCTRL,DFLL48M Control"
bitfld.word 0x0 11. "WAITLOCK,Wait Lock" "0,1"
bitfld.word 0x0 10. "BPLCKC,Bypass Coarse Lock" "0,1"
bitfld.word 0x0 9. "QLDIS,Quick Lock Disable" "0,1"
newline
bitfld.word 0x0 8. "CCDIS,Chill Cycle Disable" "0,1"
bitfld.word 0x0 7. "ONDEMAND,On Demand Control" "0,1"
bitfld.word 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
newline
bitfld.word 0x0 5. "USBCRM,USB Clock Recovery Mode" "0,1"
bitfld.word 0x0 4. "LLAW,Lose Lock After Wake" "0,1"
bitfld.word 0x0 3. "STABLE,Stable DFLL Frequency" "0,1"
newline
bitfld.word 0x0 2. "MODE,Operating Mode Selection" "0,1"
bitfld.word 0x0 1. "ENABLE,DFLL Enable" "0,1"
group.long 0x1C++0x7
line.long 0x0 "DFLLVAL,DFLL48M Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
newline
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
newline
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.long.word 0x0 16.--31. 1. "DIFF,Multiplication Ratio Difference"
endif
hexmask.long.byte 0x0 10.--15. 1. "COARSE,Coarse Value"
hexmask.long.word 0x0 0.--9. 1. "FINE,Fine Value"
line.long 0x4 "DFLLMUL,DFLL48M Multiplier"
hexmask.long.byte 0x4 26.--31. 1. "CSTEP,Coarse Maximum Step"
hexmask.long.word 0x4 16.--25. 1. "FSTEP,Fine Maximum Step"
hexmask.long.word 0x4 0.--15. 1. "MUL,DFLL Multiply Factor"
group.byte 0x24++0x0
line.byte 0x0 "DFLLSYNC,DFLL48M Synchronization"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 7. "READREQ,Read Request" "0,1"
endif
group.byte 0x28++0x0
line.byte 0x0 "DPLLCTRLA,DPLL Control"
bitfld.byte 0x0 7. "ONDEMAND,On Demand" "0,1"
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
group.long 0x2C++0x7
line.long 0x0 "DPLLRATIO,DPLL Ratio Control"
hexmask.long.byte 0x0 16.--19. 1. "LDRFRAC,Loop Divider Ratio Fractional Part"
hexmask.long.word 0x0 0.--11. 1. "LDR,Loop Divider Ratio"
line.long 0x4 "DPLLCTRLB,Digital Core Configuration"
hexmask.long.word 0x4 16.--26. 1. "DIV,Clock Divider"
bitfld.long 0x4 12. "LBYPASS,Lock Bypass" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0,1,2,3,4,5,6,7"
newline
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0,1,2,3"
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 8.--10. "LTIME,Lock Time" "0: No time-out. Automatic lock.,?,?,?,4: Time-out if no lock within 8ms,5: Time-out if no lock within 9ms,6: Time-out if no lock within 10ms,7: Time-out if no lock within 11ms"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 4.--5. "REFCLK,Reference Clock Selection" "0: XOSC32K clock reference,1: XOSC clock reference,2: GCLK clock reference,?"
endif
bitfld.long 0x4 3. "WUF,Wake Up Fast" "0,1"
newline
bitfld.long 0x4 2. "LPEN,Low-Power Enable" "0,1"
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default filter mode,1: Low bandwidth filter,2: High bandwidth filter,3: High damping filter"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default filter mode,1: Low bandwidth filter,2: High bandwidth filter,3: High damping filter"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default filter mode,1: Low bandwidth filter,2: High bandwidth filter,3: High damping filter"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default filter mode,1: Low bandwidth filter,2: High bandwidth filter,3: High damping filter"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x4 0.--1. "FILTER,Proportional Integral Filter Selection" "0: Default filter mode,1: Low bandwidth filter,2: High bandwidth filter,3: High damping filter"
endif
group.byte 0x34++0x0
line.byte 0x0 "DPLLPRESC,DPLL Prescaler"
bitfld.byte 0x0 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 0x38++0x0
line.byte 0x0 "DPLLSYNCBUSY,DPLL Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
rbitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
rbitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 3. "DPLLPRESC,DPLL Prescaler Synchronization Status" "0,1"
bitfld.byte 0x0 2. "DPLLRATIO,DPLL Ratio Synchronization Status" "0,1"
bitfld.byte 0x0 1. "ENABLE,DPLL Enable Synchronization Status" "0,1"
endif
rgroup.byte 0x3C++0x0
line.byte 0x0 "DPLLSTATUS,DPLL Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
rbitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
newline
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
newline
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 1. "CLKRDY,DPLL Clock Ready" "0,1"
bitfld.byte 0x0 0. "LOCK,DPLL Lock Status" "0,1"
endif
tree.end
tree "PAC (Peripheral Access Controller)"
base ad:0x44000000
group.long 0x0++0x3
line.long 0x0 "WRCTRL,Write control"
hexmask.long.byte 0x0 16.--23. 1. "KEY,Peripheral access control key"
hexmask.long.word 0x0 0.--15. 1. "PERID,Peripheral identifier"
group.byte 0x4++0x0
line.byte 0x0 "EVCTRL,Event control"
bitfld.byte 0x0 0. "ERREO,Peripheral acess error event output" "0,1"
group.byte 0x8++0x1
line.byte 0x0 "INTENCLR,Interrupt enable clear"
bitfld.byte 0x0 0. "ERR,Peripheral access error interrupt disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt enable set"
bitfld.byte 0x1 0. "ERR,Peripheral access error interrupt enable" "0,1"
group.long 0x10++0x17
line.long 0x0 "INTFLAGAHB,Bridge interrupt flag status"
bitfld.long 0x0 25. "HSRAMLP_,HSRAMLP" "0,1"
bitfld.long 0x0 24. "L2HBRIDGES_,L2HBRIDGES" "0,1"
bitfld.long 0x0 23. "LPRAMDMAC_,LPRAMDMAC" "0,1"
bitfld.long 0x0 22. "LPRAMPICOP_,LPRAMPICOP" "0,1"
bitfld.long 0x0 21. "LPRAMHS_,LPRAMHS" "0,1"
bitfld.long 0x0 19. "HPB4_,HPB4" "0,1"
bitfld.long 0x0 18. "HPB3_,HPB3" "0,1"
bitfld.long 0x0 17. "HPB2_,HPB2" "0,1"
newline
bitfld.long 0x0 16. "HPB0_,HPB0" "0,1"
bitfld.long 0x0 4. "H2LBRIDGES_,H2LBRIDGES" "0,1"
bitfld.long 0x0 3. "HPB1_,HPB1" "0,1"
bitfld.long 0x0 2. "HSRAMDSU_,HSRAMDSU" "0,1"
bitfld.long 0x0 1. "HSRAMCM0P_,HSRAMCM0P" "0,1"
bitfld.long 0x0 0. "FLASH_,FLASH" "0,1"
line.long 0x4 "INTFLAGA,Peripheral interrupt flag status - Bridge A"
bitfld.long 0x4 10. "PORT_,PORT" "0,1"
bitfld.long 0x4 9. "EIC_,EIC" "0,1"
bitfld.long 0x4 8. "RTC_,RTC" "0,1"
bitfld.long 0x4 7. "WDT_,WDT" "0,1"
bitfld.long 0x4 6. "GCLK_,GCLK" "0,1"
bitfld.long 0x4 5. "SUPC_,SUPC" "0,1"
bitfld.long 0x4 4. "OSC32KCTRL_,OSC32KCTRL" "0,1"
bitfld.long 0x4 3. "OSCCTRL_,OSCCTRL" "0,1"
newline
bitfld.long 0x4 2. "RSTC_,RSTC" "0,1"
bitfld.long 0x4 1. "MCLK_,MCLK" "0,1"
bitfld.long 0x4 0. "PM_,PM" "0,1"
line.long 0x8 "INTFLAGB,Peripheral interrupt flag status - Bridge B"
bitfld.long 0x8 3. "MTB_,MTB" "0,1"
bitfld.long 0x8 2. "NVMCTRL_,NVMCTRL" "0,1"
bitfld.long 0x8 1. "DSU_,DSU" "0,1"
bitfld.long 0x8 0. "USB_,USB" "0,1"
line.long 0xC "INTFLAGC,Peripheral interrupt flag status - Bridge C"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 14. "TRNG_,TRNG" "0,1"
bitfld.long 0xC 13. "AES_,AES" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 11. "TC3_,TC3" "0,1"
bitfld.long 0xC 10. "TC2_,TC2" "0,1"
newline
endif
bitfld.long 0xC 9. "TC1_,TC1" "0,1"
bitfld.long 0xC 8. "TC0_,TC0" "0,1"
bitfld.long 0xC 7. "TCC2_,TCC2" "0,1"
bitfld.long 0xC 6. "TCC1_,TCC1" "0,1"
bitfld.long 0xC 5. "TCC0_,TCC0" "0,1"
bitfld.long 0xC 4. "SERCOM4_,SERCOM4" "0,1"
bitfld.long 0xC 3. "SERCOM3_,SERCOM3" "0,1"
bitfld.long 0xC 2. "SERCOM2_,SERCOM2" "0,1"
newline
bitfld.long 0xC 1. "SERCOM1_,SERCOM1" "0,1"
bitfld.long 0xC 0. "SERCOM0_,SERCOM0" "0,1"
line.long 0x10 "INTFLAGD,Peripheral interrupt flag status - Bridge D"
bitfld.long 0x10 7. "CCL_,CCL" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x10 6. "OPAMP_,OPAMP" "0,1"
endif
bitfld.long 0x10 5. "PTC_,PTC" "0,1"
newline
bitfld.long 0x10 4. "AC_,AC" "0,1"
bitfld.long 0x10 3. "ADC_,ADC" "0,1"
bitfld.long 0x10 2. "TC4_,TC4" "0,1"
bitfld.long 0x10 1. "SERCOM5_,SERCOM5" "0,1"
bitfld.long 0x10 0. "EVSYS_,EVSYS" "0,1"
line.long 0x14 "INTFLAGE,Peripheral interrupt flag status - Bridge E"
bitfld.long 0x14 1. "DMAC_,DMAC" "0,1"
bitfld.long 0x14 0. "PAC_,PAC" "0,1"
rgroup.long 0x34++0x13
line.long 0x0 "STATUSA,Peripheral write protection status - Bridge A"
bitfld.long 0x0 10. "PORT_,PORT APB Protect Enable" "0,1"
bitfld.long 0x0 9. "EIC_,EIC APB Protect Enable" "0,1"
bitfld.long 0x0 8. "RTC_,RTC APB Protect Enable" "0,1"
bitfld.long 0x0 7. "WDT_,WDT APB Protect Enable" "0,1"
bitfld.long 0x0 6. "GCLK_,GCLK APB Protect Enable" "0,1"
bitfld.long 0x0 5. "SUPC_,SUPC APB Protect Enable" "0,1"
bitfld.long 0x0 4. "OSC32KCTRL_,OSC32KCTRL APB Protect Enable" "0,1"
bitfld.long 0x0 3. "OSCCTRL_,OSCCTRL APB Protect Enable" "0,1"
newline
bitfld.long 0x0 2. "RSTC_,RSTC APB Protect Enable" "0,1"
bitfld.long 0x0 1. "MCLK_,MCLK APB Protect Enable" "0,1"
bitfld.long 0x0 0. "PM_,PM APB Protect Enable" "0,1"
line.long 0x4 "STATUSB,Peripheral write protection status - Bridge B"
bitfld.long 0x4 3. "MTB_,MTB APB Protect Enable" "0,1"
bitfld.long 0x4 2. "NVMCTRL_,NVMCTRL APB Protect Enable" "0,1"
bitfld.long 0x4 1. "DSU_,DSU APB Protect Enable" "0,1"
bitfld.long 0x4 0. "USB_,USB APB Protect Enable" "0,1"
line.long 0x8 "STATUSC,Peripheral write protection status - Bridge C"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x8 14. "TRNG_,TRNG APB Protect Enable" "0,1"
bitfld.long 0x8 13. "AES_,AES APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x8 11. "TC3_,TC3 APB Protect Enable" "0,1"
bitfld.long 0x8 10. "TC2_,TC2 APB Protect Enable" "0,1"
newline
endif
bitfld.long 0x8 9. "TC1_,TC1 APB Protect Enable" "0,1"
bitfld.long 0x8 8. "TC0_,TC0 APB Protect Enable" "0,1"
bitfld.long 0x8 7. "TCC2_,TCC2 APB Protect Enable" "0,1"
bitfld.long 0x8 6. "TCC1_,TCC1 APB Protect Enable" "0,1"
bitfld.long 0x8 5. "TCC0_,TCC0 APB Protect Enable" "0,1"
bitfld.long 0x8 4. "SERCOM4_,SERCOM4 APB Protect Enable" "0,1"
bitfld.long 0x8 3. "SERCOM3_,SERCOM3 APB Protect Enable" "0,1"
bitfld.long 0x8 2. "SERCOM2_,SERCOM2 APB Protect Enable" "0,1"
newline
bitfld.long 0x8 1. "SERCOM1_,SERCOM1 APB Protect Enable" "0,1"
bitfld.long 0x8 0. "SERCOM0_,SERCOM0 APB Protect Enable" "0,1"
line.long 0xC "STATUSD,Peripheral write protection status - Bridge D"
bitfld.long 0xC 7. "CCL_,CCL APB Protect Enable" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0xC 6. "OPAMP_,OPAMP APB Protect Enable" "0,1"
endif
bitfld.long 0xC 5. "PTC_,PTC APB Protect Enable" "0,1"
newline
bitfld.long 0xC 4. "AC_,AC APB Protect Enable" "0,1"
bitfld.long 0xC 3. "ADC_,ADC APB Protect Enable" "0,1"
bitfld.long 0xC 2. "TC4_,TC4 APB Protect Enable" "0,1"
bitfld.long 0xC 1. "SERCOM5_,SERCOM5 APB Protect Enable" "0,1"
bitfld.long 0xC 0. "EVSYS_,EVSYS APB Protect Enable" "0,1"
line.long 0x10 "STATUSE,Peripheral write protection status - Bridge E"
bitfld.long 0x10 1. "DMAC_,DMAC APB Protect Enable" "0,1"
bitfld.long 0x10 0. "PAC_,PAC APB Protect Enable" "0,1"
tree.end
tree "PM (Power Manager)"
base ad:0x40000000
group.byte 0x0++0x2
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 2. "IORET,I/O Retention" "0,1"
line.byte 0x1 "SLEEPCFG,Sleep Configuration"
bitfld.byte 0x1 0.--2. "SLEEPMODE,Sleep Mode" "?,?,2: CPU AHBx and APBx clocks are OFF,?,4: All Clocks are OFF,5: Only Backup domain is powered ON,6: All power domains are powered OFF,?"
line.byte 0x2 "PLCFG,Performance Level Configuration"
bitfld.byte 0x2 7. "PLDIS,Performance Level Disable" "0,1"
bitfld.byte 0x2 0.--1. "PLSEL,Performance Level Select" "0: Performance Level 0,1: Performance Level 1,2: Performance Level 2,?"
group.byte 0x4++0x2
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 0. "PLRDY,Performance Level Interrupt Enable" "0,1"
endif
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 0. "PLRDY,Performance Level Ready interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 0. "PLRDY,Performance Level Ready" "0,1"
group.word 0x8++0x1
line.word 0x0 "STDBYCFG,Standby Configuration"
bitfld.word 0x0 14.--15. "BBIASPP,Back Bias for PicoPram" "0,1,2,3"
bitfld.word 0x0 12.--13. "BBIASLP,Back Bias for HMCRAMCLP" "0,1,2,3"
newline
bitfld.word 0x0 10.--11. "BBIASHS,Back Bias for HMCRAMCHS" "0,1,2,3"
bitfld.word 0x0 8.--9. "LINKPD,Linked Power Domain" "0: Power domains are not linked,1: PD0 and PD1 power domains are linked,2: PD1 and PD2 power domains are linked,3: All power domains are linked"
newline
bitfld.word 0x0 6.--7. "VREGSMOD,Voltage Regulator Standby mode" "0: Automatic mode,1: Performance oriented,2: Low Power oriented,?"
bitfld.word 0x0 5. "DPGPD1,Dynamic Power Gating for PD1" "0,1"
newline
bitfld.word 0x0 4. "DPGPD0,Dynamic Power Gating for PD0" "0,1"
bitfld.word 0x0 0.--1. "PDCFG,Power Domain Configuration" "0: All power domains switching is handled by..,1: PD0 is forced ACTIVE. PD1 and PD2 power domains..,2: PD0 and PD1 are forced ACTIVE. PD2 power domain..,3: All power domains are forced ACTIVE."
group.byte 0xC++0x0
line.byte 0x0 "PWSAKDLY,Power Switch Acknowledge Delay"
bitfld.byte 0x0 7. "IGNACK,Ignore Acknowledge" "0,1"
hexmask.byte 0x0 0.--6. 1. "DLYVAL,Delay Value"
tree.end
tree "PORT (General Purpose I/O)"
base ad:0x0
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "PORT"
base ad:0x40002800
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2)++0x3
line.long 0x0 "DIR$1,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x4)++0x3
line.long 0x0 "DIRCLR$1,Data Direction Clear"
hexmask.long 0x0 0.--31. 1. "DIRCLR,Port Data Direction Clear"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x8)++0x3
line.long 0x0 "DIRSET$1,Data Direction Set"
hexmask.long 0x0 0.--31. 1. "DIRSET,Port Data Direction Set"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0xC)++0x3
line.long 0x0 "DIRTGL$1,Data Direction Toggle"
hexmask.long 0x0 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x10)++0x3
line.long 0x0 "OUT$1,Data Output Value"
hexmask.long 0x0 0.--31. 1. "OUT,Port Data Output Value"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x14)++0x3
line.long 0x0 "OUTCLR$1,Data Output Value Clear"
hexmask.long 0x0 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x18)++0x3
line.long 0x0 "OUTSET$1,Data Output Value Set"
hexmask.long 0x0 0.--31. 1. "OUTSET,Port Data Output Value Set"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x1C)++0x3
line.long 0x0 "OUTTGL$1,Data Output Value Toggle"
hexmask.long 0x0 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN$1,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
wgroup.long ($2+0x24)++0x3
line.long 0x0 "CTRL$1,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG$1,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
newline
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
newline
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
newline
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL$1,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
newline
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
newline
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
newline
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
newline
bitfld.long 0x0 5.--6. "EVACT0,Port Event Action 0" "0,1,2,3"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat.end
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX0_$1,Peripheral Multiplexing n - Group 0"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
base ad:0x0
elif (cpuis("ATSAMR34J16*"))
base ad:0x60000000
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "PORT_IOBUS"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "PORT_IOBUS (Port Module (IOBUS))"
base ad:0x60000000
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2)++0x3
line.long 0x0 "DIR$1,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x4)++0x3
line.long 0x0 "DIRCLR$1,Data Direction Clear"
hexmask.long 0x0 0.--31. 1. "DIRCLR,Port Data Direction Clear"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x8)++0x3
line.long 0x0 "DIRSET$1,Data Direction Set"
hexmask.long 0x0 0.--31. 1. "DIRSET,Port Data Direction Set"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0xC)++0x3
line.long 0x0 "DIRTGL$1,Data Direction Toggle"
hexmask.long 0x0 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x10)++0x3
line.long 0x0 "OUT$1,Data Output Value"
hexmask.long 0x0 0.--31. 1. "OUT,Port Data Output Value"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x14)++0x3
line.long 0x0 "OUTCLR$1,Data Output Value Clear"
hexmask.long 0x0 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x18)++0x3
line.long 0x0 "OUTSET$1,Data Output Value Set"
hexmask.long 0x0 0.--31. 1. "OUTSET,Port Data Output Value Set"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x1C)++0x3
line.long 0x0 "OUTTGL$1,Data Output Value Toggle"
hexmask.long 0x0 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN$1,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
wgroup.long ($2+0x24)++0x3
line.long 0x0 "CTRL$1,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG$1,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
repeat.end
repeat 3. (increment 0x0 0x1)(increment 0x0 0x80)
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL$1,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
newline
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 5.--6. "EVACT0,Port Event Action 0" "0,1,2,3"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat.end
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX0_$1,Peripheral Multiplexing n - Group 0"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "PORT"
base ad:0x40002800
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "PORT"
base ad:0x40002800
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "PORT"
base ad:0x40002800
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "PORT"
base ad:0x40002800
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "PORT"
base ad:0x40002800
repeat 3. (list 0x0 0x1 0x2)(list ad:0x40002800 ad:0x40002880 ad:0x40002900)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
tree "PORT_IOBUS"
base ad:0x60000000
repeat 3. (list 0x0 0x1 0x2)(list ad:0x60000000 ad:0x60000080 ad:0x60000100)
tree "GROUP[$1]"
base $2
group.long ($2)++0x1F
line.long 0x0 "DIR,Data Direction"
hexmask.long 0x0 0.--31. 1. "DIR,Port Data Direction"
line.long 0x4 "DIRCLR,Data Direction Clear"
hexmask.long 0x4 0.--31. 1. "DIRCLR,Port Data Direction Clear"
line.long 0x8 "DIRSET,Data Direction Set"
hexmask.long 0x8 0.--31. 1. "DIRSET,Port Data Direction Set"
line.long 0xC "DIRTGL,Data Direction Toggle"
hexmask.long 0xC 0.--31. 1. "DIRTGL,Port Data Direction Toggle"
line.long 0x10 "OUT,Data Output Value"
hexmask.long 0x10 0.--31. 1. "OUT,Port Data Output Value"
line.long 0x14 "OUTCLR,Data Output Value Clear"
hexmask.long 0x14 0.--31. 1. "OUTCLR,Port Data Output Value Clear"
line.long 0x18 "OUTSET,Data Output Value Set"
hexmask.long 0x18 0.--31. 1. "OUTSET,Port Data Output Value Set"
line.long 0x1C "OUTTGL,Data Output Value Toggle"
hexmask.long 0x1C 0.--31. 1. "OUTTGL,Port Data Output Value Toggle"
rgroup.long ($2+0x20)++0x3
line.long 0x0 "IN,Data Input Value"
hexmask.long 0x0 0.--31. 1. "IN,Port Data Input Value"
group.long ($2+0x24)++0x3
line.long 0x0 "CTRL,Control"
hexmask.long 0x0 0.--31. 1. "SAMPLING,Input Sampling Mode"
wgroup.long ($2+0x28)++0x3
line.long 0x0 "WRCONFIG,Write Configuration"
bitfld.long 0x0 31. "HWSEL,Half-Word Select" "0,1"
bitfld.long 0x0 30. "WRPINCFG,Write PINCFG Registers" "0,1"
bitfld.long 0x0 28. "WRPMUX,Write PMUX Registers" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "PMUX,Peripheral Multiplexing Template"
bitfld.long 0x0 22. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.long 0x0 18. "PULLEN,Pull Enable" "0,1"
newline
bitfld.long 0x0 17. "INEN,Input Enable" "0,1"
bitfld.long 0x0 16. "PMUXEN,Select Peripheral Multiplexer" "0,1"
hexmask.long.word 0x0 0.--15. 1. "PINMASK,Pin Mask for Multiple Pin Configuration"
group.long ($2+0x2C)++0x3
line.long 0x0 "EVCTRL,Event Input Control"
bitfld.long 0x0 31. "PORTEI3,Port Event Enable Input 3" "0,1"
bitfld.long 0x0 29.--30. "EVACT3,Port Event Action 3" "0,1,2,3"
hexmask.long.byte 0x0 24.--28. 1. "PID3,Port Event Pin Identifier 3"
bitfld.long 0x0 23. "PORTEI2,Port Event Enable Input 2" "0,1"
bitfld.long 0x0 21.--22. "EVACT2,Port Event Action 2" "0,1,2,3"
hexmask.long.byte 0x0 16.--20. 1. "PID2,Port Event Pin Identifier 2"
newline
bitfld.long 0x0 15. "PORTEI1,Port Event Enable Input 1" "0,1"
bitfld.long 0x0 13.--14. "EVACT1,Port Event Action 1" "0,1,2,3"
hexmask.long.byte 0x0 8.--12. 1. "PID1,Port Event Pin Identifier 1"
bitfld.long 0x0 7. "PORTEI0,Port Event Enable Input 0" "0,1"
bitfld.long 0x0 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"
hexmask.long.byte 0x0 0.--4. 1. "PID0,Port Event Pin Identifier 0"
repeat 16. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "PMUX[$1],Peripheral Multiplexing n"
hexmask.byte 0x0 4.--7. 1. "PMUXO,Peripheral Multiplexing for Odd-Numbered Pin"
hexmask.byte 0x0 0.--3. 1. "PMUXE,Peripheral Multiplexing for Even-Numbered Pin"
repeat.end
repeat 32. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x40)++0x0
line.byte 0x0 "PINCFG[$1],Pin Configuration n"
bitfld.byte 0x0 6. "DRVSTR,Output Driver Strength Selection" "0,1"
bitfld.byte 0x0 2. "PULLEN,Pull Enable" "0,1"
bitfld.byte 0x0 1. "INEN,Input Enable" "0,1"
bitfld.byte 0x0 0. "PMUXEN,Select Peripheral Multiplexer" "0,1"
repeat.end
tree.end
repeat.end
tree.end
endif
tree.end
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "PTC (Peripheral Touch Controller)"
base ad:0x43001400
tree.end
endif
tree "RSTC (Reset Controller)"
base ad:0x40000800
rgroup.byte 0x0++0x0
line.byte 0x0 "RCAUSE,Reset Cause"
bitfld.byte 0x0 7. "BACKUP,Backup Reset" "0,1"
bitfld.byte 0x0 6. "SYST,System Reset Request" "0,1"
bitfld.byte 0x0 5. "WDT,Watchdog Reset" "0,1"
bitfld.byte 0x0 4. "EXT,External Reset" "0,1"
bitfld.byte 0x0 2. "BOD33,Brown Out 33 Detector Reset" "0,1"
bitfld.byte 0x0 1. "BOD12,Brown Out 12 Detector Reset" "0,1"
bitfld.byte 0x0 0. "POR,Power On Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "BKUPEXIT,Backup Exit Source"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
rbitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
rbitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
newline
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.byte 0x0 2. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.byte 0x0 1. "RTC,Real Timer Counter Interrupt" "0,1"
bitfld.byte 0x0 0. "EXTWAKE,External Wakeup" "0,1"
endif
group.byte 0x4++0x0
line.byte 0x0 "WKDBCONF,Wakeup Debounce Configuration"
hexmask.byte 0x0 0.--4. 1. "WKDBCNT,Wakeup Debounce Counter"
group.word 0x8++0x1
line.word 0x0 "WKPOL,Wakeup Polarity"
hexmask.word.byte 0x0 0.--7. 1. "WKPOL,Wakeup Polarity"
group.word 0xC++0x1
line.word 0x0 "WKEN,Wakeup Enable"
hexmask.word.byte 0x0 0.--7. 1. "WKEN,Wakeup Enable"
group.word 0x10++0x1
line.word 0x0 "WKCAUSE,Wakeup Cause"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.word 0x0 0.--15. 1. "WKCAUSE,Wakeup Cause"
endif
tree.end
tree "RTC (Real-Time Counter)"
base ad:0x40002000
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
endif
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
rbitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
rbitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
rbitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
rbitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
endif
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
group.long 0x20++0x3
line.long 0x0 "COMP0,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP$1,General Purpose"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
rbitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
rbitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
rbitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
rbitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
rbitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
rbitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
endif
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP$1,MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP$1,General Purpose"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
rbitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
rbitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
rbitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
rbitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
rbitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
endif
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
group.long 0x20++0x3
line.long 0x0 "ALARM0,MODE2 Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
newline
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
newline
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK0,MODE2 Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP$1,General Purpose"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
newline
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
newline
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
endif
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
newline
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
newline
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
newline
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
newline
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
newline
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
newline
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
newline
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
newline
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
newline
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
newline
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
newline
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
newline
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
newline
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
newline
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
newline
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
newline
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "MODE0"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE0 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE0 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE0 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE0 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE0 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
newline
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE0 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "COUNT,MODE0 Counter Value"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
group.long 0x20++0x3
line.long 0x0 "COMP,MODE0 Compare n Value"
hexmask.long 0x0 0.--31. 1. "COMP,Compare Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "MODE1"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE1 Control A"
bitfld.word 0x0 15. "COUNTSYNC,Count Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE1 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 9. "CMPEO1,Compare 1 Event Output Enable" "0,1"
bitfld.long 0x0 8. "CMPEO0,Compare 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
newline
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE1 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x0 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE1 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 9. "CMP1,Compare 1 Interrupt Enable" "0,1"
bitfld.word 0x2 8. "CMP0,Compare 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
newline
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x4 "INTFLAG,MODE1 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 9. "CMP1,Compare 1" "0,1"
bitfld.word 0x4 8. "CMP0,Compare 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
newline
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE1 Synchronization Busy Status"
bitfld.long 0x0 15. "COUNTSYNC,Count Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 6. "COMP1,COMP 1 Register Busy" "0,1"
bitfld.long 0x0 5. "COMP0,COMP 0 Register Busy" "0,1"
bitfld.long 0x0 4. "PER,PER Register Busy" "0,1"
bitfld.long 0x0 3. "COUNT,COUNT Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.word 0x18++0x1
line.word 0x0 "COUNT,MODE1 Counter Value"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
group.word 0x1C++0x1
line.word 0x0 "PER,MODE1 Counter Period"
hexmask.word 0x0 0.--15. 1. "PER,Counter Period"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x20)++0x1
line.word 0x0 "COMP[$1],MODE1 Compare n Value"
hexmask.word 0x0 0.--15. 1. "COMP,Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "MODE2"
base ad:0x40002000
group.word 0x0++0x1
line.word 0x0 "CTRLA,MODE2 Control A"
bitfld.word 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable" "0,1"
hexmask.word.byte 0x0 8.--11. 1. "PRESCALER,Prescaler"
bitfld.word 0x0 7. "MATCHCLR,Clear on Match" "0,1"
bitfld.word 0x0 6. "CLKREP,Clock Representation" "0,1"
bitfld.word 0x0 2.--3. "MODE,Operating Mode" "0: Mode 0: 32-bit Counter,1: Mode 1: 16-bit Counter,2: Mode 2: Clock/Calendar,?"
newline
bitfld.word 0x0 1. "ENABLE,Enable" "0,1"
bitfld.word 0x0 0. "SWRST,Software Reset" "0,1"
group.long 0x4++0x3
line.long 0x0 "EVCTRL,MODE2 Event Control"
bitfld.long 0x0 15. "OVFEO,Overflow Event Output Enable" "0,1"
bitfld.long 0x0 8. "ALARMEO0,Alarm 0 Event Output Enable" "0,1"
bitfld.long 0x0 7. "PEREO7,Periodic Interval 7 Event Output Enable" "0,1"
bitfld.long 0x0 6. "PEREO6,Periodic Interval 6 Event Output Enable" "0,1"
bitfld.long 0x0 5. "PEREO5,Periodic Interval 5 Event Output Enable" "0,1"
newline
bitfld.long 0x0 4. "PEREO4,Periodic Interval 4 Event Output Enable" "0,1"
bitfld.long 0x0 3. "PEREO3,Periodic Interval 3 Event Output Enable" "0,1"
bitfld.long 0x0 2. "PEREO2,Periodic Interval 2 Event Output Enable" "0,1"
bitfld.long 0x0 1. "PEREO1,Periodic Interval 1 Event Output Enable" "0,1"
bitfld.long 0x0 0. "PEREO0,Periodic Interval 0 Event Output Enable" "0,1"
group.word 0x8++0x5
line.word 0x0 "INTENCLR,MODE2 Interrupt Enable Clear"
bitfld.word 0x0 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x0 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x0 7. "PER7,Periodic Interval 7 Interrupt Enable" "0,1"
bitfld.word 0x0 6. "PER6,Periodic Interval 6 Interrupt Enable" "0,1"
bitfld.word 0x0 5. "PER5,Periodic Interval 5 Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "PER4,Periodic Interval 4 Interrupt Enable" "0,1"
bitfld.word 0x0 3. "PER3,Periodic Interval 3 Interrupt Enable" "0,1"
bitfld.word 0x0 2. "PER2,Periodic Interval 2 Interrupt Enable" "0,1"
bitfld.word 0x0 1. "PER1,Periodic Interval 1 Interrupt Enable" "0,1"
bitfld.word 0x0 0. "PER0,Periodic Interval 0 Interrupt Enable" "0,1"
line.word 0x2 "INTENSET,MODE2 Interrupt Enable Set"
bitfld.word 0x2 15. "OVF,Overflow Interrupt Enable" "0,1"
bitfld.word 0x2 8. "ALARM0,Alarm 0 Interrupt Enable" "0,1"
bitfld.word 0x2 7. "PER7,Periodic Interval 7 Enable" "0,1"
bitfld.word 0x2 6. "PER6,Periodic Interval 6 Enable" "0,1"
bitfld.word 0x2 5. "PER5,Periodic Interval 5 Enable" "0,1"
newline
bitfld.word 0x2 4. "PER4,Periodic Interval 4 Enable" "0,1"
bitfld.word 0x2 3. "PER3,Periodic Interval 3 Enable" "0,1"
bitfld.word 0x2 2. "PER2,Periodic Interval 2 Enable" "0,1"
bitfld.word 0x2 1. "PER1,Periodic Interval 1 Enable" "0,1"
bitfld.word 0x2 0. "PER0,Periodic Interval 0 Enable" "0,1"
line.word 0x4 "INTFLAG,MODE2 Interrupt Flag Status and Clear"
bitfld.word 0x4 15. "OVF,Overflow" "0,1"
bitfld.word 0x4 8. "ALARM0,Alarm 0" "0,1"
bitfld.word 0x4 7. "PER7,Periodic Interval 7" "0,1"
bitfld.word 0x4 6. "PER6,Periodic Interval 6" "0,1"
bitfld.word 0x4 5. "PER5,Periodic Interval 5" "0,1"
newline
bitfld.word 0x4 4. "PER4,Periodic Interval 4" "0,1"
bitfld.word 0x4 3. "PER3,Periodic Interval 3" "0,1"
bitfld.word 0x4 2. "PER2,Periodic Interval 2" "0,1"
bitfld.word 0x4 1. "PER1,Periodic Interval 1" "0,1"
bitfld.word 0x4 0. "PER0,Periodic Interval 0" "0,1"
group.byte 0xE++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,MODE2 Synchronization Busy Status"
bitfld.long 0x0 15. "CLOCKSYNC,Clock Read Synchronization Enable Bit Busy" "0,1"
bitfld.long 0x0 11. "MASK0,MASK 0 Register Busy" "0,1"
bitfld.long 0x0 5. "ALARM0,ALARM 0 Register Busy" "0,1"
bitfld.long 0x0 3. "CLOCK,CLOCK Register Busy" "0,1"
bitfld.long 0x0 2. "FREQCORR,FREQCORR Register Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Bit Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Bit Busy" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "FREQCORR,Frequency Correction"
bitfld.byte 0x0 7. "SIGN,Correction Sign" "0,1"
hexmask.byte 0x0 0.--6. 1. "VALUE,Correction Value"
group.long 0x18++0x3
line.long 0x0 "CLOCK,MODE2 Clock Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x40)++0x3
line.long 0x0 "GP[$1],General Purpose"
hexmask.long 0x0 0.--31. 1. "GP,General Purpose"
repeat.end
group.long 0x20++0x3
line.long 0x0 "ALARM,MODE2_ALARM Alarm n Value"
hexmask.long.byte 0x0 26.--31. 1. "YEAR,Year"
hexmask.long.byte 0x0 22.--25. 1. "MONTH,Month"
hexmask.long.byte 0x0 17.--21. 1. "DAY,Day"
hexmask.long.byte 0x0 12.--16. 1. "HOUR,Hour"
hexmask.long.byte 0x0 6.--11. 1. "MINUTE,Minute"
newline
hexmask.long.byte 0x0 0.--5. 1. "SECOND,Second"
group.byte 0x24++0x0
line.byte 0x0 "MASK,MODE2_ALARM Alarm n Mask"
bitfld.byte 0x0 0.--2. "SEL,Alarm Mask Selection" "0: Alarm Disabled,1: Match seconds only,2: Match seconds and minutes only,3: Match seconds minutes and hours only,4: Match seconds minutes hours and days only,5: Match seconds minutes hours days and months only,6: Match seconds minutes hours days months and years,?"
tree.end
endif
tree.end
tree "SERCOM (Serial Communication Interfaces)"
base ad:0x0
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x42000000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x42000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x42000800
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x42000C00
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x42001000
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0,1,2,3"
newline
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
endif
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
rbitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0,1,2,3"
newline
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0,1,2,3"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
endif
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 20.--21. "SDAHOLD,SDA Hold Time" "0: Disabled,1: 50-100ns hold time,2: 300-600ns hold time,3: 400-800ns hold time"
endif
bitfld.long 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
endif
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
endif
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
newline
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
rbitfld.word 0x0 4. "SR,Repeated Start" "0,1"
rbitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
rbitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
endif
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
newline
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
endif
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
tree "SPI"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPI Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CPHA,Clock Phase" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0,1,2,3"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPI Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPI Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPI Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPI Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPI Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPI Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPI Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPI Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPI Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPI Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0,1"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0,1"
bitfld.long 0x0 28. "CMODE,Communication Mode" "0,1"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
bitfld.long 0x0 22.--23. "SAMPA,Sample Adjustment" "0,1,2,3"
bitfld.long 0x0 20.--21. "RXPO,Receive Data Pinout" "0,1,2,3"
bitfld.long 0x0 16.--17. "TXPO,Transmit Data Pinout" "0,1,2,3"
bitfld.long 0x0 13.--15. "SAMPR,Sample" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
bitfld.long 0x4 13. "PMODE,Parity Mode" "0,1"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0,1,2,3,4,5,6,7"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
rbitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
rbitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
rbitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIS"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "SPIM"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_EXT"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "USART_INT"
base ad:0x43000400
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
endif
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "SERCOM0"
base ad:0x42000000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM1"
base ad:0x42000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM2"
base ad:0x42000800
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM3"
base ad:0x42000C00
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM4"
base ad:0x42001000
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
tree "SERCOM5"
base ad:0x43000400
tree "I2CM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CM Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 28.--29. "INACTOUT,Inactive Time-Out" "0: Disabled,1: 5-6 SCL Time-Out(50-60us),2: 10-11 SCL Time-Out(100-110us),3: 20-21 SCL Time-Out(200-210us)"
newline
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 22. "MEXTTOEN,Master SCL Low Extend Timeout" "0,1"
newline
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CM Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
newline
bitfld.long 0x4 9. "QCEN,Quick Command Enable" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.long 0xC++0x3
line.long 0x0 "BAUD,I2CM Baud Rate"
hexmask.long.byte 0x0 24.--31. 1. "HSBAUDLOW,High Speed Baud Rate Value Low"
hexmask.long.byte 0x0 16.--23. 1. "HSBAUD,High Speed Baud Rate Value"
newline
hexmask.long.byte 0x0 8.--15. 1. "BAUDLOW,Baud Rate Value Low"
hexmask.long.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 1. "SB,Slave On Bus Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "MB,Master On Bus Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CM Status"
bitfld.word 0x0 10. "LENERR,Length Error" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
newline
bitfld.word 0x0 8. "MEXTTOUT,Master SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4.--5. "BUSSTATE,Bus State" "0,1,2,3"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "ARBLOST,Arbitration Lost" "0,1"
newline
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CM Synchronization Busy"
bitfld.long 0x0 2. "SYSOP,System Operation Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CM Address"
hexmask.long.byte 0x0 16.--23. 1. "LEN,Length"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
newline
bitfld.long 0x0 14. "HS,High Speed Mode" "0,1"
bitfld.long 0x0 13. "LENEN,Length Enable" "0,1"
newline
hexmask.long.word 0x0 0.--10. 1. "ADDR,Address Value"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CM Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,I2CM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "I2CS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,I2CS Control A"
bitfld.long 0x0 30. "LOWTOUTEN,SCL Low Timeout Enable" "0,1"
bitfld.long 0x0 27. "SCLSM,SCL Clock Stretch Mode" "0,1"
bitfld.long 0x0 24.--25. "SPEED,Transfer Speed" "0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm)..,1: Fast-mode Plus Upto 1MHz,2: High-speed mode Upto 3.4MHz,?"
newline
bitfld.long 0x0 23. "SEXTTOEN,Slave SCL Low Extend Timeout" "0,1"
bitfld.long 0x0 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 0x0 16. "PINOUT,Pin Usage" "0,1"
newline
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,I2CS Control B"
bitfld.long 0x4 18. "ACKACT,Acknowledge Action" "0,1"
bitfld.long 0x4 16.--17. "CMD,Command" "0,1,2,3"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0,1,2,3"
newline
bitfld.long 0x4 10. "AACKEN,Automatic Address Acknowledge" "0,1"
bitfld.long 0x4 9. "GCMD,PMBus Group Command" "0,1"
bitfld.long 0x4 8. "SMEN,Smart Mode Enable" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,I2CS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,I2CS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,I2CS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 2. "DRDY,Data Interrupt" "0,1"
bitfld.byte 0x0 1. "AMATCH,Address Match Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "PREC,Stop Received Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,I2CS Status"
bitfld.word 0x0 10. "HS,High Speed" "0,1"
bitfld.word 0x0 9. "SEXTTOUT,Slave SCL Low Extend Timeout" "0,1"
bitfld.word 0x0 7. "CLKHOLD,Clock Hold" "0,1"
newline
bitfld.word 0x0 6. "LOWTOUT,SCL Low Timeout" "0,1"
bitfld.word 0x0 4. "SR,Repeated Start" "0,1"
bitfld.word 0x0 3. "DIR,Read/Write Direction" "0,1"
newline
bitfld.word 0x0 2. "RXNACK,Received Not Acknowledge" "0,1"
bitfld.word 0x0 1. "COLL,Transmit Collision" "0,1"
bitfld.word 0x0 0. "BUSERR,Bus Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,I2CS Synchronization Busy"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x3
line.long 0x0 "ADDR,I2CS Address"
hexmask.long.word 0x0 17.--26. 1. "ADDRMASK,Address Mask"
bitfld.long 0x0 15. "TENBITEN,Ten Bit Addressing Enable" "0,1"
hexmask.long.word 0x0 1.--10. 1. "ADDR,Address Value"
newline
bitfld.long 0x0 0. "GENCEN,General Call Address Enable" "0,1"
group.byte 0x28++0x0
line.byte 0x0 "DATA,I2CS Data"
hexmask.byte 0x0 0.--7. 1. "DATA,Data Value"
tree.end
tree "SPIM"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIM Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIM Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIM Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIM Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIM Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIM Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIM Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIM Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIM Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIM Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIM Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "SPIS"
group.long 0x0++0x7
line.long 0x0 "CTRLA,SPIS Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transferred first,1: LSB is transferred first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: SCK is low when idle,1: SCK is high when idle"
newline
bitfld.long 0x0 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 and.."
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 20.--21. "DIPO,Data In Pinout" "0: SERCOM PAD[0],1: SERCOM PAD[1],2: SERCOM PAD[2],3: SERCOM PAD[3]"
bitfld.long 0x0 16.--17. "DOPO,Data Out Pinout" "0: DO on PAD[0] SCK on PAD[1] and SS on PAD[2],1: DO on PAD[2] SCK on PAD[3] and SS on PAD[1],2: DO on PAD[3] SCK on PAD[1] and SS on PAD[2],3: DO on PAD[0] SCK on PAD[3] and SS on PAD[1]"
newline
bitfld.long 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,SPIS Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 14.--15. "AMODE,Address Mode" "0: SPI Address mask,1: Two unique Addressess,2: Address Range,?"
newline
bitfld.long 0x4 13. "MSSEN,Master Slave Select Enable" "0,1"
bitfld.long 0x4 9. "SSDE,Slave Select Low Detect Enable" "0,1"
newline
bitfld.long 0x4 6. "PLOADEN,Data Preload Enable" "0,1"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 bits,1: 9 bits,?,?,?,?,?,?"
group.byte 0xC++0x0
line.byte 0x0 "BAUD,SPIS Baud Rate"
hexmask.byte 0x0 0.--7. 1. "BAUD,Baud Rate Value"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,SPIS Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,SPIS Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,SPIS Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 3. "SSL,Slave Select Low Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,SPIS Status"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,SPIS Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.long 0x24++0x7
line.long 0x0 "ADDR,SPIS Address"
hexmask.long.byte 0x0 16.--23. 1. "ADDRMASK,Address Mask"
hexmask.long.byte 0x0 0.--7. 1. "ADDR,Address Value"
line.long 0x4 "DATA,SPIS Data"
hexmask.long.word 0x4 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,SPIS Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_EXT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_EXT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_EXT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_EXT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_EXT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_EXT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_EXT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_EXT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_EXT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_EXT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_EXT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_EXT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_EXT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree "USART_INT"
group.long 0x0++0x7
line.long 0x0 "CTRLA,USART_INT Control A"
bitfld.long 0x0 30. "DORD,Data Order" "0: MSB is transmitted first,1: LSB is transmitted first"
bitfld.long 0x0 29. "CPOL,Clock Polarity" "0: TxD Change:- Rising XCK edge RxD Sample:-..,1: TxD Change:- Falling XCK edge RxD Sample:-.."
newline
bitfld.long 0x0 28. "CMODE,Communication Mode" "0: Asynchronous Communication,1: Synchronous Communication"
hexmask.long.byte 0x0 24.--27. 1. "FORM,Frame Format"
newline
bitfld.long 0x0 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 0x0 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 0x0 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; PAD[3] = CTS,?"
bitfld.long 0x0 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 0x0 8. "IBON,Immediate Buffer Overflow Notification" "0,1"
bitfld.long 0x0 7. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 2.--4. "MODE,Operating Mode" "0: USART with external clock,1: USART with internal clock,2: SPI in slave operation,3: SPI in master operation,4: I2C slave operation,5: I2C master operation,?,?"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
line.long 0x4 "CTRLB,USART_INT Control B"
bitfld.long 0x4 17. "RXEN,Receiver Enable" "0,1"
bitfld.long 0x4 16. "TXEN,Transmitter Enable" "0,1"
newline
bitfld.long 0x4 13. "PMODE,Parity Mode" "0: Even Parity,1: Odd Parity"
bitfld.long 0x4 10. "ENC,Encoding Format" "0,1"
newline
bitfld.long 0x4 9. "SFDE,Start of Frame Detection Enable" "0,1"
bitfld.long 0x4 8. "COLDEN,Collision Detection Enable" "0,1"
newline
bitfld.long 0x4 6. "SBMODE,Stop Bit Mode" "0: One Stop Bit,1: Two Stop Bits"
bitfld.long 0x4 0.--2. "CHSIZE,Character Size" "0: 8 Bits,1: 9 Bits,?,?,?,5: 5 Bits,6: 6 Bits,7: 7 Bits"
group.word 0xC++0x1
line.word 0x0 "BAUD,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRAC_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_FRACFP_MODE,USART_INT Baud Rate"
bitfld.word 0x0 13.--15. "FP,Fractional Part" "0,1,2,3,4,5,6,7"
hexmask.word 0x0 0.--12. 1. "BAUD,Baud Rate Value"
group.word 0xC++0x1
line.word 0x0 "BAUD_USARTFP_MODE,USART_INT Baud Rate"
hexmask.word 0x0 0.--15. 1. "BAUD,Baud Rate Value"
group.byte 0xE++0x0
line.byte 0x0 "RXPL,USART_INT Receive Pulse Length"
hexmask.byte 0x0 0.--7. 1. "RXPL,Receive Pulse Length"
group.byte 0x14++0x0
line.byte 0x0 "INTENCLR,USART_INT Interrupt Enable Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Disable" "0,1"
group.byte 0x16++0x0
line.byte 0x0 "INTENSET,USART_INT Interrupt Enable Set"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt Enable" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt Enable" "0,1"
group.byte 0x18++0x0
line.byte 0x0 "INTFLAG,USART_INT Interrupt Flag Status and Clear"
bitfld.byte 0x0 7. "ERROR,Combined Error Interrupt" "0,1"
bitfld.byte 0x0 5. "RXBRK,Break Received Interrupt" "0,1"
newline
bitfld.byte 0x0 4. "CTSIC,Clear To Send Input Change Interrupt" "0,1"
bitfld.byte 0x0 3. "RXS,Receive Start Interrupt" "0,1"
newline
bitfld.byte 0x0 2. "RXC,Receive Complete Interrupt" "0,1"
bitfld.byte 0x0 1. "TXC,Transmit Complete Interrupt" "0,1"
newline
bitfld.byte 0x0 0. "DRE,Data Register Empty Interrupt" "0,1"
group.word 0x1A++0x1
line.word 0x0 "STATUS,USART_INT Status"
bitfld.word 0x0 5. "COLL,Collision Detected" "0,1"
bitfld.word 0x0 4. "ISF,Inconsistent Sync Field" "0,1"
newline
bitfld.word 0x0 3. "CTS,Clear To Send" "0,1"
bitfld.word 0x0 2. "BUFOVF,Buffer Overflow" "0,1"
newline
bitfld.word 0x0 1. "FERR,Frame Error" "0,1"
bitfld.word 0x0 0. "PERR,Parity Error" "0,1"
rgroup.long 0x1C++0x3
line.long 0x0 "SYNCBUSY,USART_INT Synchronization Busy"
bitfld.long 0x0 2. "CTRLB,CTRLB Synchronization Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,SERCOM Enable Synchronization Busy" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.word 0x28++0x1
line.word 0x0 "DATA,USART_INT Data"
hexmask.word 0x0 0.--8. 1. "DATA,Data Value"
group.byte 0x30++0x0
line.byte 0x0 "DBGCTRL,USART_INT Debug Control"
bitfld.byte 0x0 0. "DBGSTOP,Debug Mode" "0,1"
tree.end
tree.end
endif
tree.end
tree "SUPC (Supply Controller)"
base ad:0x40001400
group.long 0x0++0xB
line.long 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
newline
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
newline
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
newline
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
line.long 0x4 "INTENSET,Interrupt Enable Set"
bitfld.long 0x4 10. "VCORERDY,VDDCORE Ready" "0,1"
bitfld.long 0x4 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
newline
bitfld.long 0x4 8. "VREGRDY,Voltage Regulator Ready" "0,1"
bitfld.long 0x4 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
newline
bitfld.long 0x4 4. "BOD12DET,BOD12 Detection" "0,1"
bitfld.long 0x4 3. "BOD12RDY,BOD12 Ready" "0,1"
newline
bitfld.long 0x4 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
bitfld.long 0x4 1. "BOD33DET,BOD33 Detection" "0,1"
newline
bitfld.long 0x4 0. "BOD33RDY,BOD33 Ready" "0,1"
line.long 0x8 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0x8 10. "VCORERDY,VDDCORE Ready" "0,1"
bitfld.long 0x8 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
newline
bitfld.long 0x8 8. "VREGRDY,Voltage Regulator Ready" "0,1"
bitfld.long 0x8 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
newline
bitfld.long 0x8 4. "BOD12DET,BOD12 Detection" "0,1"
bitfld.long 0x8 3. "BOD12RDY,BOD12 Ready" "0,1"
newline
bitfld.long 0x8 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
bitfld.long 0x8 1. "BOD33DET,BOD33 Detection" "0,1"
newline
bitfld.long 0x8 0. "BOD33RDY,BOD33 Ready" "0,1"
rgroup.long 0xC++0x3
line.long 0x0 "STATUS,Power and Clocks Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
rbitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
rbitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
rbitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
rbitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
rbitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
rbitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
rbitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
rbitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
rbitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 11. "BBPS,Battery Backup Power Switch" "0,1"
bitfld.long 0x0 10. "VCORERDY,VDDCORE Ready" "0,1"
newline
bitfld.long 0x0 9. "APWSRDY,Automatic Power Switch Ready" "0,1"
bitfld.long 0x0 8. "VREGRDY,Voltage Regulator Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 5. "B12SRDY,BOD12 Synchronization Ready" "0,1"
bitfld.long 0x0 4. "BOD12DET,BOD12 Detection" "0,1"
newline
bitfld.long 0x0 3. "BOD12RDY,BOD12 Ready" "0,1"
bitfld.long 0x0 2. "B33SRDY,BOD33 Synchronization Ready" "0,1"
newline
bitfld.long 0x0 1. "BOD33DET,BOD33 Detection" "0,1"
bitfld.long 0x0 0. "BOD33RDY,BOD33 Ready" "0,1"
endif
group.long 0x10++0x17
line.long 0x0 "BOD33,BOD33 Control"
hexmask.long.byte 0x0 24.--29. 1. "BKUPLEVEL,Threshold Level in backup sleep mode or for VBAT"
hexmask.long.byte 0x0 16.--21. 1. "LEVEL,Threshold Level for VDD"
newline
hexmask.long.byte 0x0 12.--15. 1. "PSEL,Prescaler Select"
bitfld.long 0x0 10. "VMON,Voltage Monitored in active and standby mode" "0,1"
newline
bitfld.long 0x0 8. "ACTCFG,Configuration in Active mode" "0,1"
bitfld.long 0x0 7. "RUNBKUP,Configuration in Backup mode" "0,1"
newline
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0x0 5. "STDBYCFG,Configuration in Standby mode" "0,1"
newline
bitfld.long 0x0 3.--4. "ACTION,Action when Threshold Crossed" "0: No action,1: The BOD33 generates a reset,2: The BOD33 generates an interrupt,3: The BOD33 puts the device in backup sleep mode.."
bitfld.long 0x0 2. "HYST,Hysteresis Enable" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
line.long 0x4 "BOD12,BOD12 Control"
hexmask.long.byte 0x4 16.--21. 1. "LEVEL,Threshold Level"
hexmask.long.byte 0x4 12.--15. 1. "PSEL,Prescaler Select"
newline
bitfld.long 0x4 8. "ACTCFG,Configuration in Active mode" "0,1"
bitfld.long 0x4 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x4 5. "STDBYCFG,Configuration in Standby mode" "0,1"
bitfld.long 0x4 3.--4. "ACTION,Action when Threshold Crossed" "0: No action,1: The BOD12 generates a reset,2: The BOD12 generates an interrupt,?"
newline
bitfld.long 0x4 2. "HYST,Hysteresis Enable" "0,1"
bitfld.long 0x4 1. "ENABLE,Enable" "0,1"
line.long 0x8 "VREG,VREG Control"
hexmask.long.byte 0x8 24.--31. 1. "VSPER,Voltage Scaling Period"
hexmask.long.byte 0x8 16.--19. 1. "VSVSTEP,Voltage Scaling Voltage Step"
newline
bitfld.long 0x8 8. "LPEFF,Low Power Efficiency" "0,1"
bitfld.long 0x8 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x8 5. "STDBYPL0,Standby in PL0" "0,1"
bitfld.long 0x8 2.--3. "SEL,Voltage Regulator Selection in active mode" "0: LDO selection,1: Buck selection,2: Switched Cap selection,?"
newline
bitfld.long 0x8 1. "ENABLE,Enable" "0,1"
line.long 0xC "VREF,VREF Control"
hexmask.long.byte 0xC 16.--19. 1. "SEL,Voltage Reference Selection"
bitfld.long 0xC 7. "ONDEMAND,On Demand Contrl" "0,1"
newline
bitfld.long 0xC 6. "RUNSTDBY,Run during Standby" "0,1"
bitfld.long 0xC 2. "VREFOE,Voltage Reference Output Enable" "0,1"
newline
bitfld.long 0xC 1. "TSEN,Temperature Sensor Output Enable" "0,1"
line.long 0x10 "BBPS,Battery Backup Power Switch"
bitfld.long 0x10 3. "PSOKEN,Power Supply OK Enable" "0,1"
bitfld.long 0x10 2. "WAKEEN,Wake Enable" "0,1"
newline
bitfld.long 0x10 0.--1. "CONF,Battery Backup Configuration" "0: The backup domain is always supplied by main power,1: The power switch is handled by the automatic..,2: The backup domain is always supplied by battery..,3: The power switch is handled by the BOD33"
line.long 0x14 "BKOUT,Backup Output Control"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x14 25. "RTCTGLOUT1,RTC Toggle OUT1" "0,1"
bitfld.long 0x14 24. "RTCTGLOUT0,RTC Toggle OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x14 24.--25. "RTCTGL,RTC Toggle Output" "0,1,2,3"
bitfld.long 0x14 16.--17. "SET,Set Output" "0,1,2,3"
newline
bitfld.long 0x14 8.--9. "CLR,Clear Output" "0,1,2,3"
bitfld.long 0x14 0.--1. "EN,Enable Output" "0,1,2,3"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x14 17. "SETOUT1,Set OUT1" "0,1"
bitfld.long 0x14 16. "SETOUT0,Set OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x14 9. "CLROUT1,Clear OUT1" "0,1"
bitfld.long 0x14 8. "CLROUT0,Clear OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x14 1. "ENOUT1,Enable OUT1" "0,1"
bitfld.long 0x14 0. "ENOUT0,Enable OUT0" "0,1"
endif
rgroup.long 0x28++0x3
line.long 0x0 "BKIN,Backup Input Control"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 1. "BKIN1,Backup Input 1" "0,1"
bitfld.long 0x0 0. "BKIN0,Backup Input 0" "0,1"
newline
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.long.byte 0x0 0.--7. 1. "BKIN,Backup Input Value"
endif
tree.end
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "SYSTEMCONTROL"
base ad:0xE000E000
rgroup.long 0xD00++0x3
line.long 0x0 "CPUID,CPUID Base Register"
hexmask.long.byte 0x0 24.--31. 1. "IMPLEMENTER,Implementer code ARM=0x41"
hexmask.long.byte 0x0 20.--23. 1. "VARIANT,Major revision number"
newline
hexmask.long.byte 0x0 16.--19. 1. "ARCHITECTURE,Processor Architecture 0xC=ARMv6-M"
hexmask.long.word 0x0 4.--15. 1. "PARTNO,Processor Part Number 0xC60=Cortex-M0+"
newline
hexmask.long.byte 0x0 0.--3. 1. "REVISION,Minor revision number"
group.long 0xD04++0xF
line.long 0x0 "ICSR,Interrupt Control and State Register"
bitfld.long 0x0 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 0x0 28. "PENDSVSET,PendSV set-pending bit" "0: Write: no effect; read: PendSV exception is not..,1: Write: changes PendSV exception state to.."
newline
bitfld.long 0x0 27. "PENDSVCLR,PendSV clear-pending bit" "0: No effect,1: Removes the pending state from the PendSV.."
bitfld.long 0x0 26. "PENDSTSET,SysTick exception set-pending bit" "0: Write: no effect; read: SysTick exception is not..,1: Write: changes SysTick exception state to.."
newline
bitfld.long 0x0 25. "PENDSTCLR,SysTick exception clear-pending bit" "0: No effect,1: Removes the pending state from the SysTick.."
bitfld.long 0x0 23. "ISRPREEMPT,Debug: Pending exception serviced on exit from debug halt" "0,1"
newline
bitfld.long 0x0 22. "ISRPENDING,Debug: NVIC interrupt pending" "0,1"
hexmask.long.word 0x0 12.--20. 1. "VECTPENDING,Exception number of the highest priority pending enabled exception"
newline
hexmask.long.word 0x0 0.--8. 1. "VECTACTIVE,Debug: Exception number of currently executing exception or 0 if thread mode"
line.long 0x4 "VTOR,Vector Table Offset Register"
hexmask.long 0x4 7.--31. 1. "TBLOFF,Vector table base offset"
line.long 0x8 "AIRCR,Application Interrupt and Reset Control Register"
hexmask.long.word 0x8 16.--31. 1. "VECTKEY,Register key (0x05FA)"
bitfld.long 0x8 15. "ENDIANNESS,Data Endianness 0=little 1=big" "0: little,1: big"
newline
bitfld.long 0x8 2. "SYSRESETREQ,System Reset Request" "0: No system reset request,1: Asserts a signal to the outer system that.."
bitfld.long 0x8 1. "VECTCLRACTIVE,Debug: Clear state information" "0,1"
line.long 0xC "SCR,System Control Register"
bitfld.long 0xC 4. "SEVONPEND,Send Event on Pending bit" "0: Only enabled interrupts or events can wakeup the..,1: Enabled events and all interrupts including.."
bitfld.long 0xC 2. "SLEEPDEEP,Uses Deep Sleep as low power mode" "0: Sleep,1: Deep sleep"
newline
bitfld.long 0xC 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++0x3
line.long 0x0 "CCR,Configuration and Control Register"
bitfld.long 0x0 9. "STKALIGN,Stack 8-byte aligned on exception entry" "0: 4-byte aligned,1: 8-byte aligned"
bitfld.long 0x0 3. "UNALIGN_TRP,Unaligned accesses generates a Hard Fault" "0: Do not trap unaligned halfword and word accesses,1: Trap unaligned halfword and word accesses"
group.long 0xD1C++0xB
line.long 0x0 "SHPR2,System Handler Priority Register 2"
hexmask.long.byte 0x0 24.--31. 1. "PRI_11,Priority of system handler 11 SVCall"
line.long 0x4 "SHPR3,System Handler Priority Register 3"
hexmask.long.byte 0x4 24.--31. 1. "PRI_15,Priority of system handler 15 SysTick exception"
hexmask.long.byte 0x4 16.--23. 1. "PRI_14,Priority of system handler 14 PendSV"
line.long 0x8 "SHCSR,System Handler Control and State Register"
bitfld.long 0x8 15. "SVCALLPENDED," "0,1"
group.long 0xD30++0x3
line.long 0x0 "DFSR,Debug Fault Status Register"
bitfld.long 0x0 4. "EXTERNAL,EDBGRQ debug event" "0,1"
bitfld.long 0x0 3. "VCATCH,Vector catch debug event" "0,1"
newline
bitfld.long 0x0 2. "DWTTRAP,DWT debug event" "0,1"
bitfld.long 0x0 1. "BKPT,Breakpoint debug event" "0,1"
newline
bitfld.long 0x0 0. "HALTED,Halt request debug event active" "0,1"
tree.end
endif
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "SysTick (System Timer)"
base ad:0xE000E010
group.long 0x0++0xB
line.long 0x0 "CSR,SysTick Control and Status Register"
bitfld.long 0x0 16. "COUNTFLAG,Timer counted to 0 since last read of register" "0,1"
bitfld.long 0x0 2. "CLKSOURCE,Clock Source 0=external 1=processor" "0: external,1: processor"
newline
bitfld.long 0x0 1. "TICKINT,SysTick Exception Request Enable" "0: Counting down to 0 does not assert the SysTick..,1: Counting down to 0 asserts the SysTick exception.."
bitfld.long 0x0 0. "ENABLE,SysTick Counter Enable" "0: Counter disabled,1: Counter enabled"
line.long 0x4 "RVR,SysTick Reload Value Register"
hexmask.long.tbyte 0x4 0.--23. 1. "RELOAD,Value to load into the SysTick Current Value Register when the counter reaches 0"
line.long 0x8 "CVR,SysTick Current Value Register"
hexmask.long.tbyte 0x8 0.--23. 1. "CURRENT,Current value at the time the register is accessed"
rgroup.long 0xC++0x3
line.long 0x0 "CALIB,SysTick Calibration Value Register"
bitfld.long 0x0 31. "NOREF,No Separate Reference Clock" "0: The reference clock is provided,1: The reference clock is not provided"
bitfld.long 0x0 30. "SKEW,TENMS is rounded from non-integer ratio" "0: 10ms calibration value is exact,1: 10ms calibration value is inexact because of the.."
newline
hexmask.long.tbyte 0x0 0.--23. 1. "TENMS,Reload value to use for 10ms timing"
tree.end
endif
tree "TC (Timer/Counter)"
base ad:0x0
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC$1,COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF$1,COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC$1,COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF$1,COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC$1,COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF$1,COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC$1,COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF$1,COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC$1,COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF$1,COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC$1,COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF$1,COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree.end
endif
sif (cpuis("ATSAMR34J16*"))
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC$1,COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF$1,COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC$1,COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF$1,COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
endif
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
rbitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
endif
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC$1,COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF$1,COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
endif
tree.end
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "TC0"
base ad:0x42002000
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC1"
base ad:0x42002400
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC2"
base ad:0x42002800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC3"
base ad:0x42002C00
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
tree "TC4"
base ad:0x43000800
tree "COUNT8"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.byte 0x14++0x0
line.byte 0x0 "COUNT,COUNT8 Count"
hexmask.byte 0x0 0.--7. 1. "COUNT,Counter Value"
group.byte 0x1B++0x0
line.byte 0x0 "PER,COUNT8 Period"
hexmask.byte 0x0 0.--7. 1. "PER,Period Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x1C)++0x0
line.byte 0x0 "CC[$1],COUNT8 Compare and Capture"
hexmask.byte 0x0 0.--7. 1. "CC,Counter/Compare Value"
repeat.end
group.byte 0x2F++0x0
line.byte 0x0 "PERBUF,COUNT8 Period Buffer"
hexmask.byte 0x0 0.--7. 1. "PERBUF,Period Buffer Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x1)
group.byte ($2+0x30)++0x0
line.byte 0x0 "CCBUF[$1],COUNT8 Compare and Capture Buffer"
hexmask.byte 0x0 0.--7. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT16"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.word 0x14++0x1
line.word 0x0 "COUNT,COUNT16 Count"
hexmask.word 0x0 0.--15. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x1C)++0x1
line.word 0x0 "CC[$1],COUNT16 Compare and Capture"
hexmask.word 0x0 0.--15. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x2)
group.word ($2+0x30)++0x1
line.word 0x0 "CCBUF[$1],COUNT16 Compare and Capture Buffer"
hexmask.word 0x0 0.--15. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree "COUNT32"
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 21. "COPEN1,Capture On Pin 1 Enable" "0,1"
bitfld.long 0x0 20. "COPEN0,Capture On Pin 0 Enable" "0,1"
newline
bitfld.long 0x0 17. "CAPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 16. "CAPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 11. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 8.--10. "PRESCALER,Prescaler" "0: Prescaler: GCLK_TC,1: Prescaler: GCLK_TC/2,2: Prescaler: GCLK_TC/4,3: Prescaler: GCLK_TC/8,4: Prescaler: GCLK_TC/16,5: Prescaler: GCLK_TC/64,6: Prescaler: GCLK_TC/256,7: Prescaler: GCLK_TC/1024"
newline
bitfld.long 0x0 7. "ONDEMAND,Clock On Demand" "0,1"
bitfld.long 0x0 6. "RUNSTDBY,Run during Standby" "0,1"
newline
bitfld.long 0x0 4.--5. "PRESCSYNC,Prescaler and Counter Synchronization" "0: Reload or reset the counter on next generic clock,1: Reload or reset the counter on next prescaler..,2: Reload or reset the counter on next generic..,?"
bitfld.long 0x0 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 0x0 1. "ENABLE,Enable" "0,1"
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 2. "ONESHOT,One-Shot on Counter" "0,1"
newline
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
group.word 0x6++0x1
line.word 0x0 "EVCTRL,Event Control"
bitfld.word 0x0 13. "MCEO1,MC Event Output Enable 1" "0,1"
bitfld.word 0x0 12. "MCEO0,MC Event Output Enable 0" "0,1"
newline
bitfld.word 0x0 8. "OVFEO,Event Output Enable" "0,1"
bitfld.word 0x0 5. "TCEI,TC Event Enable" "0,1"
newline
bitfld.word 0x0 4. "TCINV,TC Event Input Polarity" "0,1"
bitfld.word 0x0 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 captured in CC0 pulse width in CC1,6: Period captured in CC1 pulse width in CC0,7: Pulse width capture"
group.byte 0x8++0x5
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 5. "MC1,MC Interrupt Disable 1" "0,1"
bitfld.byte 0x0 4. "MC0,MC Interrupt Disable 0" "0,1"
newline
bitfld.byte 0x0 1. "ERR,ERR Interrupt Disable" "0,1"
bitfld.byte 0x0 0. "OVF,OVF Interrupt Disable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 5. "MC1,MC Interrupt Enable 1" "0,1"
bitfld.byte 0x1 4. "MC0,MC Interrupt Enable 0" "0,1"
newline
bitfld.byte 0x1 1. "ERR,ERR Interrupt Enable" "0,1"
bitfld.byte 0x1 0. "OVF,OVF Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 5. "MC1,MC Interrupt Flag 1" "0,1"
bitfld.byte 0x2 4. "MC0,MC Interrupt Flag 0" "0,1"
newline
bitfld.byte 0x2 1. "ERR,ERR Interrupt Flag" "0,1"
bitfld.byte 0x2 0. "OVF,OVF Interrupt Flag" "0,1"
line.byte 0x3 "STATUS,Status"
bitfld.byte 0x3 5. "CCBUFV1,Compare channel buffer 1 valid" "0,1"
bitfld.byte 0x3 4. "CCBUFV0,Compare channel buffer 0 valid" "0,1"
newline
bitfld.byte 0x3 3. "PERBUFV,Synchronization Busy Status" "0,1"
bitfld.byte 0x3 1. "SLAVE,Slave Status Flag" "0,1"
newline
bitfld.byte 0x3 0. "STOP,Stop Status Flag" "0,1"
line.byte 0x4 "WAVE,Waveform Generation Control"
bitfld.byte 0x4 0.--1. "WAVEGEN,Waveform Generation Mode" "0: Normal frequency,1: Match frequency,2: Normal PWM,3: Match PWM"
line.byte 0x5 "DRVCTRL,Control C"
bitfld.byte 0x5 1. "INVEN1,Output Waveform Invert Enable 1" "0,1"
bitfld.byte 0x5 0. "INVEN0,Output Waveform Invert Enable 0" "0,1"
group.byte 0xF++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 0. "DBGRUN,Run During Debug" "0,1"
rgroup.long 0x10++0x3
line.long 0x0 "SYNCBUSY,Synchronization Status"
bitfld.long 0x0 7. "CC1,Compare Channel 1" "0,1"
bitfld.long 0x0 6. "CC0,Compare Channel 0" "0,1"
newline
bitfld.long 0x0 5. "PER,Period" "0,1"
bitfld.long 0x0 4. "COUNT,Counter" "0,1"
newline
bitfld.long 0x0 3. "STATUS,STATUS" "0,1"
bitfld.long 0x0 2. "CTRLB,CTRLB" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,enable" "0,1"
bitfld.long 0x0 0. "SWRST,swrst" "0,1"
group.long 0x14++0x3
line.long 0x0 "COUNT,COUNT32 Count"
hexmask.long 0x0 0.--31. 1. "COUNT,Counter Value"
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x1C)++0x3
line.long 0x0 "CC[$1],COUNT32 Compare and Capture"
hexmask.long 0x0 0.--31. 1. "CC,Counter/Compare Value"
repeat.end
repeat 2. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x30)++0x3
line.long 0x0 "CCBUF[$1],COUNT32 Compare and Capture Buffer"
hexmask.long 0x0 0.--31. 1. "CCBUF,Counter/Compare Buffer Value"
repeat.end
tree.end
tree.end
endif
tree.end
tree "TCC (Timer/Counter for Control Applications)"
base ad:0x0
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
rbitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
rbitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
rbitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
rbitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
rbitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
rbitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
rbitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
rbitfld.long 0x10 4. "SLAVE,Slave" "0,1"
rbitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
rbitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
newline
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
newline
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
endif
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
newline
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
newline
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
newline
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
newline
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
newline
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
newline
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
endif
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
newline
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
newline
endif
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
bitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1,Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH4,Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH5,Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH6,Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH4,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH5,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH6,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
endif
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
rbitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
rbitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
rbitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
rbitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
rbitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
rbitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
rbitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
rbitfld.long 0x10 4. "SLAVE,Slave" "0,1"
rbitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
rbitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
newline
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
newline
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
endif
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
newline
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
newline
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
newline
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
newline
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
newline
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
newline
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
endif
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
newline
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
newline
endif
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
bitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1,Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH4,Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH5,Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH6,Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH4,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH5,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH6,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
endif
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
rbitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
rbitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
rbitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
rbitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
rbitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
rbitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
rbitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
rbitfld.long 0x10 4. "SLAVE,Slave" "0,1"
rbitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
rbitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
newline
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
newline
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
endif
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
newline
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
newline
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
newline
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
newline
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
newline
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
newline
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
endif
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
newline
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
newline
endif
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
newline
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
bitfld.long 0x10 0. "STOP,Stop" "0,1"
endif
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1,Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH4,Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH5,Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC$1_DITH6,Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH4,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH5,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF$1_DITH6,Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
endif
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J16*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J17*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
endif
sif (cpuis("ATSAMR35J18*"))
tree "TCC0"
base ad:0x42001400
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC1"
base ad:0x42001800
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
tree "TCC2"
base ad:0x42001C00
group.long 0x0++0x3
line.long 0x0 "CTRLA,Control A"
bitfld.long 0x0 27. "CPTEN3,Capture Channel 3 Enable" "0,1"
bitfld.long 0x0 26. "CPTEN2,Capture Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 25. "CPTEN1,Capture Channel 1 Enable" "0,1"
bitfld.long 0x0 24. "CPTEN0,Capture Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 23. "DMAOS,DMA One-shot Trigger Mode" "0,1"
bitfld.long 0x0 15. "MSYNC,Master Synchronization (only for TCC Slave Instance)" "0,1"
newline
bitfld.long 0x0 14. "ALOCK,Auto Lock" "0,1"
bitfld.long 0x0 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 reset..,?"
newline
bitfld.long 0x0 11. "RUNSTDBY,Run in Standby" "0,1"
bitfld.long 0x0 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"
newline
bitfld.long 0x0 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"
bitfld.long 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.long 0x0 0. "SWRST,Software Reset" "0,1"
group.byte 0x4++0x1
line.byte 0x0 "CTRLBCLR,Control B Clear"
bitfld.byte 0x0 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 0x0 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x0 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x0 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x0 0. "DIR,Counter Direction" "0,1"
line.byte 0x1 "CTRLBSET,Control B Set"
bitfld.byte 0x1 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 0x1 3.--4. "IDXCMD,Ramp Index Command" "0: Command disabled: Index toggles between cycles A..,1: Set index: cycle B will be forced in the next..,2: Clear index: cycle A will be forced in the next..,3: Hold index: the next cycle will be the same as.."
newline
bitfld.byte 0x1 2. "ONESHOT,One-Shot" "0,1"
bitfld.byte 0x1 1. "LUPD,Lock Update" "0,1"
newline
bitfld.byte 0x1 0. "DIR,Counter Direction" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.long 0x0 11. "CC3,Compare Channel 3 Busy" "0,1"
bitfld.long 0x0 10. "CC2,Compare Channel 2 Busy" "0,1"
newline
bitfld.long 0x0 9. "CC1,Compare Channel 1 Busy" "0,1"
bitfld.long 0x0 8. "CC0,Compare Channel 0 Busy" "0,1"
newline
bitfld.long 0x0 7. "PER,Period Busy" "0,1"
bitfld.long 0x0 6. "WAVE,Wave Busy" "0,1"
newline
bitfld.long 0x0 5. "PATT,Pattern Busy" "0,1"
bitfld.long 0x0 4. "COUNT,Count Busy" "0,1"
newline
bitfld.long 0x0 3. "STATUS,Status Busy" "0,1"
bitfld.long 0x0 2. "CTRLB,Ctrlb Busy" "0,1"
newline
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
bitfld.long 0x0 0. "SWRST,Swrst Busy" "0,1"
group.long 0xC++0xF
line.long 0x0 "FCTRLA,Recoverable Fault A Configuration"
hexmask.long.byte 0x0 24.--27. 1. "FILTERVAL,Fault A Filter Value"
hexmask.long.byte 0x0 16.--23. 1. "BLANKVAL,Fault A Blanking Time"
newline
bitfld.long 0x0 15. "BLANKPRESC,Fault A Blanking Prescaler" "0,1"
bitfld.long 0x0 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 0x0 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 0x0 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 0x0 7. "RESTART,Fault A Restart" "0,1"
bitfld.long 0x0 5.--6. "BLANK,Fault A Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x0 4. "QUAL,Fault A Qualification" "0,1"
bitfld.long 0x0 3. "KEEP,Fault A Keeper" "0,1"
newline
bitfld.long 0x0 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 the.."
line.long 0x4 "FCTRLB,Recoverable Fault B Configuration"
hexmask.long.byte 0x4 24.--27. 1. "FILTERVAL,Fault B Filter Value"
hexmask.long.byte 0x4 16.--23. 1. "BLANKVAL,Fault B Blanking Time"
newline
bitfld.long 0x4 15. "BLANKPRESC,Fault B Blanking Prescaler" "0,1"
bitfld.long 0x4 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 0x4 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 0x4 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 0x4 7. "RESTART,Fault B Restart" "0,1"
bitfld.long 0x4 5.--6. "BLANK,Fault B Blanking Mode" "0: Blanking applied from start of the ramp,1: Blanking applied from rising edge of the output..,2: Blanking applied from falling edge of the output..,3: Blanking applied from each toggle of the output.."
newline
bitfld.long 0x4 4. "QUAL,Fault B Qualification" "0,1"
bitfld.long 0x4 3. "KEEP,Fault B Keeper" "0,1"
newline
bitfld.long 0x4 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 the.."
line.long 0x8 "WEXCTRL,Waveform Extension Configuration"
hexmask.long.byte 0x8 24.--31. 1. "DTHS,Dead-time High Side Outputs Value"
hexmask.long.byte 0x8 16.--23. 1. "DTLS,Dead-time Low Side Outputs Value"
newline
bitfld.long 0x8 11. "DTIEN3,Dead-time Insertion Generator 3 Enable" "0,1"
bitfld.long 0x8 10. "DTIEN2,Dead-time Insertion Generator 2 Enable" "0,1"
newline
bitfld.long 0x8 9. "DTIEN1,Dead-time Insertion Generator 1 Enable" "0,1"
bitfld.long 0x8 8. "DTIEN0,Dead-time Insertion Generator 0 Enable" "0,1"
newline
bitfld.long 0x8 0.--1. "OTMX,Output Matrix" "0,1,2,3"
line.long 0xC "DRVCTRL,Driver Control"
hexmask.long.byte 0xC 28.--31. 1. "FILTERVAL1,Non-Recoverable Fault Input 1 Filter Value"
hexmask.long.byte 0xC 24.--27. 1. "FILTERVAL0,Non-Recoverable Fault Input 0 Filter Value"
newline
bitfld.long 0xC 23. "INVEN7,Output Waveform 7 Inversion" "0,1"
bitfld.long 0xC 22. "INVEN6,Output Waveform 6 Inversion" "0,1"
newline
bitfld.long 0xC 21. "INVEN5,Output Waveform 5 Inversion" "0,1"
bitfld.long 0xC 20. "INVEN4,Output Waveform 4 Inversion" "0,1"
newline
bitfld.long 0xC 19. "INVEN3,Output Waveform 3 Inversion" "0,1"
bitfld.long 0xC 18. "INVEN2,Output Waveform 2 Inversion" "0,1"
newline
bitfld.long 0xC 17. "INVEN1,Output Waveform 1 Inversion" "0,1"
bitfld.long 0xC 16. "INVEN0,Output Waveform 0 Inversion" "0,1"
newline
bitfld.long 0xC 15. "NRV7,Non-Recoverable State 7 Output Value" "0,1"
bitfld.long 0xC 14. "NRV6,Non-Recoverable State 6 Output Value" "0,1"
newline
bitfld.long 0xC 13. "NRV5,Non-Recoverable State 5 Output Value" "0,1"
bitfld.long 0xC 12. "NRV4,Non-Recoverable State 4 Output Value" "0,1"
newline
bitfld.long 0xC 11. "NRV3,Non-Recoverable State 3 Output Value" "0,1"
bitfld.long 0xC 10. "NRV2,Non-Recoverable State 2 Output Value" "0,1"
newline
bitfld.long 0xC 9. "NRV1,Non-Recoverable State 1 Output Value" "0,1"
bitfld.long 0xC 8. "NRV0,Non-Recoverable State 0 Output Value" "0,1"
newline
bitfld.long 0xC 7. "NRE7,Non-Recoverable State 7 Output Enable" "0,1"
bitfld.long 0xC 6. "NRE6,Non-Recoverable State 6 Output Enable" "0,1"
newline
bitfld.long 0xC 5. "NRE5,Non-Recoverable State 5 Output Enable" "0,1"
bitfld.long 0xC 4. "NRE4,Non-Recoverable State 4 Output Enable" "0,1"
newline
bitfld.long 0xC 3. "NRE3,Non-Recoverable State 3 Output Enable" "0,1"
bitfld.long 0xC 2. "NRE2,Non-Recoverable State 2 Output Enable" "0,1"
newline
bitfld.long 0xC 1. "NRE1,Non-Recoverable State 1 Output Enable" "0,1"
bitfld.long 0xC 0. "NRE0,Non-Recoverable State 0 Output Enable" "0,1"
group.byte 0x1E++0x0
line.byte 0x0 "DBGCTRL,Debug Control"
bitfld.byte 0x0 2. "FDDBD,Fault Detection on Debug Break Detection" "0,1"
bitfld.byte 0x0 0. "DBGRUN,Debug Running Mode" "0,1"
group.long 0x20++0x17
line.long 0x0 "EVCTRL,Event Control"
bitfld.long 0x0 27. "MCEO3,Match or Capture Channel 3 Event Output Enable" "0,1"
bitfld.long 0x0 26. "MCEO2,Match or Capture Channel 2 Event Output Enable" "0,1"
newline
bitfld.long 0x0 25. "MCEO1,Match or Capture Channel 1 Event Output Enable" "0,1"
bitfld.long 0x0 24. "MCEO0,Match or Capture Channel 0 Event Output Enable" "0,1"
newline
bitfld.long 0x0 19. "MCEI3,Match or Capture Channel 3 Event Input Enable" "0,1"
bitfld.long 0x0 18. "MCEI2,Match or Capture Channel 2 Event Input Enable" "0,1"
newline
bitfld.long 0x0 17. "MCEI1,Match or Capture Channel 1 Event Input Enable" "0,1"
bitfld.long 0x0 16. "MCEI0,Match or Capture Channel 0 Event Input Enable" "0,1"
newline
bitfld.long 0x0 15. "TCEI1,Timer/counter Event 1 Input Enable" "0,1"
bitfld.long 0x0 14. "TCEI0,Timer/counter Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 13. "TCINV1,Inverted Event 1 Input Enable" "0,1"
bitfld.long 0x0 12. "TCINV0,Inverted Event 0 Input Enable" "0,1"
newline
bitfld.long 0x0 10. "CNTEO,Timer/counter Output Event Enable" "0,1"
bitfld.long 0x0 9. "TRGEO,Retrigger Output Event Enable" "0,1"
newline
bitfld.long 0x0 8. "OVFEO,Overflow/Underflow Output Event Enable" "0,1"
bitfld.long 0x0 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 counter..,2: An interrupt/event is generated when a counter..,3: An interrupt/event is generated when a new.."
newline
bitfld.long 0x0 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 width..,6: Period capture value in CC1 register pulse width..,7: Non-recoverable fault"
bitfld.long 0x0 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"
line.long 0x4 "INTENCLR,Interrupt Enable Clear"
bitfld.long 0x4 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x4 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x4 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x4 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x4 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x4 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x4 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x4 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x4 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x4 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x4 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x4 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0x8 "INTENSET,Interrupt Enable Set"
bitfld.long 0x8 19. "MC3,Match or Capture Channel 3 Interrupt Enable" "0,1"
bitfld.long 0x8 18. "MC2,Match or Capture Channel 2 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 17. "MC1,Match or Capture Channel 1 Interrupt Enable" "0,1"
bitfld.long 0x8 16. "MC0,Match or Capture Channel 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 15. "FAULT1,Non-Recoverable Fault 1 Interrupt Enable" "0,1"
bitfld.long 0x8 14. "FAULT0,Non-Recoverable Fault 0 Interrupt Enable" "0,1"
newline
bitfld.long 0x8 13. "FAULTB,Recoverable Fault B Interrupt Enable" "0,1"
bitfld.long 0x8 12. "FAULTA,Recoverable Fault A Interrupt Enable" "0,1"
newline
bitfld.long 0x8 11. "DFS,Non-Recoverable Debug Fault Interrupt Enable" "0,1"
bitfld.long 0x8 10. "UFS,Non-Recoverable Update Fault Interrupt Enable" "0,1"
newline
bitfld.long 0x8 3. "ERR,Error Interrupt Enable" "0,1"
bitfld.long 0x8 2. "CNT,Counter Interrupt Enable" "0,1"
newline
bitfld.long 0x8 1. "TRG,Retrigger Interrupt Enable" "0,1"
bitfld.long 0x8 0. "OVF,Overflow Interrupt Enable" "0,1"
line.long 0xC "INTFLAG,Interrupt Flag Status and Clear"
bitfld.long 0xC 19. "MC3,Match or Capture 3" "0,1"
bitfld.long 0xC 18. "MC2,Match or Capture 2" "0,1"
newline
bitfld.long 0xC 17. "MC1,Match or Capture 1" "0,1"
bitfld.long 0xC 16. "MC0,Match or Capture 0" "0,1"
newline
bitfld.long 0xC 15. "FAULT1,Non-Recoverable Fault 1" "0,1"
bitfld.long 0xC 14. "FAULT0,Non-Recoverable Fault 0" "0,1"
newline
bitfld.long 0xC 13. "FAULTB,Recoverable Fault B" "0,1"
bitfld.long 0xC 12. "FAULTA,Recoverable Fault A" "0,1"
newline
bitfld.long 0xC 11. "DFS,Non-Recoverable Debug Fault" "0,1"
bitfld.long 0xC 10. "UFS,Non-Recoverable Update Fault" "0,1"
newline
bitfld.long 0xC 3. "ERR,Error" "0,1"
bitfld.long 0xC 2. "CNT,Counter" "0,1"
newline
bitfld.long 0xC 1. "TRG,Retrigger" "0,1"
bitfld.long 0xC 0. "OVF,Overflow" "0,1"
line.long 0x10 "STATUS,Status"
bitfld.long 0x10 27. "CMP3,Compare Channel 3 Value" "0,1"
bitfld.long 0x10 26. "CMP2,Compare Channel 2 Value" "0,1"
newline
bitfld.long 0x10 25. "CMP1,Compare Channel 1 Value" "0,1"
bitfld.long 0x10 24. "CMP0,Compare Channel 0 Value" "0,1"
newline
bitfld.long 0x10 19. "CCBUFV3,Compare Channel 3 Buffer Valid" "0,1"
bitfld.long 0x10 18. "CCBUFV2,Compare Channel 2 Buffer Valid" "0,1"
newline
bitfld.long 0x10 17. "CCBUFV1,Compare Channel 1 Buffer Valid" "0,1"
bitfld.long 0x10 16. "CCBUFV0,Compare Channel 0 Buffer Valid" "0,1"
newline
bitfld.long 0x10 15. "FAULT1,Non-Recoverable Fault 1 State" "0,1"
bitfld.long 0x10 14. "FAULT0,Non-Recoverable Fault 0 State" "0,1"
newline
bitfld.long 0x10 13. "FAULTB,Recoverable Fault B State" "0,1"
bitfld.long 0x10 12. "FAULTA,Recoverable Fault A State" "0,1"
newline
bitfld.long 0x10 11. "FAULT1IN,Non-Recoverable Fault1 Input" "0,1"
bitfld.long 0x10 10. "FAULT0IN,Non-Recoverable Fault0 Input" "0,1"
newline
bitfld.long 0x10 9. "FAULTBIN,Recoverable Fault B Input" "0,1"
bitfld.long 0x10 8. "FAULTAIN,Recoverable Fault A Input" "0,1"
newline
bitfld.long 0x10 7. "PERBUFV,Period Buffer Valid" "0,1"
bitfld.long 0x10 5. "PATTBUFV,Pattern Buffer Valid" "0,1"
newline
bitfld.long 0x10 4. "SLAVE,Slave" "0,1"
bitfld.long 0x10 3. "DFS,Non-Recoverable Debug Fault State" "0,1"
newline
bitfld.long 0x10 2. "UFS,Non-recoverable Update Fault State" "0,1"
bitfld.long 0x10 1. "IDX,Ramp" "0,1"
newline
bitfld.long 0x10 0. "STOP,Stop" "0,1"
line.long 0x14 "COUNT,Count"
hexmask.long.tbyte 0x14 0.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH4_MODE,Count"
hexmask.long.tbyte 0x0 4.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH5_MODE,Count"
hexmask.long.tbyte 0x0 5.--23. 1. "COUNT,Counter Value"
group.long 0x34++0x3
line.long 0x0 "COUNT_DITH6_MODE,Count"
hexmask.long.tbyte 0x0 6.--23. 1. "COUNT,Counter Value"
group.word 0x38++0x1
line.word 0x0 "PATT,Pattern"
bitfld.word 0x0 15. "PGV7,Pattern Generator 7 Output Value" "0,1"
bitfld.word 0x0 14. "PGV6,Pattern Generator 6 Output Value" "0,1"
newline
bitfld.word 0x0 13. "PGV5,Pattern Generator 5 Output Value" "0,1"
bitfld.word 0x0 12. "PGV4,Pattern Generator 4 Output Value" "0,1"
newline
bitfld.word 0x0 11. "PGV3,Pattern Generator 3 Output Value" "0,1"
bitfld.word 0x0 10. "PGV2,Pattern Generator 2 Output Value" "0,1"
newline
bitfld.word 0x0 9. "PGV1,Pattern Generator 1 Output Value" "0,1"
bitfld.word 0x0 8. "PGV0,Pattern Generator 0 Output Value" "0,1"
newline
bitfld.word 0x0 7. "PGE7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 6. "PGE6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 5. "PGE5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 4. "PGE4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 3. "PGE3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 2. "PGE2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 1. "PGE1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 0. "PGE0,Pattern Generator 0 Output Enable" "0,1"
group.long 0x3C++0x7
line.long 0x0 "WAVE,Waveform Control"
bitfld.long 0x0 27. "SWAP3,Swap DTI Output Pair 3" "0,1"
bitfld.long 0x0 26. "SWAP2,Swap DTI Output Pair 2" "0,1"
newline
bitfld.long 0x0 25. "SWAP1,Swap DTI Output Pair 1" "0,1"
bitfld.long 0x0 24. "SWAP0,Swap DTI Output Pair 0" "0,1"
newline
bitfld.long 0x0 19. "POL3,Channel 3 Polarity" "0,1"
bitfld.long 0x0 18. "POL2,Channel 2 Polarity" "0,1"
newline
bitfld.long 0x0 17. "POL1,Channel 1 Polarity" "0,1"
bitfld.long 0x0 16. "POL0,Channel 0 Polarity" "0,1"
newline
bitfld.long 0x0 11. "CICCEN3,Circular Channel 3 Enable" "0,1"
bitfld.long 0x0 10. "CICCEN2,Circular Channel 2 Enable" "0,1"
newline
bitfld.long 0x0 9. "CICCEN1,Circular Channel 1 Enable" "0,1"
bitfld.long 0x0 8. "CICCEN0,Circular Channel 0 Enable" "0,1"
newline
bitfld.long 0x0 7. "CIPEREN,Circular period Enable" "0,1"
bitfld.long 0x0 4.--5. "RAMP,Ramp Mode" "0: RAMP1 operation,1: Alternative RAMP2 operation,2: RAMP2 operation,3: Critical RAMP2 operation"
newline
bitfld.long 0x0 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 when..,6: Dual-slope with interrupt/event condition when..,7: Dual-slope with interrupt/event condition when.."
line.long 0x4 "PER,Period"
hexmask.long.tbyte 0x4 0.--23. 1. "PER,Period Value"
group.long 0x40++0x3
line.long 0x0 "PER_DITH4_MODE,Period"
hexmask.long.tbyte 0x0 4.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH5_MODE,Period"
hexmask.long.tbyte 0x0 5.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
group.long 0x40++0x3
line.long 0x0 "PER_DITH6_MODE,Period"
hexmask.long.tbyte 0x0 6.--23. 1. "PER,Period Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC[$1],Compare and Capture"
hexmask.long.tbyte 0x0 0.--23. 1. "CC,Channel Compare/Capture Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH4_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 4.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH5_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 5.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHER,Dithering Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x44)++0x3
line.long 0x0 "CC_DITH6_MODE[$1],Compare and Capture"
hexmask.long.tbyte 0x0 6.--23. 1. "CC,Channel Compare/Capture Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHER,Dithering Cycle Number"
repeat.end
group.word 0x64++0x1
line.word 0x0 "PATTBUF,Pattern Buffer"
bitfld.word 0x0 15. "PGVB7,Pattern Generator 7 Output Enable" "0,1"
bitfld.word 0x0 14. "PGVB6,Pattern Generator 6 Output Enable" "0,1"
newline
bitfld.word 0x0 13. "PGVB5,Pattern Generator 5 Output Enable" "0,1"
bitfld.word 0x0 12. "PGVB4,Pattern Generator 4 Output Enable" "0,1"
newline
bitfld.word 0x0 11. "PGVB3,Pattern Generator 3 Output Enable" "0,1"
bitfld.word 0x0 10. "PGVB2,Pattern Generator 2 Output Enable" "0,1"
newline
bitfld.word 0x0 9. "PGVB1,Pattern Generator 1 Output Enable" "0,1"
bitfld.word 0x0 8. "PGVB0,Pattern Generator 0 Output Enable" "0,1"
newline
bitfld.word 0x0 7. "PGEB7,Pattern Generator 7 Output Enable Buffer" "0,1"
bitfld.word 0x0 6. "PGEB6,Pattern Generator 6 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 5. "PGEB5,Pattern Generator 5 Output Enable Buffer" "0,1"
bitfld.word 0x0 4. "PGEB4,Pattern Generator 4 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 3. "PGEB3,Pattern Generator 3 Output Enable Buffer" "0,1"
bitfld.word 0x0 2. "PGEB2,Pattern Generator 2 Output Enable Buffer" "0,1"
newline
bitfld.word 0x0 1. "PGEB1,Pattern Generator 1 Output Enable Buffer" "0,1"
bitfld.word 0x0 0. "PGEB0,Pattern Generator 0 Output Enable Buffer" "0,1"
group.long 0x6C++0x3
line.long 0x0 "PERBUF,Period Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "PERBUF,Period Buffer Value"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH4_MODE,Period Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--3. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH5_MODE,Period Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
group.long 0x6C++0x3
line.long 0x0 "PERBUF_DITH6_MODE,Period Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "PERBUF,Period Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 0.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH4_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 4.--23. 1. "DITHERBUF,Dithering Buffer Cycle Number"
hexmask.long.byte 0x0 0.--3. 1. "CCBUF,Channel Compare/Capture Buffer Value"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH5_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 5.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--4. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
repeat 4. (increment 0x0 0x1)(increment 0x0 0x4)
group.long ($2+0x70)++0x3
line.long 0x0 "CCBUF_DITH6_MODE[$1],Compare and Capture Buffer"
hexmask.long.tbyte 0x0 6.--23. 1. "CCBUF,Channel Compare/Capture Buffer Value"
hexmask.long.byte 0x0 0.--5. 1. "DITHERBUF,Dithering Buffer Cycle Number"
repeat.end
tree.end
endif
tree.end
sif (cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*")||cpuis("ATSAMR35J16*")||cpuis("ATSAMR35J17*")||cpuis("ATSAMR35J18*"))
tree "TRNG (True Random Generator)"
base ad:0x42003800
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 6. "RUNSTDBY,Run in Standby" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
group.byte 0x4++0x0
line.byte 0x0 "EVCTRL,Event Control"
bitfld.byte 0x0 0. "DATARDYEO,Data Ready Event Output" "0,1"
group.byte 0x8++0x2
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 0. "DATARDY,Data Ready Interrupt Enable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 0. "DATARDY,Data Ready Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 0. "DATARDY,Data Ready Interrupt Flag" "0,1"
rgroup.long 0x20++0x3
line.long 0x0 "DATA,Output Data"
hexmask.long 0x0 0.--31. 1. "DATA,Output Data"
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*")||cpuis("ATSAMR34J17*")||cpuis("ATSAMR34J18*"))
tree "USB (Universal Serial Bus)"
base ad:0x41000000
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "DEVICE (USB is Device)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,DEVICE Control B"
bitfld.word 0x0 10.--11. "LPMHDSK,Link Power Management Handshake" "0: No handshake. LPM is not supported,1: ACK,2: NYET,3: STALL"
bitfld.word 0x0 9. "GNAK,Global NAK" "0,1"
bitfld.word 0x0 8. "OPMODE2,Specific Operational Mode" "0,1"
newline
bitfld.word 0x0 7. "TSTPCKT,Test packet mode" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
newline
bitfld.word 0x0 4. "NREPLY,No Reply" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration" "0: FS : Full Speed,1: LS : Low Speed,2: HS : High Speed capable,3: HSTM: High Speed Test Mode (force high-speed.."
bitfld.word 0x0 1. "UPRSM,Upstream Resume" "0,1"
newline
bitfld.word 0x0 0. "DETACH,Detach" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "DADD,DEVICE Device Address"
bitfld.byte 0x0 7. "ADDEN,Device Address Enable" "0,1"
hexmask.byte 0x0 0.--6. 1. "DADD,Device Address"
rgroup.byte 0xC++0x1
line.byte 0x0 "STATUS,DEVICE Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0: SE0/RESET,1: FS-J or LS-K State,2: FS-K or LS-J State,?"
rbitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0: Full-speed mode,1: High-speed mode,2: Low-speed mode,?"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0: SE0/RESET,1: FS-J or LS-K State,2: FS-K or LS-J State,?"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0: Full-speed mode,1: High-speed mode,2: Low-speed mode,?"
endif
line.byte 0x1 "FSMSTATUS,Finite State Machine Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.byte 0x1 0.--6. 1. "FSMSTATE,Fine State Machine Status"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.byte 0x1 0.--6. 1. "FSMSTATE,Fine State Machine Status"
endif
rgroup.word 0x10++0x1
line.word 0x0 "FNUM,DEVICE Device Frame Number"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.word 0x0 15. "FNCERR,Frame Number CRC Error" "0,1"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
newline
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 15. "FNCERR,Frame Number CRC Error" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
endif
group.word 0x14++0x1
line.word 0x0 "INTENCLR,DEVICE Device Interrupt Enable Clear"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,DEVICE Device Interrupt Enable Set"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,DEVICE Device Interrupt Flag"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "EPINTSMRY,DEVICE End Point Interrupt Summary"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "EPINT7,End Point 7 Interrupt" "0,1"
rbitfld.word 0x0 6. "EPINT6,End Point 6 Interrupt" "0,1"
rbitfld.word 0x0 5. "EPINT5,End Point 5 Interrupt" "0,1"
newline
rbitfld.word 0x0 4. "EPINT4,End Point 4 Interrupt" "0,1"
rbitfld.word 0x0 3. "EPINT3,End Point 3 Interrupt" "0,1"
rbitfld.word 0x0 2. "EPINT2,End Point 2 Interrupt" "0,1"
newline
rbitfld.word 0x0 1. "EPINT1,End Point 1 Interrupt" "0,1"
rbitfld.word 0x0 0. "EPINT0,End Point 0 Interrupt" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "EPINT7,End Point 7 Interrupt" "0,1"
newline
bitfld.word 0x0 6. "EPINT6,End Point 6 Interrupt" "0,1"
bitfld.word 0x0 5. "EPINT5,End Point 5 Interrupt" "0,1"
bitfld.word 0x0 4. "EPINT4,End Point 4 Interrupt" "0,1"
newline
bitfld.word 0x0 3. "EPINT3,End Point 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,End Point 2 Interrupt" "0,1"
bitfld.word 0x0 1. "EPINT1,End Point 1 Interrupt" "0,1"
newline
bitfld.word 0x0 0. "EPINT0,End Point 0 Interrupt" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x100)++0x0
line.byte 0x0 "EPCFG$1,DEVICE End Point Configuration"
bitfld.byte 0x0 7. "NYETDIS,NYET Token Disable" "0,1"
bitfld.byte 0x0 4.--6. "EPTYPE1,End Point Type1" "0,1,2,3,4,5,6,7"
newline
bitfld.byte 0x0 0.--2. "EPTYPE0,End Point Type0" "0,1,2,3,4,5,6,7"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
wgroup.byte ($2+0x104)++0x0
line.byte 0x0 "EPSTATUSCLR$1,DEVICE End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
newline
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request Clear" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request Clear" "0,1"
newline
bitfld.byte 0x0 2. "CURBK,Current Bank Clear" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle IN Clear" "0,1"
newline
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle OUT Clear" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
wgroup.byte ($2+0x105)++0x0
line.byte 0x0 "EPSTATUSSET$1,DEVICE End Point Pipe Status Set"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Set" "0,1"
newline
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request Set" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request Set" "0,1"
newline
bitfld.byte 0x0 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle IN Set" "0,1"
newline
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle OUT Set" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
rgroup.byte ($2+0x106)++0x0
line.byte 0x0 "EPSTATUS$1,DEVICE End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
newline
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request" "0,1"
newline
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle In" "0,1"
newline
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle Out" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x107)++0x0
line.byte 0x0 "EPINTFLAG$1,DEVICE End Point Interrupt Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/out" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/out" "0,1"
newline
bitfld.byte 0x0 4. "RXSTP,Received Setup" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1" "0,1"
newline
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1" "0,1"
newline
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x108)++0x0
line.byte 0x0 "EPINTENCLR$1,DEVICE End Point Interrupt Clear Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/Out Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 4. "RXSTP,Received Setup Interrupt Disable" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1 Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0 Interrupt Disable" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Disable" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x109)++0x0
line.byte 0x0 "EPINTENSET$1,DEVICE End Point Interrupt Set Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/out Interrupt enable" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/out Interrupt enable" "0,1"
newline
bitfld.byte 0x0 4. "RXSTP,Received Setup Interrupt Enable" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1 Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0 Interrupt Enable" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "DEVICE_ENDPOINT[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "EPCFG,DEVICE_ENDPOINT End Point Configuration"
bitfld.byte 0x0 7. "NYETDIS,NYET Token Disable" "0,1"
bitfld.byte 0x0 4.--6. "EPTYPE1,End Point Type1" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 0.--2. "EPTYPE0,End Point Type0" "0,1,2,3,4,5,6,7"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "EPSTATUSCLR,DEVICE_ENDPOINT End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request Clear" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank Clear" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle IN Clear" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle OUT Clear" "0,1"
line.byte 0x1 "EPSTATUSSET,DEVICE_ENDPOINT End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 5. "STALLRQ1,Stall 1 Request Set" "0,1"
bitfld.byte 0x1 4. "STALLRQ0,Stall 0 Request Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 1. "DTGLIN,Data Toggle IN Set" "0,1"
bitfld.byte 0x1 0. "DTGLOUT,Data Toggle OUT Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "EPSTATUS,DEVICE_ENDPOINT End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle In" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle Out" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "EPINTFLAG,DEVICE_ENDPOINT End Point Interrupt Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/out" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/out" "0,1"
bitfld.byte 0x0 4. "RXSTP,Received Setup" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1" "0,1"
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0" "0,1"
line.byte 0x1 "EPINTENCLR,DEVICE_ENDPOINT End Point Interrupt Clear Flag"
bitfld.byte 0x1 6. "STALL1,Stall 1 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 5. "STALL0,Stall 0 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 4. "RXSTP,Received Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "TRFAIL1,Error Flow 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL0,Error Flow 0 Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Interrupt Disable" "0,1"
line.byte 0x2 "EPINTENSET,DEVICE_ENDPOINT End Point Interrupt Set Flag"
bitfld.byte 0x2 6. "STALL1,Stall 1 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 5. "STALL0,Stall 0 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 4. "RXSTP,Received Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "TRFAIL1,Error Flow 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL0,Error Flow 0 Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*")||cpuis("ATSAMR34J16*"))
tree "HOST (USB is Host)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
endif
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,HOST Control B"
bitfld.word 0x0 11. "L1RESUME,Send L1 Resume" "0,1"
bitfld.word 0x0 10. "VBUSOK,VBUS is OK" "0,1"
bitfld.word 0x0 9. "BUSRESET,Send USB Reset" "0,1"
bitfld.word 0x0 8. "SOFE,Start of Frame Generation Enable" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
newline
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
bitfld.word 0x0 4. "AUTORESUME,Auto Resume Enable" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration for Host" "0: Normal mode: the host starts in full-speed mode..,?,?,3: Full-speed: the host remains in full-speed mode.."
bitfld.word 0x0 1. "RESUME,Send USB Resume" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "HSOFC,HOST Host Start Of Frame Control"
bitfld.byte 0x0 7. "FLENCE,Frame Length Control Enable" "0,1"
hexmask.byte 0x0 0.--3. 1. "FLENC,Frame Length Control"
group.byte 0xC++0x0
line.byte 0x0 "STATUS,HOST Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0,1,2,3"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0,1,2,3"
endif
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0,1,2,3"
rgroup.byte 0xD++0x0
line.byte 0x0 "FSMSTATUS,Finite State Machine Status"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.byte 0x0 0.--6. 1. "FSMSTATE,Fine State Machine Status"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.byte 0x0 0.--6. 1. "FSMSTATE,Fine State Machine Status"
endif
group.word 0x10++0x1
line.word 0x0 "FNUM,HOST Host Frame Number"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
rgroup.byte 0x12++0x0
line.byte 0x0 "FLENHIGH,HOST Host Frame Length"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.byte 0x0 0.--7. 1. "FLENHIGH,Frame Length"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.byte 0x0 0.--7. 1. "FLENHIGH,Frame Length"
endif
group.word 0x14++0x1
line.word 0x0 "INTENCLR,HOST Host Interrupt Enable Clear"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Disable" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection Interrupt Disable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Disable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from Device Interrupt Disable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to Device Interrupt Disable" "0,1"
newline
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Disable" "0,1"
bitfld.word 0x0 3. "RST,BUS Reset Interrupt Disable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Disable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,HOST Host Interrupt Enable Set"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Enable" "0,1"
bitfld.word 0x0 8. "DCONN,Link Power Management Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume fromthe device Interrupt Enable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to the Device Interrupt Enable" "0,1"
newline
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
bitfld.word 0x0 3. "RST,Bus Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,HOST Host Interrupt Flag"
bitfld.word 0x0 9. "DDISC,Device Disconnection" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from the Device" "0,1"
bitfld.word 0x0 5. "DNRSM,Downstream" "0,1"
newline
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
bitfld.word 0x0 3. "RST,Bus Reset" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "PINTSMRY,HOST Pipe Interrupt Summary"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.word 0x0 7. "EPINT7,Pipe 7 Interrupt" "0,1"
rbitfld.word 0x0 6. "EPINT6,Pipe 6 Interrupt" "0,1"
rbitfld.word 0x0 5. "EPINT5,Pipe 5 Interrupt" "0,1"
rbitfld.word 0x0 4. "EPINT4,Pipe 4 Interrupt" "0,1"
rbitfld.word 0x0 3. "EPINT3,Pipe 3 Interrupt" "0,1"
newline
rbitfld.word 0x0 2. "EPINT2,Pipe 2 Interrupt" "0,1"
rbitfld.word 0x0 1. "EPINT1,Pipe 1 Interrupt" "0,1"
rbitfld.word 0x0 0. "EPINT0,Pipe 0 Interrupt" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.word 0x0 7. "EPINT7,Pipe 7 Interrupt" "0,1"
bitfld.word 0x0 6. "EPINT6,Pipe 6 Interrupt" "0,1"
newline
bitfld.word 0x0 5. "EPINT5,Pipe 5 Interrupt" "0,1"
bitfld.word 0x0 4. "EPINT4,Pipe 4 Interrupt" "0,1"
bitfld.word 0x0 3. "EPINT3,Pipe 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,Pipe 2 Interrupt" "0,1"
bitfld.word 0x0 1. "EPINT1,Pipe 1 Interrupt" "0,1"
newline
bitfld.word 0x0 0. "EPINT0,Pipe 0 Interrupt" "0,1"
endif
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x100)++0x0
line.byte 0x0 "PCFG$1,HOST End Point Configuration"
bitfld.byte 0x0 3.--5. "PTYPE,Pipe Type" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 2. "BK,Pipe Bank" "0,1"
newline
bitfld.byte 0x0 0.--1. "PTOKEN,Pipe Token" "0,1,2,3"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x103)++0x0
line.byte 0x0 "BINTERVAL$1,HOST Bus Access Period of Pipe"
hexmask.byte 0x0 0.--7. 1. "BITINTERVAL,Bit Interval"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
wgroup.byte ($2+0x104)++0x0
line.byte 0x0 "PSTATUSCLR$1,HOST End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
newline
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Curren Bank clear" "0,1"
newline
rbitfld.byte 0x0 0. "DTGL,Data Toggle clear" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
wgroup.byte ($2+0x105)++0x0
line.byte 0x0 "PSTATUSSET$1,HOST End Point Pipe Status Set"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Set" "0,1"
newline
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze Set" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank Set" "0,1"
newline
bitfld.byte 0x0 0. "DTGL,Data Toggle Set" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
rgroup.byte ($2+0x106)++0x0
line.byte 0x0 "PSTATUS$1,HOST End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
newline
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
newline
bitfld.byte 0x0 0. "DTGL,Data Toggle" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x107)++0x0
line.byte 0x0 "PINTFLAG$1,HOST Pipe Interrupt Flag"
bitfld.byte 0x0 5. "STALL,Stall Interrupt Flag" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Flag" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Flag" "0,1"
newline
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Flag" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Flag" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x108)++0x0
line.byte 0x0 "PINTENCLR$1,HOST Pipe Interrupt Flag Clear"
bitfld.byte 0x0 5. "STALL,Stall Inetrrupt Disable" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Disable" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Disable" "0,1"
newline
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Disable" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Disable" "0,1"
repeat.end
repeat 8. (increment 0x0 0x1)(increment 0x0 0x20)
group.byte ($2+0x109)++0x0
line.byte 0x0 "PINTENSET$1,HOST Pipe Interrupt Flag Set"
bitfld.byte 0x0 5. "STALL,Stall Interrupt Enable" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Enable" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Enable" "0,1"
newline
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
repeat.end
endif
sif (cpuis("ATSAMR34J16*"))
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "HOST_PIPE[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "PCFG,HOST_PIPE End Point Configuration"
bitfld.byte 0x0 3.--5. "PTYPE,Pipe Type" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 2. "BK,Pipe Bank" "0,1"
bitfld.byte 0x0 0.--1. "PTOKEN,Pipe Token" "0,1,2,3"
group.byte ($2+0x3)++0x0
line.byte 0x0 "BINTERVAL,HOST_PIPE Bus Access Period of Pipe"
hexmask.byte 0x0 0.--7. 1. "BITINTERVAL,Bit Interval"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "PSTATUSCLR,HOST_PIPE End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Curren Bank clear" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle clear" "0,1"
line.byte 0x1 "PSTATUSSET,HOST_PIPE End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 4. "PFREEZE,Pipe Freeze Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 0. "DTGL,Data Toggle Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "PSTATUS,HOST_PIPE End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "PINTFLAG,HOST_PIPE Pipe Interrupt Flag"
bitfld.byte 0x0 5. "STALL,Stall Interrupt Flag" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Flag" "0,1"
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Flag" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Flag" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Flag" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Flag" "0,1"
line.byte 0x1 "PINTENCLR,HOST_PIPE Pipe Interrupt Flag Clear"
bitfld.byte 0x1 5. "STALL,Stall Inetrrupt Disable" "0,1"
bitfld.byte 0x1 4. "TXSTP,Transmit Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "PERR,Pipe Error Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL,Error Flow Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Disable" "0,1"
line.byte 0x2 "PINTENSET,HOST_PIPE Pipe Interrupt Flag Set"
bitfld.byte 0x2 5. "STALL,Stall Interrupt Enable" "0,1"
bitfld.byte 0x2 4. "TXSTP,Transmit Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "PERR,Pipe Error Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL,Error Flow Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
endif
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "DEVICE (USB is Device)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,DEVICE Control B"
bitfld.word 0x0 10.--11. "LPMHDSK,Link Power Management Handshake" "0: No handshake. LPM is not supported,1: ACK,2: NYET,3: STALL"
bitfld.word 0x0 9. "GNAK,Global NAK" "0,1"
bitfld.word 0x0 8. "OPMODE2,Specific Operational Mode" "0,1"
newline
bitfld.word 0x0 7. "TSTPCKT,Test packet mode" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
newline
bitfld.word 0x0 4. "NREPLY,No Reply" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration" "0: FS : Full Speed,1: LS : Low Speed,2: HS : High Speed capable,3: HSTM: High Speed Test Mode (force high-speed.."
bitfld.word 0x0 1. "UPRSM,Upstream Resume" "0,1"
newline
bitfld.word 0x0 0. "DETACH,Detach" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "DADD,DEVICE Device Address"
bitfld.byte 0x0 7. "ADDEN,Device Address Enable" "0,1"
hexmask.byte 0x0 0.--6. 1. "DADD,Device Address"
rgroup.byte 0xC++0x1
line.byte 0x0 "STATUS,DEVICE Status"
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0: SE0/RESET,1: FS-J or LS-K State,2: FS-K or LS-J State,?"
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0: Full-speed mode,1: High-speed mode,2: Low-speed mode,?"
line.byte 0x1 "FSMSTATUS,Finite State Machine Status"
hexmask.byte 0x1 0.--6. 1. "FSMSTATE,Fine State Machine Status"
rgroup.word 0x10++0x1
line.word 0x0 "FNUM,DEVICE Device Frame Number"
bitfld.word 0x0 15. "FNCERR,Frame Number CRC Error" "0,1"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
group.word 0x14++0x1
line.word 0x0 "INTENCLR,DEVICE Device Interrupt Enable Clear"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,DEVICE Device Interrupt Enable Set"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,DEVICE Device Interrupt Flag"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "EPINTSMRY,DEVICE End Point Interrupt Summary"
bitfld.word 0x0 7. "EPINT7,End Point 7 Interrupt" "0,1"
bitfld.word 0x0 6. "EPINT6,End Point 6 Interrupt" "0,1"
bitfld.word 0x0 5. "EPINT5,End Point 5 Interrupt" "0,1"
newline
bitfld.word 0x0 4. "EPINT4,End Point 4 Interrupt" "0,1"
bitfld.word 0x0 3. "EPINT3,End Point 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,End Point 2 Interrupt" "0,1"
newline
bitfld.word 0x0 1. "EPINT1,End Point 1 Interrupt" "0,1"
bitfld.word 0x0 0. "EPINT0,End Point 0 Interrupt" "0,1"
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "DEVICE_ENDPOINT[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "EPCFG,DEVICE_ENDPOINT End Point Configuration"
bitfld.byte 0x0 7. "NYETDIS,NYET Token Disable" "0,1"
bitfld.byte 0x0 4.--6. "EPTYPE1,End Point Type1" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 0.--2. "EPTYPE0,End Point Type0" "0,1,2,3,4,5,6,7"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "EPSTATUSCLR,DEVICE_ENDPOINT End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request Clear" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank Clear" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle IN Clear" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle OUT Clear" "0,1"
line.byte 0x1 "EPSTATUSSET,DEVICE_ENDPOINT End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 5. "STALLRQ1,Stall 1 Request Set" "0,1"
bitfld.byte 0x1 4. "STALLRQ0,Stall 0 Request Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 1. "DTGLIN,Data Toggle IN Set" "0,1"
bitfld.byte 0x1 0. "DTGLOUT,Data Toggle OUT Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "EPSTATUS,DEVICE_ENDPOINT End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle In" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle Out" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "EPINTFLAG,DEVICE_ENDPOINT End Point Interrupt Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/out" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/out" "0,1"
bitfld.byte 0x0 4. "RXSTP,Received Setup" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1" "0,1"
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0" "0,1"
line.byte 0x1 "EPINTENCLR,DEVICE_ENDPOINT End Point Interrupt Clear Flag"
bitfld.byte 0x1 6. "STALL1,Stall 1 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 5. "STALL0,Stall 0 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 4. "RXSTP,Received Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "TRFAIL1,Error Flow 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL0,Error Flow 0 Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Interrupt Disable" "0,1"
line.byte 0x2 "EPINTENSET,DEVICE_ENDPOINT End Point Interrupt Set Flag"
bitfld.byte 0x2 6. "STALL1,Stall 1 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 5. "STALL0,Stall 0 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 4. "RXSTP,Received Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "TRFAIL1,Error Flow 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL0,Error Flow 0 Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J17*"))
tree "HOST (USB is Host)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,HOST Control B"
bitfld.word 0x0 11. "L1RESUME,Send L1 Resume" "0,1"
bitfld.word 0x0 10. "VBUSOK,VBUS is OK" "0,1"
bitfld.word 0x0 9. "BUSRESET,Send USB Reset" "0,1"
bitfld.word 0x0 8. "SOFE,Start of Frame Generation Enable" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
newline
bitfld.word 0x0 4. "AUTORESUME,Auto Resume Enable" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration for Host" "0: Normal mode: the host starts in full-speed mode..,?,?,3: Full-speed: the host remains in full-speed mode.."
bitfld.word 0x0 1. "RESUME,Send USB Resume" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "HSOFC,HOST Host Start Of Frame Control"
bitfld.byte 0x0 7. "FLENCE,Frame Length Control Enable" "0,1"
hexmask.byte 0x0 0.--3. 1. "FLENC,Frame Length Control"
group.byte 0xC++0x0
line.byte 0x0 "STATUS,HOST Status"
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0,1,2,3"
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0,1,2,3"
rgroup.byte 0xD++0x0
line.byte 0x0 "FSMSTATUS,Finite State Machine Status"
hexmask.byte 0x0 0.--6. 1. "FSMSTATE,Fine State Machine Status"
group.word 0x10++0x1
line.word 0x0 "FNUM,HOST Host Frame Number"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
rgroup.byte 0x12++0x0
line.byte 0x0 "FLENHIGH,HOST Host Frame Length"
hexmask.byte 0x0 0.--7. 1. "FLENHIGH,Frame Length"
group.word 0x14++0x1
line.word 0x0 "INTENCLR,HOST Host Interrupt Enable Clear"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Disable" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection Interrupt Disable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Disable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from Device Interrupt Disable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to Device Interrupt Disable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Disable" "0,1"
newline
bitfld.word 0x0 3. "RST,BUS Reset Interrupt Disable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Disable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,HOST Host Interrupt Enable Set"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Enable" "0,1"
bitfld.word 0x0 8. "DCONN,Link Power Management Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume fromthe device Interrupt Enable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to the Device Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "RST,Bus Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,HOST Host Interrupt Flag"
bitfld.word 0x0 9. "DDISC,Device Disconnection" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from the Device" "0,1"
bitfld.word 0x0 5. "DNRSM,Downstream" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
newline
bitfld.word 0x0 3. "RST,Bus Reset" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "PINTSMRY,HOST Pipe Interrupt Summary"
bitfld.word 0x0 7. "EPINT7,Pipe 7 Interrupt" "0,1"
bitfld.word 0x0 6. "EPINT6,Pipe 6 Interrupt" "0,1"
bitfld.word 0x0 5. "EPINT5,Pipe 5 Interrupt" "0,1"
bitfld.word 0x0 4. "EPINT4,Pipe 4 Interrupt" "0,1"
bitfld.word 0x0 3. "EPINT3,Pipe 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,Pipe 2 Interrupt" "0,1"
newline
bitfld.word 0x0 1. "EPINT1,Pipe 1 Interrupt" "0,1"
bitfld.word 0x0 0. "EPINT0,Pipe 0 Interrupt" "0,1"
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "HOST_PIPE[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "PCFG,HOST_PIPE End Point Configuration"
bitfld.byte 0x0 3.--5. "PTYPE,Pipe Type" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 2. "BK,Pipe Bank" "0,1"
bitfld.byte 0x0 0.--1. "PTOKEN,Pipe Token" "0,1,2,3"
group.byte ($2+0x3)++0x0
line.byte 0x0 "BINTERVAL,HOST_PIPE Bus Access Period of Pipe"
hexmask.byte 0x0 0.--7. 1. "BITINTERVAL,Bit Interval"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "PSTATUSCLR,HOST_PIPE End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Curren Bank clear" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle clear" "0,1"
line.byte 0x1 "PSTATUSSET,HOST_PIPE End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 4. "PFREEZE,Pipe Freeze Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 0. "DTGL,Data Toggle Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "PSTATUS,HOST_PIPE End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "PINTFLAG,HOST_PIPE Pipe Interrupt Flag"
bitfld.byte 0x0 5. "STALL,Stall Interrupt Flag" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Flag" "0,1"
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Flag" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Flag" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Flag" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Flag" "0,1"
line.byte 0x1 "PINTENCLR,HOST_PIPE Pipe Interrupt Flag Clear"
bitfld.byte 0x1 5. "STALL,Stall Inetrrupt Disable" "0,1"
bitfld.byte 0x1 4. "TXSTP,Transmit Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "PERR,Pipe Error Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL,Error Flow Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Disable" "0,1"
line.byte 0x2 "PINTENSET,HOST_PIPE Pipe Interrupt Flag Set"
bitfld.byte 0x2 5. "STALL,Stall Interrupt Enable" "0,1"
bitfld.byte 0x2 4. "TXSTP,Transmit Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "PERR,Pipe Error Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL,Error Flow Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "DEVICE (USB is Device)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
newline
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,DEVICE Control B"
bitfld.word 0x0 10.--11. "LPMHDSK,Link Power Management Handshake" "0: No handshake. LPM is not supported,1: ACK,2: NYET,3: STALL"
bitfld.word 0x0 9. "GNAK,Global NAK" "0,1"
bitfld.word 0x0 8. "OPMODE2,Specific Operational Mode" "0,1"
newline
bitfld.word 0x0 7. "TSTPCKT,Test packet mode" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
newline
bitfld.word 0x0 4. "NREPLY,No Reply" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration" "0: FS : Full Speed,1: LS : Low Speed,2: HS : High Speed capable,3: HSTM: High Speed Test Mode (force high-speed.."
bitfld.word 0x0 1. "UPRSM,Upstream Resume" "0,1"
newline
bitfld.word 0x0 0. "DETACH,Detach" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "DADD,DEVICE Device Address"
bitfld.byte 0x0 7. "ADDEN,Device Address Enable" "0,1"
hexmask.byte 0x0 0.--6. 1. "DADD,Device Address"
rgroup.byte 0xC++0x1
line.byte 0x0 "STATUS,DEVICE Status"
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0: SE0/RESET,1: FS-J or LS-K State,2: FS-K or LS-J State,?"
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0: Full-speed mode,1: High-speed mode,2: Low-speed mode,?"
line.byte 0x1 "FSMSTATUS,Finite State Machine Status"
hexmask.byte 0x1 0.--6. 1. "FSMSTATE,Fine State Machine Status"
rgroup.word 0x10++0x1
line.word 0x0 "FNUM,DEVICE Device Frame Number"
bitfld.word 0x0 15. "FNCERR,Frame Number CRC Error" "0,1"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
group.word 0x14++0x1
line.word 0x0 "INTENCLR,DEVICE Device Interrupt Enable Clear"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,DEVICE Device Interrupt Enable Set"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend Interrupt Enable" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume Interrupt Enable" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame Interrupt Enable" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame Interrupt Enable in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,DEVICE Device Interrupt Flag"
bitfld.word 0x0 9. "LPMSUSP,Link Power Management Suspend" "0,1"
bitfld.word 0x0 8. "LPMNYET,Link Power Management Not Yet" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
newline
bitfld.word 0x0 6. "UPRSM,Upstream Resume" "0,1"
bitfld.word 0x0 5. "EORSM,End Of Resume" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
newline
bitfld.word 0x0 3. "EORST,End of Reset" "0,1"
bitfld.word 0x0 2. "SOF,Start Of Frame" "0,1"
bitfld.word 0x0 1. "MSOF,Micro Start of Frame in High Speed Mode" "0,1"
newline
bitfld.word 0x0 0. "SUSPEND,Suspend" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "EPINTSMRY,DEVICE End Point Interrupt Summary"
bitfld.word 0x0 7. "EPINT7,End Point 7 Interrupt" "0,1"
bitfld.word 0x0 6. "EPINT6,End Point 6 Interrupt" "0,1"
bitfld.word 0x0 5. "EPINT5,End Point 5 Interrupt" "0,1"
newline
bitfld.word 0x0 4. "EPINT4,End Point 4 Interrupt" "0,1"
bitfld.word 0x0 3. "EPINT3,End Point 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,End Point 2 Interrupt" "0,1"
newline
bitfld.word 0x0 1. "EPINT1,End Point 1 Interrupt" "0,1"
bitfld.word 0x0 0. "EPINT0,End Point 0 Interrupt" "0,1"
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "DEVICE_ENDPOINT[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "EPCFG,DEVICE_ENDPOINT End Point Configuration"
bitfld.byte 0x0 7. "NYETDIS,NYET Token Disable" "0,1"
bitfld.byte 0x0 4.--6. "EPTYPE1,End Point Type1" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 0.--2. "EPTYPE0,End Point Type0" "0,1,2,3,4,5,6,7"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "EPSTATUSCLR,DEVICE_ENDPOINT End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request Clear" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank Clear" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle IN Clear" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle OUT Clear" "0,1"
line.byte 0x1 "EPSTATUSSET,DEVICE_ENDPOINT End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 5. "STALLRQ1,Stall 1 Request Set" "0,1"
bitfld.byte 0x1 4. "STALLRQ0,Stall 0 Request Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 1. "DTGLIN,Data Toggle IN Set" "0,1"
bitfld.byte 0x1 0. "DTGLOUT,Data Toggle OUT Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "EPSTATUS,DEVICE_ENDPOINT End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 5. "STALLRQ1,Stall 1 Request" "0,1"
bitfld.byte 0x0 4. "STALLRQ0,Stall 0 Request" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 1. "DTGLIN,Data Toggle In" "0,1"
bitfld.byte 0x0 0. "DTGLOUT,Data Toggle Out" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "EPINTFLAG,DEVICE_ENDPOINT End Point Interrupt Flag"
bitfld.byte 0x0 6. "STALL1,Stall 1 In/out" "0,1"
bitfld.byte 0x0 5. "STALL0,Stall 0 In/out" "0,1"
bitfld.byte 0x0 4. "RXSTP,Received Setup" "0,1"
bitfld.byte 0x0 3. "TRFAIL1,Error Flow 1" "0,1"
bitfld.byte 0x0 2. "TRFAIL0,Error Flow 0" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0" "0,1"
line.byte 0x1 "EPINTENCLR,DEVICE_ENDPOINT End Point Interrupt Clear Flag"
bitfld.byte 0x1 6. "STALL1,Stall 1 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 5. "STALL0,Stall 0 In/Out Interrupt Disable" "0,1"
bitfld.byte 0x1 4. "RXSTP,Received Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "TRFAIL1,Error Flow 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL0,Error Flow 0 Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Interrupt Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Interrupt Disable" "0,1"
line.byte 0x2 "EPINTENSET,DEVICE_ENDPOINT End Point Interrupt Set Flag"
bitfld.byte 0x2 6. "STALL1,Stall 1 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 5. "STALL0,Stall 0 In/out Interrupt enable" "0,1"
bitfld.byte 0x2 4. "RXSTP,Received Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "TRFAIL1,Error Flow 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL0,Error Flow 0 Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
tree.end
endif
sif (cpuis("ATSAMR34J18*"))
tree "HOST (USB is Host)"
base ad:0x41000000
group.byte 0x0++0x0
line.byte 0x0 "CTRLA,Control A"
bitfld.byte 0x0 7. "MODE,Operating Mode" "0: Device Mode,1: Host Mode"
bitfld.byte 0x0 2. "RUNSTDBY,Run in Standby Mode" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset" "0,1"
rgroup.byte 0x2++0x0
line.byte 0x0 "SYNCBUSY,Synchronization Busy"
bitfld.byte 0x0 1. "ENABLE,Enable Synchronization Busy" "0,1"
bitfld.byte 0x0 0. "SWRST,Software Reset Synchronization Busy" "0,1"
group.byte 0x3++0x0
line.byte 0x0 "QOSCTRL,USB Quality Of Service"
bitfld.byte 0x0 2.--3. "DQOS,Data Quality of Service" "0,1,2,3"
bitfld.byte 0x0 0.--1. "CQOS,Configuration Quality of Service" "0,1,2,3"
group.word 0x8++0x1
line.word 0x0 "CTRLB,HOST Control B"
bitfld.word 0x0 11. "L1RESUME,Send L1 Resume" "0,1"
bitfld.word 0x0 10. "VBUSOK,VBUS is OK" "0,1"
bitfld.word 0x0 9. "BUSRESET,Send USB Reset" "0,1"
bitfld.word 0x0 8. "SOFE,Start of Frame Generation Enable" "0,1"
bitfld.word 0x0 6. "TSTK,Test mode K" "0,1"
bitfld.word 0x0 5. "TSTJ,Test mode J" "0,1"
newline
bitfld.word 0x0 4. "AUTORESUME,Auto Resume Enable" "0,1"
bitfld.word 0x0 2.--3. "SPDCONF,Speed Configuration for Host" "0: Normal mode: the host starts in full-speed mode..,?,?,3: Full-speed: the host remains in full-speed mode.."
bitfld.word 0x0 1. "RESUME,Send USB Resume" "0,1"
group.byte 0xA++0x0
line.byte 0x0 "HSOFC,HOST Host Start Of Frame Control"
bitfld.byte 0x0 7. "FLENCE,Frame Length Control Enable" "0,1"
hexmask.byte 0x0 0.--3. 1. "FLENC,Frame Length Control"
group.byte 0xC++0x0
line.byte 0x0 "STATUS,HOST Status"
bitfld.byte 0x0 6.--7. "LINESTATE,USB Line State Status" "0,1,2,3"
bitfld.byte 0x0 2.--3. "SPEED,Speed Status" "0,1,2,3"
rgroup.byte 0xD++0x0
line.byte 0x0 "FSMSTATUS,Finite State Machine Status"
hexmask.byte 0x0 0.--6. 1. "FSMSTATE,Fine State Machine Status"
group.word 0x10++0x1
line.word 0x0 "FNUM,HOST Host Frame Number"
hexmask.word 0x0 3.--13. 1. "FNUM,Frame Number"
bitfld.word 0x0 0.--2. "MFNUM,Micro Frame Number" "0,1,2,3,4,5,6,7"
rgroup.byte 0x12++0x0
line.byte 0x0 "FLENHIGH,HOST Host Frame Length"
hexmask.byte 0x0 0.--7. 1. "FLENHIGH,Frame Length"
group.word 0x14++0x1
line.word 0x0 "INTENCLR,HOST Host Interrupt Enable Clear"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Disable" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection Interrupt Disable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Disable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from Device Interrupt Disable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to Device Interrupt Disable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Disable" "0,1"
newline
bitfld.word 0x0 3. "RST,BUS Reset Interrupt Disable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Disable" "0,1"
group.word 0x18++0x1
line.word 0x0 "INTENSET,HOST Host Interrupt Enable Set"
bitfld.word 0x0 9. "DDISC,Device Disconnection Interrupt Enable" "0,1"
bitfld.word 0x0 8. "DCONN,Link Power Management Interrupt Enable" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access Interrupt Enable" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume fromthe device Interrupt Enable" "0,1"
bitfld.word 0x0 5. "DNRSM,DownStream to the Device Interrupt Enable" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up Interrupt Enable" "0,1"
newline
bitfld.word 0x0 3. "RST,Bus Reset Interrupt Enable" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame Interrupt Enable" "0,1"
group.word 0x1C++0x1
line.word 0x0 "INTFLAG,HOST Host Interrupt Flag"
bitfld.word 0x0 9. "DDISC,Device Disconnection" "0,1"
bitfld.word 0x0 8. "DCONN,Device Connection" "0,1"
bitfld.word 0x0 7. "RAMACER,Ram Access" "0,1"
bitfld.word 0x0 6. "UPRSM,Upstream Resume from the Device" "0,1"
bitfld.word 0x0 5. "DNRSM,Downstream" "0,1"
bitfld.word 0x0 4. "WAKEUP,Wake Up" "0,1"
newline
bitfld.word 0x0 3. "RST,Bus Reset" "0,1"
bitfld.word 0x0 2. "HSOF,Host Start Of Frame" "0,1"
rgroup.word 0x20++0x1
line.word 0x0 "PINTSMRY,HOST Pipe Interrupt Summary"
bitfld.word 0x0 7. "EPINT7,Pipe 7 Interrupt" "0,1"
bitfld.word 0x0 6. "EPINT6,Pipe 6 Interrupt" "0,1"
bitfld.word 0x0 5. "EPINT5,Pipe 5 Interrupt" "0,1"
bitfld.word 0x0 4. "EPINT4,Pipe 4 Interrupt" "0,1"
bitfld.word 0x0 3. "EPINT3,Pipe 3 Interrupt" "0,1"
bitfld.word 0x0 2. "EPINT2,Pipe 2 Interrupt" "0,1"
newline
bitfld.word 0x0 1. "EPINT1,Pipe 1 Interrupt" "0,1"
bitfld.word 0x0 0. "EPINT0,Pipe 0 Interrupt" "0,1"
group.long 0x24++0x3
line.long 0x0 "DESCADD,Descriptor Address"
hexmask.long 0x0 0.--31. 1. "DESCADD,Descriptor Address Value"
group.word 0x28++0x1
line.word 0x0 "PADCAL,USB PAD Calibration"
bitfld.word 0x0 12.--14. "TRIM,USB Pad Trim calibration" "0,1,2,3,4,5,6,7"
hexmask.word.byte 0x0 6.--10. 1. "TRANSN,USB Pad Transn calibration"
hexmask.word.byte 0x0 0.--4. 1. "TRANSP,USB Pad Transp calibration"
repeat 8. (list 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7)(list ad:0x41000100 ad:0x41000120 ad:0x41000140 ad:0x41000160 ad:0x41000180 ad:0x410001A0 ad:0x410001C0 ad:0x410001E0)
tree "HOST_PIPE[$1]"
base $2
group.byte ($2)++0x0
line.byte 0x0 "PCFG,HOST_PIPE End Point Configuration"
bitfld.byte 0x0 3.--5. "PTYPE,Pipe Type" "0,1,2,3,4,5,6,7"
bitfld.byte 0x0 2. "BK,Pipe Bank" "0,1"
bitfld.byte 0x0 0.--1. "PTOKEN,Pipe Token" "0,1,2,3"
group.byte ($2+0x3)++0x0
line.byte 0x0 "BINTERVAL,HOST_PIPE Bus Access Period of Pipe"
hexmask.byte 0x0 0.--7. 1. "BITINTERVAL,Bit Interval"
wgroup.byte ($2+0x4)++0x1
line.byte 0x0 "PSTATUSCLR,HOST_PIPE End Point Pipe Status Clear"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 Ready Clear" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 Ready Clear" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze Clear" "0,1"
bitfld.byte 0x0 2. "CURBK,Curren Bank clear" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle clear" "0,1"
line.byte 0x1 "PSTATUSSET,HOST_PIPE End Point Pipe Status Set"
bitfld.byte 0x1 7. "BK1RDY,Bank 1 Ready Set" "0,1"
bitfld.byte 0x1 6. "BK0RDY,Bank 0 Ready Set" "0,1"
bitfld.byte 0x1 4. "PFREEZE,Pipe Freeze Set" "0,1"
bitfld.byte 0x1 2. "CURBK,Current Bank Set" "0,1"
bitfld.byte 0x1 0. "DTGL,Data Toggle Set" "0,1"
rgroup.byte ($2+0x6)++0x0
line.byte 0x0 "PSTATUS,HOST_PIPE End Point Pipe Status"
bitfld.byte 0x0 7. "BK1RDY,Bank 1 ready" "0,1"
bitfld.byte 0x0 6. "BK0RDY,Bank 0 ready" "0,1"
bitfld.byte 0x0 4. "PFREEZE,Pipe Freeze" "0,1"
bitfld.byte 0x0 2. "CURBK,Current Bank" "0,1"
bitfld.byte 0x0 0. "DTGL,Data Toggle" "0,1"
group.byte ($2+0x7)++0x2
line.byte 0x0 "PINTFLAG,HOST_PIPE Pipe Interrupt Flag"
bitfld.byte 0x0 5. "STALL,Stall Interrupt Flag" "0,1"
bitfld.byte 0x0 4. "TXSTP,Transmit Setup Interrupt Flag" "0,1"
bitfld.byte 0x0 3. "PERR,Pipe Error Interrupt Flag" "0,1"
bitfld.byte 0x0 2. "TRFAIL,Error Flow Interrupt Flag" "0,1"
bitfld.byte 0x0 1. "TRCPT1,Transfer Complete 1 Interrupt Flag" "0,1"
bitfld.byte 0x0 0. "TRCPT0,Transfer Complete 0 Interrupt Flag" "0,1"
line.byte 0x1 "PINTENCLR,HOST_PIPE Pipe Interrupt Flag Clear"
bitfld.byte 0x1 5. "STALL,Stall Inetrrupt Disable" "0,1"
bitfld.byte 0x1 4. "TXSTP,Transmit Setup Interrupt Disable" "0,1"
bitfld.byte 0x1 3. "PERR,Pipe Error Interrupt Disable" "0,1"
bitfld.byte 0x1 2. "TRFAIL,Error Flow Interrupt Disable" "0,1"
bitfld.byte 0x1 1. "TRCPT1,Transfer Complete 1 Disable" "0,1"
bitfld.byte 0x1 0. "TRCPT0,Transfer Complete 0 Disable" "0,1"
line.byte 0x2 "PINTENSET,HOST_PIPE Pipe Interrupt Flag Set"
bitfld.byte 0x2 5. "STALL,Stall Interrupt Enable" "0,1"
bitfld.byte 0x2 4. "TXSTP,Transmit Setup Interrupt Enable" "0,1"
bitfld.byte 0x2 3. "PERR,Pipe Error Interrupt Enable" "0,1"
bitfld.byte 0x2 2. "TRFAIL,Error Flow Interrupt Enable" "0,1"
bitfld.byte 0x2 1. "TRCPT1,Transfer Complete 1 Interrupt Enable" "0,1"
bitfld.byte 0x2 0. "TRCPT0,Transfer Complete 0 Interrupt Enable" "0,1"
tree.end
repeat.end
tree.end
endif
tree.end
endif
tree "WDT (Watchdog Timer)"
base ad:0x40001C00
group.byte 0x0++0x2
line.byte 0x0 "CTRLA,Control"
bitfld.byte 0x0 7. "ALWAYSON,Always-On" "0,1"
bitfld.byte 0x0 2. "WEN,Watchdog Timer Window Mode Enable" "0,1"
bitfld.byte 0x0 1. "ENABLE,Enable" "0,1"
line.byte 0x1 "CONFIG,Configuration"
hexmask.byte 0x1 4.--7. 1. "WINDOW,Window Mode Time-Out Period"
hexmask.byte 0x1 0.--3. 1. "PER,Time-Out Period"
line.byte 0x2 "EWCTRL,Early Warning Interrupt Control"
hexmask.byte 0x2 0.--3. 1. "EWOFFSET,Early Warning Interrupt Time Offset"
group.byte 0x4++0x2
line.byte 0x0 "INTENCLR,Interrupt Enable Clear"
bitfld.byte 0x0 0. "EW,Early Warning Interrupt Enable" "0,1"
line.byte 0x1 "INTENSET,Interrupt Enable Set"
bitfld.byte 0x1 0. "EW,Early Warning Interrupt Enable" "0,1"
line.byte 0x2 "INTFLAG,Interrupt Flag Status and Clear"
bitfld.byte 0x2 0. "EW,Early Warning" "0,1"
rgroup.long 0x8++0x3
line.long 0x0 "SYNCBUSY,Synchronization Busy"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
rbitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
rbitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
rbitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
rbitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
sif (cpuis("ATSAMR34J16*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
sif (cpuis("ATSAMR34J17*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
newline
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
sif (cpuis("ATSAMR34J18*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
sif (cpuis("ATSAMR35J16*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
newline
endif
sif (cpuis("ATSAMR35J17*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
sif (cpuis("ATSAMR35J18*"))
bitfld.long 0x0 4. "CLEAR,Clear Busy" "0,1"
bitfld.long 0x0 3. "ALWAYSON,Always-On Busy" "0,1"
bitfld.long 0x0 2. "WEN,Window Enable Busy" "0,1"
bitfld.long 0x0 1. "ENABLE,Enable Busy" "0,1"
endif
wgroup.byte 0xC++0x0
line.byte 0x0 "CLEAR,Clear"
sif (cpuis("ATSAMR30E*")||cpuis("ATSAMR30G*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR34J16*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR34J17*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR34J18*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR35J16*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR35J17*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
sif (cpuis("ATSAMR35J18*"))
hexmask.byte 0x0 0.--7. 1. "CLEAR,Watchdog Clear"
endif
tree.end
AUTOINDENT.OFF