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

1202 lines
73 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: ADUC706x On-Chip Peripherals
; @Props: Released
; @Author: MPO
; @Changelog: 2009-07-27 MPO
; @Manufacturer: AD - Analog Devices Inc.
; @Doc: ADuC7060_7061.pdf
; @Core: ARM7TDMI
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: peraduc706x.per 12528 2020-11-12 13:57:39Z bschroefel $
config 16. 8.
width 0xb
tree "Interrupt System"
base ad:0xffff0000
width 10.
rgroup.long 0x0000++0x7
line.long 0x00 "IRQSTA,IRQ Status Register"
bitfld.long 0x00 19. " STA_XIRQ3 ,External interrupt 3 Status" "Not requested,Requested"
bitfld.long 0x00 18. " STA_XIRQ2 ,External interrupt 2 Status" "Not requested,Requested"
bitfld.long 0x00 17. " STA_PWM ,PWM trip interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 16. " STA_I2C_S ,I2C slave interrupt Status" "Not requested,Requested"
bitfld.long 0x00 15. " STA_I2C_M ,I2C master interrupt Status" "Not requested,Requested"
bitfld.long 0x00 14. " STA_XIRQ1 ,External interrupt 1 Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 13. " STA_XIRQ0 ,External interrupt 0 Status" "Not requested,Requested"
bitfld.long 0x00 12. " STA_SPI ,SPI interrupt Status" "Not requested,Requested"
bitfld.long 0x00 11. " STA_UART ,UART interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 10. " STA_ADC ,ADC interrupt Status" "Not requested,Requested"
bitfld.long 0x00 6. " STA_T3 ,Timer 3 or STI Timer interrupt Status" "Not requested,Requested"
bitfld.long 0x00 5. " STA_T2 ,Timer 2 or Watchdog Timer interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 4. " STA_T1 ,Timer 1 or Wake Up Timer interrupt Status" "Not requested,Requested"
bitfld.long 0x00 3. " STA_T0 ,Timer 0 or interrupt Status" "Not requested,Requested"
bitfld.long 0x00 1. " STA_SWI ,Software interrupt Status" "Not requested,Requested"
line.long 0x04 "IRQSIG,IRQ Signals Register"
bitfld.long 0x04 19. " SIG_XIRQ3 ,External interrupt 3 Signal" "Not generated,Generated"
bitfld.long 0x04 18. " SIG_XIRQ2 ,External interrupt 2 Signal" "Not generated,Generated"
bitfld.long 0x04 17. " SIG_PWM ,PWM trip interrupt Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 16. " SIG_I2C_S ,I2C slave interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 15. " SIG_I2C_M ,I2C master interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 14. " SIG_XIRQ1 ,External interrupt 1 Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 13. " SIG_XIRQ0 ,External interrupt 0 Signal" "Not generated,Generated"
bitfld.long 0x04 12. " SIG_SPI ,SPI interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 11. " SIG_UART ,UART interrupt Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 10. " SIG_ADC ,ADC interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 6. " SIG_T3 ,Timer 3 or STI Timer interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 5. " SIG_T2 ,Timer 2 or Watchdog Timer Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 4. " SIG_T1 ,Timer 1 or Wake Up Timer interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 3. " SIG_T0 ,Timer 0 or interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 1. " SIG_SWI ,Software interrupt Signal" "Not generated,Generated"
group.long 0x0008++0x03
line.long 0x00 "IRQEN,IRQ Enable Register"
bitfld.long 0x00 19. " EN_XIRQ3 ,External interrupt 3 Enable" "Disabled,Enabled"
bitfld.long 0x00 18. " EN_XIRQ2 ,External interrupt 2 Enable" "Disabled,Enabled"
bitfld.long 0x00 17. " EN_PWM ,PWM trip interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 16. " EN_I2C_S ,I2C slave interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 15. " EN_I2C_M ,I2C master interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 14. " EN_XIRQ1 ,External interrupt 1 Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 13. " EN_XIRQ0 ,External interrupt 0 Enable" "Disabled,Enabled"
bitfld.long 0x00 12. " EN_SPI ,SPI interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 11. " EN_UART ,UART Interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 10. " EN_ADC ,ADC interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 6. " EN_T3 ,Timer 3 or STI Timer interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 5. " EN_T2 ,Timer 2 or Watchdog Timer interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 4. " EN_T1 ,Timer 1 or Wake Up Timer interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 3. " EN_T0 ,Timer 0 or interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 1. " EN_SWI ,Software interrupt Enable" "Disabled,Enabled"
wgroup.long 0x000C++0x3
line.long 0x00 "IRQCLR,IRQ Clear Register"
bitfld.long 0x00 19. " CLR_XIRQ3 ,External interrupt 3 Clear" "No effect,Cleared"
bitfld.long 0x00 18. " CLR_XIRQ2 ,External interrupt 2 Clear" "No effect,Cleared"
bitfld.long 0x00 17. " CLR_PWM ,PWM trip interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 16. " CLR_I2C_S ,I2C slave interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 15. " CLR_I2C_M ,I2C master interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 14. " CLR_XIRQ1 ,External interrupt 1 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 13. " CLR_XIRQ0 ,External interrupt 0 Clear" "No effect,Cleared"
bitfld.long 0x00 12. " CLR_SPI ,SPI interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 11. " CLR_UART ,UART Interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 10. " CLR_ADC ,ADC interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 6. " CLR_T3 ,Timer 3 or STI Timer interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 5. " CLR_T2 ,Timer 2 or Watchdog Timer interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 4. " CLR_T1 ,Timer 1 or Wake Up Timer interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 3. " CLR_T0 ,Timer 0 or interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 1. " CLR_SWI ,Software interrupt Clear" "No effect,Cleared"
group.long 0x0014++0x3
line.long 0x00 "IRQBASE,Vector base address register"
hexmask.long.word 0x00 0.--15. 1. " VB_ADDR ,Base address of all vectors"
rgroup.long 0x001c++0x3
line.long 0x00 "IRQVEC,Subroutine address for the currently active IRQ source"
hexmask.long.word 0x00 7.--22. 1. " IRQBASE_VAL ,IRQBASE register value"
bitfld.long 0x00 2.--6. " IRQ_HIP ,Highest priority IRQ source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,?..."
group.long 0x0020++0xb
line.long 0x00 "IRQP0,Interrupt priority register"
bitfld.long 0x00 24.--26. " T3PI ,A priority level for Timer3" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 20.--22. " T2PI ,A priority level for Timer2" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 16.--18. " T1PI ,A priority level for Timer1" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x00 12.--14. " T0PI ,A priority level for Timer0" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 4.--6. " SWINTP ,A priority level for the software interrupt source" "0,1,2,3,4,5,6,7"
line.long 0x04 "IRQP1,Interrupt priority register"
bitfld.long 0x04 28.--30. " I2CMPI ,A priority level for I2C master" "0,1,2,3,4,5,6,7"
bitfld.long 0x04 24.--26. " IRQ1PI ,A priority level for IRQ1" "0,1,2,3,4,5,6,7"
bitfld.long 0x04 20.--22. " IRQ0PI ,A priority level for IRQ0" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x04 16.--18. " SPIMPI ,A priority level for SPI master" "0,1,2,3,4,5,6,7"
bitfld.long 0x04 12.--14. " UARTPI ,A priority level for UART" "0,1,2,3,4,5,6,7"
bitfld.long 0x04 8.--10. " ADCPI ,A priority level for the ADC interrupt source" "0,1,2,3,4,5,6,7"
line.long 0x08 "IRQP2,Interrupt priority register"
bitfld.long 0x08 12.--14. " IRQ3PI ,A priority level for IRQ3" "0,1,2,3,4,5,6,7"
bitfld.long 0x08 8.--10. " IRQ2PI ,A priority level for IRQ2" "0,1,2,3,4,5,6,7"
textline " "
bitfld.long 0x08 4.--6. " SPISPI ,A priority level for SPI slave" "0,1,2,3,4,5,6,7"
bitfld.long 0x08 0.--2. " I2CSPI ,A priority level for I2C slave" "0,1,2,3,4,5,6,7"
group.long 0x0030++0xf
line.long 0x00 "IRQCONN,Enable IRQ and FIQ interrupt nesting"
bitfld.long 0x00 1. " ENFIQN ,Enables nesting of FIQ interrupts" "Disabled,Enabled"
bitfld.long 0x00 0. " ENIRQN ,Enables nesting of IRQ interrupts" "Disabled,Enabled"
line.long 0x04 "IRQCONE,Configures the external interrupt sources"
bitfld.long 0x04 6.--7. " IRQ3SRC ,A priority level for I2C slave" "High level,Low level,Rising edge,Falling edge"
bitfld.long 0x04 4.--5. " IRQ2SRC ,A priority level for I2C slave" "High level,Low level,Rising edge,Falling edge"
textline " "
bitfld.long 0x04 2.--3. " IRQ1SRC ,A priority level for I2C slave" "High level,Low level,Rising edge,Falling edge"
bitfld.long 0x04 0.--1. " IRQ0SRC ,A priority level for I2C slave" "High level,Low level,Rising edge,Falling edge"
line.long 0x08 "IRQCLRE,Clear an edge-level-triggered interrupt source"
bitfld.long 0x08 19. " IRQ3CLRI ,Clear an edge triggered IRQ3 interrupt" "No effect,Cleared"
bitfld.long 0x08 18. " IRQ2CLRI ,Clear an edge triggered IRQ2 interrupt" "No effect,Cleared"
textline " "
bitfld.long 0x08 14. " IRQ1CLRI ,Clear an edge triggered IRQ1 interrupt" "No effect,Cleared"
bitfld.long 0x08 13. " IRQ0CLRI ,Clear an edge triggered IRQ0 interrupt" "No effect,Cleared"
line.long 0x0c "IRQSTAN,Priority level of an interrupt"
hexmask.long.byte 0x0c 0.--7. 1. " PRI_LEV ,Priority level"
rgroup.long 0x0100++0x7
line.long 0x00 "FIQSTA,FIQ Status Register"
bitfld.long 0x00 19. " STA_XIRQ3 ,External interrupt 3 Status" "Not requested,Requested"
bitfld.long 0x00 18. " STA_XIRQ2 ,External interrupt 2 Status" "Not requested,Requested"
bitfld.long 0x00 17. " STA_PWM ,PWM trip interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 16. " STA_I2C_S ,I2C slave interrupt Status" "Not requested,Requested"
bitfld.long 0x00 15. " STA_I2C_M ,I2C master interrupt Status" "Not requested,Requested"
bitfld.long 0x00 14. " STA_XIRQ1 ,External interrupt 1 Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 13. " STA_XIRQ0 ,External interrupt 0 Status" "Not requested,Requested"
bitfld.long 0x00 12. " STA_SPI ,SPI interrupt Status" "Not requested,Requested"
bitfld.long 0x00 11. " STA_UART ,UART interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 10. " STA_ADC ,ADC interrupt Status" "Not requested,Requested"
bitfld.long 0x00 6. " STA_T3 ,Timer 3 or STI Timer interrupt Status" "Not requested,Requested"
bitfld.long 0x00 5. " STA_T2 ,Timer 2 or Watchdog Timer interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 4. " STA_T1 ,Timer 1 or Wake Up Timer interrupt Status" "Not requested,Requested"
bitfld.long 0x00 3. " STA_T0 ,Timer 0 or interrupt Status" "Not requested,Requested"
bitfld.long 0x00 1. " STA_SWI ,Software interrupt Status" "Not requested,Requested"
textline " "
bitfld.long 0x00 0. " STA_ORALL ,All Interrupts OR'ed Status" "Not requested,Requested"
line.long 0x04 "FIQSIG,FIQ Signals Register"
bitfld.long 0x04 19. " SIG_XIRQ3 ,External interrupt 3 Signal" "Not generated,Generated"
bitfld.long 0x04 18. " SIG_XIRQ2 ,External interrupt 2 Signal" "Not generated,Generated"
bitfld.long 0x04 17. " SIG_PWM ,PWM trip interrupt Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 16. " SIG_I2C_S ,I2C slave interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 15. " SIG_I2C_M ,I2C master interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 14. " SIG_XIRQ1 ,External interrupt 1 Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 13. " SIG_XIRQ0 ,External interrupt 0 Signal" "Not generated,Generated"
bitfld.long 0x04 12. " SIG_SPI ,SPI interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 11. " SIG_UART ,UART interrupt Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 10. " SIG_ADC ,ADC interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 6. " SIG_T3 ,Timer 3 or STI Timer interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 5. " SIG_T2 ,Timer 2 or Watchdog Timer Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 4. " SIG_T1 ,Timer 1 or Wake Up Timer interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 3. " SIG_T0 ,Timer 0 or interrupt Signal" "Not generated,Generated"
bitfld.long 0x04 1. " SIG_SWI ,Software interrupt Signal" "Not generated,Generated"
textline " "
bitfld.long 0x04 0. " SIG_ORALL ,All Interrupts OR'ed Signal" "Not generated,Generated"
group.long 0x0108++0x3
line.long 0x00 "FIQEN,FIQ Enable Register"
bitfld.long 0x00 19. " EN_XIRQ3 ,External interrupt 3 Enable" "Disabled,Enabled"
bitfld.long 0x00 18. " EN_XIRQ2 ,External interrupt 2 Enable" "Disabled,Enabled"
bitfld.long 0x00 17. " EN_PWM ,PWM trip interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 16. " EN_I2C_S ,I2C slave interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 15. " EN_I2C_M ,I2C master interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 14. " EN_XIRQ1 ,External interrupt 1 Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 13. " EN_XIRQ0 ,External interrupt 0 Enable" "Disabled,Enabled"
bitfld.long 0x00 12. " EN_SPI ,SPI interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 11. " EN_UART ,UART Interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 10. " EN_ADC ,ADC interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 6. " EN_T3 ,Timer 3 or STI Timer interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 5. " EN_T2 ,Timer 2 or Watchdog Timer interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 4. " EN_T1 ,Timer 1 or Wake Up Timer interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 3. " EN_T0 ,Timer 0 or interrupt Enable" "Disabled,Enabled"
bitfld.long 0x00 1. " EN_SWI ,Software interrupt Enable" "Disabled,Enabled"
textline " "
bitfld.long 0x00 0. " SIG_ORALL ,All Interrupts OR'ed Enable" "Disabled,Enabled"
wgroup.long 0x010C++0x3
line.long 0x00 "FIQCLR,FIQ Clear Register"
bitfld.long 0x00 19. " CLR_XIRQ3 ,External interrupt 3 Clear" "No effect,Cleared"
bitfld.long 0x00 18. " CLR_XIRQ2 ,External interrupt 2 Clear" "No effect,Cleared"
bitfld.long 0x00 17. " CLR_PWM ,PWM trip interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 16. " CLR_I2C_S ,I2C slave interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 15. " CLR_I2C_M ,I2C master interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 14. " CLR_XIRQ1 ,External interrupt 1 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 13. " CLR_XIRQ0 ,External interrupt 0 Clear" "No effect,Cleared"
bitfld.long 0x00 12. " CLR_SPI ,SPI interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 11. " CLR_UART ,UART Interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 10. " CLR_ADC ,ADC interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 6. " CLR_T3 ,Timer 3 or STI Timer interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 5. " CLR_T2 ,Timer 2 or Watchdog Timer interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 4. " CLR_T1 ,Timer 1 or Wake Up Timer interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 3. " CLR_T0 ,Timer 0 or interrupt Clear" "No effect,Cleared"
bitfld.long 0x00 1. " CLR_SWI ,Software interrupt Clear" "No effect,Cleared"
textline " "
bitfld.long 0x00 0. " CLR_ORALL ,All Interrupts OR'ed Clear" "No effect,Cleared"
rgroup.long 0x011c++0x3
line.long 0x00 "FIQVEC,Subroutine address for the currently active IRQ source"
hexmask.long.word 0x00 7.--22. 1. " IRQBASE_VAL ,IRQBASE register value"
bitfld.long 0x00 2.--6. " FIQ_HIP ,Highest priority FIQ source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,?..."
group.long 0x013c++0x3
line.long 0x00 "FIQSTAN,Priority level of an FIQ"
hexmask.long.byte 0x00 0.--7. 1. " PRI_LEV ,Priority level"
wgroup.long 0x0010++0x3
line.long 0x00 "SWICFG,Software Interrupt Config"
bitfld.long 0x00 2. " PI_FIQ ,Programmed Interrupt-FIQ" "Cleared,Set"
bitfld.long 0x00 1. " PI_IRQ ,Programmed Interrupt-IRQ" "Cleared,Set"
width 0x0B
tree.end
tree "SC (System Control)"
base ad:0xFFFF0200
width 0x0B
group.byte 0x020--0x020
line.byte 0x00 "REMAP,SRAM Remap"
bitfld.byte 0x00 0. " REMAP ,Set by the user to remap the SRAM to address 0x00000000" "Not remapped,Remapped"
rgroup.byte 0x030--0x030
line.byte 0x00 "RSTSTA,Reset Status"
bitfld.byte 0x00 3. " EXRST ,External reset" "No reset,Reset"
bitfld.byte 0x00 2. " SWR ,Software Reset" "No reset,Reset"
textline " "
bitfld.byte 0x00 1. " WDT ,Watchdog Timeout" "No timeout,Timeout"
bitfld.byte 0x00 0. " POR ,Power-on-reset" "No reset,Reset"
wgroup.byte 0x034--0x034
line.byte 0x00 "RSTCLR,Reset Status Clear"
bitfld.byte 0x00 3. " EXRST ,External reset" "No effect,Cleared"
bitfld.byte 0x00 2. " SWRC ,Software Reset Clear" "No effect,Cleared"
textline " "
bitfld.byte 0x00 1. " WDTC ,Watchdog Timeout Clear" "No effect,Cleared"
bitfld.byte 0x00 0. " PORC ,Power-on-reset Clear" "No effect,Cleared"
width 0x0B
tree.end
tree "FLASH (Flash Control Interface)"
base ad:0xFFFF0E00
width 0x09
hgroup.byte 0x00++0x00
hide.byte 0x00 "FEESTA,Status of the Flash Control Interface Register"
in
group.byte 0x04++0x00
line.byte 0x00 "FEEMOD,Operating Mode of the Flash Control Interface Register"
bitfld.byte 0x00 4. " IE ,Flash/EE Interrupt Enable" "Disabled,Enabled"
bitfld.byte 0x00 3. " EWCP ,Erase/Write Command Protection" "Disabled,Enabled"
group.byte 0x08++0x00
line.byte 0x00 "FEECON,Command Register"
bitfld.byte 0x00 0.--3. " COMMAND ,Command" "Null,Single read,Single write,Erase-write,Single verify,Single erase,Mass erase,Reserved,Reserved,Reserved,Reserved,Signature,Protect,Reserved,Reserved,Ping"
group.word 0x0c++0x01
line.word 0x00 "FEEDAT,Data Register"
hexmask.word 0x00 0.--15. 1. " FEEDAT ,Data Value"
group.word 0x10++0x01
line.word 0x00 "FEEADR,Address Register"
hexmask.word 0x00 0.--15. 1. " FEEADR ,Address Value"
rgroup.tbyte 0x18++0x02
line.tbyte 0x00 "FEESIGN,Code Signature Register"
hexmask.tbyte 0x00 0.--23. 1. " FEESIGN ,Code Signature Value"
group.long 0x1C--0x23
line.long 0x00 "FEEPRO,Immediate Protection Following Subsequent Register"
bitfld.long 0x00 31. " IRP ,Read Protection" "Protected,Not protected"
bitfld.long 0x00 30. " IWP_59 ,Write Protection for Page 59" "Protected,Not protected"
bitfld.long 0x00 29. " IWP_58 ,Write Protection for Page 58" "Protected,Not protected"
textline " "
bitfld.long 0x00 28. " IWP_56_57 ,Write Protection for Pages 56..57" "Protected,Not protected"
bitfld.long 0x00 27. " IWP_54_55 ,Write Protection for Pages 54..55" "Protected,Not protected"
textline " "
bitfld.long 0x00 26. " IWP_52_53 ,Write Protection for Pages 52..53" "Protected,Not protected"
bitfld.long 0x00 25. " IWP_50_51 ,Write Protection for Pages 50..51" "Protected,Not protected"
bitfld.long 0x00 24. " IWP_48_49 ,Write Protection for Pages 48..49" "Protected,Not protected"
textline " "
bitfld.long 0x00 23. " IWP_46_47 ,Write Protection for Pages 46..47" "Protected,Not protected"
bitfld.long 0x00 22. " IWP_44_45 ,Write Protection for Pages 44..45" "Protected,Not protected"
bitfld.long 0x00 21. " IWP_42_43 ,Write Protection for Pages 42..43" "Protected,Not protected"
textline " "
bitfld.long 0x00 20. " IWP_40_41 ,Write Protection for Pages 40..41" "Protected,Not protected"
bitfld.long 0x00 19. " IWP_38_39 ,Write Protection for Pages 38..39" "Protected,Not protected"
bitfld.long 0x00 18. " IWP_36_37 ,Write Protection for Pages 36..37" "Protected,Not protected"
textline " "
bitfld.long 0x00 17. " IWP_34_35 ,Write Protection for Pages 34..35" "Protected,Not protected"
bitfld.long 0x00 16. " IWP_32_33 ,Write Protection for Pages 32..33" "Protected,Not protected"
bitfld.long 0x00 15. " IWP_30_31 ,Write Protection for Pages 30..31" "Protected,Not protected"
textline " "
bitfld.long 0x00 14. " IWP_28_29 ,Write Protection for Pages 28..29" "Protected,Not protected"
bitfld.long 0x00 13. " IWP_26_27 ,Write Protection for Pages 26..27" "Protected,Not protected"
bitfld.long 0x00 12. " IWP_24_25 ,Write Protection for Pages 24..25" "Protected,Not protected"
textline " "
bitfld.long 0x00 11. " IWP_22_23 ,Write Protection for Pages 22..23" "Protected,Not protected"
bitfld.long 0x00 10. " IWP_20_21 ,Write Protection for Pages 20..21" "Protected,Not protected"
bitfld.long 0x00 9. " IWP_18_19 ,Write Protection for Pages 18..19" "Protected,Not protected"
textline " "
bitfld.long 0x00 8. " IWP_16_17 ,Write Protection for Pages 16..17" "Protected,Not protected"
bitfld.long 0x00 7. " IWP_14_15 ,Write Protection for Pages 14..15" "Protected,Not protected"
bitfld.long 0x00 6. " IWP_12_13 ,Write Protection for Pages 12..13" "Protected,Not protected"
textline " "
bitfld.long 0x00 5. " IWP_10_11 ,Write Protection for Pages 10..11" "Protected,Not protected"
bitfld.long 0x00 4. " IWP_8_9 ,Write Protection for Pages 8..9" "Protected,Not protected"
bitfld.long 0x00 3. " IWP_6_7 ,Write Protection for Pages 6..7" "Protected,Not protected"
textline " "
bitfld.long 0x00 2. " IWP_4_5 ,Write Protection for Pages 4..5" "Protected,Not protected"
bitfld.long 0x00 1. " IWP_2_3 ,Write Protection for Pages 2..3" "Protected,Not protected"
bitfld.long 0x00 0. " IWP_0_1 ,Write Protection for Pages 0..1" "Protected,Not protected"
line.long 0x04 "FEEHIDE,Protection Register"
bitfld.long 0x04 31. " IRP ,Read Protection" "Protected,Not protected"
bitfld.long 0x04 30. " WP_59 ,Write Protection for Page 59" "Protected,Not protected"
bitfld.long 0x04 29. " WP_58 ,Write Protection for Page 58" "Protected,Not protected"
textline " "
bitfld.long 0x04 28. " WP_56_57 ,Write Protection for Pages 56..57" "Protected,Not protected"
bitfld.long 0x04 27. " WP_54_55 ,Write Protection for Pages 54..55" "Protected,Not protected"
textline " "
bitfld.long 0x04 26. " WP_52_53 ,Write Protection for Pages 52..53" "Protected,Not protected"
bitfld.long 0x04 25. " WP_50_51 ,Write Protection for Pages 50..51" "Protected,Not protected"
bitfld.long 0x04 24. " WP_48_49 ,Write Protection for Pages 48..49" "Protected,Not protected"
textline " "
bitfld.long 0x04 23. " WP_46_47 ,Write Protection for Pages 46..47" "Protected,Not protected"
bitfld.long 0x04 22. " WP_44_45 ,Write Protection for Pages 44..45" "Protected,Not protected"
bitfld.long 0x04 21. " WP_42_43 ,Write Protection for Pages 42..43" "Protected,Not protected"
textline " "
bitfld.long 0x04 20. " WP_40_41 ,Write Protection for Pages 40..41" "Protected,Not protected"
bitfld.long 0x04 19. " WP_38_39 ,Write Protection for Pages 38..39" "Protected,Not protected"
bitfld.long 0x04 18. " WP_36_37 ,Write Protection for Pages 36..37" "Protected,Not protected"
textline " "
bitfld.long 0x04 17. " WP_34_35 ,Write Protection for Pages 34..35" "Protected,Not protected"
bitfld.long 0x04 16. " WP_32_33 ,Write Protection for Pages 32..33" "Protected,Not protected"
bitfld.long 0x04 15. " WP_30_31 ,Write Protection for Pages 30..31" "Protected,Not protected"
textline " "
bitfld.long 0x04 14. " WP_28_29 ,Write Protection for Pages 28..29" "Protected,Not protected"
bitfld.long 0x04 13. " WP_26_27 ,Write Protection for Pages 26..27" "Protected,Not protected"
bitfld.long 0x04 12. " WP_24_25 ,Write Protection for Pages 24..25" "Protected,Not protected"
textline " "
bitfld.long 0x04 11. " WP_22_23 ,Write Protection for Pages 22..23" "Protected,Not protected"
bitfld.long 0x04 10. " WP_20_21 ,Write Protection for Pages 20..21" "Protected,Not protected"
bitfld.long 0x04 9. " WP_18_19 ,Write Protection for Pages 18..19" "Protected,Not protected"
textline " "
bitfld.long 0x04 8. " WP_16_17 ,Write Protection for Pages 16..17" "Protected,Not protected"
bitfld.long 0x04 7. " WP_14_15 ,Write Protection for Pages 14..15" "Protected,Not protected"
bitfld.long 0x04 6. " WP_12_13 ,Write Protection for Pages 12..13" "Protected,Not protected"
textline " "
bitfld.long 0x04 5. " WP_10_11 ,Write Protection for Pages 10..11" "Protected,Not protected"
bitfld.long 0x04 4. " WP_8_9 ,Write Protection for Pages 8..9" "Protected,Not protected"
bitfld.long 0x04 3. " WP_6_7 ,Write Protection for Pages 6..7" "Protected,Not protected"
textline " "
bitfld.long 0x04 2. " WP_4_5 ,Write Protection for Pages 4..5" "Protected,Not protected"
bitfld.long 0x04 1. " WP_2_3 ,Write Protection for Pages 2..3" "Protected,Not protected"
bitfld.long 0x04 0. " WP_0_1 ,Write Protection for Pages 0..1" "Protected,Not protected"
width 0x0B
tree.end
tree "PLL and Power Control"
base ad:0xffff0400
width 9.
wgroup.word 0x10++0x01
line.word 0x00 "PLLKEY1,PLL Key 1 Register"
wgroup.word 0x18++0x01
line.word 0x00 "PLLKEY2,PLL Key 2 Register"
group.byte 0x14++0x00
line.byte 0x00 "PLLCON,PLL Control Register"
bitfld.byte 0x00 2. " EXTCLK ,External clock input from P2.0" "Internal,External"
bitfld.byte 0x00 0.--1. " OSEL ,Oscillator selection bits" "Internal,Internal,External,Internal"
wgroup.word 0x04++0x01
line.word 0x00 "POWKEY1,Power Key 1 Register"
wgroup.word 0x0c++0x01
line.word 0x00 "POWKEY2,Power Key 2 Register"
group.word 0x08++0x01
line.word 0x00 "POWCON0,Power Control Register"
bitfld.word 0x00 6. " XPD ,XTAL power-down" "Power down,Power up"
bitfld.word 0x00 5. " PLLPD ,PLL power-down" "Power down,Power up"
bitfld.word 0x00 4. " PPD ,Peripherals power-down" "Power down,Power up"
textline " "
bitfld.word 0x00 3. " COREPD ,Core power-down" "Power down,Power up"
bitfld.word 0x00 0.--2. " CD ,Core clock depends on CD setting" "10.24 MHz,5.12 MHz,2.56 MHz,1.28 MHz,640 kHz,320 kHz,160 kHz,80 kHz"
group.byte 0x64++0x00
line.byte 0x00 "GP0KEY1,Key Register"
group.byte 0x6c++0x00
line.byte 0x00 "GP0KEY2,Key Register"
group.byte 0x68++0x00
line.byte 0x00 "GP0CON1,Control Register"
bitfld.byte 0x00 1. " SPII2CSEL ,Configures the P0.0 to P0.3 functions in I2C or SPI mode" "SPI,I2C"
bitfld.byte 0x00 0. " ADCSEL ,Configures the P0.0 to P0.3 functions as GPIO pins or as ADC input pins" "GPIO,ADC"
width 0x0b
tree.end
tree "ADC (Analog-to-Digital Converter)"
base ad:0xffff0500
width 9.
rgroup.word 0x00++0x01
line.word 0x00 "ADCSTA,ADC Status Register"
bitfld.word 0x00 15. " ADCCALSTA ,ADC Calibration Status" "Not completed,Completed"
bitfld.word 0x00 13. " ADC1CERR ,Auxiliary ADC conversion error" "No error,Error"
textline " "
bitfld.word 0x00 12. " ADC0CERR ,Primary ADC conversion error" "No error,Error"
bitfld.word 0x00 6. " ADC0ATHEX ,ADC0 accumulator comparator threshold" "Not exceeded,Exceeded"
textline " "
bitfld.word 0x00 4. " ADC0THEX ,Primary channel ADC comparator threshold" "Not exceeded,Exceeded"
bitfld.word 0x00 3. " ADC0OVR ,Primary channel ADC overrange bit" "Not over-ranged,Over-ranged"
textline " "
bitfld.word 0x00 1. " ADC1RDY ,Auxiliary ADC result ready bit" "Not ready,Ready"
bitfld.word 0x00 0. " ADC0RDY ,Primary ADC result ready bit" "Not ready,Ready"
group.byte 0x04++0x00
line.byte 0x00 "ADCMSKI,ADC Interrupt Mask Register"
bitfld.byte 0x00 6. " ADC0ATHEX_INTEN ,ADC0 accumulator comparator threshold exceeded interrupt enable" "Disabled,Enabled"
bitfld.byte 0x00 4. " ADC0THEX_INTEN ,Primary channel ADC comparator threshold exceeded interrupt enable" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 3. " ADC0OVR_INTEN ,Enables an interrupt when the ADC0OVR bit is set" "Disabled,Enabled"
bitfld.byte 0x00 1. " ADC1RDY_INTEN ,Enables an interrupt when the ADC1RDY bit is set" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 0. " ADC0RDY_INTEN ,Enables an interrupt when the ADC0RDY bit is set" "Disabled,Enabled"
group.byte 0x08++0x00
line.byte 0x00 "ADCMDE,ADC Mode Register"
bitfld.byte 0x00 7. " ADCCLKSEL ,ADC clock select" "131 kHz,4 MHz"
bitfld.byte 0x00 5. " ADCLPMEN ,Enable low power mode" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 3.--4. " ADCLPMCFG ,ADC Power Mode Configuration" "Normal,Low power,Normal,Low power plus"
bitfld.byte 0x00 0.--2. " ADCMD ,ADC Operation Mode Configuration" "Power-down,Continuous,Single,Idle,Self-offset,Self gain,Zero-scale,Full-scale"
group.word 0x0c++0x01
line.word 0x00 "ADC0CON,Current Channel ADC Control Register"
bitfld.word 0x00 15. " ADC0EN ,Primary channel ADC enable" "Disabled,Enabled"
bitfld.word 0x00 13.--14. " ADC0DIAG ,Diagnostic current source enable bits" "Off,Positive input,Negative input,Both"
textline " "
bitfld.word 0x00 12. " HIGHEXTREF0 ,External reference for ADC0 exceeds 1.35 V flag" "Not exceeded,Exceeded"
bitfld.word 0x00 11. " AMP_CM ,PGA output common-mode voltage to AVDD/2" "PGA input,AVDD/2"
textline " "
bitfld.word 0x00 10. " ADC0CODE ,Primary channel ADC output coding" "2's complement,Unipolar"
bitfld.word 0x00 6.--9. " ADC0CH ,Primary channel ADC input select" "ADC0/ADC1,ADC0/ADC5,ADC1/ADC5,VREF+/VREF-,Reserved,ADC2/ADC3,ADC2/ADC5,ADC3/ADC5,ADC0,ADC1,?..."
textline " "
bitfld.word 0x00 4.--5. " ADC0REF ,Primary channel ADC reference select" "Internal,External,Auxiliary external,Div by 2"
bitfld.word 0x00 0.--3. " ADC0PGA ,Primary channel ADC gain select" "1,2,4,8,16,32,64,128,256,512,?..."
group.word 0x10++0x01
line.word 0x00 "ADC1CON,Voltage/Temperature Channel ADC Control Register"
bitfld.word 0x00 15. " ADC1EN ,Auxiliary channel ADC enable" "Disabled,Enabled"
bitfld.word 0x00 13.--14. " ADC1DIAG ,Diagnostic current source enable" "Off,Positive input,Negative input,Both"
textline " "
bitfld.word 0x00 12. " HIGHEXTREF1 ,External reference for ADC1 exceeds 1.35 V" "Not exceeded,Exceeded"
bitfld.word 0x00 11. " ADC1CODE ,Auxiliary channel ADC output coding" "2's complement,Unipolar"
textline " "
bitfld.word 0x00 7.--10. " ADC1CH ,Auxiliary channel ADC input select" "ADC2/ADC3,ADC4/ADC5,ADC6/ADC7,ADC8/ADC9,ADC2/ADC5,ADC3/ADC5,ADC4/ADC5,ADC6/ADC5,ADC7/ADC5,ADC8/ADC5,ADC9/ADC5,Temp. sensor+/-,VREF+/VREF-,DAC_OUT/AGND,Reserved,ADC3"
bitfld.word 0x00 4.--6. " ADC1REF ,Auxiliary channel ADC reference select" "Internal,External,Auxiliary external,Div by 2,ADC3 negative input,?..."
textline " "
bitfld.word 0x00 2.--3. " BUF_BYPASS ,Buffer bypass" "Full buffer on,Negative bypassed. Positive is on,Negative is on. Positive bypassed,Full buffer bypassed"
textline " "
bitfld.word 0x00 0.--1. " DIG_GAIN ,Digital gain for auxiliary ADC inputs" "1,2,4,8"
group.word 0x14++0x01
line.word 0x00 "ADCFLT,ADC Filter Register"
bitfld.word 0x00 15. " CHOPEN ,Chop Enable" "Disabled,Enabled"
bitfld.word 0x00 14. " RAVG2 ,Running average-by-2 enable bit" "Disabled,Enabled"
textline " "
hexmask.word.byte 0x00 8.--13. 1. " AF ,Averaging Factor"
bitfld.word 0x00 7. " NOTCH2 ,Sinc3 Modify" "Standard,Increased"
hexmask.word.byte 0x00 0.--6. 1. " SF ,Sinc3 Decimation Factor"
group.byte 0x18++0x00
line.byte 0x00 "ADCCFG,ADC Configuration Register"
bitfld.byte 0x00 7. " GNDSW_EN ,Analog Ground Switch Enable" "Disabled,Enabled"
bitfld.byte 0x00 5.--6. " ADC0ACCEN ,Primary channel (32-bit) accumulator enable" "Disabled,Accumulator active,Accumulator active,Accumulator & comparator active"
textline " "
bitfld.byte 0x00 3.--4. " ADC0CMPEN ,Primary ADC comparator enable bits" "Disabled,Active,Count Mode,Count Mode"
bitfld.byte 0x00 2. " ADC0OREN ,ADC0 overrange enable" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 1. " GNDSW_RES_EN ,20 k Ohm resistor in series with the ground switch" "Disabled,Enabled"
bitfld.byte 0x00 0. " ADCRCEN ,ADC result counter enable" "Disabled,Enabled"
hgroup.long 0x1c++0x03
hide.long 0x00 "ADC0DAT,Current Channel ADC Data Register"
in
hgroup.long 0x20++0x03
hide.long 0x00 "ADC1DAT,Voltage Channel ADC Data Register"
in
group.word 0x24++0x01
line.word 0x00 "ADC0OF,Primary Channel ADC Offset Calibration Register"
group.word 0x28++0x01
line.word 0x00 "ADC1OF,Auxiliary Channel ADC Offset Calibration Register"
group.word 0x2c++0x01
line.word 0x00 "ADC0GN,Primary Channel ADC Gain Calibration Register"
group.word 0x30++0x01
line.word 0x00 "ADC1GN,Auxiliary Channel Gain Calibration Register"
group.word 0x34++0x01
line.word 0x00 "ADC0RCR,Primary Channel ADC Result Counter Limit Register"
rgroup.word 0x38++0x01
line.word 0x00 "ADC0RCV,Primary Channel ADC Result Counter Register"
group.word 0x3c++0x01
line.word 0x00 "ADC0TH,Primary Channel ADC Threshold Register"
group.byte 0x44++0x00
line.byte 0x00 "ADC0THV,Primary Channel ADC Threshold Counter Register"
rgroup.long 0x48++0x03
line.long 0x00 "ADC0ACC,Primary Channel ADC Accumulator Register"
group.long 0x4c++0x03
line.long 0x00 "ADC0ATH,Primary Channel ADC Comparator Threshold Register"
group.byte 0x70++0x00
line.byte 0x00 "IEXCON,Excitation Current Sources Control Register"
bitfld.byte 0x00 7. " IEXC1_EN ,Enable bit for IEXC1 current source" "Disabled,Enabled"
bitfld.byte 0x00 6. " IEXC0_EN ,Enable bit for IEXC0 current source" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 5. " IEXC1_DIR ,Direct Excitation Current Source 1" "IEXC1,IEXC0"
bitfld.byte 0x00 4. " IEXC0_DIR ,Direct Excitation Current Source 0" "IEXC0,IEXC1"
textline " "
bitfld.byte 0x00 1.--3. " IOUT[3:1] ,Control the excitation current level for each source" "0 uA,200 uA,400 uA,600 uA,800 uA,1 mA,?..."
bitfld.byte 0x00 0. " IOUT[0] ,Enable 10 uA diagnostic current source" "Disabled,Enabled"
width 0xb
tree.end
tree "DAC (Digital-to-Analog Converter)"
base ad:0xffff0600
width 0x0a
group.word 0x00++0x01
line.word 0x00 "DAC0CON,DA Converter 0 Control Register"
bitfld.word 0x00 9. " DACPD ,Power down DAC output" "Power up,Power down"
bitfld.word 0x00 8. " DACBUFLP ,DAC output buffer in low power mode" "Normal,Low power"
textline " "
bitfld.word 0x00 7. " OPAMP ,DAC output buffer in op amp mode" "Normal,Op Amp"
bitfld.word 0x00 6. " DACBUFBYPASS ,bypass the output buffer and send the DAC output directly" "Not bypassed,Bypassed"
textline " "
bitfld.word 0x00 5. " DACCLK ,DAC Update Rate" "Timer1,HCLK"
bitfld.word 0x00 4. " DACCLR ,DAC Clear Bit" "Reset,Normal"
textline " "
bitfld.word 0x00 3. " DACMODE ,DAC mode" "12-bit,16-bit"
bitfld.word 0x00 2. " RATE ,Interpolation clock" "UCLK/32,UCLK/16"
textline " "
bitfld.word 0x00 0.--1. " DACRAN ,DAC Range Bits" "0V to VREF,VREF- to VREF+,ADC5/EXT_REF2IN- to ADC4/EXT_REF2IN+,0V to AVDD"
group.long 0x04++0x3
line.long 0x00 "DAC0DAT,DA Converter 0 Data Register"
hexmask.long.word 0x00 16.--27. 1. " DATA ,DA Converter 0 Data"
bitfld.long 0x00 12.--15. " IPOL_EXBIT ,Interpolation extra bits" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
width 0x0B
tree.end
tree.open "Timers"
base ad:0xffff0320
width 8.
tree "Timer 0 (General Purpose)"
group.long 0x00++0x03
line.long 0x00 "T0LD,Timer 0 Load Register"
rgroup.long 0x04++0x03
line.long 0x00 "T0VAL0,Timer 0 Value 0 Register"
group.long 0x08++0x03
line.long 0x00 "T0CON,Timer 0 Control Register"
hexmask.long.byte 0x00 24.--31. 1. " T0PVAL ,Timer0 8-bit postscaler"
bitfld.long 0x00 23. " T0PEN ,Timer0 enable postscaler" "Disabled,Enabled"
bitfld.long 0x00 19. " T0PCF ,Timer0 postscaler compare flag" "Not equal,Equal"
textline " "
bitfld.long 0x00 17. " T0CAPEN ,Timer0 event enable bit" "Disabled,Enabled"
bitfld.long 0x00 18. " T0SRCI ,Timer0 interrupt source" "Timer0,Postscaler counter"
textline " "
bitfld.long 0x00 12.--16. " T0CAPSEL ,Timer0 event Select Bits" "Reserved,Timer0,Timer1 or wake-up timer,Timer2 or watchdog timer,Timer3,Reserved,Reserved,Reserved,ADC,UART,SPI,XIRQ0,XIRQ1,I2C master,I2C slave,PWM,XIRQ2 (GPIO IRQ2),XIRQ3 (GPIO IRQ3),?..."
textline " "
bitfld.long 0x00 9.--10. " T0CLKSEL ,Timer0 clock select" "32.768 kHz,10.24 MHz/CD,10.24 MHz,P1.0"
bitfld.long 0x00 8. " T0DIR ,Timer0 count direction" "Count down,Count up"
bitfld.long 0x00 7. " T0EN ,Timer0 enable bit" "Disabled,Enabled"
textline " "
bitfld.long 0x00 6. " T0MOD ,Timer0 mode" "Free running,Periodic"
bitfld.long 0x00 4.--5. " T0FORMAT ,Timer0 Format" "Binary,Reserved,23 to 0 hours,255 to 0 hours"
bitfld.long 0x00 0.--3. " T0SCALE ,Timer0 Prescaler" "Clock/1,Reserved,Reserved,Reserved,Clock/16,Reserved,Reserved,Reserved,Clock/256,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Clock/32.768"
wgroup.byte 0xC++0x00
line.byte 0x00 "T0CLRI,Timer0 Clear Register"
tree.end
tree "Timer 1 (Wake-Up)"
wgroup.long 0x20++0x03
line.long 0x00 "T1LD,Timer 1 Load Register"
rgroup.long 0x24++0x03
line.long 0x00 "T1VAL,Timer 1 Value Register"
if (((data.word(d:0xffff0320+0x28))&0x600)==0x0)
group.word 0x28++0x01
line.word 0x00 "T1CON,Timer 1 Control Register"
bitfld.word 0x00 9.--10. " T1CLKSEL ,Timer1 clock source select" "32.768 kHz,10.24 MHz/CD,XTALI,10.24 MHz"
bitfld.word 0x00 8. " T1DIR ,Timer1 count direction" "Count down,Count up"
bitfld.word 0x00 7. " T1EN ,Timer1 enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 6. " T1MOD ,Timer1 mode" "Free running,Periodic"
bitfld.word 0x00 4.--5. " T1FORMAT ,Timer1 Format" "Binary,Reserved,23 to 0 hours,255 to 0 hours"
bitfld.word 0x00 0.--3. " T1SCALE ,Timer1 Prescaler" "Clock/1,Reserved,Reserved,Reserved,Clock/16,Reserved,Reserved,Reserved,Clock/256,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Clock/32.768"
else
group.word 0x28++0x01
line.word 0x00 "T1CON,Timer 1 Control Register"
bitfld.word 0x00 9.--10. " T1CLKSEL ,Timer1 clock source select" "32.768 kHz,10.24 MHz/CD,XTALI,10.24 MHz"
bitfld.word 0x00 8. " T1DIR ,Timer1 count direction" "Count down,Count up"
bitfld.word 0x00 7. " T1EN ,Timer1 enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 6. " T1MOD ,Timer1 mode" "Free running,Periodic"
bitfld.word 0x00 4.--5. " T1FORMAT ,Timer1 Format" "Binary,?..."
bitfld.word 0x00 0.--3. " T1SCALE ,Timer1 Prescaler" "Clock/1,Reserved,Reserved,Reserved,Clock/16,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Clock/32.768"
endif
wgroup.byte 0x2c++0x00
line.byte 0x00 "T1CLRI,Timer 1 Clear Register"
tree.end
tree "Timer 2 (Watchdog)"
wgroup.word 0x40++0x01
line.word 0x00 "T2LD,Timer 2 Load Register"
rgroup.word 0x44++0x01
line.word 0x00 "T2VAL,Timer 2 Value Register"
group.word 0x48++0x01
line.word 0x00 "T2CON,Timer 2 Control Register"
bitfld.word 0x00 8. " T2DIR ,Timer2 count direction" "Count down,Count up"
bitfld.word 0x00 7. " T2EN ,Timer 2 Enable" "Disabled,Enabled"
bitfld.word 0x00 6. " T2MOD ,Timer 2 Operating Mode" "Free running,Periodic"
textline " "
bitfld.word 0x00 5. " WDOGMDEN ,Watchdog Timer Mode Enable" "Disabled,Enabled"
bitfld.word 0x00 2.--3. " T2SCALE ,Timer 2 Clock Prescalar" "32.768 kHz,Clock/16,Clock/256,?..."
bitfld.word 0x00 1. " WDOGENI ,Watchdog Timer IRQ Enable" "Disabled,Enabled"
textline " "
bitfld.word 0x00 0. " T2PDOFF ,Stop Timer 2 during Power Down" "On,Off"
wgroup.byte 0x4c++0x00
line.byte 0x00 "T2CLRI,Timer 2 Clear Register"
tree.end
tree "Timer 3 (General Purpose)"
wgroup.word 0x60++0x01
line.word 0x00 "T3LD,Timer 3 Load Register"
rgroup.word 0x64++0x01
line.word 0x00 "T3VAL,Timer 3 Value Register"
group.long 0x68++0x03
line.long 0x00 "T3CON,Timer 3 Control Register"
bitfld.long 0x00 17. " T3CAPEN ,Timer3 event enable bit" "Disabled,Enabled"
bitfld.long 0x00 12.--16. " T3CAPSEL ,Timer3 event Select Bits" "Reserved,Timer0,Timer1 or wake-up timer,Timer2 or watchdog timer,Timer3,Reserved,Reserved,Reserved,ADC,UART,SPI,XIRQ0,XIRQ1,I2C master,I2C slave,PWM,XIRQ2 (GPIO IRQ2),XIRQ3 (GPIO IRQ3),?..."
textline " "
bitfld.long 0x00 9.--10. " T3CLKSEL ,Timer3 clock select" "32.768 kHz,10.24 MHz/CD,10.24 MHz,?..."
bitfld.long 0x00 8. " T3DIR ,Timer3 count direction" "Count down,Count up"
bitfld.long 0x00 7. " T3EN ,Timer3 enable bit" "Disabled,Enabled"
textline " "
bitfld.long 0x00 6. " T3MOD ,Timer3 mode" "Free running,Periodic"
bitfld.long 0x00 4.--5. " T3FORMAT ,Timer3 Format" "Binary,Reserved,23 to 0 hours,255 to 0 hours"
bitfld.long 0x00 0.--3. " T3SCALE ,Timer3 Prescaler" "Clock/1,Reserved,Reserved,Reserved,Clock/16,Reserved,Reserved,Reserved,Clock/256,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Clock/32.768"
wgroup.byte 0x6c++0x00
line.byte 0x00 "T3CLRI,Timer 3 Clear Register"
rgroup.word 0x70++0x01
line.word 0x00 "T3CAP,Time 3 Capture Register"
tree.end
width 0xB
tree.end
tree "PWM (Pulse-Width Modulator)"
base ad:0xffff0f80
width 10.
group.word 0x00++0x01
line.word 0x00 "PWMCON,PWM Control Register"
bitfld.word 0x00 14. " SYNC ,Enables PWM Synchronization" "Disabled,Enabled"
bitfld.word 0x00 13. " PWM5INV ,Invert PWM5" "Normal,Inverted"
bitfld.word 0x00 12. " PWM3NV ,Invert PWM3" "Normal,Inverted"
textline " "
bitfld.word 0x00 11. " PWM1INV ,Invert PWM1" "Normal,Inverted"
bitfld.word 0x00 10. " PWMTRIP ,PWM Trip Interrupt Enabled" "Disabled,Enabled"
bitfld.word 0x00 9. " ENA ,Enable PWM Outputs" "Disabled,Enabled"
textline " "
bitfld.word 0x00 6.--8. " PWMCP ,PWM Clock Prescaler Bits" "Div by 2,Div by 4,Div by 8,Div by 16,Div by 32,Div by 64,Div by 128,Div by 256"
bitfld.word 0x00 5. " POINV ,Invert All PWM Outputs" "Normal,Inverted"
bitfld.word 0x00 4. " HOFF ,High Side Off" "Normal,PWM0/2 high PWM1/3 low"
textline " "
bitfld.word 0x00 3. " LCOMP ,Load Compare Regiseters" "Not loaded,Loaded"
bitfld.word 0x00 2. " DIR ,Direction Control" "PWM2/3 output,PWM0/1 output"
bitfld.word 0x00 1. " HMODE ,Enables H-Bridge Mode" "Standard,H-Bridge"
textline " "
bitfld.word 0x00 0. " PWMEN ,Enable All PWM Outputs" "Disabled,Enabled"
group.word 0x10++0x01 "PWM0"
line.word 0x00 "PWM0LEN,Frequency Control for PWM 0 Register"
group.word 0x04++0x01
line.word 0x00 "PWM0COM1,PWM 0 Compare 1 Register"
group.word 0x08++0x01
line.word 0x00 "PWM0COM2,PWM 0 Compare 2 Register"
group.word 0x0c++0x01
line.word 0x00 "PWM0COM2,PWM 0 Compare 3 Register"
group.word 0x20++0x01 "PWM1"
line.word 0x00 "PWM1LEN,Frequency Control for PWM 1 Register"
group.word 0x14++0x01
line.word 0x00 "PWM1COM1,PWM 1 Compare 1 Register"
group.word 0x18++0x01
line.word 0x00 "PWM1COM2,PWM 1 Compare 2 Register"
group.word 0x1c++0x01
line.word 0x00 "PWM1COM3,PWM 1 Compare 2 Register"
group.word 0x30++0x01 "PWM2"
line.word 0x00 "PWM2LEN,Frequency Control for PWM 2 Register"
group.word 0x24++0x01
line.word 0x00 "PWM2COM1,PWM 2 Compare 1 Register"
group.word 0x28++0x01
line.word 0x00 "PWM2COM2,PWM 2 Compare 2 Register"
group.word 0x2c++0x01
line.word 0x00 "PWM2COM3,PWM 2 Compare 3 Register"
wgroup.word 0x38++0x01
line.word 0x00 "PWMCLRI,PWM Interrupt Clear Register"
width 0xb
tree.end
tree "UART (Universal Asynchronous Receiver/Transmitter)"
base ad:0xffff0700
width 0x09
if (((data.byte(d:0xffff0700+0x0C))&0x80)==0x00)
wgroup.byte 0x00--0x00
line.byte 0x00 "COMTX,UART Transmit Register"
rgroup.byte 0x00--0x00
line.byte 0x00 "COMRX,UART Receive Register"
group.byte 0x04--0x04
line.byte 0x00 "COMIEN0,UART Interrupt Enable Register"
bitfld.byte 0x00 3. " EDSSI ,Modem Status Interrupt Enable" "Disabled,Enabled"
bitfld.byte 0x00 2. " ELSI ,RX Status Interrupt Enable" "Disabled,Enabled"
bitfld.byte 0x00 1. " ETBEI ,Enable Transmit Buffer Empty Interrupt" "Disabled,Enabled"
textline " "
bitfld.byte 0x00 0. " ERBFI ,Enable Receive Buffer Full Interrupt" "Disabled,Enabled"
else
group.byte 0x00--0x00
line.byte 0x00 "COMDIV0,UART Divisor Latch (low byte) Register"
group.byte 0x04--0x04
line.byte 0x00 "COMDIV1,UART Divisor Latch (high byte) Register"
endif
if (((data.byte(d:0xffff0700+0x0C))&0x3)==0x0)
group.byte 0x0C++0x00
line.byte 0x00 "COMCON0,UART Control Register 0"
bitfld.byte 0x00 7. " DLAB ,Divisor Latch Access" "COMRX/COMTX,COMDIV0/COMDIV1"
bitfld.byte 0x00 6. " BRK ,Set Break" "Normal,Force TXD=0"
bitfld.byte 0x00 5. " SP ,Stick Parity" "Low,High"
textline " "
bitfld.byte 0x00 4. " EPS ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. " PEN ,Parity Enable" "Disabled,Enabled"
bitfld.byte 0x00 2. " STOP ,Stop bit" "1 bit,1.5 bits"
textline " "
bitfld.byte 0x00 0.--1. " WLS ,Word Length Select" "5 bits,6 bits,7 bits,8 bits"
else
group.byte 0x0C++0x00
line.byte 0x00 "COMCON0,UART Control Register 0"
bitfld.byte 0x00 7. " DLAB ,Divisor Latch Access" "COMRX/COMTX,COMDIV0/COMDIV1"
bitfld.byte 0x00 6. " BRK ,Set Break" "Normal,Force TXD=0"
bitfld.byte 0x00 5. " SP ,Stick Parity" "Low,High"
textline " "
bitfld.byte 0x00 4. " EPS ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. " PEN ,Parity Enable" "Disabled,Enabled"
bitfld.byte 0x00 2. " STOP ,Stop bit" "1 bit,2 bits"
textline " "
bitfld.byte 0x00 0.--1. " WLS ,Word Length Select" "5 bits,6 bits,7 bits,8 bits"
endif
group.byte 0x10--0x10
line.byte 0x00 "COMCON1,UART Control Register 1"
sif (cpuis("ADUC706*"))
bitfld.byte 0x00 4. " LOOPBACK ,Loop Back Mode" "Disabled,Enabled"
bitfld.byte 0x00 1. " RTS ,Request to send" "Force high,Force low"
bitfld.byte 0x00 0. " DTR ,Data terminal ready" "Force high,Force low"
else
bitfld.byte 0x00 6.--7. " UARTIM ,UART Input Mux" "RxD by LIN,Reserved,RxD by GP5,?..."
bitfld.byte 0x00 4. " LOOPBACK ,Loop Back Mode" "Disabled,Enabled"
endif
rgroup.byte 0x14++0x00
line.byte 0x00 "COMSTA0,UART Status Register"
bitfld.byte 0x00 6. " TEMT ,COMTX Empty Status" "Not empty,Empty"
bitfld.byte 0x00 5. " THRE ,COMTX and COMRX Empty" "Not empty,Empty"
bitfld.byte 0x00 4. " BI ,Break Indicator" "No error,Error"
textline " "
bitfld.byte 0x00 3. " FE ,Framing Error" "No error,Error"
bitfld.byte 0x00 2. " PE ,Parity Error" "No error,Error"
bitfld.byte 0x00 1. " OE ,Overrun Error" "No error,Error"
textline " "
bitfld.byte 0x00 0. " DR ,Data Ready" "Not ready,Ready"
rgroup.byte 0x08--0x08
line.byte 0x00 "COMIID0,UART Interrupt Identification Register"
bitfld.byte 0x00 0.--2. " STA/NINT ,UART Interrupt Source" "Modem status,No interrupt,Transmit buffer empty,Reserved,Receive buffer full,Reserved,Receive line status,?..."
group.word 0x2c++0x01
line.word 0x00 "COMDIV2,UART Fractional Divider Register"
bitfld.word 0x00 15. " FBEN ,Fractional Baudrate Generator Enable" "Disabled,Enabled"
bitfld.word 0x00 11.--12. " FBM[1-0] ,M" "00,01,10,11"
hexmask.word 0x00 0.--10. 1. " FBN[10-0] ,N"
sif (cpuis("ADUC706*"))
hgroup.byte 0x18++0x00
hide.byte 0x00 "COMSTA1,UART Status Register 1"
in
else
rgroup.byte 0x18++0x00
line.byte 0x00 "COMSTA1,UART Status Register 1"
rgroup.byte 0x1C++0x00
line.byte 0x00 "COMSCR,UART Scratch Register"
rgroup.byte 0x20++0x00
line.byte 0x00 "COMIEN1,UART Interrupt Enable Register 1"
rgroup.byte 0x28++0x00
line.byte 0x00 "COMADR,UART Network Address Register"
rgroup.byte 0x0024--0x0024
line.byte 0x00 "COMIID1,UART Interrupt Identification Register"
endif
width 0x0B
tree.end
tree "I2C (Inter-Integrated Circuit)"
base ad:0xffff0900
width 0x0B
group.word 0x00++0x01
line.word 0x00 "I2CMCON,I2C Master Control Register"
bitfld.word 0x00 8. " I2CMCENI ,I2C transmission complete interrupt enable bit" "Disabled,Enabled"
bitfld.word 0x00 7. " I2CNACKENI ,I2C no acknowledge (NACK) received interrupt enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 6. " I2CALENI ,I2C arbitration lost interrupt enable bit" "Disabled,Enabled"
bitfld.word 0x00 5. " I2CMTENI ,I2C transmit interrupt enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 4. " I2CMRENI ,I2C receive interrupt enable bit" "Disabled,Enabled"
bitfld.word 0x00 3. " I2CMSEN ,I2C master SCL stretch enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 2. " I2CILEN ,I2C internal loopback enable" "Disabled,Enabled"
bitfld.word 0x00 1. " I2CBD ,I2C master backoff disable bit" "No,Yes"
textline " "
bitfld.word 0x00 0. " I2CMEN ,I2C master enable bit" "Disabled,Enabled"
rgroup.word 0x04++0x01
line.word 0x00 "I2CMSTA,I2C Master Status Register"
bitfld.word 0x00 10. " I2CBBUSY ,I2C bus busy status bit" "Not busy,Busy"
bitfld.word 0x00 9. " I2CMRXFO ,Master receive FIFO overflow" "No overflow,Overflow"
textline " "
bitfld.word 0x00 8. " I2CMTC ,I2C transmission complete status bit" "Not completed,Completed"
bitfld.word 0x00 7. " I2CMNA ,I2C master no acknowledge data bit" "Acknowledge,No acknowledge"
textline " "
bitfld.word 0x00 6. " I2CMBUSY ,I2C master busy status bit" "Not busy,Busy"
bitfld.word 0x00 5. " I2CAL ,I2C arbitration lost status bit" "Not lost,Lost"
textline " "
bitfld.word 0x00 4. " I2CMNA ,I2C master no acknowledge address bit" "Acknowledge,No acknowledge"
bitfld.word 0x00 3. " I2CMRXQ ,I2C master receive request bit" "Acknowledge,No acknowledge"
textline " "
bitfld.word 0x00 2. " I2CMTXQ ,I2C master transmit request bit" "Not transmitted,Transmitted"
bitfld.word 0x00 0.--1. " I2CMTFSTA ,I2C master transmit FIFO status bits" "Empty,1 byte,1 byte,Full"
rgroup.byte 0x08++0x00
line.byte 0x00 "I2CMRX,I2C Master Receive Register"
wgroup.byte 0x0c++0x00
line.byte 0x00 "I2CMTX,I2C Master Transmit Register"
group.word 0x10++0x01
line.word 0x00 "I2CMCNT0,I2C Master Read Count Register"
bitfld.word 0x00 8. " I2CRECNT ,More than 256 bytes are required from the slave" "=< 256 bytes,> 256 bytes"
hexmask.word.byte 0x00 0.--7. 1. " I2CRCNT ,Number of bytes required during a slave read sequence"
rgroup.byte 0x14++0x0
line.byte 0x00 "I2CMCNT1,I2C Master Current Read Count Register"
if (((data.word(d:0xffff0900+0x28))&0x2)==0x2)
group.byte 0x18++0x0
line.byte 0x00 "I2CADR0,I2C Address 0 Register"
hexmask.byte 0x00 3.--7. 0x8 " I2CADR ,Address of the required slave device"
textline " "
bitfld.byte 0x00 1.--2. " I2CMADR ,ADDR[9:8] in 10-bit addressing mode" "00,01,10,11"
bitfld.byte 0x00 0. " R/W ,Read/write mode" "Write,Read"
group.byte 0x1c++0x0
line.byte 0x00 "I2CADR1,I2C Address 1 Register"
else
group.byte 0x18++0x0
line.byte 0x00 "I2CADR0,I2C Address 0 Register"
hexmask.byte 0x00 1.--7. 0x2 " I2CADR ,Address of the required slave device"
bitfld.byte 0x00 0. " R/W ,Read/write mode" "Write,Read"
hgroup.byte 0x1c++0x0
hide.byte 0x00 "I2CADR1,I2C Address 1 Register"
endif
group.word 0x24++0x01
line.word 0x00 "I2CDIV,I2C Master Clock Control"
hexmask.word.byte 0x00 8.--15. 1. " DIVH ,Control the duration of the high period of SCL"
hexmask.word.byte 0x00 0.--7. 1. " DIVL ,Control the duration of the low period of SCL"
group.word 0x28++0x01
line.word 0x00 "I2CSCON,I2C Slave Control"
bitfld.word 0x00 10. " I2CSTXENI ,Slave transmit interrupt enable bit" "Disabled,Enabled"
bitfld.word 0x00 9. " I2CSRXENI ,Slave receive interrupt enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 8. " I2CSSENI ,I2C stop condition detected interrupt enable bit" "Disabled,Enabled"
bitfld.word 0x00 7. " I2CNACKEN ,I2C no acknowledge enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 6. " I2CSSEN ,I2C slave SCL stretch enable bit" "Disabled,Enabled"
bitfld.word 0x00 5. " I2CSETEN ,I2C early transmit interrupt enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 4. " I2CGCCLR ,I2C general call status and ID clear bit" "Not cleared,Cleared"
bitfld.word 0x00 3. " I2CHGCEN ,Hardware general call enable" "Disabled,Enabled"
textline " "
bitfld.word 0x00 2. " I2CGCEN ,General call enable bit" "Disabled,Enabled"
bitfld.word 0x00 1. " ADR10EN ,I2C 10-bit address mode" "Disabled,Enabled"
textline " "
bitfld.word 0x00 0. " I2CSEN ,I2C slave enable bit" "Disabled,Enabled"
group.word 0x2c++0x01
line.word 0x00 "I2CSSTA,I2C Slave Status Register"
bitfld.word 0x00 14. " I2CSTA ,Start condition followed by a matching address is detected" "Not detected,Detected"
bitfld.word 0x00 13. " I2CREPS ,Repeated start condition is detected" "Not detected,Detected"
textline " "
bitfld.word 0x00 11.--12. " I2CID ,I2C address matching register" "I2CID0,I2CID1,I2CID2,I2CID3"
bitfld.word 0x00 10. " I2CSS ,I2C stop condition after start detected" "Not detected,Detected"
textline " "
bitfld.word 0x00 8.--9. " I2CGCID ,I2C general call ID bits" "No general call received,Reset and program address,Program address,Matching alternative ID"
bitfld.word 0x00 7. " I2CGC ,Slave receives a general call command" "Not received,Received"
textline " "
bitfld.word 0x00 6. " I2CSBUSY ,I2C slave busy status bit" "Not busy,Busy"
bitfld.word 0x00 5. " I2CSNA ,I2C slave no acknowledge data bit" "Acknowledge,No acknowledge"
textline " "
bitfld.word 0x00 4. " I2CSRXFO ,Slave receive FIFO overflow" "No overflow,Overflow"
bitfld.word 0x00 3. " I2CSRXQ ,I2C slave receive request bit" "Not requested,Requested"
textline " "
bitfld.word 0x00 2. " I2CSTXQ ,I2C slave transmit request bit" "Not requested,Requested"
bitfld.word 0x00 1. " I2CSTFE ,I2C slave FIFO underflow status bit" "No underflow,Underflow"
textline " "
bitfld.word 0x00 0. " I2CETSTA ,I2C slave early transmit FIFO status bit" "Not asserted,Asserted"
rgroup.byte 0x30++0x0
line.byte 0x00 "I2CSRX,I2C Slave Receive Register"
wgroup.byte 0x34++0x0
line.byte 0x00 "I2CSTX,I2C Slave Transmit Register"
group.byte 0x38++0x0
line.byte 0x00 "I2CALT,I2C Hardware General Call Recognition Register"
group.byte 0x3c++0x0
line.byte 0x00 "I2CID0,I2C Slave Device ID 0 Register"
group.byte 0x40++0x0
line.byte 0x00 "I2CID1,I2C Slave Device ID 1 Register"
group.byte 0x44++0x0
line.byte 0x00 "I2CID2,I2C Slave Device ID 2 Register"
group.byte 0x48++0x0
line.byte 0x00 "I2CID3,I2C Slave Device ID 3 Register"
group.word 0x4c++0x01
line.word 0x00 "I2CFSTA,I2C FIFO Status"
bitfld.word 0x00 9. " I2CFMTX ,Flush the master transmit FIFO" "Not flushed,Flushed"
bitfld.word 0x00 8. " I2CFSTX ,Flush the master transmit FIFO" "Not flushed,Flushed"
textline " "
bitfld.word 0x00 6.--7. " I2CMRXSTA ,I2C master receive FIFO status bits" "FIFO Empty,Byte written to FIFO,One byte in FIFO,FIFO full"
bitfld.word 0x00 4.--5. " I2CMTXSTA ,I2C master transmit FIFO status bits" "FIFO Empty,Byte written to FIFO,One byte in FIFO,FIFO full"
textline " "
bitfld.word 0x00 2.--3. " I2CSRXSTA ,I2C slave receive FIFO status bits" "FIFO Empty,Byte written to FIFO,One byte in FIFO,FIFO full"
bitfld.word 0x00 0.--1. " I2CSTXSTA ,I2C slave transmit FIFO status bits" "FIFO Empty,Byte written to FIFO,One byte in FIFO,FIFO full"
width 0x0B
tree.end
tree "SPI (Serial Peripheral Interface)"
base ad:0xffff0a00
width 0x08
rgroup.byte 0x04++0x00
line.byte 0x00 "SPIRX,Receive Register"
wgroup.byte 0x08++0x00
line.byte 0x00 "SPITX,Transmit Register"
group.byte 0x0C++0x00
line.byte 0x00 "SPIDIV,Divider Register"
hgroup.word 0x00++0x01
hide.word 0x00 "SPISTA,Status Register"
in
group.word 0x10++0x01
line.word 0x00 "SPICON,Control Register"
bitfld.word 0x00 14.--15. " SPIMDE ,SPI IRQ Mode" "Tx 1 byte/Rx > 1 byte,Tx 2 byte/Rx > 2 byte,Tx 3 byte/Rx > 3 byte,Tx 4 byte/Rx Full"
textline " "
bitfld.word 0x00 13. " SPITFLH ,SPI transmit FIFO flush enable" "Disabled,Enabled"
bitfld.word 0x00 12. " SPIRFLH ,SPI receive FIFO flush enable" "Disabled,Enabled"
bitfld.word 0x00 11. " SPICONT ,Continuous transfer enable" "Disabled,Enabled"
textline " "
bitfld.word 0x00 10. " SPILP ,Loop Back Enable" "Disabled,Enabled"
bitfld.word 0x00 9. " SPIOEN ,Slave MISO output enable" "Disabled,Enabled"
bitfld.word 0x00 8. " SPIROW ,SPIRX overflow overwrite enable" "Disabled,Enabled"
textline " "
bitfld.word 0x00 7. " SPIZEN ,SPI transmit zeros when transmit FIFO is empty" "Not overwritten,Overwritten"
textline " "
bitfld.word 0x00 6. " SPITMDE ,SPI transfer and interrupt mode" "RX/Full,TX/Empty"
bitfld.word 0x00 5. " SPILF ,LSB first transfer enable bit" "MSB,LSB"
bitfld.word 0x00 4. " SPIWOM ,SPI wired or mode enable bit" "Disabled,Enabled"
textline " "
bitfld.word 0x00 3. " SPICPO ,Serial Clock Polarity Mode" "Idles low,Idles high"
bitfld.word 0x00 2. " SPICPH ,Serial Clock Phase Mode" "End,Beginning"
bitfld.word 0x00 1. " SPIMEN ,Master Mode Enable" "Slave,Master"
textline " "
bitfld.word 0x00 0. " SPIEN ,SPI Enable" "Disabled,Enabled"
width 0x0B
tree.end
tree.open "GPIO (General Purpose Input/Output)"
base ad:0xFFFF0D00
width 8.
tree "Port 0"
group.long 0x00++0x3
line.long 0x00 "GP0CON,GPIO 0 Control Register"
bitfld.long 0x00 24.--25. " P0.6 ,GPIO P0.6 Pin Function" "GPIO,RTS. UART,?..."
bitfld.long 0x00 20.--21. " P0.5 ,GPIO P0.5 Pin Function" "GPIO,CTS. UART,?..."
bitfld.long 0x00 16.--17. " P0.4 ,GPIO P0.4 Pin Function" "GPIO/IRQ0,PWM1,?..."
textline " "
bitfld.long 0x00 12.--13. " P0.3 ,GPIO P0.3 Pin Function" "GPIO,MOSI,?..."
bitfld.long 0x00 8.--9. " P0.2 ,GPIO P0.2 Pin Function" "GPIO,MISO,?..."
bitfld.long 0x00 4.--5. " P0.1 ,GPIO P0.1 Pin Function" "GPIO,SCLK/SCL,?..."
textline " "
bitfld.long 0x00 0.--1. " P0.0 ,GPIO P0.0 Pin Function" "GPIO,SPI slave,?..."
group.long 0x2c++0x3
line.long 0x00 "GP0PAR,GPIO 0 Parameters Register"
bitfld.long 0x00 22. " GPL6 ,General I/O port pin 6 functionality lock" "Not locked,Locked"
bitfld.long 0x00 21. " GPL5 ,General I/O port pin 5 functionality lock" "Not locked,Locked"
bitfld.long 0x00 20. " GPL4 ,General I/O port pin 4 functionality lock" "Not locked,Locked"
textline " "
bitfld.long 0x00 19. " GPL3 ,General I/O port pin 3 functionality lock" "Not locked,Locked"
bitfld.long 0x00 18. " GPL2 ,General I/O port pin 2 functionality lock" "Not locked,Locked"
bitfld.long 0x00 17. " GPL1 ,General I/O port pin 1 functionality lock" "Not locked,Locked"
textline " "
bitfld.long 0x00 16. " GPL0 ,General I/O port pin 0 functionality lock" "Not locked,Locked"
bitfld.long 0x00 14. " GPDS6 ,Drive strength configuration 6" "2 mA,4 mA"
bitfld.long 0x00 13. " GPDS5 ,Drive strength configuration 5" "2 mA,4 mA"
textline " "
bitfld.long 0x00 12. " GPDS4 ,Drive strength configuration 4" "2 mA,4 mA"
bitfld.long 0x00 11. " GPDS3 ,Drive strength configuration 3" "2 mA,4 mA"
bitfld.long 0x00 10. " GPDS2 ,Drive strength configuration 2" "2 mA,4 mA"
textline " "
bitfld.long 0x00 9. " GPDS1 ,Drive strength configuration 1" "2 mA,4 mA"
bitfld.long 0x00 8. " GPDS0 ,Drive strength configuration 0" "2 mA,4 mA"
bitfld.long 0x00 6. " GPPD6 ,Pull-Up Disable Port 6" "Enabled,Disabled"
textline " "
bitfld.long 0x00 5. " GPPD5 ,Pull-Up Disable Port 5" "Enabled,Disabled"
bitfld.long 0x00 4. " GPPD4 ,Pull-Up Disable Port 4" "Enabled,Disabled"
bitfld.long 0x00 3. " GPPD3 ,Pull-Up Disable Port 3" "Enabled,Disabled"
textline " "
bitfld.long 0x00 2. " GPPD2 ,Pull-Up Disable Port 2" "Enabled,Disabled"
bitfld.long 0x00 1. " GPPD1 ,Pull-Up Disable Port 1" "Enabled,Disabled"
bitfld.long 0x00 0. " GPPD0 ,Pull-Up Disable Port 0" "Enabled,Disabled"
group.long 0x20++0x3
line.long 0x00 "GP0DAT,GPIO Port 0 Configuration and Data Register"
bitfld.long 0x00 30. " P0.6_DIR ,Port 0.6 Data Direction" "Input,Output"
bitfld.long 0x00 29. " P0.5_DIR ,Port 0.5 Data Direction" "Input,Output"
bitfld.long 0x00 28. " P0.4_DIR ,Port 0.4 Data Direction" "Input,Output"
textline " "
bitfld.long 0x00 27. " P0.3_DIR ,Port 0.3 Data Direction" "Input,Output"
bitfld.long 0x00 26. " P0.2_DIR ,Port 0.2 Data Direction" "Input,Output"
bitfld.long 0x00 25. " P0.1_DIR ,Port 0.1 Data Direction" "Input,Output"
textline " "
bitfld.long 0x00 24. " P0.0_DIR ,Port 0.0 Data Direction" "Input,Output"
bitfld.long 0x00 22. " P0.6_OUT ,Port 0.6 Data Output" "Low,High"
bitfld.long 0x00 21. " P0.5_OUT ,Port 0.5 Data Output" "Low,High"
textline " "
bitfld.long 0x00 20. " P0.4_OUT ,Port 0.4 Data Output" "Low,High"
bitfld.long 0x00 19. " P0.3_OUT ,Port 0.3 Data Output" "Low,High"
bitfld.long 0x00 18. " P0.2_OUT ,Port 0.2 Data Output" "Low,High"
textline " "
bitfld.long 0x00 17. " P0.1_OUT ,Port 0.1 Data Output" "Low,High"
bitfld.long 0x00 16. " P0.0_OUT ,Port 0.0 Data Output" "Low,High"
bitfld.long 0x00 14. " P0.6_RST_ST ,Port 0.6 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 13. " P0.5_RST_ST ,Port 0.5 State at Reset" "Low,High"
bitfld.long 0x00 12. " P0.4_RST_ST ,Port 0.4 State at Reset" "Low,High"
bitfld.long 0x00 11. " P0.3_RST_ST ,Port 0.3 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 10. " P0.2_RST_ST ,Port 0.2 State at Reset" "Low,High"
bitfld.long 0x00 9. " P0.1_RST_ST ,Port 0.1 State at Reset" "Low,High"
bitfld.long 0x00 8. " P0.0_RST_ST ,Port 0.0 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 6. " P0.6_IN ,Port 0.6 Data Input" "Low,High"
bitfld.long 0x00 5. " P0.5_IN ,Port 0.5 Data Input" "Low,High"
bitfld.long 0x00 4. " P0.4_IN ,Port 0.4 Data Input" "Low,High"
textline " "
bitfld.long 0x00 3. " P0.3_IN ,Port 0.3 Data Input" "Low,High"
bitfld.long 0x00 2. " P0.2_IN ,Port 0.2 Data Input" "Low,High"
bitfld.long 0x00 1. " P0.1_IN ,Port 0.1 Data Input" "Low,High"
textline " "
bitfld.long 0x00 0. " P0.0_IN ,Port 0.0 Data Input" "Low,High"
wgroup.long 0x24++0x7
line.long 0x00 "GP0SET,GPIO Port 0 Data Set Register"
bitfld.long 0x00 22. " P0.6_SET ,Port 0.6 Set" "No effect,Set"
bitfld.long 0x00 21. " P0.5_SET ,Port 0.5 Set" "No effect,Set"
bitfld.long 0x00 20. " P0.4_SET ,Port 0.4 Set" "No effect,Set"
textline " "
bitfld.long 0x00 19. " P0.3_SET ,Port 0.3 Set" "No effect,Set"
bitfld.long 0x00 18. " P0.2_SET ,Port 0.2 Set" "No effect,Set"
bitfld.long 0x00 17. " P0.1_SET ,Port 0.1 Set" "No effect,Set"
textline " "
bitfld.long 0x00 16. " P0.0_SET ,Port 0.0 Set" "No effect,Set"
line.long 0x04 "GP0CLR,GPIO Port 0 Data Clear Register"
bitfld.long 0x04 22. " P0.6_CLR ,Port 0.6 Clear" "No effect,Cleared"
bitfld.long 0x04 21. " P0.5_CLR ,Port 0.5 Clear" "No effect,Cleared"
bitfld.long 0x04 20. " P0.4_CLR ,Port 0.4 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x04 19. " P0.3_CLR ,Port 0.3 Clear" "No effect,Cleared"
bitfld.long 0x04 18. " P0.2_CLR ,Port 0.2 Clear" "No effect,Cleared"
bitfld.long 0x04 17. " P0.1_CLR ,Port 0.1 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x04 16. " P0.0_CLR ,Port 0.0 Clear" "No effect,Cleared"
tree.end
tree "Port 1"
group.long 0x04++0x3
line.long 0x00 "GP1CON,GPIO 1 Control Register"
bitfld.long 0x00 24.--25. " P1.6 ,GPIO P1.6 Pin Function" "GPIO,PWM4,?..."
bitfld.long 0x00 20.--21. " P1.5 ,GPIO P1.5 Pin Function" "GPIO/IRQ3,PWM3,?..."
bitfld.long 0x00 16.--17. " P1.4 ,GPIO P1.4 Pin Function" "GPIO,PWM2,?..."
textline " "
bitfld.long 0x00 12.--13. " P1.3 ,GPIO P1.3 Pin Function" "GPIO,PWM trip,?..."
bitfld.long 0x00 8.--9. " P1.2 ,GPIO P1.2 Pin Function" "GPIO,PWM sync,?..."
bitfld.long 0x00 4.--5. " P1.1 ,GPIO P1.1 Pin Function" "GPIO,SOUT,?..."
textline " "
bitfld.long 0x00 0.--1. " P1.0 ,GPIO P1.0 Pin Function" "GPIO/IRQ1,SIN,?..."
group.long 0x3c++0x3
line.long 0x00 "GP1PAR,GPIO 1 Parameters Register"
bitfld.long 0x00 22. " GPL6 ,General I/O port pin 6 functionality lock" "Not locked,Locked"
bitfld.long 0x00 21. " GPL5 ,General I/O port pin 5 functionality lock" "Not locked,Locked"
bitfld.long 0x00 20. " GPL4 ,General I/O port pin 4 functionality lock" "Not locked,Locked"
textline " "
bitfld.long 0x00 19. " GPL3 ,General I/O port pin 3 functionality lock" "Not locked,Locked"
bitfld.long 0x00 18. " GPL2 ,General I/O port pin 2 functionality lock" "Not locked,Locked"
bitfld.long 0x00 17. " GPL1 ,General I/O port pin 1 functionality lock" "Not locked,Locked"
textline " "
bitfld.long 0x00 16. " GPL0 ,General I/O port pin 0 functionality lock" "Not locked,Locked"
bitfld.long 0x00 14. " GPDS6 ,Drive strength configuration 6" "2 mA,4 mA"
bitfld.long 0x00 13. " GPDS5 ,Drive strength configuration 5" "2 mA,4 mA"
textline " "
bitfld.long 0x00 12. " GPDS4 ,Drive strength configuration 4" "2 mA,4 mA"
bitfld.long 0x00 11. " GPDS3 ,Drive strength configuration 3" "2 mA,4 mA"
bitfld.long 0x00 10. " GPDS2 ,Drive strength configuration 2" "2 mA,4 mA"
textline " "
bitfld.long 0x00 9. " GPDS1 ,Drive strength configuration 1" "2 mA,4 mA"
bitfld.long 0x00 8. " GPDS0 ,Drive strength configuration 0" "2 mA,4 mA"
bitfld.long 0x00 6. " GPPD6 ,Pull-Up Disable Port 6" "Enabled,Disabled"
textline " "
bitfld.long 0x00 5. " GPPD5 ,Pull-Up Disable Port 5" "Enabled,Disabled"
bitfld.long 0x00 4. " GPPD4 ,Pull-Up Disable Port 4" "Enabled,Disabled"
bitfld.long 0x00 3. " GPPD3 ,Pull-Up Disable Port 3" "Enabled,Disabled"
textline " "
bitfld.long 0x00 2. " GPPD2 ,Pull-Up Disable Port 2" "Enabled,Disabled"
bitfld.long 0x00 1. " GPPD1 ,Pull-Up Disable Port 1" "Enabled,Disabled"
bitfld.long 0x00 0. " GPPD0 ,Pull-Up Disable Port 0" "Enabled,Disabled"
group.long 0x30++0x3
line.long 0x00 "GP1DAT,GPIO Port 1 Configuration and Data Register"
bitfld.long 0x00 30. " P1.6_DIR ,Port 0.6 Data Direction" "Input,Output"
bitfld.long 0x00 29. " P1.5_DIR ,Port 0.5 Data Direction" "Input,Output"
bitfld.long 0x00 28. " P1.4_DIR ,Port 0.4 Data Direction" "Input,Output"
textline " "
bitfld.long 0x00 27. " P1.3_DIR ,Port 0.3 Data Direction" "Input,Output"
bitfld.long 0x00 26. " P1.2_DIR ,Port 0.2 Data Direction" "Input,Output"
bitfld.long 0x00 25. " P1.1_DIR ,Port 0.1 Data Direction" "Input,Output"
textline " "
bitfld.long 0x00 24. " P1.0_DIR ,Port 0.0 Data Direction" "Input,Output"
bitfld.long 0x00 22. " P1.6_OUT ,Port 0.6 Data Output" "Low,High"
bitfld.long 0x00 21. " P1.5_OUT ,Port 0.5 Data Output" "Low,High"
textline " "
bitfld.long 0x00 20. " P1.4_OUT ,Port 0.4 Data Output" "Low,High"
bitfld.long 0x00 19. " P1.3_OUT ,Port 0.3 Data Output" "Low,High"
bitfld.long 0x00 18. " P1.2_OUT ,Port 0.2 Data Output" "Low,High"
textline " "
bitfld.long 0x00 17. " P1.1_OUT ,Port 0.1 Data Output" "Low,High"
bitfld.long 0x00 16. " P1.0_OUT ,Port 0.0 Data Output" "Low,High"
bitfld.long 0x00 14. " P1.6_RST_ST ,Port 0.6 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 13. " P1.5_RST_ST ,Port 0.5 State at Reset" "Low,High"
bitfld.long 0x00 12. " P1.4_RST_ST ,Port 0.4 State at Reset" "Low,High"
bitfld.long 0x00 11. " P1.3_RST_ST ,Port 0.3 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 10. " P1.2_RST_ST ,Port 0.2 State at Reset" "Low,High"
bitfld.long 0x00 9. " P1.1_RST_ST ,Port 0.1 State at Reset" "Low,High"
bitfld.long 0x00 8. " P1.0_RST_ST ,Port 0.0 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 6. " P1.6_IN ,Port 0.6 Data Input" "Low,High"
bitfld.long 0x00 5. " P1.5_IN ,Port 0.5 Data Input" "Low,High"
bitfld.long 0x00 4. " P1.4_IN ,Port 0.4 Data Input" "Low,High"
textline " "
bitfld.long 0x00 3. " P1.3_IN ,Port 0.3 Data Input" "Low,High"
bitfld.long 0x00 2. " P1.2_IN ,Port 0.2 Data Input" "Low,High"
bitfld.long 0x00 1. " P1.1_IN ,Port 0.1 Data Input" "Low,High"
textline " "
bitfld.long 0x00 0. " P1.0_IN ,Port 0.0 Data Input" "Low,High"
wgroup.long 0x34++0x7
line.long 0x00 "GP1SET,GPIO Port 1 Data Set Register"
bitfld.long 0x00 22. " P1.6_SET ,Port 0.6 Set" "No effect,Set"
bitfld.long 0x00 21. " P1.5_SET ,Port 0.5 Set" "No effect,Set"
bitfld.long 0x00 20. " P1.4_SET ,Port 0.4 Set" "No effect,Set"
textline " "
bitfld.long 0x00 19. " P1.3_SET ,Port 0.3 Set" "No effect,Set"
bitfld.long 0x00 18. " P1.2_SET ,Port 0.2 Set" "No effect,Set"
bitfld.long 0x00 17. " P1.1_SET ,Port 0.1 Set" "No effect,Set"
textline " "
bitfld.long 0x00 16. " P1.0_SET ,Port 0.0 Set" "No effect,Set"
line.long 0x04 "GP1CLR,GPIO Port 1 Data Clear Register"
bitfld.long 0x04 22. " P1.6_CLR ,Port 0.6 Clear" "No effect,Cleared"
bitfld.long 0x04 21. " P1.5_CLR ,Port 0.5 Clear" "No effect,Cleared"
bitfld.long 0x04 20. " P1.4_CLR ,Port 0.4 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x04 19. " P1.3_CLR ,Port 0.3 Clear" "No effect,Cleared"
bitfld.long 0x04 18. " P1.2_CLR ,Port 0.2 Clear" "No effect,Cleared"
bitfld.long 0x04 17. " P1.1_CLR ,Port 0.1 Clear" "No effect,Cleared"
textline " "
bitfld.long 0x04 16. " P1.0_CLR ,Port 0.0 Clear" "No effect,Cleared"
tree.end
tree "Port 2"
group.long 0x08++0x3
line.long 0x00 "GP2CON,GPIO 2 Control Register"
bitfld.long 0x00 4.--5. " P2.1 ,GPIO P2.1 Pin Function" "GPIO/IRQ3,PWM5,?..."
bitfld.long 0x00 0.--1. " P2.0 ,GPIO P2.0 Pin Function" "GPIO/IRQ2/EXTCLK,PWM0,?..."
group.long 0x40++0x3
line.long 0x00 "GP2DAT,GPIO Port 2 Configuration and Data Register"
bitfld.long 0x00 25. " P2.1_DIR ,Port 2.1 Data Direction" "Input,Output"
bitfld.long 0x00 24. " P2.0_DIR ,Port 2.0 Data Direction" "Input,Output"
bitfld.long 0x00 17. " P2.1_OUT ,Port 2.1 Data Output" "Low,High"
textline " "
bitfld.long 0x00 16. " P2.0_OUT ,Port 2.0 Data Output" "Low,High"
bitfld.long 0x00 9. " P2.1_RST_ST ,Port 2.1 State at Reset" "Low,High"
bitfld.long 0x00 8. " P2.0_RST_ST ,Port 2.0 State at Reset" "Low,High"
textline " "
bitfld.long 0x00 1. " P2.1_IN ,Port 2.1 Data Input" "Low,High"
bitfld.long 0x00 0. " P2.0_IN ,Port 2.0 Data Input" "Low,High"
wgroup.long 0x44++0x7
line.long 0x00 "GP2SET,GPIO Port 2 Data Set Register"
bitfld.long 0x00 17. " P2.1_SET ,Port 2.1 Set" "No effect,Set"
bitfld.long 0x00 16. " P2.0_SET ,Port 2.0 Set" "No effect,Set"
line.long 0x04 "GP2CLR,GPIO Port 2 Data Clear Register"
bitfld.long 0x04 17. " P2.1_CLR ,Port 2.1 Clear" "No effect,Cleared"
bitfld.long 0x04 16. " P2.0_CLR ,Port 2.0 Clear" "No effect,Cleared"
tree.end
tree.end
textline ""