619 lines
27 KiB
Plaintext
619 lines
27 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: Kelvin on chip peripherals
|
|
; @Props:
|
|
; @Author: -
|
|
; @Changelog:
|
|
; @Manufacturer:
|
|
; @Doc:
|
|
; @Core:
|
|
; @Chip:
|
|
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: per38393.per 5553 2014-09-09 14:43:30Z jerzy $
|
|
|
|
config 16. 8.
|
|
;address of internal peripherals
|
|
base sd:iobase()
|
|
group sd:0x0f2--0x0ff "System Configuration"
|
|
line.word 0x0 "MBAR,Module Base Address Register"
|
|
bitfld.word 0x0 13.--15. " FC ,Function Code" "FC0:,UD:,UP:,FC3:,FC4:,SD:,SP:,CPU:"
|
|
bitfld.word 0x0 12. " CFC ,Compare Function Code" "no,yes"
|
|
line.word 0x2 "SCR,System Control Register"
|
|
bitfld.word 0x2 15. " CKSL ,Clock Select" "0,1"
|
|
bitfld.word 0x2 14. " EMS ,Emulation Mode" "no,yes"
|
|
bitfld.word 0x2 12.--13. " RS ,Reset" "PWR-ON,RSTIN,SWT,RESET "
|
|
bitfld.word 0x2 11. " BCIM ,Bus Clear Interrupt Mask" "yes,no"
|
|
line.word 0x4 "PMR,Power Management Register"
|
|
bitfld.word 0x4 15. " DIV4 ,Synthesizer Divide by 4" "no,yes"
|
|
bitfld.word 0x4 14. " UACW ,UART Automatic clock wake-up" "no,yes"
|
|
bitfld.word 0x4 13. " MKCD ,MKS clock active" "yes,no"
|
|
bitfld.word 0x4 12. " HDLCD ,HDLCC clock active" "yes,no"
|
|
bitfld.word 0x4 11. " RTCD ,RTC clock active" "yes,no"
|
|
bitfld.word 0x4 10. " UACD ,UART clock active" "yes,no"
|
|
bitfld.word 0x4 0x9 " TMCD ,Timer clock active" "yes,no"
|
|
bitfld.word 0x4 0x8 " CKD ,Clock output active" "yes,no"
|
|
textline " "
|
|
bitfld.word 0x4 0x7 " SOS ,Synthesizer output stop" "yes,no"
|
|
bitfld.word 0x4 0x5 " MOS ,Main Oscillator enable" "yes,no"
|
|
bitfld.word 0x4 0x4 " LPEN ,Low-Power Sleep Mode" "yes,no"
|
|
line.word 0x8 "SCFR,Synthesized Clock Frequency Register"
|
|
bitfld.word 0x8 15. " RX1 ,RTC clock value" "no,yes"
|
|
bitfld.word 0x8 14. " SL/P ,Synthesizer lock/SCFR protect" "no,yes"
|
|
bitfld.word 0x8 0x8--11. " Q ,Frequency Divisor Component Q" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
hexfld.byte 0x9 " P ,Frequency Divisor Component P"
|
|
group 0x05e--0x05f "System Protection Register"
|
|
line.word 0x0 "SPR, System Protection Register"
|
|
bitfld.word 0x0 15. " ADC ,Address decode conflict" "no,yes"
|
|
bitfld.word 0x0 14. " WPV ,Write portect violation" "no,yes"
|
|
bitfld.word 0x0 13. " SMV ,stopped module violation" "no,yes"
|
|
bitfld.word 0x0 11. " HWT ,hardware watchdog timeout" "no,yes"
|
|
bitfld.word 0x0 0x8 " EBSW ,external buswith " "8,16"
|
|
textline " "
|
|
bitfld.word 0x0 0x7 " ADCE ,address decode conflict enable" "no,yes"
|
|
bitfld.word 0x0 0x6 " WPVE ,write protect violation enable" "no,yes"
|
|
bitfld.word 0x0 0x5 " SMVE ,stoped module violation enable" "no,yes"
|
|
bitfld.word 0x0 0x3 " HWDE ,hardware watchdog enable" "no,yes"
|
|
bitfld.word 0x0 0x0--0x2 " HW ,hardware watchdog clock count" "128,256,512,1K,2K,4K,8K,16K"
|
|
group 0x0--0x11 "Parallel I/O Ports"
|
|
line.word 0x0 "PACNT,Port A Control Register"
|
|
bit 15. "CA15,Dedicated Function" "no,yes"
|
|
bit 14. "CA14,Dedicated Function" "no,yes"
|
|
bit 13. "CA13,Dedicated Function" "no,yes"
|
|
bit 12. "CA12,Dedicated Function" "no,yes"
|
|
bit 11. "CA11,Dedicated Function" "no,yes"
|
|
bit 10. "CA10,Dedicated Function" "no,yes"
|
|
bit 0x9 "CA9,Dedicated Function" "no,yes"
|
|
bit 0x8 "CA8,Dedicated Function" "no,yes"
|
|
line.word 0x2 "PADDR,Port A Data Direction Register"
|
|
bit 15. "DA15,Direction" "in,out"
|
|
bit 14. "DA14,Direction" "in,out"
|
|
bit 13. "DA13,Direction" "in,out"
|
|
bit 12. "DA12,Direction" "in,out"
|
|
bit 11. "DA11,Direction" "in,out"
|
|
bit 10. "DA10,Direction" "in,out"
|
|
bit 0x9 "DA9,Direction" "in,out"
|
|
bit 0x8 "DA8,Direction" "in,out"
|
|
bit 0x7 "DA7,Direction" "in,out"
|
|
bit 0x6 "DA6,Direction" "in,out"
|
|
bit 0x5 "DA5,Direction" "in,out"
|
|
bit 0x4 "DA4,Direction" "in,out"
|
|
bit 0x3 "DA3,Direction" "in,out"
|
|
bit 0x2 "DA2,Direction" "in,out"
|
|
bit 0x1 "DA1,Direction" "in,out"
|
|
bit 0x0 "DA0,Direction" "in,out"
|
|
line.word 0x4 "PADAT,Port A Data Register"
|
|
bit 15. "D15,Data" "low,high"
|
|
bit 14. "D14,Data" "low,high"
|
|
bit 13. "D13,Data" "low,high"
|
|
bit 12. "D12,Data" "low,high"
|
|
bit 11. "D11,Data" "low,high"
|
|
bit 10. "D10,Data" "low,high"
|
|
bit 0x9 "D9,Data" "low,high"
|
|
bit 0x8 "D8,Data" "low,high"
|
|
bit 0x7 "D7,Data" "low,high"
|
|
bit 0x6 "D6,Data" "low,high"
|
|
bit 0x5 "D5,Data" "low,high"
|
|
bit 0x4 "D4,Data" "low,high"
|
|
bit 0x3 "D3,Data" "low,high"
|
|
bit 0x2 "D2,Data" "low,high"
|
|
bit 0x1 "D1,Data" "low,high"
|
|
bit 0x0 "D0,Data" "low,high"
|
|
textline " "
|
|
line.word 0x6 "PBCNT,Port B Control Register"
|
|
bit 15. "CB15,Dedicated Function" "no,yes"
|
|
bit 14. "CB14,Dedicated Function" "no,yes"
|
|
bit 13. "CB13,Dedicated Function" "no,yes"
|
|
bit 12. "CB12,Dedicated Function" "no,yes"
|
|
bit 11. "CB11,Dedicated Function" "no,yes"
|
|
bit 10. "CB10,Dedicated Function" "no,yes"
|
|
bit 0x9 "CB9,Dedicated Function" "no,yes"
|
|
bit 0x8 "CB8,Dedicated Function" "no,yes"
|
|
bit 0x7 "CB7,Dedicated Function" "no,yes"
|
|
bit 0x6 "CB6,Dedicated Function" "no,yes"
|
|
bit 0x5 "CB5,Dedicated Function" "no,yes"
|
|
bit 0x4 "CB4,Dedicated Function" "no,yes"
|
|
bit 0x3 "CB3,Dedicated Function" "no,yes"
|
|
bit 0x2 "CB2,Dedicated Function" "no,yes"
|
|
bit 0x1 "CB1,Dedicated Function" "no,yes"
|
|
bit 0x0 "CB0,Dedicated Function" "no,yes"
|
|
line.word 0x8 "PBDDR,Port B Data Direction Register"
|
|
bit 15. "DB15,Direction" "in,out"
|
|
bit 14. "DB14,Direction" "in,out"
|
|
bit 13. "DB13,Direciton" "in,out"
|
|
bit 12. "DB12,Direciton" "in,out"
|
|
bit 11. "DB11,Direction" "in,out"
|
|
bit 10. "DB10,Direction" "in,out"
|
|
bit 0x9 "DB9,Direction" "in,out"
|
|
bit 0x8 "DB8,Direction" "in,out"
|
|
bit 0x7 "DB7,Direction" "in,out"
|
|
bit 0x6 "DB6,Direction" "in,out"
|
|
bit 0x5 "DB5,Direction" "in,out"
|
|
bit 0x4 "DB4,Direction" "in,out"
|
|
bit 0x3 "DB3,Direction" "in,out"
|
|
bit 0x2 "DB2,Direction" "in,out"
|
|
bit 0x1 "DB1,Direction" "in,out"
|
|
bit 0x0 "DB0,Direction" "in,out"
|
|
line.word 0x0a "PBDAT,Port B Data Register"
|
|
bit 15. "D15,Data" "low,high"
|
|
bit 14. "D14,Data" "low,high"
|
|
bit 13. "D13,Data" "low,high"
|
|
bit 12. "D12,Data" "low,high"
|
|
bit 11. "D11,Data" "low,high"
|
|
bit 10. "D10,Data" "low,high"
|
|
bit 0x9 "D9,Data" "low,high"
|
|
bit 0x8 "D8,Data" "low,high"
|
|
bit 0x7 "D7,Data" "low,high"
|
|
bit 0x6 "D6,Data" "low,high"
|
|
bit 0x5 "D5,Data" "low,high"
|
|
bit 0x4 "D4,Data" "low,high"
|
|
bit 0x3 "D3,Data" "low,high"
|
|
bit 0x2 "D2,Data" "low,high"
|
|
bit 0x1 "D1,Data" "low,high"
|
|
bit 0x0 "D0,Data" "low,high"
|
|
textline " "
|
|
line.word 0x0c "PCCNT,Port C Control Register"
|
|
bit 15. "CC15,Dedicated Function" "no,yes"
|
|
bit 14. "CC14,Dedicated Function" "no,yes"
|
|
bit 13. "CC13,Dedicated Function" "no,yes"
|
|
bit 12. "CC12,Dedicated Function" "no,yes"
|
|
bit 11. "CC11,Dedicated Function" "no,yes"
|
|
bit 10. "CC10,Dedicated Function" "no,yes"
|
|
bit 0x9 "CC9,Dedicated Function" "no,yes"
|
|
bit 0x8 "CC8,Dedicated Function" "no,yes"
|
|
bit 0x7 "CC7,Dedicated Function" "no,yes"
|
|
bit 0x6 "CC6,Dedicated Function" "no,yes"
|
|
bit 0x5 "CC5,Dedicated Function" "no,yes"
|
|
bit 0x4 "CC4,Dedicated Function" "no,yes"
|
|
bit 0x3 "CC3,Dedicated Function" "no,yes"
|
|
bit 0x2 "CC2,Dedicated Function" "no,yes"
|
|
bit 0x1 "CC1,Dedicated Function" "no,yes"
|
|
bit 0x0 "CC0,Dedicated Function" "no,yes"
|
|
line.word 0x0e "PCDDR,Port C Data Direction Register"
|
|
bit 15. "DC15,Direction" "in,out"
|
|
bit 14. "DC14,Direction" "in,out"
|
|
bit 13. "DC13,Direciton" "in,out"
|
|
bit 12. "DC12,Direciton" "in,out"
|
|
bit 11. "DC11,Direction" "in,out"
|
|
bit 10. "DC10,Direction" "in,out"
|
|
bit 0x9 "DC9,Direction" "in,out"
|
|
bit 0x8 "DC8,Direction" "in,out"
|
|
bit 0x7 "DC7,Direction" "in,out"
|
|
bit 0x6 "DC6,Direction" "in,out"
|
|
bit 0x5 "DC5,Direction" "in,out"
|
|
bit 0x4 "DC4,Direction" "in,out"
|
|
bit 0x3 "DC3,Direction" "in,out"
|
|
bit 0x2 "DC2,Direction" "in,out"
|
|
bit 0x1 "DC1,Direction" "in,out"
|
|
bit 0x0 "DC0,Direction" "in,out"
|
|
line.word 0x10 "PCDAT,Port C Data Register"
|
|
bit 15. "D15,Data" "low,high"
|
|
bit 14. "D14,Data" "low,high"
|
|
bit 13. "D13,Data" "low,high"
|
|
bit 12. "D12,Data" "low,high"
|
|
bit 11. "D11,Data" "low,high"
|
|
bit 10. "D10,Data" "low,high"
|
|
bit 0x9 "D9,Data" "low,high"
|
|
bit 0x8 "D8,Data" "low,high"
|
|
bit 0x7 "D7,Data" "low,high"
|
|
bit 0x6 "D6,Data" "low,high"
|
|
bit 0x5 "D5,Data" "low,high"
|
|
bit 0x4 "D4,Data" "low,high"
|
|
bit 0x3 "D3,Data" "low,high"
|
|
bit 0x2 "D2,Data" "low,high"
|
|
bit 0x1 "D1,Data" "low,high"
|
|
bit 0x0 "D0,Data" "low,high"
|
|
group 0x20--0x3e "Interrupt Control"
|
|
line.word 0x0 "ICR1,Interrupt control register1"
|
|
bitfld.word 0x0 15. "I1PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0 12.--14. " I1IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0 11. " I2PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0 0x8--10. " I2IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0 0x7 " I3PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0 0x4--0x6 " I3IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0 0x3 " I4PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0 0x0--0x2 " I4IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
line.word 0x2 "ICR2,Interrupt control register2"
|
|
bitfld.word 0x2 15. "I5PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x2 12.--14. " I5IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x2 11. " I6PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x2 0x8--10. " I6IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x2 0x7 " I7PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x2 0x4--0x6 " I7IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x2 0x3 " I8PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x2 0x0--0x2 " I8IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
line.word 0x4 "ICR3,Interrupt control register3"
|
|
bitfld.word 0x4 15. "I9PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x4 12.--14. " I9IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x4 11. " I10IR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x4 0x8--10. " I10PL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x4 0x7 " T1PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x4 0x4--0x6 " T1IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x4 0x3 " T2PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x4 0x0--0x2 " T2IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
line.word 0x6 "ICR4,Interrupt control register4"
|
|
bitfld.word 0x6 15. "T3PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x6 12.--14. " T3IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x6 11. " T4PIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x6 0x8--10. " T4IPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x6 0x7 " HDPIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x6 0x4--0x6 " HDIPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x6 0x3 " TCPIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x6 0x0--0x2 " TCIPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
line.word 0x8 "ICR5,Interrupt control register5"
|
|
bitfld.word 0x8 15. "GM0IR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x8 12.--14. " GM0PL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x8 11. " GM1IR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x8 0x8--10. " GM1PL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x8 0x7 " GC0IR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x8 0x4--0x6 " GC0PL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x8 0x3 " GC1IR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x8 0x0--0x2 " GC1PL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
line.word 0x0a "ICR6,Interrupt control register6"
|
|
bitfld.word 0x0a 15. "UAPIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0a 12.--14. " UAIPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0a 11. " MKPIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0a 0x8--10. " MKIPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0a 0x7 " RAPIR ,Pending Interrupt Reset" "no,yes"
|
|
bitfld.word 0x0a 0x4--0x6 " RAIPL ,Interrupt Priority" "0,1,2,3,4,5,6,7"
|
|
bitfld.word 0x0a 0x3 " RTPIR ,Pending Interrupt Reset" "no,yes"
|
|
line.word 0x10 "ISR1,Interrupt Source Register"
|
|
bit 15. "INT1" "no,yes"
|
|
bit 14. "INT2" "no,yes"
|
|
bit 13. "INT3" "no,yes"
|
|
bit 12. "INT4" "no,yes"
|
|
bit 11. "INT5" "no,yes"
|
|
bit 10. "INT6" "no,yes"
|
|
bit 0x9 "INT7" "no,yes"
|
|
bit 0x8 "INT8" "no,yes"
|
|
bit 0x7 "INT9" "no,yes"
|
|
bit 0x6 "IN10" "no,yes"
|
|
bit 0x5 "T1 " "no,yes"
|
|
bit 0x4 "T2 " "no,yes"
|
|
bit 0x3 "T3 " "no,yes"
|
|
bit 0x2 "T4 " "no,yes"
|
|
bit 0x1 "HD " "no,yes"
|
|
bit 0x0 "TC " "no,yes"
|
|
line.word 0x12 "ISR2,Interrupt Source Register"
|
|
bit 15. "GM0 " "no,yes"
|
|
bit 14. "GM1 " "no,yes"
|
|
bit 13. "GC0 " "no,yes"
|
|
bit 12. "GC1 " "no,yes"
|
|
bit 11. "UA " "no,yes"
|
|
bit 10. "MK " "no,yes"
|
|
bit 0x9 "RA " "no,yes"
|
|
bit 0x8 "RT " "no,yes"
|
|
line.word 0x14 "PITR,Interrupt Transition Register"
|
|
bit 15. "IT1 " "HL,LH"
|
|
bit 14. "IT2 " "HL,LH"
|
|
bit 13. "IT3 " "HL,LH"
|
|
bit 12. "IT4 " "HL,LH"
|
|
bit 11. "IT5 " "HL,LH"
|
|
bit 10. "IT6 " "HL,LH"
|
|
bit 0x9 "IT7 " "HL,LH"
|
|
bit 0x8 "IT8 " "HL,LH"
|
|
bit 0x7 "IT9 " "HL,LH"
|
|
bit 0x6 "IT10" "HL,LH"
|
|
line.word 0x18 "PIWR,Interrupt Wake-up Register"
|
|
bit 15. "INT1" "no,yes"
|
|
bit 14. "INT2" "no,yes"
|
|
bit 13. "INT3" "no,yes"
|
|
bit 12. "INT4" "no,yes"
|
|
bit 11. "INT5" "no,yes"
|
|
bit 10. "INT6" "no,yes"
|
|
bit 0x9 "INT7" "no,yes"
|
|
bit 0x8 "INT8" "no,yes"
|
|
bit 0x7 "INT9" "no,yes"
|
|
bit 0x6 "IN10" "no,yes"
|
|
bit 0x5 "T1 " "no,yes"
|
|
bit 0x4 "T2 " "no,yes"
|
|
bit 0x3 "T3 " "no,yes"
|
|
bit 0x2 "T4 " "no,yes"
|
|
bit 0x1 "HD " "no,yes"
|
|
bit 0x0 "TC " "no,yes"
|
|
line.word 0x1a "ISR2,Interrupt Source Register"
|
|
bit 15. "GM0 " "no,yes"
|
|
bit 14. "GM1 " "no,yes"
|
|
bit 13. "GC0 " "no,yes"
|
|
bit 12. "GC1 " "no,yes"
|
|
bit 11. "UA " "no,yes"
|
|
bit 10. "MK " "no,yes"
|
|
bit 0x9 "RA " "no,yes"
|
|
bit 0x8 "RT " "no,yes"
|
|
line.byte 0x1d "PIVR,Peripheral Interrupt Vector"
|
|
bit 0x5--0x7 "V,Vector" "$00,$20,$40,$60,$80,$a0,$c0,$e0"
|
|
group 0x040--0x045 "CS0"
|
|
line.word 0x0 "BR,Base Register"
|
|
hexmask.long 0x0 17.--27. 0x2000 "BA ,Base Address"
|
|
bitfld.word 0x0 13.--15. " FC ,Function Code" "FC0:,UD:,UP:,FC3:,FC4:,SD:,SP:,CPU:"
|
|
bitfld.word 0x0 12. " CFC ,Compare Function Code" "no,yes"
|
|
bitfld.word 0x0 0x0 " EN ,Enable" "no,yes"
|
|
line.word 0x2 "OR,Option Register"
|
|
hexmask.long 0x2 17.--27. 0x2000 "AM ,Address Mask"
|
|
bitfld.word 0x2 13.--15. " DTACK ,DTACK" "no wait,1 wait,2 wait,3 wait,4 wait,5 wait,6 wait,external"
|
|
bitfld.word 0x2 12. " RW ,Read/Write" "read,write"
|
|
bitfld.word 0x2 0x0 " MRW ,Mask Read/Write" "no,yes"
|
|
line.word 0x4 "CR,Configuration Register"
|
|
bitfld.word 0x4 0x1 "SRAM ,static RAM timing" "no,yes"
|
|
bitfld.word 0x4 0x0 " BUSW ,buswith" "8,16"
|
|
group 0x046--0x04b "CS1"
|
|
copy
|
|
group 0x04c--0x051 "CS2"
|
|
copy
|
|
group 0x052--0x057 "CS3"
|
|
line.word 0x0 "BR,Base Register"
|
|
hexmask.long 0x0 17.--27. 0x2000 "BA ,Base Address"
|
|
bitfld.word 0x0 13.--15. " FC ,Function Code" "FC0:,UD:,UP:,FC3:,FC4:,SD:,SP:,CPU:"
|
|
bitfld.word 0x0 12. " CFC ,Compare Function Code" "no,yes"
|
|
bitfld.word 0x0 0x0 " EN ,Enable" "no,yes"
|
|
line.word 0x2 "OR,Option Register"
|
|
hexmask.long 0x2 17.--27. 0x2000 "AM ,Address Mask"
|
|
bitfld.word 0x2 13.--15. " DTACK ,DTACK" "no wait,1 wait,2 wait,3 wait,4 wait,5 wait,6 wait,external"
|
|
bitfld.word 0x2 12. " RW ,Read/Write" "read,write"
|
|
bitfld.word 0x2 0x0 " MRW ,Mask Read/Write" "no,yes"
|
|
line.word 0x4 "CR,Configuration Register"
|
|
bitfld.word 0x4 0x5 "E851C , 8051-compatible bus C" "no,yes"
|
|
bitfld.word 0x4 0x4 " E851B , 8051-compatible bus B" "no,yes"
|
|
bitfld.word 0x4 0x3 " E851A , 8051-compatible bus A" "no,yes"
|
|
bitfld.word 0x4 0x2 " EPCS , peripheral chip-select" "no,yes"
|
|
bitfld.word 0x4 0x1 " SRAM ,static RAM timing" "no,yes"
|
|
bitfld.word 0x4 0x0 " BUSW ,buswith" "8,16"
|
|
group 0x058--0x05d "CS4"
|
|
line.word 0x0 "BR,Base Register"
|
|
hexmask.long 0x0 17.--27. 0x2000 "BA ,Base Address"
|
|
bitfld.word 0x0 13.--15. " FC ,Function Code" "FC0:,UD:,UP:,FC3:,FC4:,SD:,SP:,CPU:"
|
|
bitfld.word 0x0 12. " CFC ,Compare Function Code" "no,yes"
|
|
bitfld.word 0x0 0x0 " EN ,Enable" "no,yes"
|
|
line.word 0x2 "OR,Option Register"
|
|
hexmask.long 0x2 17.--27. 0x2000 "AM ,Address Mask"
|
|
bitfld.word 0x2 13.--15. " DTACK ,DTACK" "no wait,1 wait,2 wait,3 wait,4 wait,5 wait,6 wait,external"
|
|
bitfld.word 0x2 12. " RW ,Read/Write" "read,write"
|
|
bitfld.word 0x2 0x0 " MRW ,Mask Read/Write" "no,yes"
|
|
line.word 0x4 "CR,Configuration Register"
|
|
bitfld.word 0x4 0x6 "E851D , 8051-compatible bus D" "no,yes"
|
|
bitfld.word 0x4 0x5 " E851C , 8051-compatible bus C" "no,yes"
|
|
bitfld.word 0x4 0x4 " E851B , 8051-compatible bus B" "no,yes"
|
|
bitfld.word 0x4 0x3 " E851A , 8051-compatible bus A" "no,yes"
|
|
bitfld.word 0x4 0x2 " EPCS , peripheral chip-select" "no,yes"
|
|
bitfld.word 0x4 0x1 " SRAM ,static RAM timing" "no,yes"
|
|
bitfld.word 0x4 0x0 " BUSW ,buswith" "8,16"
|
|
group 0x100--0x12f "HDLCC"
|
|
line.word 0x0 "HCR1,HDLCC Control Register 1"
|
|
bitfld.word 0x0 15. "RST ,reset HDLCC" "yes,no"
|
|
bitfld.word 0x0 13.--14. " RCS ,Receive Clock Source" "BRG,TCLK,RCLK,--"
|
|
bitfld.word 0x0 12. " TCS ,Transmit Clock Source" "BRG,TCLK"
|
|
hexmask.word 0x0 0x1--0x11 0x1 " CD ,Clock Divider"
|
|
bitfld.word 0x0 0x0 " DIV4 , Divide by 4" "no,yes"
|
|
line.word 0x2 "HCR2,HDLCC Control Register 2"
|
|
bitfld.word 0x2 13.--15. "FC ,Function Codes" "FC0:,UD:,UP:,FC3:,FC4:,SD:,SP:,CPU:"
|
|
bitfld.word 0x2 0x9 " ABT , abort transmission" "no,yes"
|
|
bitfld.word 0x2 0x7 " FLG , transmit flags/idles" "flg,idl"
|
|
bitfld.word 0x2 0x3 " RE , receiver enabled" "no,yes"
|
|
bitfld.word 0x2 0x2 " TE , tranmitter enabled" "no,yes"
|
|
line.word 0x4 "HER,HDLCC Event Register"
|
|
bitfld.word 0x4 0x4 "TXE ,Transmit error" "no,yes"
|
|
bitfld.word 0x4 0x3 " RXF ,Receive Frame o.k." "no,yes"
|
|
bitfld.word 0x4 0x2 " RXE ,Receive Error" "no,yes"
|
|
bitfld.word 0x4 0x1 " TXB ,Transmit Buffer Sent" "no,yes"
|
|
bitfld.word 0x4 0x0 " RXB ,Receive Buffer" "no,yes"
|
|
line.word 0x6 "HEMR,HDLCC Event Mask Register"
|
|
bitfld.word 0x6 0x4 "MTXE ,Transmit error enable" "no,yes"
|
|
bitfld.word 0x6 0x3 " MRXF ,Receive frame o.k. enable" "no,yes"
|
|
bitfld.word 0x6 0x2 " MRXE ,Receive error enable" "no,yes"
|
|
bitfld.word 0x6 0x1 " MTXB ,Transmit Buffer Sent enable" "no,yes"
|
|
bitfld.word 0x6 0x0 " MRXB ,Receive Buffer enable" "no,yes"
|
|
line.word 0x8 "HMFLR,HDLCC Maximum Frame Length Register"
|
|
line.word 0x0a "HAR,HDLCC Address Register"
|
|
line.word 0x0c "HAMR,HDLCC Address Mask Register"
|
|
line.word 0x10 "HPICR,HDLCC Physical Interface Control Register"
|
|
bitfld.word 0x10 15. "S2CS ,SDS 1/2 Channel select" "0,1"
|
|
bitfld.word 0x10 13.--14. " S2SS ,SDS Slot Select" "none,B1-0/IC1-1,B2-0/IC2-1,both"
|
|
bitfld.word 0x10 12. " S1CS ,SDS 1/2 Channel select" "0,1"
|
|
bitfld.word 0x10 10.--11. " S1SS ,SDS Slot Select" "none,B1-0/IC1-1,B2-0/IC2-1,both"
|
|
bitfld.word 0x10 0x8--0x9 " HDSS ,HDLC Slot Select" "no,B1,B2,D"
|
|
textline " "
|
|
bitfld.word 0x10 0x6--0x7 " DIAG ,Diagnostic mode" "0,1,2,3"
|
|
bitfld.word 0x10 0x4 " WUE ,Wakeup enable" "no,yes"
|
|
bitfld.word 0x10 0x3 " SETZ ,Enable Set Zero DU" "no,yes"
|
|
bitfld.word 0x10 0x1 " DT ,Disable TXD_DU output" "no,yes"
|
|
bitfld.word 0x10 0x0 " MS ,Mode Select" "NMSI,GCS"
|
|
line.word 0x12 "TRCD,Transparent Receive Data Channel Register"
|
|
bitfld.word 0x12 15. "TCRE ,TRDC Receive Empty" "no,yes"
|
|
bitfld.word 0x12 14. " TCBS ,TRDC B Channel Select" "B1 ,B2 "
|
|
bitfld.word 0x12 13. " TCOV ,TRDC Overflow" "no,yes"
|
|
bitfld.word 0x12 0x9 " MTCI ,Mask TRDC Interrupt" "no,yes"
|
|
bitfld.word 0x12 0x8 " ENTC ,TRDC enable" "no,yes"
|
|
hexfld.byte 0x13 " TCD ,TRDC Data"
|
|
line.word 0x20 "GMRX0,GMC Receive Register"
|
|
bitfld.word 0x20 15. "GMRE ,GMC Receive Empty" "no,yes"
|
|
bitfld.word 0x20 14. " GMRL ,GMC Receive Last" "no,yes"
|
|
bitfld.word 0x20 13. " GMAR ,GMC Abort Request" "no,yes"
|
|
bitfld.word 0x20 12. " GMER ,GMC Receive Error" "no,yes"
|
|
bitfld.word 0x20 11. " GMDM ,GMC Monitor Data Mismatch" "no,yes"
|
|
bitfld.word 0x20 9. " MGMR ,Mask GMC Receive Interrupt" "no,yes"
|
|
bitfld.word 0x20 8. " ENGM ,GMC enable" "no,yes"
|
|
hexfld.byte 0x21 " RMD ,GMC Receive Data"
|
|
line.word 0x22 "GMTX0,GMC Transmit Register"
|
|
bitfld.word 0x22 15. "GMTR ,GMC Transmit Ready" "no,yes"
|
|
bitfld.word 0x22 14. " GMTL ,GMC Transmit Last" "no,yes"
|
|
bitfld.word 0x22 13. " GMTA ,GMC Transmit Abort" "no,yes"
|
|
bitfld.word 0x22 11. " GMTO ,GMC Timeout" "no,yes"
|
|
bitfld.word 0x22 9. " MGMT ,Mask GMC Transmit Interrupt" "no,yes"
|
|
hexfld.byte 0x23 " TMD ,GMC Transmit Data"
|
|
line.word 0x24 "GMRX1,GMC Receive Register"
|
|
bitfld.word 0x24 15. "GMRE ,GMC Receive Empty" "no,yes"
|
|
bitfld.word 0x24 14. " GMRL ,GMC Receive Last" "no,yes"
|
|
bitfld.word 0x24 13. " GMAR ,GMC Abort Request" "no,yes"
|
|
bitfld.word 0x24 12. " GMER ,GMC Receive Error" "no,yes"
|
|
bitfld.word 0x24 11. " GMDM ,GMC Monitor Data Mismatch" "no,yes"
|
|
bitfld.word 0x24 9. " MGMR ,Mask GMC Receive Interrupt" "no,yes"
|
|
bitfld.word 0x24 8. " ENGM ,GMC enable" "no,yes"
|
|
hexfld.byte 0x25 " RMD ,GMC Receive Data"
|
|
line.word 0x26 "GMTX1,GMC Transmit Register"
|
|
bitfld.word 0x26 15. "GMTR ,GMC Transmit Ready" "no,yes"
|
|
bitfld.word 0x26 14. " GMTL ,GMC Transmit Last" "no,yes"
|
|
bitfld.word 0x26 13. " GMTA ,GMC Transmit Abort" "no,yes"
|
|
bitfld.word 0x26 11. " GMTO ,GMC Timeout" "no,yes"
|
|
bitfld.word 0x26 9. " MGMT ,Mask GMC Transmit Interrupt" "no,yes"
|
|
hexfld.byte 0x27 " TMD ,GMC Transmit Data"
|
|
line.word 0x28 "GCRX0,GCIC Receive Register"
|
|
bitfld.word 0x28 15. "GCRE ,GCIC Receive Empty" "no,yes"
|
|
bitfld.word 0x28 13. " GCOV ,GCIC Overflow" "no,yes"
|
|
bitfld.word 0x28 0x9 " MGCR ,Mask GCIC Receive Interrupt" "no,yes"
|
|
bitfld.word 0x28 0x8 " ENGC ,GCIC Enable" "no,yes"
|
|
hexmask.byte 0x29 0x0--0x3 0x1 " RCID ,GCIC Receive C/I Data"
|
|
line.word 0x2A "GCTX0,GCIC Transmit Register"
|
|
bitfld.word 0x2A 15. "GCTR ,GCIC Tramsmit ready" "no,yes"
|
|
bitfld.word 0x2A 0x9 " MGCT ,Mask GCIC Transmit Interrupt" "no,yes"
|
|
hexmask.byte 0x2b 0x0--0x3 0x1 " TCID ,GCIC Transmit C/I Data"
|
|
line.word 0x2C "GCRX1,GCIC Receive Register"
|
|
bitfld.word 0x2C 15. "GCRE ,GCIC Receive Empty" "no,yes"
|
|
bitfld.word 0x2C 13. " GCOV ,GCIC Overflow" "no,yes"
|
|
bitfld.word 0x2C 0x9 " MGCR ,Mask GCIC Receive Interrupt" "no,yes"
|
|
bitfld.word 0x2C 0x8 " ENGC ,GCIC Enable" "no,yes"
|
|
hexmask.byte 0x2d 0x0--0x5 0x1 " RCID ,GCIC Receive C/I Data"
|
|
line.word 0x2E "GCTX1,GCIC Transmit Register"
|
|
bitfld.word 0x2E 15. "GCTR ,GCIC Tramsmit ready" "no,yes"
|
|
bitfld.word 0x2E 0x9 " MGCT ,Mask GCIC Transmit Interrupt" "no,yes"
|
|
hexmask.byte 0x2f 0x0--0x3 0x1 " TCID ,GCIC Transmit C/I Data"
|
|
group 0x140--0x147 "Transmit BD Control/Status Register 0"
|
|
line.word 0x0 "TXCR,Transmit BD Control/Status Register"
|
|
bitfld.word 0x0 15. "R ,Ready" "no,yes"
|
|
bitfld.word 0x0 12. " EE ,Event enable" "no,yes"
|
|
bitfld.word 0x0 11. " L ,Last buffer" "no,yes"
|
|
bitfld.word 0x0 10. " BCRC ,Force Bad CRC" "no,yes"
|
|
bitfld.word 0x0 0x8 " CB ,Current Buffer Descriptor" "no,yes"
|
|
bitfld.word 0x0 0x6 " BE ,SDMA Bus Error" "no,yes"
|
|
bitfld.word 0x0 0x3 " AB ,Buffer Aborted By Software" "no,yes"
|
|
bitfld.word 0x0 0x1 " UN ,Underrun" "no,yes"
|
|
bitfld.word 0x0 0x0 " CT ,CTS Lost" "no,yes"
|
|
line.word 0x2 "TXLR,Transmit BD Length Register"
|
|
line.long 0x4 "TXPR,Transmit BD Pointer Register"
|
|
group 0x148--0x14f "Transmit BD Control/Status Register 1"
|
|
copy
|
|
group 0x150--0x157 "Receive BD Control/Status Register 0"
|
|
line.word 0x0 "TXCR,Receive BD Control/Status Register"
|
|
bitfld.word 0x0 15. "R ,Ready" "no,yes"
|
|
bitfld.word 0x0 12. " EE ,Event enable" "no,yes"
|
|
bitfld.word 0x0 11. " L ,Last buffer" "no,yes"
|
|
bitfld.word 0x0 10. " F ,First Buffer" "no,yes"
|
|
bitfld.word 0x0 0x8 " CB ,Current Buffer Descriptor" "no,yes"
|
|
textline " "
|
|
bitfld.word 0x0 0x7 " BSY ,Buffer busy" "no,yes"
|
|
bitfld.word 0x0 0x6 " BE ,SDMA Bus Error" "no,yes"
|
|
bitfld.word 0x0 0x5 " LG ,Receiver length violation" "no,yes"
|
|
bitfld.word 0x0 0x4 " NO ,Non-octet aligned frame" "no,yes"
|
|
bitfld.word 0x0 0x3 " AB ,Frame Terminated By Abort" "no,yes"
|
|
bitfld.word 0x0 0x2 " CR ,CRC Error" "no,yes"
|
|
bitfld.word 0x0 0x1 " OV ,Overrun" "no,yes"
|
|
bitfld.word 0x0 0x0 " CD ,CD Lost" "no,yes"
|
|
line.word 0x2 "RXLR,Receive BD Length Register"
|
|
hexmask.word 0x2 12.--15. 0x1 "RxBF ,Number of complete buffers"
|
|
hexmask.word 0x2 0x0--11. 0x1 " RxL ,Buffer data length"
|
|
line.long 0x4 "RXPR,Receive BD Pointer Register"
|
|
group 0x158--0x15f "Receive BD Control/Status Register 1"
|
|
copy
|
|
group 0x200--0x209 "TMR1"
|
|
line.word 0x0 "TMR,Timer Mode Register"
|
|
hexfld 0x0 "PS ,Prescaler Value"
|
|
textline " "
|
|
bitfld.word 0x0 0x6--0x7 " CE ,Capture Edge and Enable Interrupt" "disable,rising,falling,any"
|
|
bitfld.word 0x0 0x5 " OM ,Output Mode" "puls,tgl"
|
|
bitfld.word 0x0 0x4 " ORI ,Output Reference Interrupt Enable" "no,yes"
|
|
bitfld.word 0x0 0x3 " FRR ,Free Run/Restart" "run,rest"
|
|
bitfld.word 0x0 0x1--0x2 " ICLK ,Input Clock Source" "stop,master,master/16,tin"
|
|
bitfld.word 0x0 0x0 " RST ,Reset Timer" "yes,no"
|
|
line.word 0x2 "TRR,Timer Reference Register"
|
|
line.word 0x4 "TCR,Timer Capture Register"
|
|
line.word 0x6 "TCN,Timer Counter"
|
|
line.byte 0x9 "TER,Timer Event Register"
|
|
bit 0x1 "REF,Output Reference Event" "no,yes"
|
|
bit 0x0 "CAP,Capture Event" "no,yes"
|
|
group 0x210--0x219 "TMR2"
|
|
copy
|
|
group 0x220--0x227 "TMR3"
|
|
line.word 0x0 "TPR,Timer Prescaler Register"
|
|
hexfld 0x1 "PS ,Prescaler Value"
|
|
line.word 0x2 "TCN,Timer Counter Register"
|
|
hexfld 0x3 "PS ,Counter Value"
|
|
line.word 0x4 "TRR,Timer Reference Register"
|
|
hexfld 0x5 "PS ,Reference Value"
|
|
line.word 0x6 "TCS,Timer Control and Status Register"
|
|
bit 0x3 "REF,Output Reference Event" "no,yes"
|
|
bit 0x2 "PM,Prescaler Mode" "DIV1,DIV16"
|
|
bit 0x1 "ORI,Output Reference Interrupt Enable" "no,yes"
|
|
bit 0x0 "RST,Reset Timer" "yes,no"
|
|
group 0x228--0x22f "TMR4"
|
|
copy
|
|
group 0x230--0x233 "Watchdog"
|
|
line.word 0x0 "WRR,Watchdog Reference Register"
|
|
line.word 0x2 "WCN,Watchdog Counter"
|
|
group 0x302--0x302 "UART"
|
|
hide.byte -0x2 "UMR,UART Mode Register 1/2"
|
|
in
|
|
line.byte 0x0 "USR,UART Status Register"
|
|
bit 0x7 "RB,Received Break" "no,yes"
|
|
bit 0x6 "FE,Framing Error" "no,yes"
|
|
bit 0x5 "PE,Parity Error" "no,yes"
|
|
bit 0x4 "OE,Overrun Error" "no,yes"
|
|
bit 0x3 "TxEMP,Transmitter Empty" "no,yes"
|
|
bit 0x2 "TxRDY,Transmitter Ready" "no,yes"
|
|
bit 0x1 "FFULL,FIFO Full" "no,yes"
|
|
bit 0x0 "RxRDY,Receiver Ready" "no,yes"
|
|
hide.byte 0x0 "UCSR,UART Clock-Select Register"
|
|
hide.byte 0x2 "UCR,UART Command Register"
|
|
hide.byte 0x4 "URB,UART Receive Buffer"
|
|
in
|
|
hide.byte 0x4 "UTB,UART Transmit Buffer"
|
|
hide.byte 0x6 "UCCR,UART CTS Change Register"
|
|
in
|
|
hide.byte 0x6 "UACR,UART Auxiliary Control Register"
|
|
hide.byte 0x8 "UISR,UART Interrupt Status Register"
|
|
in
|
|
hide.byte 0x8 "UIMR,UART Interrupt Mask Register"
|
|
group 0x30c--0x30c
|
|
line.byte 0x0 "UBG1,UART Baud-Rate Gen Prescaler msb"
|
|
group 0x30e--0x30e
|
|
line.byte 0x0 "UBG2,UART Baud-Rate Gen Prescaler lsb"
|
|
group 0x31a--0x31e
|
|
line.byte 0x0 "UCP,UART Unlatched Input Port"
|
|
hide.byte 0x2 "URBS,UART RTS Output Bit Set Cmd"
|
|
hide.byte 0x4 "URBR,UART RTS Output Bit Reset Cmd"
|
|
group 0x400--0x405 "Matrix Keyboard Scanner Module"
|
|
line.word 0x0 "MKCSR,Matrix Keyboard Configuration and Status Register"
|
|
bitfld.word 0x0 15. "EV ,Event Valid" "no,yes"
|
|
bitfld.word 0x0 14. " OR ,Overrun on Keycode FIFO" "no,yes"
|
|
bitfld.word 0x0 13. " POL ,Row Strobe Polarity" "Lo ,Hi "
|
|
bitfld.word 0x0 12. " SM ,Continous Scanning Mode" "yes,no"
|
|
bitfld.word 0x0 11. " KPE ,Key press Event Enable" "no,yes"
|
|
bitfld.word 0x0 10. " KRE ,Key Release Event Enable" "no,yes"
|
|
bitfld.word 0x0 0x9 " WE ,Wake-up Enable" "no,yes"
|
|
bitfld.word 0x0 0x8 " EI ,Enable Interrupts" "no,yes"
|
|
hexmask.byte 0x0 0x4--0x7 0x1 " R ,Row Configuration"
|
|
hexmask.byte 0x0 0x0--0x3 0x1 " C ,Column Configuration"
|
|
line.word 0x2 "MKTR,Matrix Keyboard Timing Register"
|
|
bitfld.word 0x2 15. "RST ,RESET MKS" "yes,no"
|
|
bitfld.word 0x2 14. " TSTM ,Test Mode" "no,yes"
|
|
bitfld.word 0x2 12. " IS ,Idle Status" "no,yes"
|
|
hexmask.byte 0x2 0x8--11. 0x1 " DB ,Debounce Time"
|
|
hexmask.byte 0x2 0x0--0x7 0x1 " PS ,Prescale Value"
|
|
line.word 0x4 "MKEB,Matrix Keyboard Event Buffer"
|
|
bitfld.word 0x4 15. "EV ,Event valid" "no,yes"
|
|
bitfld.word 0x4 14. " KP ,Key pressed" "no,yes"
|
|
hexmask.byte 0x4 0x0--0x7 0x1 " KC ,Keycode Event Value"
|
|
group 0x500--0x50b "Real-Time Clock Module"
|
|
line.long 0x0 "RCR,RTC Counter Register"
|
|
bitfld.word 0x0 15. "WIP , Write-In-Progress" "no,yes"
|
|
line.long 0x4 "RAR,RTC Alarm Register"
|
|
bitfld.word 0x0 15. "WIP , Write-In-Progress" "no,yes"
|
|
line.word 0x8 "RTR,RTC Timer Register"
|
|
bitfld.word 0x8 15. "WIP , Write-In-Progress" "no,yes"
|
|
bitfld.word 0x8 14. " PROT , Protect" "no,yes"
|
|
bitfld.word 0x8 0x7 " ET , Enable Timer" "no,yes"
|
|
bitfld.word 0x8 0x5 " ETI , Enable Timer Interrupt" "no,yes"
|
|
bitfld.word 0x8 0x4 " TS , Timer Status" "no,yes"
|
|
hexmask.byte 0x9 0x0--0x3 0x1 "TIP , Timer Interrupt Period"
|
|
line.word 0x0a "RAIR,RTC Alarm Interrupt Register"
|
|
bitfld.word 0x0a 15. "WIP , Write-In-Progress" "no,yes"
|
|
bitfld.word 0x0a 0x1 " EAI , Enable Alarm Interrupt" "no,yes"
|
|
bitfld.word 0x0a 0x0 " AS , Alarm Status" "no,yes"
|