9832 lines
650 KiB
Plaintext
9832 lines
650 KiB
Plaintext
; --------------------------------------------------------------------------------
|
|
; @Title: NUC1xx On-Chip Peripherals
|
|
; @Props: Released
|
|
; @Author: TAT
|
|
; @Changelog: 2011-07-11 TAT
|
|
; @Manufacturer: NUVOTON - Nuvoton Technology Corp.
|
|
; @Doc: NUC100 Datasheet EN.pdf (2010-11-11)
|
|
; NUC120 Datasheet EN.pdf (2010-11-11)
|
|
; NuMicro NUC100 Series Technical Reference Manual EN.pdf (2010-12-22)
|
|
; NUC130 Datasheet EN.pdf (2010-11-11); NUC140 Datasheet EN.pdf (2010-11-11)
|
|
; NuMicro NUC130_140 Technical Reference Manual EN.pdf (2011-05-04)
|
|
; NUC122.pdf (2011-06-21)
|
|
; @Core: Cortex-M0
|
|
; @Copyright: (C) 1989-2016 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
|
; --------------------------------------------------------------------------------
|
|
; $Id: pernuc1xx.per 12762 2021-01-18 10:40:58Z pegold $
|
|
|
|
config 16. 8.
|
|
width 0xB
|
|
tree.close "Core Registers (Cortex-M0)"
|
|
AUTOINDENT.PUSH
|
|
AUTOINDENT.OFF
|
|
tree "System Control"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 0x8
|
|
if (CORENAME()=="CORTEXM1")
|
|
group.long 0x10++0x0b
|
|
line.long 0x00 "STCSR,SysTick Control and Status Register"
|
|
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
|
|
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "No effect,Processor clock"
|
|
textline " "
|
|
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
|
|
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
|
|
line.long 0x04 "STRVR,SysTick Reload Value Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
|
|
line.long 0x08 "STCVR,SysTick Current Value Register"
|
|
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
|
|
else
|
|
group.long 0x10++0x0b
|
|
line.long 0x00 "STCSR,SysTick Control and Status Register"
|
|
bitfld.long 0x00 16. " COUNTFLAG ,Returns 1 if timer counted to 0" "0,1"
|
|
bitfld.long 0x00 2. " CLKSOURCE ,Always reads as one" "External clock,Processor clock"
|
|
textline " "
|
|
bitfld.long 0x00 1. " TICKINT ,Counting down to 0 " "No SysTick,SysTick"
|
|
bitfld.long 0x00 0. " ENABLE ,Counter enable" "Disabled,Enabled"
|
|
line.long 0x04 "STRVR,SysTick Reload Value Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " RELOAD ,Value to load into the STCVR when the counter reaches 0"
|
|
line.long 0x08 "STCVR,SysTick Current Value Register"
|
|
hexmask.long.tbyte 0x08 0.--23. 1. " CURRENT ,Reads return the current value of the SysTick counter"
|
|
endif
|
|
if (CORENAME()=="CORTEXM1")
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "STCR,SysTick Calibration Value Register"
|
|
bitfld.long 0x00 31. " NOREF ,Reads as one" "0,1"
|
|
bitfld.long 0x00 30. " SKEW ,Reads as zero" "0,1"
|
|
textline " "
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Indicates calibration value is not known"
|
|
else
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "STCR,SysTick Calibration Value Register"
|
|
bitfld.long 0x00 31. " NOREF ,Indicates whether the IMPL_DEF reference clock is provided" "Implemented,Not implemented"
|
|
bitfld.long 0x00 30. " SKEW ,Indicates whether the 10ms calibration value is exact" "Exact,Inexact"
|
|
textline " "
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TENMS ,Holds a reload value to be used for 10ms (100Hz) timing subject to system clock skew errors"
|
|
endif
|
|
rgroup.long 0xd00++0x03
|
|
line.long 0x00 "CPUID,CPU ID Base Register"
|
|
hexmask.long.byte 0x00 24.--31. 1. " IMPLEMENTER ,Implementer code"
|
|
hexmask.long.byte 0x00 20.--23. 1. " VARIANT ,Implementation defined variant number"
|
|
textline " "
|
|
hexmask.long.byte 0x00 4.--15. 1. " PARTNO ,Number of processor within family"
|
|
hexmask.long.byte 0x00 0.--3. 1. " REVISION ,Implementation defined revision number"
|
|
group.long 0xd04++0x03
|
|
line.long 0x00 "ICSR,Interrupt Control State Register"
|
|
bitfld.long 0x00 31. " NMIPENDSET ,Setting this bit will activate an NMI" "No effect,Set pending"
|
|
bitfld.long 0x00 28. " PENDSVSET ,Set a pending PendSV interrupt" "No effect,Set pending"
|
|
textline " "
|
|
bitfld.long 0x00 27. " PENDSVCLR ,Clear a pending PendSV interrupt" "No effect,Clear pending"
|
|
bitfld.long 0x00 26. " PENDSTSET ,Set a pending SysTick" "No effect,Set pending"
|
|
textline " "
|
|
bitfld.long 0x00 25. " PENDSVCLR ,Clear a pending SysTick" "No effect,Clear pending"
|
|
bitfld.long 0x00 23. " ISRPREEMPT ,Pending exception service" "No service,Service"
|
|
textline " "
|
|
bitfld.long 0x00 22. " ISRPENDING ,External interrupt pending flag" "No interrupt,Interrupt"
|
|
hexmask.long.byte 0x00 12.--17. 1. " VECTPENDING ,Active exception number field"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--5. 1. " VECTACTIVET ,Active exception number field"
|
|
if (CORENAME()=="CORTEXM0+")
|
|
group.long 0xd08++0x03
|
|
line.long 0x00 "VTOR,Vector Table Offset Register"
|
|
hexmask.long 0x00 7.--31. 0x80 " TBLOFF ,Vector table address"
|
|
else
|
|
textline " "
|
|
endif
|
|
group.long 0xd0c++0x03
|
|
line.long 0x00 "AIRCR,Application Interrupt and Reset Control Register"
|
|
hexmask.long.word 0x00 16.--31. 1. " VECTKEY ,Vector Key"
|
|
bitfld.long 0x00 15. " ENDIANNESS ,Data endianness bit" "Little-endian,Big-endian"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SYSRESETREQ ,System reset setup request" "No effect,Reset"
|
|
bitfld.long 0x00 1. " VECTCLRACTIVE ,Clears all active state information" "No clear,Clear"
|
|
group.long 0xd10++0x03
|
|
line.long 0x00 "SCR,System Control Register"
|
|
bitfld.long 0x00 4. " SEVONPEND ,Determines whether an interrupt transition from inactive state to pending state is a wakeup event" "Not wakeup,Wakeup"
|
|
bitfld.long 0x00 2. " SLEEPDEEP ,Provides a qualifying hint indicating that waking from sleep might take longer" "Not deep sleep,Deep sleep"
|
|
textline " "
|
|
bitfld.long 0x00 1. " SLEEPONEXIT ,Determines whether, on an exit from an ISR that returns to the base level of execution priority, the processor enters a sleep state" "Disabled,Enabled"
|
|
rgroup.long 0xd14++0x03
|
|
line.long 0x00 "CCR,Configuration and Control Register"
|
|
bitfld.long 0x00 9. " STKALIGN ,Indicates whether on exception entry all exceptions are entered with 8-byte stack alignment and the context to restore it is saved" "Reserved,Aligned"
|
|
bitfld.long 0x00 3. " UNALIGN_TRP ,Indicates that all unaligned accesses results in a Hard Fault" "Reserved,Trapped"
|
|
group.long 0xd1c++0x0b
|
|
line.long 0x00 "SHPR2,System Handler Priority Register 2"
|
|
bitfld.long 0x00 30.--31. " PRI_11 ,Priority of system handler 11-SVCall" "00,01,10,11"
|
|
line.long 0x04 "SHPR3,System Handler Priority Register 3"
|
|
bitfld.long 0x04 30.--31. " PRI_15 ,Priority of system handler 15-SysTick" "00,01,10,11"
|
|
bitfld.long 0x04 22.--23. " PRI_14 ,Priority of system handler 14- PendSV" "00,01,10,11"
|
|
line.long 0x08 "SHCSR,System Handler Control and State Register"
|
|
bitfld.long 0x08 15. " SVCALLPENDED ,Reads as 1 if SVCall is pending" "Not pending,Pending"
|
|
if (CORENAME()=="CORTEXM0+")
|
|
hgroup.long 0x08++0x03
|
|
hide.long 0x00 "ACTLR,Auxiliary Control Register"
|
|
else
|
|
textline " "
|
|
endif
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Nested Vectored Interrupt Controller (NVIC)"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 12.
|
|
tree "Interrupt Enable Registers"
|
|
group.long 0x100++0x03
|
|
line.long 0x00 "SET/CLREN,Interrupt Set/Clear Enable Register"
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRENA31 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRENA30 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRENA29 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRENA28 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRENA27 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRENA26 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRENA25 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRENA24 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRENA23 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRENA22 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRENA21 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRENA20 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRENA19 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRENA18 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRENA17 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRENA16 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRENA15 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRENA14 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRENA13 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRENA12 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRENA11 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRENA10 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRENA9 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRENA8 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRENA7 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRENA6 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRENA5 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRENA4 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRENA3 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRENA2 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRENA1 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRENA0 ,Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
tree.end
|
|
tree "Interrupt Pending Registers"
|
|
group.long 0x200++0x03
|
|
line.long 0x00 "SET/CLRPEN,Interrupt Set/Clear Pending Register"
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRPEN31 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 30. 0x00 30. 0x80 30. " SET/CLRPEN30 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRPEN29 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRPEN28 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRPEN27 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRPEN26 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRPEN25 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRPEN24 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRPEN23 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 22. 0x00 22. 0x80 22. " SET/CLRPEN22 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 21. 0x00 21. 0x80 21. " SET/CLRPEN21 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRPEN20 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRPEN19 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRPEN18 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRPEN17 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRPEN16 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRPEN15 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRPEN14 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRPEN13 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRPEN12 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRPEN11 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRPEN10 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRPEN9 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRPEN8 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRPEN7 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRPEN6 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRPEN5 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRPEN4 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRPEN3 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRPEN2 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRPEN1 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRPEN0 ,Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
tree.end
|
|
width 6.
|
|
tree "Interrupt Priority Registers"
|
|
group.long 0x400++0x1F
|
|
line.long 0x00 "INT0,Interrupt Priority Register"
|
|
bitfld.long 0x00 30.--31. " IP_3 ,Priority of interrupt 3" "0,1,2,3"
|
|
bitfld.long 0x00 22.--23. " IP_2 ,Priority of interrupt 2" "0,1,2,3"
|
|
bitfld.long 0x00 14.--15. " IP_1 ,Priority of interrupt 1" "0,1,2,3"
|
|
bitfld.long 0x00 6.--7. " IP_0 ,Priority of interrupt 0" "0,1,2,3"
|
|
line.long 0x04 "INT1,Interrupt Priority Register"
|
|
bitfld.long 0x04 30.--31. " IP_7 ,Priority of interrupt 7" "0,1,2,3"
|
|
bitfld.long 0x04 22.--23. " IP_6 ,Priority of interrupt 6" "0,1,2,3"
|
|
bitfld.long 0x04 14.--15. " IP_5 ,Priority of interrupt 5" "0,1,2,3"
|
|
bitfld.long 0x04 6.--7. " IP_4 ,Priority of interrupt 4" "0,1,2,3"
|
|
line.long 0x08 "INT2,Interrupt Priority Register"
|
|
bitfld.long 0x08 30.--31. " IP_11 ,Priority of interrupt 11" "0,1,2,3"
|
|
bitfld.long 0x08 22.--23. " IP_10 ,Priority of interrupt 10" "0,1,2,3"
|
|
bitfld.long 0x08 14.--15. " IP_9 ,Priority of interrupt 9" "0,1,2,3"
|
|
bitfld.long 0x08 6.--7. " IP_8 ,Priority of interrupt 8" "0,1,2,3"
|
|
line.long 0x0C "INT3,Interrupt Priority Register"
|
|
bitfld.long 0x0C 30.--31. " IP_15 ,Priority of interrupt 15" "0,1,2,3"
|
|
bitfld.long 0x0C 22.--23. " IP_14 ,Priority of interrupt 14" "0,1,2,3"
|
|
bitfld.long 0x0C 14.--15. " IP_13 ,Priority of interrupt 13" "0,1,2,3"
|
|
bitfld.long 0x0C 6.--7. " IP_12 ,Priority of interrupt 12" "0,1,2,3"
|
|
line.long 0x10 "INT4,Interrupt Priority Register"
|
|
bitfld.long 0x10 30.--31. " IP_19 ,Priority of interrupt 19" "0,1,2,3"
|
|
bitfld.long 0x10 22.--23. " IP_18 ,Priority of interrupt 18" "0,1,2,3"
|
|
bitfld.long 0x10 14.--15. " IP_17 ,Priority of interrupt 17" "0,1,2,3"
|
|
bitfld.long 0x10 6.--7. " IP_16 ,Priority of interrupt 16" "0,1,2,3"
|
|
line.long 0x14 "INT5,Interrupt Priority Register"
|
|
bitfld.long 0x14 30.--31. " IP_23 ,Priority of interrupt 23" "0,1,2,3"
|
|
bitfld.long 0x14 22.--23. " IP_22 ,Priority of interrupt 22" "0,1,2,3"
|
|
bitfld.long 0x14 14.--15. " IP_21 ,Priority of interrupt 21" "0,1,2,3"
|
|
bitfld.long 0x14 6.--7. " IP_20 ,Priority of interrupt 20" "0,1,2,3"
|
|
line.long 0x18 "INT6,Interrupt Priority Register"
|
|
bitfld.long 0x18 30.--31. " IP_27 ,Priority of interrupt 27" "0,1,2,3"
|
|
bitfld.long 0x18 22.--23. " IP_26 ,Priority of interrupt 26" "0,1,2,3"
|
|
bitfld.long 0x18 14.--15. " IP_25 ,Priority of interrupt 25" "0,1,2,3"
|
|
bitfld.long 0x18 6.--7. " IP_24 ,Priority of interrupt 24" "0,1,2,3"
|
|
line.long 0x1C "INT7,Interrupt Priority Register"
|
|
bitfld.long 0x1C 30.--31. " IP_31 ,Priority of interrupt 31" "0,1,2,3"
|
|
bitfld.long 0x1C 22.--23. " IP_30 ,Priority of interrupt 30" "0,1,2,3"
|
|
bitfld.long 0x1C 14.--15. " IP_29 ,Priority of interrupt 29" "0,1,2,3"
|
|
bitfld.long 0x1C 6.--7. " IP_28 ,Priority of interrupt 28" "0,1,2,3"
|
|
tree.end
|
|
width 0x0B
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Debug"
|
|
tree "Core Debug"
|
|
sif COMPonent.AVAILABLE("COREDEBUG")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))
|
|
width 0xA
|
|
group.long 0xD30++0x03
|
|
line.long 0x00 "DFSR,Data Fault Status Register"
|
|
eventfld.long 0x00 4. " EXTERNAL ,External debug request flag" "No occurred,Occurred"
|
|
eventfld.long 0x00 3. " VCATCH ,Vector catch flag" "No occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x00 2. " DWTRAP ,Data Watchpoint flag" "No match,Match"
|
|
textline " "
|
|
eventfld.long 0x00 1. " BKPT ,BKPT flag" "No match,Match"
|
|
eventfld.long 0x00 0. " HALTED ,Halt request flag" "No request,Request"
|
|
if (CORENAME()=="CORTEXM1")
|
|
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
textline " "
|
|
textfld " "
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
else
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 18. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
|
|
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
|
|
textline " "
|
|
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
endif
|
|
else
|
|
if (((per.l(CONvert.ADDRESSTODUALPORT(COMPonent.BASE("COREDEBUG",-1))+0xDF0))&0x01)==0x00)
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not completed,Completed"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
|
|
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
textline " "
|
|
textfld " "
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
else
|
|
group.long 0xDF0++0x03
|
|
line.long 0x00 "DHCSR,Debug Halting Control and Status Register"
|
|
bitfld.long 0x00 31. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 30. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 29. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 28. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 27. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 26. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 25. " S_RESET_ST/DBGKEY ,Core Reset/Debug Key" "No reset,Reset"
|
|
bitfld.long 0x00 24. " S_RETIRE_ST/DBGKEY ,Instruction completed since last read/Debug Key" "Not read,Read"
|
|
textline " "
|
|
bitfld.long 0x00 23. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 22. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 21. " DBGKEY ,Debug Key" "0,1"
|
|
bitfld.long 0x00 20. " DBGKEY ,Debug Key" "0,1"
|
|
textline " "
|
|
bitfld.long 0x00 19. " S_LOCKUP/DBGKEY ,Core Lockup Status/Debug Key" "Not locked up,Locked up"
|
|
bitfld.long 0x00 18. " S_SLEEP/DBGKEY ,Core Sleep Status/Debug Key" "Not sleeping,Sleeping"
|
|
textline " "
|
|
bitfld.long 0x00 17. " S_HALT/DBGKEY ,Core Halted Status/Debug Key" "Not halted,Halted"
|
|
bitfld.long 0x00 16. " S_REGRDY/DBGKEY ,Register R/W on the Debug Core Register Selector/Debug Key" "Not available,Available"
|
|
textline " "
|
|
bitfld.long 0x00 3. " C_MASKINTS ,Interrupts Mask" "Not masked,Masked"
|
|
bitfld.long 0x00 2. " C_STEP ,Steps the core in halted debug" "Not halted,Halted"
|
|
textline " "
|
|
bitfld.long 0x00 1. " C_HALT ,Core Halted" "Not halted,Halted"
|
|
bitfld.long 0x00 0. " C_DEBUGEN ,Debug Enable" "Disabled,Enabled"
|
|
endif
|
|
endif
|
|
wgroup.long 0xDF4++0x03
|
|
line.long 0x00 "DCRSR,Debug Core Selector Register"
|
|
bitfld.long 0x00 16. " REGWnR ,Register Read/Write" "Read,Write"
|
|
bitfld.long 0x00 0.--4. " REGSEL ,Register Selection" "R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,Current SP,LR,DebugReturnAddress,xPSR Flags,MSP,PSP,Reserved,CONTROL[1]/PRIMASK[0],?..."
|
|
group.long 0xDF8++0x07
|
|
line.long 0x00 "DCRDR,Debug Core Register Data Register"
|
|
hexmask.long 0x00 0.--31. 1. " DATA ,Data for reading and writing registers to and from the processor"
|
|
line.long 0x04 "DEMCR,Debug Exception and Monitor Control Register"
|
|
bitfld.long 0x04 24. " DWTENA ,Global enable or disable for the DW unit" "Disabled,Enabled"
|
|
bitfld.long 0x04 10. " VC_HARDERR ,Debug trap on a Hard Fault" "No error,Error"
|
|
textline " "
|
|
bitfld.long 0x04 0. " VC_CORERESET ,Reset Vector Catch" "No reset,Reset"
|
|
width 0x0B
|
|
else
|
|
newline
|
|
textline "COREDEBUG component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Breakpoint Unit (BPU)"
|
|
sif COMPonent.AVAILABLE("BPU")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("BPU",-1))
|
|
width 8.
|
|
group.long 0x00++0x03
|
|
line.long 0x00 "BP_CTRL,Breakpoint Control Register"
|
|
bitfld.long 0x00 4.--7. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
bitfld.long 0x00 1. " KEY ,Key field" "No write,Write"
|
|
bitfld.long 0x00 0. " ENABLE ,Breakpoint unit enable bit" "Disabled,Enabled"
|
|
group.long 0x8++0x03
|
|
line.long 0x00 "B_COMP0,Breakpoint Comparator Registers 0"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 0" "Disabled,Enabled"
|
|
group.long 0xC++0x03
|
|
line.long 0x00 "B_COMP1,Breakpoint Comparator Registers 1"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 1" "Disabled,Enabled"
|
|
group.long 0x10++0x03
|
|
line.long 0x00 "B_COMP2,Breakpoint Comparator Registers 2"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 2" "Disabled,Enabled"
|
|
group.long 0x14++0x03
|
|
line.long 0x00 "B_COMP3,Breakpoint Comparator Registers 3"
|
|
bitfld.long 0x00 30.--31. " BP_MATCH ,Happens when the COMP address is matched" "No matching,Lower halfword,Upper halfword,Both halfwords"
|
|
hexmask.long 0x00 2.--28. 2. " COMP ,Comparison address"
|
|
bitfld.long 0x00 0. " ENABLE ,Compare enable for Breakpoint Comparator Register 3" "Disabled,Enabled"
|
|
else
|
|
newline
|
|
textline "BPU component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree "Data Watchpoint and Trace Unit (DWT)"
|
|
sif COMPonent.AVAILABLE("DWT")
|
|
base CONvert.ADDRESSTODUALPORT(COMPonent.BASE("DWT",-1))
|
|
width 14.
|
|
rgroup.long 0x00++0x03
|
|
line.long 0x00 "DW_CTRL,DW Control Register "
|
|
bitfld.long 0x00 28.--31. " NUM_CODE1 ,Number of comparators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
rgroup.long 0x1c++0x03
|
|
line.long 0x00 "DW_PCSR,DW Program Counter Sample Register"
|
|
hexmask.long 0x00 0.--31. 1. " EIASAMPLE ,Execution instruction address sample or 0xFFFFFFFF"
|
|
group.long 0x20++0x0b
|
|
line.long 0x00 "DW_COMP0,DW Comparator Register 0"
|
|
hexmask.long 0x00 0.--31. 1. " COMP1 ,Compare against PC or the data address"
|
|
line.long 0x04 "DW_MASK0,DW Mask Register 0"
|
|
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
|
|
line.long 0x08 "DW_FUNCTION0,DW Function Register 0"
|
|
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
|
|
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
|
|
group.long 0x30++0x0b
|
|
line.long 0x00 "DW_COMP1,DW Comparator Register 1"
|
|
hexmask.long 0x00 0.--31. 1. " COMP ,Compare against PC or the data address"
|
|
line.long 0x04 "DW_MASK1,DW Mask Register 1 "
|
|
hexmask.long.byte 0x04 0.--4. 1. " MASK ,Mask on data address when matching against COMP"
|
|
line.long 0x08 "DW_FUNCTION1,DW Function Register 1"
|
|
bitfld.long 0x08 24. " MATCHED ,Comparator match" "No match,Match"
|
|
bitfld.long 0x08 0.--3. " FUNCTION , Settings for DW Function Registers" "Disabled,Reserved,Reserved,Reserved,On PC match,Read address,Write address,R/W address,?..."
|
|
else
|
|
newline
|
|
textline "DWT component base address not specified"
|
|
newline
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
AUTOINDENT.POP
|
|
tree.end
|
|
tree.open "System Manager"
|
|
tree "Control Registers"
|
|
base ad:0x50000000
|
|
width 11.
|
|
rgroup.long 0x00++0x3
|
|
line.long 0x00 "PDID,Part device identification number register"
|
|
group.long 0x04++0xB
|
|
line.long 0x00 "RSTSRC,System reset source register"
|
|
eventfld.long 0x00 7. " RSTS_CPU ,CPU software reset" "No reset,Reset"
|
|
eventfld.long 0x00 5. " RSTS_SYS ,System software reset" "No reset,Reset"
|
|
eventfld.long 0x00 4. " RSTS_BOD ,Brown-Out-Detector reset" "No reset,Reset"
|
|
textline " "
|
|
eventfld.long 0x00 3. " RSTS_LVR ,Low-Voltage-Reset controller reset" "No reset,Reset"
|
|
eventfld.long 0x00 2. " RSTS_WDT ,Watchdog timer reset" "No reset,Reset"
|
|
eventfld.long 0x00 1. " RSTS_RESET ,Pin /RESET reset" "No reset,Reset"
|
|
textline " "
|
|
eventfld.long 0x00 0. " RSTS_POR ,Power-On Reset reset" "No reset,Reset"
|
|
line.long 0x04 "IPRSTC1,IP reset control register 1"
|
|
sif (cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 3. " EBI_RST ,EBI Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 2. " PDMA_RST ,PDMA Controller Reset" "No reset,Reset"
|
|
bitfld.long 0x04 1. " CPU_RST ,CPU kernel one shot reset" "No reset,Reset"
|
|
bitfld.long 0x04 0. " CHIP_RST ,CHIP one shot reset" "No reset,Reset"
|
|
line.long 0x08 "IPRSTC2,IP Reset Control Register 2"
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x08 29. " I2S_RST ,I2S Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
bitfld.long 0x08 28. " ADC_RST ,ADC Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
bitfld.long 0x08 27. " USBD_RST ,USB Device Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x08 24. " CAN0_RST ,CAN0 Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x08 23. " PS2_RST ,PS/2 Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x08 22. " ACMP_RST ,Analog Comparator Controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
bitfld.long 0x08 21. " PWM47_RST ,PWM47 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 20. " PWM03_RST ,PWM03 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130???AN")||cpuis("NUC130???CN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x08 18. " UART2_RST ,UART2 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 17. " UART1_RST ,UART1 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 16. " UART0_RST ,UART0 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 15. " SPI3_RST ,SPI3 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 14. " SPI2_RST ,SPI2 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
bitfld.long 0x08 13. " SPI1_RST ,SPI1 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 12. " SPI0_RST ,SPI0 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x08 9. " I2C1_RST ,I2C1 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 8. " I2C0_RST ,I2C0 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
bitfld.long 0x08 5. " TMR3_RST ,Timer3 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
bitfld.long 0x08 4. " TMR2_RST ,Timer2 controller Reset" "No reset,Reset"
|
|
bitfld.long 0x08 3. " TMR1_RST ,Timer1 controller Reset" "No reset,Reset"
|
|
bitfld.long 0x08 2. " TMR0_RST ,Timer0 controller Reset" "No reset,Reset"
|
|
textline " "
|
|
bitfld.long 0x08 1. " GPIO_RST ,GPIO controller Reset" "No reset,Reset"
|
|
sif (cpuis("NUC100*)||cpuis("NUC120*))
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "CPR,High Performance Mode Register"
|
|
bitfld.long 0x00 0. " HPE ,High Performance Enable" "Disabled,Enabled"
|
|
endif
|
|
group.long 0x18++0x7
|
|
line.long 0x00 "BODCR,Brown-out detector control register"
|
|
bitfld.long 0x00 7. " LVR_EN ,Low Voltage Reset Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " BOD_OUT ,Brown-Out Detector output status" ">BOD_VL,<BOD_VL"
|
|
bitfld.long 0x00 5. " BOD_LPM ,Brown-Out Detector Low power Mode" "Normal,Low power"
|
|
textline " "
|
|
bitfld.long 0x00 4. " BOD_INTF ,Brown-Out Detector Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 3. " BOD_RSTEN ,Brown-Out Reset Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1.--2. " BOD_VL ,Brown-Out Detector Threshold Voltage Selection" "2.2V,2.7V,3.8V,4.5V"
|
|
textline " "
|
|
bitfld.long 0x00 0. " BOD_EN ,Brown-Out Detector Enable" "Disabled,Enabled"
|
|
line.long 0x04 "TEMPCR,Temperature sensor control register"
|
|
bitfld.long 0x04 0. " VTEMP_EN ,Temperature sensor Enable" "Disabled,Enabled"
|
|
group.long 0x24++0x3
|
|
line.long 0x00 "PORCR,Power-On-Reset Controller Register "
|
|
hexmask.long.word 0x00 0.--15. 1. " POR_DIS_CODE ,POR disable code"
|
|
sif (!cpuis("NUC122*"))
|
|
width 11.
|
|
group.long 0x30++0xB
|
|
line.long 0x00 "GPA_MFP ,GPIOA multiple function and input type control register"
|
|
bitfld.long 0x00 31. " GPA_TYPE15 ,GPIOA15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 30. " GPA_TYPE14 ,GPIOA14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " GPA_TYPE13 ,GPIOA13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 28. " GPA_TYPE12 ,GPIOA12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 27. " GPA_TYPE11 ,GPIOA11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 26. " GPA_TYPE10 ,GPIOA10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 25. " GPA_TYPE9 ,GPIOA9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 24. " GPA_TYPE8 ,GPIOA8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 23. " GPA_TYPE7 ,GPIOA7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 22. " GPA_TYPE6 ,GPIOA6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 21. " GPA_TYPE5 ,GPIOA5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 20. " GPA_TYPE4 ,GPIOA4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 19. " GPA_TYPE3 ,GPIOA3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 18. " GPA_TYPE2 ,GPIOA2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 17. " GPA_TYPE1 ,GPIOA1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 16. " GPA_TYPE0 ,GPIOA0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 15. " GPA_MFP15 ,PA15 Pin Alternate function Selection" "GPIO,PWM3/I2SMCLK"
|
|
textline " "
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x00 14. " GPA_MFP14 ,PA14 Pin Alternate function Selection" "GPIO,PWM2/AD15"
|
|
bitfld.long 0x00 13. " GPA_MFP13 ,PA13 Pin Alternate function Selection" "GPIO,PWM1/AD14"
|
|
textline " "
|
|
bitfld.long 0x00 12. " GPA_MFP12 ,PA12 Pin Alternate function Selection" "GPIO,PWM0/AD13"
|
|
bitfld.long 0x00 11. " GPA_MFP11 ,PA11 Pin Alternate function Selection" "GPIO,I2C1SCL/nRD"
|
|
textline " "
|
|
bitfld.long 0x00 10. " GPA_MFP10 ,PA10 Pin Alternate function Selection" "GPIO,I2C1SDA/nWR"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x00 14. " GPA_MFP14 ,PA14 Pin Alternate function Selection" "GPIO,PWM2"
|
|
bitfld.long 0x00 13. " GPA_MFP13 ,PA13 Pin Alternate function Selection" "GPIO,PWM1"
|
|
textline " "
|
|
bitfld.long 0x00 12. " GPA_MFP12 ,PA12 Pin Alternate function Selection" "GPIO,PWM0"
|
|
bitfld.long 0x00 11. " GPA_MFP11 ,PA11 Pin Alternate function Selection" "GPIO,I2C1SCL"
|
|
textline " "
|
|
bitfld.long 0x00 10. " GPA_MFP10 ,PA10 Pin Alternate function Selection" "GPIO,I2C1SDA"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 9. " GPA_MFP9 ,PA9 Pin Alternate function Selection" "GPIO,I2C0SCL"
|
|
bitfld.long 0x00 8. " GPA_MFP8 ,PA8 Pin Alternate function Selection" "GPIO,I2C0SDA"
|
|
textline " "
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
sif (cpuis("NUC130V??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x00 7. " GPA_MFP7 ,PA7 Pin Alternate function Selection" "GPIO,ADC7/SPISS21/AD6"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x00 7. " GPA_MFP7 ,PA7 Pin Alternate function Selection" "GPIO,ADC7/AD6"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 6. " GPA_MFP6 ,PA6 Pin Alternate function Selection" "GPIO,ADC6/AD7"
|
|
textline " "
|
|
bitfld.long 0x00 5. " GPA_MFP5 ,PA5 Pin Alternate function Selection" "GPIO,ADC5/AD8"
|
|
bitfld.long 0x00 4. " GPA_MFP4 ,PA4 Pin Alternate function Selection" "GPIO,ADC4/AD9"
|
|
textline " "
|
|
bitfld.long 0x00 3. " GPA_MFP3 ,PA3 Pin Alternate function Selection" "GPIO,ADC3/AD10"
|
|
bitfld.long 0x00 2. " GPA_MFP2 ,PA2 Pin Alternate function Selection" "GPIO,ADC2/AD11"
|
|
textline " "
|
|
bitfld.long 0x00 1. " GPA_MFP1 ,PA1 Pin Alternate function Selection" "GPIO,ADC1/AD12"
|
|
textline " "
|
|
else
|
|
sif (cpuis("NUC100V??AN")||cpuis("NUC120V??AN")||cpuis("NUC130V??AN")||cpuis("NUC140V??AN")||cpuis("NUC130V??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x00 7. " GPA_MFP7 ,PA7 Pin Alternate function Selection" "GPIO,ADC7/SPISS21"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x00 7. " GPA_MFP7 ,PA7 Pin Alternate function Selection" "GPIO,ADC7"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 6. " GPA_MFP6 ,PA6 Pin Alternate function Selection" "GPIO,ADC6"
|
|
textline " "
|
|
bitfld.long 0x00 5. " GPA_MFP5 ,PA5 Pin Alternate function Selection" "GPIO,ADC5"
|
|
bitfld.long 0x00 4. " GPA_MFP4 ,PA4 Pin Alternate function Selection" "GPIO,ADC4"
|
|
textline " "
|
|
bitfld.long 0x00 3. " GPA_MFP3 ,PA3 Pin Alternate function Selection" "GPIO,ADC3"
|
|
bitfld.long 0x00 2. " GPA_MFP2 ,PA2 Pin Alternate function Selection" "GPIO,ADC2"
|
|
textline " "
|
|
bitfld.long 0x00 1. " GPA_MFP1 ,PA1 Pin Alternate function Selection" "GPIO,ADC1"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 0. " GPA_MFP0 ,PA0 Pin Alternate function Selection" "GPIO,ADC0"
|
|
line.long 0x04 "GPB_MFP ,GPIOB multiple function and input type control register"
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 31. " GPB_TYPE15 ,GPIOB15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 30. " GPB_TYPE14 ,GPIOB14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 31. " GPB_TYPE15 ,GPIOB15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 29. " GPB_TYPE13 ,GPIOB13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 28. " GPB_TYPE12 ,GPIOB12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 28. " GPB_TYPE12 ,GPIOB12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 27. " GPB_TYPE11 ,GPIOB11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 26. " GPB_TYPE10 ,GPIOB10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " GPB_TYPE9 ,GPIOB9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 24. " GPB_TYPE8 ,GPIOB8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
elif (cpuis("NUC100L*"))
|
|
bitfld.long 0x04 27. " GPB_TYPE11 ,GPIOB11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 26. " GPB_TYPE10 ,GPIOB10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " GPB_TYPE9 ,GPIOB9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 24. " GPB_TYPE8 ,GPIOB8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 23. " GPB_TYPE7 ,GPIOB7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 22. " GPB_TYPE6 ,GPIOB6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 21. " GPB_TYPE5 ,GPIOB5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 20. " GPB_TYPE4 ,GPIOB4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (!cpuis("NUC140L*"))
|
|
bitfld.long 0x04 19. " GPB_TYPE3 ,GPIOB3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 18. " GPB_TYPE2 ,GPIOB2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 17. " GPB_TYPE1 ,GPIOB1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 16. " GPB_TYPE0 ,GPIOB0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 15. " GPB_MFP15 ,PB15 Pin Alternate function Selection" "GPIO,/INT1/T0EX"
|
|
else
|
|
bitfld.long 0x04 15. " GPB_MFP15 ,PB15 Pin Alternate function Selection" "GPIO,/INT1"
|
|
endif
|
|
textline " "
|
|
sif (cpuis("NUC100V??AN")||cpuis("NUC120V??AN")||cpuis("NUC130V??AN")||cpuis("NUC130V??CN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 14. " GPB_MFP14 ,PB14 Pin Alternate function Selection" "GPIO,/INT0/SPISS31"
|
|
else
|
|
bitfld.long 0x04 14. " GPB_MFP14 ,PB14 Pin Alternate function Selection" "GPIO,/INT0"
|
|
endif
|
|
textline " "
|
|
else
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 15. " GPB_MFP15 ,PB15 Pin Alternate function Selection" "GPIO,/INT1/T0EX"
|
|
else
|
|
bitfld.long 0x04 15. " GPB_MFP15 ,PB15 Pin Alternate function Selection" "GPIO,/INT1"
|
|
endif
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 13. " GPB_MFP13 ,PB13 Pin Alternate function Selection" "GPIO,CPO1/AD1"
|
|
bitfld.long 0x04 12. " GPB_MFP12 ,PB12 Pin Alternate function Selection" "GPIO,CPO0/CLKO/AD0"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 13. " GPB_MFP13 ,PB13 Pin Alternate function Selection" "GPIO,CPO1"
|
|
bitfld.long 0x04 12. " GPB_MFP12 ,PB12 Pin Alternate function Selection" "GPIO,CPO0/CLKO"
|
|
textline " "
|
|
endif
|
|
else
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 12. " GPB_MFP12 ,PB12 Pin Alternate function Selection" "GPIO,CPO0/CLKO/AD0"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 12. " GPB_MFP12 ,PB12 Pin Alternate function Selection" "GPIO,CPO0/CLKO"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC100L*")||cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC100???AN")||cpuis("NUC100L??BN")||cpuis("NUC120???AN")||cpuis("NUC130???AN")||cpuis("NUC130???CN")||cpuis("NUC140???AN")||cpuis("NUC140???CN"))
|
|
bitfld.long 0x04 11. " GPB_MFP11 ,PB11 Pin Alternate function Selection" "GPIO,TM3/PWM4"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 11. " GPB_MFP11 ,PB11 Pin Alternate function Selection" "GPIO,TM3"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 10. " GPB_MFP10 ,PB10 Pin Alternate function Selection" "GPIO,TM2/SPISS01"
|
|
bitfld.long 0x04 9. " GPB_MFP9 ,PB9 Pin Alternate function Selection" "GPIO,TM1/SPISS11"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 10. " GPB_MFP10 ,PB10 Pin Alternate function Selection" "GPIO,TM2"
|
|
bitfld.long 0x04 9. " GPB_MFP9 ,PB9 Pin Alternate function Selection" "GPIO,TM1"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 8. " GPB_MFP8 ,PB8 Pin Alternate function Selection" "GPIO,TM0"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 8. " GPB_MFP8 ,PB8 Pin Alternate function Selection" "GPIO,TM0"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 7. " GPB_MFP7 ,PB7 Pin Alternate function Selection" "GPIO,CTS1/nCS"
|
|
bitfld.long 0x04 6. " GPB_MFP6 ,PB6 Pin Alternate function Selection" "GPIO,RTS1/ALE"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 7. " GPB_MFP7 ,PB7 Pin Alternate function Selection" "GPIO,CTS1"
|
|
bitfld.long 0x04 6. " GPB_MFP6 ,PB6 Pin Alternate function Selection" "GPIO,RTS1"
|
|
textline " "
|
|
endif
|
|
endif
|
|
bitfld.long 0x04 5. " GPB_MFP5 ,PB5 Pin Alternate function Selection" "GPIO,UART1TXD"
|
|
bitfld.long 0x04 4. " GPB_MFP4 ,PB4 Pin Alternate function Selection" "GPIO,UART1RXD"
|
|
textline " "
|
|
sif (!cpuis("NUC140L*"))
|
|
sif (cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 3. " GPB_MFP3 ,PB3 Pin Alternate function Selection" "GPIO,CTS0/T3EX/nWRH"
|
|
bitfld.long 0x04 2. " GPB_MFP2 ,PB2 Pin Alternate function Selection" "GPIO,RTS0/T2EX/nWRL"
|
|
elif (cpuis("NUC130L??CN"))
|
|
bitfld.long 0x04 3. " GPB_MFP3 ,PB3 Pin Alternate function Selection" "GPIO,CTS0/T3EX"
|
|
bitfld.long 0x04 2. " GPB_MFP2 ,PB2 Pin Alternate function Selection" "GPIO,RTS0/T2EX"
|
|
elif (cpuis("NUC1?0R??BN"))
|
|
bitfld.long 0x04 3. " GPB_MFP3 ,PB3 Pin Alternate function Selection" "GPIO,CTS0/nWRH"
|
|
bitfld.long 0x04 2. " GPB_MFP2 ,PB2 Pin Alternate function Selection" "GPIO,RTS0/nWRL"
|
|
else
|
|
bitfld.long 0x04 3. " GPB_MFP3 ,PB3 Pin Alternate function Selection" "GPIO,CTS0"
|
|
bitfld.long 0x04 2. " GPB_MFP2 ,PB2 Pin Alternate function Selection" "GPIO,RTS0"
|
|
endif
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " GPB_MFP1 ,PB1 Pin Alternate function Selection" "GPIO,UART0TXD"
|
|
bitfld.long 0x04 0. " GPB_MFP0 ,PB0 Pin Alternate function Selection" "GPIO,UART0RXD"
|
|
line.long 0x08 "GPC_MFP ,GPIOC multiple function and input type control register"
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 31. " GPC_TYPE15 ,GPIOC15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " GPC_TYPE14 ,GPIOC14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 29. " GPC_TYPE13 ,GPIOC13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " GPC_TYPE12 ,GPIOC12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 27. " GPC_TYPE11 ,GPIOC11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " GPC_TYPE10 ,GPIOC10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " GPC_TYPE9 ,GPIOC9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " GPC_TYPE8 ,GPIOC8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 23. " GPC_TYPE7 ,GPIOC7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " GPC_TYPE6 ,GPIOC6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 21. " GPC_TYPE5 ,GPIOC5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " GPC_TYPE4 ,GPIOC4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 19. " GPC_TYPE3 ,GPIOC3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " GPC_TYPE2 ,GPIOC2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " GPC_TYPE1 ,GPIOC1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " GPC_TYPE0 ,GPIOC0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x08 15. " GPC_MFP15 ,PC15 Pin Alternate function Selection" "GPIO,CPN1/AD3"
|
|
bitfld.long 0x08 14. " GPC_MFP14 ,PC14 Pin Alternate function Selection" "GPIO,CPP1/AD2"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x08 15. " GPC_MFP15 ,PC15 Pin Alternate function Selection" "GPIO,CPN1"
|
|
bitfld.long 0x08 14. " GPC_MFP14 ,PC14 Pin Alternate function Selection" "GPIO,CPP1"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 13. " GPC_MFP13 ,PC13 Pin Alternate function Selection" "GPIO,MOSI11"
|
|
bitfld.long 0x08 12. " GPC_MFP12 ,PC12 Pin Alternate function Selection" "GPIO,MISO11"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 11. " GPC_MFP11 ,PC11 Pin Alternate function Selection" "GPIO,MOSI10"
|
|
bitfld.long 0x08 10. " GPC_MFP10 ,PC10 Pin Alternate function Selection" "GPIO,MISO10"
|
|
textline " "
|
|
bitfld.long 0x08 9. " GPC_MFP9 ,PC9 Pin Alternate function Selection" "GPIO,SPICLK1"
|
|
textline " "
|
|
sif (cpuis("NUC1?0R??BN"))
|
|
bitfld.long 0x08 8. " GPC_MFP8 ,PC8 Pin Alternate function Selection" "GPIO,SPISS10/MCLK"
|
|
elif (cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x08 8. " GPC_MFP8 ,PC8 Pin Alternate function Selection" "GPIO,SPISS10"
|
|
else
|
|
bitfld.long 0x08 8. " GPC_MFP8 ,PC8 Pin Alternate function Selection" "GPIO,SPISS10"
|
|
endif
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x08 7. " GPC_MFP7 ,PC7 Pin Alternate function Selection" "GPIO,CPN0/AD5"
|
|
bitfld.long 0x08 6. " GPC_MFP6 ,PC6 Pin Alternate function Selection" "GPIO,CPP0/AD4"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x08 7. " GPC_MFP7 ,PC7 Pin Alternate function Selection" "GPIO,CPN0"
|
|
bitfld.long 0x08 6. " GPC_MFP6 ,PC6 Pin Alternate function Selection" "GPIO,CPP0"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 5. " GPC_MFP5 ,PC5 Pin Alternate function Selection" "GPIO,MOSI01"
|
|
bitfld.long 0x08 4. " GPC_MFP4 ,PC4 Pin Alternate function Selection" "GPIO,MISO01"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 3. " GPC_MFP3 ,PC3 Pin Alternate function Selection" "GPIO,MOSI00/I2SDO"
|
|
bitfld.long 0x08 2. " GPC_MFP2 ,PC2 Pin Alternate function Selection" "GPIO,MISO00/I2SDI"
|
|
textline " "
|
|
bitfld.long 0x08 1. " GPC_MFP1 ,PC1 Pin Alternate function Selection" "GPIO,SPICLK0/I2SBCLK"
|
|
bitfld.long 0x08 0. " GPC_MFP0 ,PC0 Pin Alternate function Selection" "GPIO,SPISS00/I2SLRCLK"
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130L*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140L*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
group.long 0x3C++0x3
|
|
line.long 0x00 "GPD_MFP ,GPIOD multiple function and input type control register"
|
|
sif (!cpuis("NUC140L*"))
|
|
bitfld.long 0x00 31. " GPD_TYPE15 ,GPIOD15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 30. " GPD_TYPE14 ,GPIOD14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x00 29. " GPD_TYPE13 ,GPIOD13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 28. " GPD_TYPE12 ,GPIOD12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x00 27. " GPD_TYPE11 ,GPIOD11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 26. " GPD_TYPE10 ,GPIOD10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 25. " GPD_TYPE9 ,GPIOD9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 24. " GPD_TYPE8 ,GPIOD8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 23. " GPD_TYPE7 ,GPIOD7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 22. " GPD_TYPE6 ,GPIOD6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 21. " GPD_TYPE5 ,GPIOD5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 20. " GPD_TYPE4 ,GPIOD4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 19. " GPD_TYPE3 ,GPIOD3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 18. " GPD_TYPE2 ,GPIOD2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 17. " GPD_TYPE1 ,GPIOD1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 16. " GPD_TYPE0 ,GPIOD0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
endif
|
|
sif ((cpuis("NUC1?0???AN")||cpuis("NUC1?0???CN"))&&!cpuis("NUC140L*"))
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC1?0???AN")||cpuis("NUC1?0???CN"))
|
|
sif (!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC140L*"))
|
|
bitfld.long 0x00 15. " GPD_MFP15 ,PD15 Pin Alternate function Selection" "GPIO,UART2TXD"
|
|
bitfld.long 0x00 14. " GPD_MFP14 ,PD14 Pin Alternate function Selection" "GPIO,UART2RXD"
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 13. " GPD_MFP13 ,PD13 Pin Alternate function Selection" "GPIO,MOSI31"
|
|
bitfld.long 0x00 12. " GPD_MFP12 ,PD12 Pin Alternate function Selection" "GPIO,MISO31"
|
|
textline " "
|
|
bitfld.long 0x00 11. " GPD_MFP11 ,PD11 Pin Alternate function Selection" "GPIO,MOSI30"
|
|
bitfld.long 0x00 10. " GPD_MFP10 ,PD10 Pin Alternate function Selection" "GPIO,MISO30"
|
|
textline " "
|
|
bitfld.long 0x00 9. " GPD_MFP9 ,PD9 Pin Alternate function Selection" "GPIO,SPICLK3"
|
|
bitfld.long 0x00 8. " GPD_MFP8 ,PD8 Pin Alternate function Selection" "GPIO,SPI3SS30"
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
textline " "
|
|
bitfld.long 0x00 7. " GPD_MFP7 ,PD7 Pin Alternate function Selection" "GPIO,CAN0TX"
|
|
bitfld.long 0x00 6. " GPD_MFP6 ,PD6 Pin Alternate function Selection" "GPIO,CAN0RX"
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 5. " GPD_MFP5 ,PD5 Pin Alternate function Selection" "GPIO,MOSI21"
|
|
bitfld.long 0x00 4. " GPD_MFP4 ,PD4 Pin Alternate function Selection" "GPIO,MISO21"
|
|
textline " "
|
|
bitfld.long 0x00 3. " GPD_MFP3 ,PD3 Pin Alternate function Selection" "GPIO,MOSI20"
|
|
bitfld.long 0x00 2. " GPD_MFP2 ,PD2 Pin Alternate function Selection" "GPIO,MISO20"
|
|
textline " "
|
|
bitfld.long 0x00 1. " GPD_MFP1 ,PD1 Pin Alternate function Selection" "GPIO,SPICLK2"
|
|
bitfld.long 0x00 0. " GPD_MFP0 ,PD0 Pin Alternate function Selection" "GPIO,SPI2SS20"
|
|
endif
|
|
endif
|
|
endif
|
|
sif (!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*")&&!cpuis("NUC140R*"))
|
|
group.long 0x40++0x13
|
|
line.long 0x00 "GPE_MFP ,GPIOE multiple function and input type control register"
|
|
sif (cpuis("NUC1?0???AN")||cpuis("NUC1?0???CN"))
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x00 31. " GPE_TYPE15 ,GPIOE15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 30. " GPE_TYPE14 ,GPIOE14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " GPE_TYPE13 ,GPIOE13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130V*"))
|
|
bitfld.long 0x00 28. " GPE_TYPE12 ,GPIOE12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 27. " GPE_TYPE11 ,GPIOE11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 26. " GPE_TYPE10 ,GPIOE10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 25. " GPE_TYPE9 ,GPIOE9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x00 24. " GPE_TYPE8 ,GPIOE8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 23. " GPE_TYPE7 ,GPIOE7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 22. " GPE_TYPE6 ,GPIOE6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*")&&!cpuis("NUC140R*"))
|
|
bitfld.long 0x00 21. " GPE_TYPE5 ,GPIOE5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
endif
|
|
sif (cpuis("NUC1?0???AN")||cpuis("NUC1?0???CN"))
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 20. " GPE_TYPE4 ,GPIOE4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 19. " GPE_TYPE3 ,GPIOE3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 18. " GPE_TYPE2 ,GPIOE2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 17. " GPE_TYPE1 ,GPIOE1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 16. " GPE_TYPE0 ,GPIOE0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
endif
|
|
textline " "
|
|
sif (!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*")&&!cpuis("NUC140R*"))
|
|
sif (cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
bitfld.long 0x00 5. " GPE_MFP5 ,PE5 Pin Alternate function Selection" "GPIO,PWM5/T1EX"
|
|
else
|
|
bitfld.long 0x00 5. " GPE_MFP5 ,PE5 Pin Alternate function Selection" "GPIO,PWM5"
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 1. " GPE_MFP1 ,PE1 Pin Alternate function Selection" "GPIO,PWM7"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GPE_MFP0 ,PE0 Pin Alternate function Selection" "GPIO,PWM6"
|
|
endif
|
|
endif
|
|
endif
|
|
group.long 0x50++0x3
|
|
line.long 0x00 "ALT_MFP ,Alternative multiple function pin control register"
|
|
sif (cpuis("NUC1?0???CN")&&!cpuis("NUC140L??CN")&&!cpuis("NUC140R??CN"))
|
|
sif (cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x00 27. " PB3_T3EX ,PB3 alternate function control" "GPIO,CTS0/nWRH/T3EX"
|
|
bitfld.long 0x00 26. " PB2_T2EX ,PB2 alternate function control" "GPIO/RTS0/nWRL,T2EX"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x00 27. " PB3_T3EX ,PB3 alternate function control" "GPIO,CTS0/T3EX"
|
|
bitfld.long 0x00 26. " PB2_T2EX ,PB2 alternate function control" "GPIO/RTS0,T2EX"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
bitfld.long 0x00 25. " PE5_T1EX ,PE5 alternate function control" "GPIO/PWM5,T1EX"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 24. " PB15_T0EX ,PB15 alternate function control" "GPIO//INT1,T0EX"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x00 23. " EBI_HB_EN[7] ,PA14 alternate function control" "PWM2,AD15"
|
|
bitfld.long 0x00 22. " EBI_HB_EN[6] ,PA13 alternate function control" "PWM1,AD14"
|
|
textline " "
|
|
bitfld.long 0x00 21. " EBI_HB_EN[5] ,PA12 alternate function control" "PWM0,AD13"
|
|
bitfld.long 0x00 20. " EBI_HB_EN[4] ,PA1 alternate function control" "ADC1,AD12"
|
|
textline " "
|
|
bitfld.long 0x00 19. " EBI_HB_EN[3] ,PA2 alternate function control" "ADC2,AD11"
|
|
bitfld.long 0x00 18. " EBI_HB_EN[2] ,PA3 alternate function control" "ADC3,AD10"
|
|
textline " "
|
|
bitfld.long 0x00 17. " EBI_HB_EN[1] ,PA4 alternate function control" "ADC4,AD9"
|
|
bitfld.long 0x00 16. " EBI_HB_EN[0] ,PA5 alternate function control" "ADC5,AD8"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???CN")&&!cpuis("NUC140L??CN"))
|
|
bitfld.long 0x00 14. " EBI_NWRH_EN ,PB3 alternate function control" "GPIO/CTS0,nWRH"
|
|
bitfld.long 0x00 13. " EBI_NWRL_EN ,PB2 alternate function control" "RTS0,nWRL"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC1?0R??BN"))
|
|
bitfld.long 0x00 12. " EBI_MCLK_EN ,PC8 alternate function control" "SPISS10,MCLK"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 11. " EBI_EN ,EBI alternate functions enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 10. " PB12_CLKO ,PB12 alternate function control" "CPO0,CLKO/AD0"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x00 10. " PB12_CLKO ,PB12 alternate function control" "CPO0,CLKO"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 9. " PA15_I2SMCLK ,PA15 alternate function control" "PWM3,I2SMCLK"
|
|
textline " "
|
|
bitfld.long 0x00 8. " PC3_I2SDO ,PC3 alternate function control" "MOSI00,I2SDO"
|
|
bitfld.long 0x00 7. " PC2_I2SDI ,PC2 alternate function control" "MISO00,I2SDI"
|
|
textline " "
|
|
bitfld.long 0x00 6. " PC1_I2SBCLK ,PC1 alternate function control" "SPICLK0,I2SBCLK"
|
|
bitfld.long 0x00 5. " PC0_I2SLRCLK ,PC0 alternate function control" "SPISS00,I2SLRCLK"
|
|
sif (cpuis("NUC100R*")||cpuis("NUC100L*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
sif (cpuis("NUC100???AN")||cpuis("NUC100L??BN")||cpuis("NUC120???AN")||cpuis("NUC130???AN")||cpuis("NUC130???CN")||cpuis("NUC140V??AN")||cpuis("NUC140V??CN"))
|
|
textline " "
|
|
bitfld.long 0x00 4. " PB11_PWM4 ,PB11 alternate function control" "TM3,PWM4"
|
|
endif
|
|
sif (cpuis("NUC100V??AN")||cpuis("NUC120V??AN")||cpuis("NUC130V??AN")||cpuis("NUC130V??CN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
textline " "
|
|
bitfld.long 0x00 3. " PB14_S31 ,PB14 alternate function control" "/INT0,SPISS31"
|
|
endif
|
|
sif (cpuis("NUC100V??AN")||cpuis("NUC120V??AN")||cpuis("NUC130V??AN")||cpuis("NUC140V??AN")||cpuis("NUC130V??CN")||cpuis("NUC140V??CN"))
|
|
textline " "
|
|
bitfld.long 0x00 2. " PA7_S21 ,PA7 alternate function control" "ADC7,SPISS21"
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x00 1. " PB9_S11 ,PB9 alternate function control" "TM1,SPISS11"
|
|
bitfld.long 0x00 0. " PB10_S01 ,PB10 alternate function control" "TM2,SPISS01"
|
|
endif
|
|
endif
|
|
width 0xB
|
|
else
|
|
width 11.
|
|
group.long 0x30++0xF
|
|
line.long 0x00 "GPA_MFP ,GPIOA multiple function and input type control register"
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x00 31. " GPA_TYPE15 ,GPIOA15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 30. " GPA_TYPE14 ,GPIOA14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " GPA_TYPE13 ,GPIOA13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 28. " GPA_TYPE12 ,GPIOA12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 27. " GPA_TYPE11 ,GPIOA11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 26. " GPA_TYPE10 ,GPIOA10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x00 15. " GPA_MFP15 ,PA15 Pin Alternate function Selection" "GPIO,PWM3"
|
|
bitfld.long 0x00 14. " GPA_MFP14 ,PA14 Pin Alternate function Selection" "GPIO,PWM2"
|
|
textline " "
|
|
bitfld.long 0x00 13. " GPA_MFP13 ,PA13 Pin Alternate function Selection" "GPIO,PWM1"
|
|
bitfld.long 0x00 12. " GPA_MFP12 ,PA12 Pin Alternate function Selection" "GPIO,PWM0"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 11. " GPA_MFP11 ,PA11 Pin Alternate function Selection" "GPIO,I2C1SCL"
|
|
bitfld.long 0x00 10. " GPA_MFP10 ,PA10 Pin Alternate function Selection" "GPIO,I2C1SDA"
|
|
line.long 0x04 "GPB_MFP ,GPIOB multiple function and input type control register"
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x04 31. " GPB_TYPE15 ,GPIOB15 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 30. " GPB_TYPE14 ,GPIOB14 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 26. " GPB_TYPE10 ,GPIOB10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 25. " GPB_TYPE9 ,GPIOB9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x04 24. " GPB_TYPE8 ,GPIOB8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 23. " GPB_TYPE7 ,GPIOB7 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 22. " GPB_TYPE6 ,GPIOB6 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 21. " GPB_TYPE5 ,GPIOB5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 20. " GPB_TYPE4 ,GPIOB4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x04 19. " GPB_TYPE3 ,GPIOB3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 18. " GPB_TYPE2 ,GPIOB2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 17. " GPB_TYPE1 ,GPIOB1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 16. " GPB_TYPE0 ,GPIOB0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x04 15. " GPB_MFP15 ,PB15 Pin Alternate function Selection" "GPIO,/INT1"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122S*")||cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 14. " GPB_MFP14 ,PB14 Pin Alternate function Selection" "GPIO,/INT0"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 10. " GPB_MFP10 ,PB10 Pin Alternate function Selection" "GPIO,TM2/SPISS01"
|
|
bitfld.long 0x04 9. " GPB_MFP9 ,PB9 Pin Alternate function Selection" "GPIO,TM1/SPISS11"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x04 8. " GPB_MFP8 ,PB8 Pin Alternate function Selection" "GPIO,TM0"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 7. " GPB_MFP7 ,PB7 Pin Alternate function Selection" "GPIO,CTS1"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 6. " GPB_MFP6 ,PB6 Pin Alternate function Selection" "GPIO,RTS1"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 5. " GPB_MFP5 ,PB5 Pin Alternate function Selection" "GPIO,UART1TXD/SPISS11"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x04 5. " GPB_MFP5 ,PB5 Pin Alternate function Selection" "GPIO,UART1TXD"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4. " GPB_MFP4 ,PB4 Pin Alternate function Selection" "GPIO,UART1RXD"
|
|
sif (cpuis("NUC122S*"))
|
|
textline " "
|
|
bitfld.long 0x04 3. " GPB_MFP3 ,PB3 Pin Alternate function Selection" "GPIO,CTS0"
|
|
bitfld.long 0x04 2. " GPB_MFP2 ,PB2 Pin Alternate function Selection" "GPIO,RTS0"
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
textline " "
|
|
bitfld.long 0x04 1. " GPB_MFP1 ,PB1 Pin Alternate function Selection" "GPIO,UART0TXD"
|
|
bitfld.long 0x04 0. " GPB_MFP0 ,PB0 Pin Alternate function Selection" "GPIO,UART0RXD"
|
|
endif
|
|
line.long 0x08 "GPC_MFP ,GPIOC multiple function and input type control register"
|
|
bitfld.long 0x08 29. " GPC_TYPE13 ,GPIOC13 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " GPC_TYPE12 ,GPIOC12 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " GPC_TYPE11 ,GPIOC11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " GPC_TYPE10 ,GPIOC10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " GPC_TYPE9 ,GPIOC9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " GPC_TYPE8 ,GPIOC8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x08 21. " GPC_TYPE5 ,GPIOC5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " GPC_TYPE4 ,GPIOC4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 19. " GPC_TYPE3 ,GPIOC3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " GPC_TYPE2 ,GPIOC2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " GPC_TYPE1 ,GPIOC1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " GPC_TYPE0 ,GPIOC0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " GPC_MFP11 ,PC11 Pin Alternate function Selection" "GPIO,MOSI10"
|
|
bitfld.long 0x08 10. " GPC_MFP10 ,PC10 Pin Alternate function Selection" "GPIO,MISO10"
|
|
textline " "
|
|
bitfld.long 0x08 9. " GPC_MFP9 ,PC9 Pin Alternate function Selection" "GPIO,SPICLK1"
|
|
bitfld.long 0x08 8. " GPC_MFP8 ,PC8 Pin Alternate function Selection" "GPIO,SPISS10"
|
|
textline " "
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x08 5. " GPC_MFP5 ,PC5 Pin Alternate function Selection" "GPIO,SPI0MOSI1"
|
|
bitfld.long 0x08 4. " GPC_MFP4 ,PC4 Pin Alternate function Selection" "GPIO,SPI0MISO1"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 3. " GPC_MFP3 ,PC3 Pin Alternate function Selection" "GPIO,MOSI00"
|
|
bitfld.long 0x08 2. " GPC_MFP2 ,PC2 Pin Alternate function Selection" "GPIO,MISO00"
|
|
textline " "
|
|
bitfld.long 0x08 1. " GPC_MFP1 ,PC1 Pin Alternate function Selection" "GPIO,SPICLK0"
|
|
bitfld.long 0x08 0. " GPC_MFP0 ,PC0 Pin Alternate function Selection" "GPIO,SPISS00"
|
|
line.long 0x0C "GPD_MFP ,GPIOD multiple function and input type control register"
|
|
sif (cpuis("NUC122S*"))
|
|
bitfld.long 0x0C 27. " GPD_TYPE11 ,GPIOD11 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 26. " GPD_TYPE10 ,GPIOD10 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x0C 25. " GPD_TYPE9 ,GPIOD9 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 24. " GPD_TYPE8 ,GPIOD8 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x0C 21. " GPD_TYPE5 ,GPIOD5 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 20. " GPD_TYPE4 ,GPIOD4 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x0C 19. " GPD_TYPE3 ,GPIOD3 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 18. " GPD_TYPE2 ,GPIOD2 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x0C 17. " GPD_TYPE1 ,GPIOD1 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC122Z*"))
|
|
textline " "
|
|
bitfld.long 0x0C 1. " GPD_MFP1 ,PD1 Pin Alternate function Selection" "GPIO,SPISS01"
|
|
elif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
textline " "
|
|
bitfld.long 0x0C 16. " GPD_TYPE0 ,GPIOD0 I/O input Schmitt Trigger enable" "Disabled,Enabled"
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
group.long 0x50++0x3
|
|
line.long 0x00 "ALT_MFP ,Alternative multiple function pin control register"
|
|
bitfld.long 0x00 1. " PB9_S11 ,PB9 alternate function control" "GPIO/TM1,SPISS11"
|
|
bitfld.long 0x00 0. " PB10_S01 ,PB10 alternate function control" "GPIO/TM2,SPISS01"
|
|
endif
|
|
width 0xB
|
|
endif
|
|
width 11.
|
|
group.long 0x100++0x3
|
|
line.long 0x00 "REGWRPROT ,Register write protect register "
|
|
hexmask.long.byte 0x00 1.--7. 1. " REGWRPROT ,Register Write-Protection Code"
|
|
bitfld.long 0x00 0. " REGPROTDIS ,Register Write-Protection Disable" "No,Yes"
|
|
width 0xB
|
|
tree.end
|
|
tree "System Timer (SysTick)"
|
|
base ad:0xE000E000
|
|
width 10.
|
|
hgroup.long 0x10++0x3
|
|
hide.long 0x00 "SYST_CSR,SysTick Control and Status Register"
|
|
in
|
|
group.long 0x14++0x7
|
|
line.long 0x00 "SYST_RVR,SysTick Reload value Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " RELOAD ,Reload value"
|
|
line.long 0x04 "SYST_CVR,SysTick Current value Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " CURRENT ,Current counter value"
|
|
width 0xB
|
|
tree.end
|
|
tree.open "Nested Vectored Interrupt Controller (NVIC)"
|
|
tree "NVIC Control Registers"
|
|
base ad:0xE000E000
|
|
width 16.
|
|
group.long 0x100++0x03 "Interrupt Set/Clear Enable Register"
|
|
line.long 0x00 "NVIC_SET/CLREN,Interrupt Set/Clear Enable Register"
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRENA31 ,RTC_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRENA29 ,ADC_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRENA28 ,PWRWU_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRENA27 ,I2S_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRENA26 ,PDMA_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRENA25 ,ACMP_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRENA24 ,PS2_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRENA23 ,USB_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRENA20 ,CAN0_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRENA19 ,I2C1_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRENA18 ,I2C0_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRENA17 ,SPI3_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRENA16 ,SPI2_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRENA15 ,SPI1_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRENA14 ,SPI0_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRENA13 ,UART1_INTInterrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRENA12 ,UART02_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRENA11 ,TMR3_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRENA10 ,TMR2_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRENA9 ,TMR1_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRENA8 ,TMR0_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRENA7 ,PWMB_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRENA6 ,PWMA_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRENA5 ,GPCDE_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRENA4 ,GPAB_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*")&&!cpuis("NUC122L*"))
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRENA3 ,EINT1 Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC1?0L*")&&!cpuis("NUC122L*"))
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRENA2 ,EINT0 Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRENA1 ,WDT_INT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRENA0 ,BOD_OUT Interrupt Set/Clear Enable Bit" "Disabled,Enabled"
|
|
group.long 0x200++0x03 "Interrupt Set/Clear Pending Register"
|
|
line.long 0x00 "NVIC_SET/CLRPEN,Interrupt Set/Clear Pending Register"
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 31. 0x00 31. 0x80 31. " SET/CLRPEN31 ,RTC_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 29. 0x00 29. 0x80 29. " SET/CLRPEN29 ,ADC_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 28. 0x00 28. 0x80 28. " SET/CLRPEN28 ,PWRWU_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 27. 0x00 27. 0x80 27. " SET/CLRPEN27 ,I2S_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 26. 0x00 26. 0x80 26. " SET/CLRPEN26 ,PDMA_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 25. 0x00 25. 0x80 25. " SET/CLRPEN25 ,ACMP_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
setclrfld.long 0x00 24. 0x00 24. 0x80 24. " SET/CLRPEN24 ,PS2_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
setclrfld.long 0x00 23. 0x00 23. 0x80 23. " SET/CLRPEN23 ,USB_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
setclrfld.long 0x00 20. 0x00 20. 0x80 20. " SET/CLRPEN20 ,CAN0_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
setclrfld.long 0x00 19. 0x00 19. 0x80 19. " SET/CLRPEN19 ,I2C1_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 18. 0x00 18. 0x80 18. " SET/CLRPEN18 ,I2C0_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
setclrfld.long 0x00 17. 0x00 17. 0x80 17. " SET/CLRPEN17 ,SPI3_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 16. 0x00 16. 0x80 16. " SET/CLRPEN16 ,SPI2_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
setclrfld.long 0x00 15. 0x00 15. 0x80 15. " SET/CLRPEN15 ,SPI1_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 14. 0x00 14. 0x80 14. " SET/CLRPEN14 ,SPI0_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 13. 0x00 13. 0x80 13. " SET/CLRPEN13 ,UART1_INTInterrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 12. 0x00 12. 0x80 12. " SET/CLRPEN12 ,UART02_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 11. 0x00 11. 0x80 11. " SET/CLRPEN11 ,TMR3_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
setclrfld.long 0x00 10. 0x00 10. 0x80 10. " SET/CLRPEN10 ,TMR2_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 9. 0x00 9. 0x80 9. " SET/CLRPEN9 ,TMR1_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 8. 0x00 8. 0x80 8. " SET/CLRPEN8 ,TMR0_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
setclrfld.long 0x00 7. 0x00 7. 0x80 7. " SET/CLRPEN7 ,PWMB_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
setclrfld.long 0x00 6. 0x00 6. 0x80 6. " SET/CLRPEN6 ,PWMA_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 5. 0x00 5. 0x80 5. " SET/CLRPEN5 ,GPCDE_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 4. 0x00 4. 0x80 4. " SET/CLRPEN4 ,GPAB_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*")&&!cpuis("NUC122L*"))
|
|
setclrfld.long 0x00 3. 0x00 3. 0x80 3. " SET/CLRPEN3 ,EINT1 Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC1?0L*")&&!cpuis("NUC122L*"))
|
|
setclrfld.long 0x00 2. 0x00 2. 0x80 2. " SET/CLRPEN2 ,EINT0 Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
textline " "
|
|
endif
|
|
setclrfld.long 0x00 1. 0x00 1. 0x80 1. " SET/CLRPEN1 ,WDT_INT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
setclrfld.long 0x00 0. 0x00 0. 0x80 0. " SET/CLRPEN0 ,BOD_OUT Interrupt Set/Clear Pending" "Not pending,Pending"
|
|
group.long 0x400++0x13
|
|
line.long 0x00 "NVIC_IPR0,Priority Control Register 0"
|
|
sif (!cpuis("NUC122Z*")&&!cpuis("NUC122L*"))
|
|
bitfld.long 0x00 30.--31. " PRI_3 ,Priority of EINT1 interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC1?0L*")&&!cpuis("NUC122L*"))
|
|
bitfld.long 0x00 22.--23. " PRI_2 ,Priority of EINT0 interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 14.--15. " PRI_1 ,Priority of WDT_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x00 6.--7. " PRI_0 ,Priority of BOD_OUT interrupt" "0(highest),1,2,3(lowest)"
|
|
line.long 0x04 "NVIC_IPR1,Priority Control Register 1"
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
bitfld.long 0x04 30.--31. " PRI_7 ,Priority of PWMB_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 22.--23. " PRI_6 ,Priority of PWMA_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 14.--15. " PRI_5 ,Priority of GPCDE_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x04 6.--7. " PRI_4 ,Priority of GPAB_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
line.long 0x08 "NVIC_IPR2,Priority Control Register 2"
|
|
bitfld.long 0x08 30.--31. " PRI_11 ,Priority of TMR3_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x08 22.--23. " PRI_10 ,Priority of TMR2_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x08 14.--15. " PRI_9 ,Priority of TMR1_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x08 6.--7. " PRI_8 ,Priority of TMR0_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
line.long 0x0C "NVIC_IPR3,Priority Control Register 3"
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
bitfld.long 0x0C 30.--31. " PRI_15 ,Priority of SPI1_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x0C 22.--23. " PRI_14 ,Priority of SPI0_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
sif (!cpuis("NUC122Z*"))
|
|
textline " "
|
|
bitfld.long 0x0C 14.--15. " PRI_13 ,Priority of UART1_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x0C 6.--7. " PRI_12 ,Priority of UART02_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
line.long 0x10 "NVIC_IPR4,Priority Control Register 4"
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x10 30.--31. " PRI_19 ,Priority of I2C1_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x10 22.--23. " PRI_18 ,Priority of I2C0_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
textline " "
|
|
bitfld.long 0x10 14.--15. " PRI_17 ,Priority of SPI3_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x10 6.--7. " PRI_16 ,Priority of SPI2_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC122*")||cpuis("NUC130*")||cpuis("NUC140*"))
|
|
group.long 0x414++0x3
|
|
line.long 0x00 "NVIC_IPR5,Priority Control Register 5"
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 30.--31. " PRI_23 ,Priority of USB_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
sif (cpuis("NUC140*"))
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 6.--7. " PRI_20 ,Priority of CAN0_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
endif
|
|
group.long 0x418++0x7
|
|
line.long 0x00 "NVIC_IPR6,Priority Control Register 6"
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x00 30.--31. " PRI_27 ,Priority of I2S_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x00 22.--23. " PRI_26 ,Priority of PDMA_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PRI_25 ,Priority of ACMP_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PRI_24 ,Priority of PS2_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
endif
|
|
line.long 0x04 "NVIC_IPR7,Priority Control Register 7"
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 30.--31. " PRI_31 ,Priority of RTC_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x04 14.--15. " PRI_29 ,Priority of ADC_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 6.--7. " PRI_28 ,Priority of PWRWU_INT interrupt" "0(highest),1,2,3(lowest)"
|
|
width 0xB
|
|
tree.end
|
|
tree "Interrupt Source Control Registers"
|
|
base ad:0x50000300
|
|
width 10.
|
|
rgroup.long 0x00++0x7
|
|
line.long 0x00 " IRQ0_SRC,BOD interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,BOD interrupt" "No interrupt,Interrupt"
|
|
line.long 0x04 " IRQ1_SRC,WDT interrupt source identity"
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,WDT interrupt" "No interrupt,Interrupt"
|
|
sif (!cpuis("NUC122L*")&&!cpuis("NUC1?0L*"))
|
|
rgroup.long 0x08++0x3
|
|
line.long 0x00 " IRQ2_SRC,EINT0 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,EINT0 interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
sif (!cpuis("NUC122Z*")&&!cpuis("NUC122L*"))
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 " IRQ3_SRC,EINT1 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,EINT1 interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
rgroup.long 0x10++0x7
|
|
line.long 0x00 " IRQ4_SRC,GPA/B interrupt source identity"
|
|
bitfld.long 0x00 1. " INT_SRC[1] ,GPB interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,GPA interrupt" "No interrupt,Interrupt"
|
|
line.long 0x04 " IRQ5_SRC,GPC/D/E interrupt source identity"
|
|
sif (cpuis("NUC100L*")||cpuis("NUC120R*"))
|
|
bitfld.long 0x04 2. " INT_SRC[2] ,GPE interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,GPC interrupt" "No interrupt,Interrupt"
|
|
elif (cpuis("NUC130L*")||cpuis("NUC140L*")||cpuis("NUC140R*"))
|
|
bitfld.long 0x04 1. " INT_SRC[1] ,GPD interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,GPC interrupt" "No interrupt,Interrupt"
|
|
elif (cpuis("NUC120L*"))
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,GPC interrupt" "No interrupt,Interrupt"
|
|
else
|
|
bitfld.long 0x04 2. " INT_SRC[2] ,GPE interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 1. " INT_SRC[1] ,GPD interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,GPC interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
rgroup.long 0x18++0x3
|
|
line.long 0x00 " IRQ6_SRC,PWMA interrupt source identity"
|
|
bitfld.long 0x00 3. " INT_SRC[3] ,PWM3 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 2. " INT_SRC[2] ,PWM2 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 1. " INT_SRC[1] ,PWM1interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,PWM0 interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
rgroup.long 0x1C++0x3
|
|
line.long 0x00 " IRQ7_SRC,PWMB interrupt source identity"
|
|
bitfld.long 0x00 3. " INT_SRC[3] ,PWM7 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 2. " INT_SRC[2] ,PWM6 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 1. " INT_SRC[1] ,PWM5 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,PWM4 interrupt" "No interrupt,Interrupt"
|
|
else
|
|
rgroup.long 0x1C++0x3
|
|
line.long 0x00 " IRQ7_SRC,PWMB interrupt source identity"
|
|
bitfld.long 0x00 1. " INT_SRC[1] ,PWM5 interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,PWM4 interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
endif
|
|
rgroup.long 0x20++0x13
|
|
line.long 0x00 " IRQ8_SRC,TMR0 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,TMR0 interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x04 " IRQ9_SRC,TMR1 interrupt source identity"
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,TMR1 interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x08 " IRQ10_SRC,TMR2 interrupt source identity"
|
|
bitfld.long 0x08 0. " INT_SRC[0] ,TMR2 interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x0C " IRQ11_SRC,TMR3 interrupt source identity"
|
|
bitfld.long 0x0C 0. " INT_SRC[0] ,TMR3 interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x10 " IRQ12_SRC,URT0 interrupt source identity"
|
|
bitfld.long 0x10 0. " INT_SRC[0] ,URT0 interrupt source" "No interrupt,Interrupt"
|
|
sif (!cpuis("NUC122Z*"))
|
|
rgroup.long 0x34++0x3
|
|
line.long 0x00 " IRQ13_SRC,URT1 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,URT1 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
rgroup.long 0x38++0x3
|
|
line.long 0x00 " IRQ14_SRC,SPI0 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,SPI0 interrupt source" "No interrupt,Interrupt"
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
rgroup.long 0x3C++0x3
|
|
line.long 0x00 " IRQ15_SRC,SPI1 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,SPI1 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
rgroup.long 0x40++0x3
|
|
line.long 0x00 " IRQ16_SRC,SPI2 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,SPI2 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
rgroup.long 0x44++0x3
|
|
line.long 0x00 " IRQ17_SRC,SPI3 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,SPI3 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
rgroup.long 0x48++0x3
|
|
line.long 0x00 " IRQ18_SRC,I2C0 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,I2C0 interrupt source" "No interrupt,Interrupt"
|
|
sif (!cpuis("NUC122*"))
|
|
rgroup.long 0x4C++0x3
|
|
line.long 0x00 " IRQ19_SRC,I2C1 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,I2C1 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
rgroup.long 0x50++0x3
|
|
line.long 0x00 " IRQ20_SRC,CAN0 interrupt source identity"
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,CAN0 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
; rgroup.long 0x54++0x07
|
|
; line.long 0x00 " IRQ21_SRC,IRQ21_SRC interrupt source identity"
|
|
; line.long 0x04 " IRQ22_SRC,IRQ22_SRC interrupt source identity"
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
rgroup.long 0x5C++0x3
|
|
line.long 0x00 " IRQ23_SRC,USBD interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,USBD interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
rgroup.long 0x60++0x3
|
|
line.long 0x00 " IRQ24_SRC,PS/2 interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,PS/2 interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
rgroup.long 0x64++0xB
|
|
line.long 0x00 " IRQ25_SRC,ACMP interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,ACMP interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x04 " IRQ26_SRC,PDMA interrupt source identity "
|
|
bitfld.long 0x04 0. " INT_SRC[0] ,PDMA interrupt source" "No interrupt,Interrupt"
|
|
line.long 0x08 " IRQ27_SRC,I2S interrupt source identity "
|
|
bitfld.long 0x08 0. " INT_SRC[0] ,I2S interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
rgroup.long 0x70++0x3
|
|
line.long 0x00 " IRQ28_SRC,PWRWU interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,PWRWU interrupt source" "No interrupt,Interrupt"
|
|
sif (!cpuis("NUC122*"))
|
|
rgroup.long 0x74++0x3
|
|
line.long 0x00 " IRQ29_SRC,ADC interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,ADC interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
; rgroup.long 0x78++0x3
|
|
; line.long 0x00 " IRQ30_SRC,IRQ30_SRC interrupt source identity "
|
|
sif (!cpuis("NUC122*"))
|
|
rgroup.long 0x7C++0x3
|
|
line.long 0x00 " IRQ31_SRC,RTC interrupt source identity "
|
|
bitfld.long 0x00 0. " INT_SRC[0] ,RTC interrupt source" "No interrupt,Interrupt"
|
|
endif
|
|
group.long 0x80++0x7
|
|
line.long 0x00 " NMI_SEL,NMI source interrupt select control register"
|
|
sif (cpuis("NUC130???CN")||cpuis("NUC140???CN"))
|
|
bitfld.long 0x00 8. " NMI_EN ,NMI interrupt enable " "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 0.--4. " NMI_SEL ,NMI interrupt source select" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
line.long 0x04 " MCU_IRQ,MCU IRQ Number identity register"
|
|
sif (!cpuis("NUC122L*")&&!cpuis("NUC122Z*")&&!cpuis("NUC1?0L*"))
|
|
bitfld.long 0x04 31. " MCU_IRQ31 ,RTC_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 29. " MCU_IRQ29 ,ADC_INT Interrupt" "No interrupt,Interrupt"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x04 28. " MCU_IRQ28 ,PWRWU_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x04 27. " MCU_IRQ27 ,I2S_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 26. " MCU_IRQ26 ,PDMA_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 25. " MCU_IRQ25 ,ACMP_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
bitfld.long 0x04 24. " MCU_IRQ24 ,PS2_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 23. " MCU_IRQ23 ,USB_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 20. " MCU_IRQ20 ,CAN0_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 19. " MCU_IRQ19 ,I2C1_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 18. " MCU_IRQ18 ,I2C0_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 17. " MCU_IRQ17 ,SPI3_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 16. " MCU_IRQ16 ,SPI2_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
bitfld.long 0x04 15. " MCU_IRQ15 ,SPI1_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 14. " MCU_IRQ14 ,SPI0_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 13. " MCU_IRQ13 ,UART1_INTInterrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 12. " MCU_IRQ12 ,UART02_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 11. " MCU_IRQ11 ,TMR3_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 10. " MCU_IRQ10 ,TMR2_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 9. " MCU_IRQ9 ,TMR1_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 8. " MCU_IRQ8 ,TMR0_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
bitfld.long 0x04 7. " MCU_IRQ7 ,PWMB_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x04 6. " MCU_IRQ6 ,PWMA_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 5. " MCU_IRQ5 ,GPCDE_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 4. " MCU_IRQ4 ,GPAB_INT Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (!cpuis("NUC122Z*")&&!cpuis("NUC122L*"))
|
|
bitfld.long 0x04 3. " MCU_IRQ3 ,EINT1 Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122S*")&&!cpuis("NUC122L*"))
|
|
bitfld.long 0x04 2. " MCU_IRQ2 ,EINT0 Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " MCU_IRQ1 ,WDT_INT Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 0. " MCU_IRQ0 ,BOD_OUT Interrupt" "No interrupt,Interrupt"
|
|
width 0xB
|
|
tree.end
|
|
tree.end
|
|
tree "System Control Registers"
|
|
base ad:0xE000E000
|
|
width 10.
|
|
rgroup.long 0xd00++0x03
|
|
line.long 0x00 "CPUID,CPU ID Base Register"
|
|
hexmask.long.byte 0x00 24.--31. 1. " IMPLEMENTER ,Implementer Code"
|
|
bitfld.long 0x00 16.--19. " PART ,Parts" "0,1,2,3,4,5,6,7,8,9,10,11,ARMv6-M,13,14,15"
|
|
hexmask.long.word 0x00 4.--15. 1. " PARTNO ,Number of Processor"
|
|
textline " "
|
|
bitfld.long 0x00 0.--3. " REVISION ,Implementation Defined Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
group.long 0xd04++0x3
|
|
line.long 0x00 "ICSR,Interrupt Control State Register"
|
|
bitfld.long 0x00 31. " NMIPENDSET ,NMI set-pending bit" "Not pending,Pending"
|
|
bitfld.long 0x00 28. " PENDSVSET ,PendSV set-pending bit" "Not pending,Pending"
|
|
bitfld.long 0x00 27. " PENDSVCLR ,PendSV clear-pending bit" "No effect,Clear"
|
|
textline " "
|
|
bitfld.long 0x00 26. " PENDSTSET ,SysTick exception set-pending bit" "Not pending,Pending"
|
|
bitfld.long 0x00 25. " PENDSTCLR ,SysTick exception clear-pending bit" "No effect,Clear"
|
|
bitfld.long 0x00 23. " ISRPREEMPT ,Pending exception serviced on exit" "Not serviced,Serviced"
|
|
textline " "
|
|
bitfld.long 0x00 22. " ISRPENDING ,Interrupt Pending Flag" "Not pending,Pending"
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*"))
|
|
hexmask.long.byte 0x00 12.--17. 1. " VECTPENDING ,Highest priority pending enabled exception number"
|
|
hexmask.long.byte 0x00 0.--5. 1. " VECTACTIVE ,Active exception number"
|
|
else
|
|
hexmask.long.word 0x00 12.--20. 1. " VECTPENDING ,Highest priority pending enabled exception number"
|
|
hexmask.long.word 0x00 0.--8. 1. " VECTACTIVE ,Active exception number"
|
|
endif
|
|
group.long 0xd0c++0x07
|
|
line.long 0x00 "AIRCR,Application Interrupt and Reset Control Register"
|
|
hexmask.long.word 0x00 16.--31. 1. " VECTKEY ,Register Key"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SYSRESETREQ ,System Reset Request" "No effect,Reset"
|
|
bitfld.long 0x00 1. " VECTCLRACTIVE ,Clear All Active Vectors Bit" "No effect,Clear"
|
|
line.long 0x04 "SCR,System Control Register"
|
|
bitfld.long 0x04 4. " SEVONPEND ,Wake up by Enabled/disabled events/interrupts" "Enabled only,Enabled/disabled"
|
|
textline " "
|
|
bitfld.long 0x04 2. " SLEEPDEEP ,Sleep Deep Bit" "Sleep,Deep sleep"
|
|
bitfld.long 0x04 1. " SLEEPONEXIT , Sleep on Exit when Returning from Handler Mode" "Not sleep,Sleep"
|
|
group.long 0xd1c++0x7
|
|
line.long 0x00 "SHPR2,System Handlers Priority Register 2"
|
|
bitfld.long 0x00 30.--31. " PRI_11 ,Priority of system handler 11 (SVCall)" "0(highest),1,2,3(lowest)"
|
|
line.long 0x04 "SHPR3,System Handlers Priority Register 3"
|
|
bitfld.long 0x04 30.--31. " PRI_15 ,Priority of system handler 15 (SysTick)" "0(highest),1,2,3(lowest)"
|
|
bitfld.long 0x04 22.--23. " PRI_14 ,Priority of system handler 14 (PendSV)" "0(highest),1,2,3(lowest)"
|
|
width 0xB
|
|
tree.end
|
|
tree.end
|
|
tree "Clock controller"
|
|
base ad:0x50000200
|
|
width 10.
|
|
group.long 0x00++0x17
|
|
line.long 0x00 "PWRCON,System Power Down Control Register"
|
|
bitfld.long 0x00 8. " PD_WAIT_CPU ,Power down wait enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 7. " PWR_DOWN_EN ,System Power Down Enable Bit" "Disabled,Enabled"
|
|
eventfld.long 0x00 6. " PD_WU_STS ,Power Down Mode Wake-up Interrupt Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 5. " PD_WU_INT_EN ,Power Down Mode Wake-up Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 4. " PD_WU_DLY ,Enable the Wake-up Delay Counter" "Disabled,Enabled"
|
|
bitfld.long 0x00 3. " OSC10K_EN ,Internal 10 kHz Low Speed Oscillator Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " OSC22M_EN ,Internal 22.1184 MHz High Speed Oscillator Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " XTL32K_EN ,External 32.768 kHz Low Speed Crystal Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 0. " XTL12M_EN ,External 4~24 MHz High Speed Crystal Enable" "Disabled,Enabled"
|
|
line.long 0x04 " AHBCLK,AHB Devices Clock Enable Control Register"
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x04 3. " EBI_EN ,EBI Controller Clock Enable Control" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 2. " ISP_EN ,Flash ISP Controller Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x04 1. " PDMA_EN ,PDMA Controller Clock Enable Control" "Disabled,Enabled"
|
|
line.long 0x08 " APBCLK,APB Devices Clock Enable Control Register"
|
|
sif (!cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 31. " PS2_EN ,PS/2 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x08 30. " ACMP_EN ,Analog Comparator Clock Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 29. " I2S_EN ,I2S Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x08 28. " ADC_EN ,Analog-Digital-Converter (ADC) Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
bitfld.long 0x08 27. " USBD_EN ,USB 2.0 FS Device Controller Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x08 24. " CAN0_EN ,CAN Bus Controller-0 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x08 23. " PWM67_EN ,PWM_67 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 22. " PWM45_EN ,PWM_45 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 21. " PWM23_EN ,PWM_23 Clock Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " PWM01_EN ,PWM_01 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130???AN")||cpuis("NUC130???CN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
bitfld.long 0x08 18. " UART2_EN ,UART2 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 17. " UART1_EN ,UART1 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 16. " UART0_EN ,UART0 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x08 15. " SPI3_EN ,SPI3 Clock Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " SPI2_EN ,SPI2 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
bitfld.long 0x08 13. " SPI1_EN ,SPI1 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 12. " SPI0_EN ,SPI0 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x08 9. " I2C1_EN ,I2C1 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 8. " I2C0_EN ,I2C0 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 6. " FDIV_EN ,Frequency Divider Output Clock Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 5. " TMR3_EN ,Timer3 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 4. " TMR2_EN ,Timer2 Clock Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 3. " TMR1_EN ,Timer1 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 2. " TMR0_EN ,Timer0 Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x08 1. " RTC_EN ,Real-Time-Clock APB interface Clock Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 0. " WDT_EN ,Watchdog Timer Clock Enable" "Disabled,Enabled"
|
|
line.long 0x0C " CLKSTATUS,Clock status monitor Register"
|
|
eventfld.long 0x0C 7. " CLK_SW_FAIL ,Clock Switching Fail Flag" "Success,Failure"
|
|
bitfld.long 0x0C 4. " OSC22M_STB ,Internal 22.1184 MHz High Speed Oscillator Clock Source Stable Flag" "Not stable/disabled,Stable"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " OSC10K_STB ,Internal 10 kHz Low Speed Oscillator Clock Source Stable Flag" "Not stable/disabled,Stable"
|
|
bitfld.long 0x0C 2. " PLL_STB ,Internal PLL Clock Source Stable Flag" "Not stable/disabled,Stable"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " XTL32K_STB ,External 32.768 kHz Low Speed Crystal Clock Source Stable Flag" "Not stable/disabled,Stable"
|
|
bitfld.long 0x0C 0. " XTL12M_STB ,External 4~24 MHz High Speed Crystal Clock Source Stable Flag" "Not stable/disabled,Stable"
|
|
line.long 0x10 " CLKSEL0,Clock Source Select Control Register 0"
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*")||cpuis("NUC122*"))
|
|
bitfld.long 0x10 3.--5. " STCLK_S ,Cortex_M0 SysTick clock source select" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,External 4~24 MHz high speed crystal clock/2,HCLK/2,Internal 22.1184 MHz high speed oscillator clock/2,Internal 22.1184 MHz high speed oscillator clock/2,Internal 22.1184 MHz high speed oscillator clock/2,Internal 22.1184 MHz high speed oscillator clock/2"
|
|
bitfld.long 0x10 0.--2. " HCLK_S ,HCLK clock source select" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,PLL clock,Internal 10 kHz low speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
else
|
|
bitfld.long 0x10 3.--5. " STCLK_S ,Cortex_M0 SysTick clock source select" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,External 4~24 MHz high speed crystal clock/2,HCLK/2,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock/2"
|
|
bitfld.long 0x10 0.--2. " HCLK_S ,HCLK clock source select" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,PLL clock,Internal 10 kHz low speed oscillator clock,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
endif
|
|
line.long 0x14 " CLKSEL1,Clock Source Select Control Register 1"
|
|
sif !(cpuis("NUC122Z*"))
|
|
bitfld.long 0x14 30.--31. " PWM23_S ,PWM2 and PWM3 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
bitfld.long 0x14 28.--29. " PWM01_S ,PWM0 and PWM1 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x14 26.--27. " CAN_S ,CAN clock source" "External 4~24 MHz high speed crystal clock,PLL clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*")||cpuis("NUC122*"))
|
|
bitfld.long 0x14 24.--25. " UART_S ,UART clock source" "External 4~24 MHz high speed crystal clock,PLL clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
bitfld.long 0x14 20.--22. " TMR3_S ,TIMER3 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,External trigger,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
bitfld.long 0x14 16.--18. " TMR2_S ,TIMER2 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,External trigger,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
bitfld.long 0x14 12.--14. " TMR1_S ,TIMER1 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,External trigger,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
bitfld.long 0x14 8.--10. " TMR0_S ,TIMER0 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,External trigger,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
else
|
|
bitfld.long 0x14 24.--25. " UART_S ,UART clock source" "External 4~24 MHz high speed crystal clock,PLL clock,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
bitfld.long 0x14 20.--22. " TMR3_S ,TIMER3 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Reserved,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
bitfld.long 0x14 16.--18. " TMR2_S ,TIMER2 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Reserved,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
bitfld.long 0x14 12.--14. " TMR1_S ,TIMER1 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Reserved,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
bitfld.long 0x14 8.--10. " TMR0_S ,TIMER0 clock source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Reserved,Reserved,Reserved,Reserved,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x14 2.--3. " ADC_S ,ADC clock source" "External 4~24 MHz high speed crystal clock,PLL clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x14 0.--1. " WDT_S ,Watchdog Timer clock source" "Reserved,External 32.768 kHz low speed crystal clock,HCLK/2048 clock,Internal 10 kHz low speed oscillator clock"
|
|
group.long 0x1C++0x3
|
|
line.long 0x00 " CLKSEL2,Clock Source Select Control Register 2"
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x00 6.--7. " PWM67_S ,PWM6 and PWM7 Clock Source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 4.--5. " PWM45_S ,PWM4 and PWM5 Clock Source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 2.--3. " FRQDIV_S ,Clock Divider Clock Source" "External 4~24 MHz high speed crystal clock,External 32.768 kHz low speed crystal clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
sif (!cpuis("NUC122*"))
|
|
bitfld.long 0x00 0.--1. " I2S_S ,I2S Clock Source" "External 4~24 MHz high speed crystal clock,PLL clock,HCLK,Internal 22.1184 MHz high speed oscillator clock"
|
|
endif
|
|
group.long 0x18++0x3
|
|
line.long 0x00 " CLKDIV,Clock Divider Number Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 24.--29. " CAN_N_H ,CAN clock divide number from CAN clock source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
hexmask.long.byte 0x00 16.--23. 1. " ADC_N ,ADC clock divide number from ADC clock source"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 12.--15. " CAN_N_L ,CAN clock divide number from CAN clock source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 8.--11. " UART_N ,UART clock divide number from UART clock source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 4.--7. " USB_N ,USB clock divide number from PLL clock" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 0.--3. " HCLK_N ,HCLK clock divide number from HCLK clock source" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
group.long 0x20++0x7
|
|
line.long 0x00 " PLLCON,PLL Control Register"
|
|
bitfld.long 0x00 19. " PLL_SRC ,PLL Source Clock" "External 4~24 MHz high speed crystal,Internal 22.1184 MHz high speed oscillator"
|
|
textline " "
|
|
bitfld.long 0x00 18. " OE ,PLL FOUT enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 17. " BP ,PLL Bypass Control" "Normal mode,XTALin"
|
|
textline " "
|
|
bitfld.long 0x00 16. " PD ,PLL power down mode enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 14.--15. " OUT_DV ,PLL Output Divider Control Pins" "0,1,2,3"
|
|
textline " "
|
|
bitfld.long 0x00 9.--13. " IN_DV ,PLL Input Divider Control Pins" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
hexmask.long.word 0x00 0.--8. 1. " FB_DV ,PLL Feedback Divider Control Pins"
|
|
line.long 0x04 " FRQDIV,Frequency Divider Control Register"
|
|
bitfld.long 0x04 4. " DIVIDER_EN ,Frequency Divider Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 0.--3. " FSEL ,Divider Output Frequency" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
width 0xB
|
|
tree.end
|
|
tree "USB (USB Device Controller)"
|
|
sif (cpuis("NUC12*")||cpuis("NUC140*"))
|
|
base ad:0x40060000
|
|
width 12.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "USB_INTEN,USB Interrupt Enable Register"
|
|
bitfld.long 0x00 15. " INNAK_EN ,IN token status update/NAK interrupt event enable" "Not updated/disabled,Updated/enabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " WAKEUP_EN ,Wake-up Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 3. " WAKEUP_IE ,USB Wake-up Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " FLDET_IE ,Floating Detected Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " USB_IE ,USB Event Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " BUS_IE ,Bus Event Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "USB_INTSTS,USB Interrupt Event Status Register"
|
|
eventfld.long 0x04 31. " SETUP ,Setup Event Status" "Not occurred,Occurred"
|
|
eventfld.long 0x04 21. " EPEVT5 ,Endpoint 5 USB Event Status" "Not occurred,Occurred"
|
|
eventfld.long 0x04 20. " EPEVT4 ,Endpoint 4 USB Event Status" "Not occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x04 19. " EPEVT3 ,Endpoint 3 USB Event Status" "Not occurred,Occurred"
|
|
eventfld.long 0x04 18. " EPEVT2 ,Endpoint 2 USB Event Status" "Not occurred,Occurred"
|
|
eventfld.long 0x04 17. " EPEVT1 ,Endpoint 1 USB Event Status" "Not occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x04 16. " EPEVT0 ,Endpoint 0 USB Event Status" "Not occurred,Occurred"
|
|
eventfld.long 0x04 3. " WAKEUP_STS ,Wake-up Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 2. " FLDET_STS ,Floating Detected Interrupt Status" "No interrupt,Interrupt"
|
|
textline " "
|
|
eventfld.long 0x04 1. " USB_STS ,USB event Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " BUS_STS ,BUS Interrupt Status" "No interrupt,Interrupt"
|
|
line.long 0x08 "USB_FADDR,USB Device Function Address Register"
|
|
hexmask.long.byte 0x08 0.--6. 1. " FADDR ,USB device Function Address"
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 "USB_EPSTS,USB Endpoint Status Register"
|
|
bitfld.long 0x00 23.--25. " EPSTS5 ,Endpoint 5 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
bitfld.long 0x00 20.--22. " EPSTS4 ,Endpoint 4 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
textline " "
|
|
bitfld.long 0x00 17.--19. " EPSTS3 ,Endpoint 3 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
bitfld.long 0x00 14.--16. " EPSTS2 ,Endpoint 2 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
textline " "
|
|
bitfld.long 0x00 11.--13. " EPSTS1 ,Endpoint 1 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
bitfld.long 0x00 8.--10. " EPSTS0 ,Endpoint 0 Bus Status" "In ACK,In NAK,Out Packet Data0 ACK,Setup ACK,Reserved,Reserved,Out Packet Data1 ACK,Isochronous transfer end"
|
|
textline " "
|
|
bitfld.long 0x00 7. " OVERRUN ,Overrun" "Not occurred,Occurred"
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "USB_ATTR,USB Bus Status and Attribution Register"
|
|
bitfld.long 0x00 10. " BYTEM ,CPU access USB SRAM Size Mode" "Byte,Word"
|
|
bitfld.long 0x00 9. " PWRDN ,Power down PHY Transceiver" "Powered down,Powered on"
|
|
bitfld.long 0x00 8. " DPPU_EN ,Pull-up resistor on USB_DP enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 7. " USB_EN ,USB Controller Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " RWAKEUP ,Remote wake-up enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " PHY_EN ,PHY Transceiver Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 3. " TIMEOUT ,Time Out Status" "Not timed out,Timed out"
|
|
bitfld.long 0x00 2. " RESUME ,Resume Status" "Not resumed,Resumed"
|
|
textline " "
|
|
bitfld.long 0x00 1. " SUSPEND ,Suspend Status" "Not suspended,Suspended"
|
|
bitfld.long 0x00 0. " USBRST ,USB Reset Status" "No reset,Reset"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "USB_FLDET,USB Floating Detected Register"
|
|
bitfld.long 0x00 0. " FLDET ,Device Floating Detect" "Not detected,Detected"
|
|
group.long 0x18++0x3
|
|
line.long 0x00 "USB_BUFSEG,Setup Token Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG ,Setup token offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
group.long 0x90++0x3
|
|
line.long 0x00 "USB_DRVSE0,USB Drive SE0 Control Register "
|
|
bitfld.long 0x00 0. " DRVSE0 ,Drive Single Ended Zero in USB Bus enable" "Disabled,Enabled"
|
|
width 13.
|
|
tree "Endpoint 0 Registers"
|
|
group.long 0x20++0xF
|
|
line.long 0x00 "USB_BUFSEG0,Endpoint 0 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG0 ,Endpoint 0 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD0,Endpoint 0 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG0,Endpoint 0 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP0,Endpoint 0 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
tree "Endpoint 1 Registers"
|
|
group.long 0x30++0xF
|
|
line.long 0x00 "USB_BUFSEG1,Endpoint 1 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG1 ,Endpoint 1 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD1,Endpoint 1 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG1,Endpoint 1 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP1,Endpoint 1 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
tree "Endpoint 2 Registers"
|
|
group.long 0x40++0xF
|
|
line.long 0x00 "USB_BUFSEG2,Endpoint 2 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG2 ,Endpoint 2 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD2,Endpoint 2 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG2,Endpoint 2 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP2,Endpoint 2 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
tree "Endpoint 3 Registers"
|
|
group.long 0x50++0xF
|
|
line.long 0x00 "USB_BUFSEG3,Endpoint 3 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG3 ,Endpoint 3 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD3,Endpoint 3 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG3,Endpoint 3 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP3,Endpoint 3 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
tree "Endpoint 4 Registers"
|
|
group.long 0x60++0xF
|
|
line.long 0x00 "USB_BUFSEG4,Endpoint 4 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG4 ,Endpoint 4 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD4,Endpoint 4 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG4,Endpoint 4 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP4,Endpoint 4 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
tree "Endpoint 5 Registers"
|
|
group.long 0x70++0xF
|
|
line.long 0x00 "USB_BUFSEG5,Endpoint 5 Buffer Segmentation Register"
|
|
bitfld.long 0x00 3.--8. " BUFSEG5 ,Endpoint 5 offset address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
line.long 0x04 "USB_MXPLD5,Endpoint 5 Maximal Payload Register"
|
|
hexmask.long.word 0x04 0.--8. 1. " MXPLD ,Maximal Payload"
|
|
line.long 0x08 "USB_CFG5,Endpoint 5 Configuration Register"
|
|
bitfld.long 0x08 9. " CSTALL ,Clear STALL Response enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 7. " DSQ_SYNC ,Data Sequence Synchronization" "DATA0 PID,DATA1 PID"
|
|
textline " "
|
|
bitfld.long 0x08 5.--6. " STATE ,Endpoint STATE" "Disabled,Out,In,Undefined"
|
|
bitfld.long 0x08 4. " ISOCH ,Isochronous endpoint enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 0.--3. " EP_NUM ,Endpoint Number" "0,1,2,3,4,5,?..."
|
|
line.long 0x0C "USB_CFGP5,Endpoint 5 Set Stall and Clear In/Out Ready Control Register"
|
|
bitfld.long 0x0C 1. " SSTALL ,Device automatic STALL response enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 0. " CLRRDY ,Clear Ready" "No effect,Clear"
|
|
tree.end
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.open "GPIO (General Purpose I/O)"
|
|
tree "Common"
|
|
base ad:0x50004000
|
|
width 10.
|
|
group.long 0x180++0x3
|
|
line.long 0x00 "DBNCECON,De-bounce Cycle Control"
|
|
bitfld.long 0x00 5. " ICLK_ON ,Interrupt clock On mode" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " DBCLKSRC ,De-bounce counter clock source select" "HCLK,Internal 10 kHz low speed oscillator"
|
|
textline " "
|
|
bitfld.long 0x00 0.--3. " DBCLKSEL ,De-bounce sampling cycle select" "1 clock,2 clocks,4 clocks,8 clocks,16 clocks,32 clocks,64 clocks,128 clocks,256 clocks,2*256 clocks,4*256 clocks,8*256 clocks,16*256 clocks,32*256 clocks,64*256 clocks,128*256 clocks"
|
|
width 0xb
|
|
tree.end
|
|
tree "Port A"
|
|
base ad:0x50004000
|
|
sif (cpuis("NUC100L*")||cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120L*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130L*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140L*")||cpuis("NUC140R*")||cpuis("NUC140V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOA_PMD,GPIO Port A Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOA I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOA I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOA I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOA I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOA I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOA I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOA I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOA I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOA I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOA I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOA I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOA I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOA I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOA I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOA I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOA I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOA_OFFD,GPIO Port A Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOA I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOA I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOA I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOA I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOA I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOA I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOA I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOA I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOA I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOA I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOA I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOA I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOA I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOA I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOA I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOA I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOA_DOUT,GPIO Port A Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOA I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOA I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOA I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOA I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOA I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOA I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOA I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOA I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOA I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOA I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOA I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOA I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOA I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOA I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOA I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOA I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOA_DMASK,GPIO Port A Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOA I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOA I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOA I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOA I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOA I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOA I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOA I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOA I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOA I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOA I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOA I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOA I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOA I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOA I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOA I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOA I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOA_PIN,GPIO Port A Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOA I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOA I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOA I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOA I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOA I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOA I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOA I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOA I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOA I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOA I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOA I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOA I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOA I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOA I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOA I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOA I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOA_DBEN,GPIO Port A De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOA I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOA I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOA I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOA I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOA I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOA I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOA I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOA I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOA I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOA I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOA I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOA I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOA I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOA I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOA I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOA I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOA_IMD,GPIO Port A Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOA I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOA I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOA I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOA I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOA I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOA I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOA I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOA I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOA I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOA I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOA I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOA I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOA I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOA I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOA I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOA I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOA_IEN,GPIO Port A Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOA I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOA I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOA I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOA I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOA I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOA I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOA I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOA I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOA I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOA I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOA I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOA I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOA I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOA I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOA I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOA I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOA I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOA I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOA I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOA I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOA I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOA I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOA I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOA I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOA I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOA I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOA I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOA I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOA_ISRC,GPIO Port A Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOA I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOA I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOA I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOA I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOA I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOA I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOA I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOA I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOA I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOA I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOA I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOA I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOA I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOA I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOA I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOA I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOA0_DOUT,GPIO PA.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA0_DOUT ,GPIOA I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA1_DOUT,GPIO PA.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA1_DOUT ,GPIOA I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOA2_DOUT,GPIO PA.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA2_DOUT ,GPIOA I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA3_DOUT,GPIO PA.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA3_DOUT ,GPIOA I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOA4_DOUT,GPIO PA.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA4_DOUT ,GPIOA I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA5_DOUT,GPIO PA.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA5_DOUT ,GPIOA I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOA6_DOUT,GPIO PA.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA6_DOUT ,GPIOA I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA7_DOUT,GPIO PA.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA7_DOUT ,GPIOA I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOA8_DOUT,GPIO PA.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA8_DOUT ,GPIOA I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA9_DOUT,GPIO PA.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA9_DOUT ,GPIOA I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOA10_DOUT,GPIO PA.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA10_DOUT ,GPIOA I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA11_DOUT,GPIO PA.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA11_DOUT ,GPIOA I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOA12_DOUT,GPIO PA.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA12_DOUT ,GPIOA I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA13_DOUT,GPIO PA.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA13_DOUT ,GPIOA I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOA14_DOUT,GPIO PA.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA14_DOUT ,GPIOA I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA15_DOUT,GPIO PA.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA15_DOUT ,GPIOA I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122Z*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOA_PMD,GPIO Port A Pin I/O Mode Control"
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOA I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOA I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOA_OFFD,GPIO Port A Pin OFF Digital Enable"
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOA I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOA I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOA_DOUT,GPIO Port A Data Output Value"
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOA I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOA I/O Pin[10] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOA_DMASK,GPIO Port A Data Output Write Mask"
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOA I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOA I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOA_PIN,GPIO Port A Pin Value"
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOA I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOA I/O Pin[10] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOA_DBEN,GPIO Port A De-bounce Enable"
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOA I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOA I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOA_IMD,GPIO Port A Interrupt Mode Control"
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOA I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOA I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOA_IEN,GPIO Port A Interrupt Enable"
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOA_ISRC,GPIO Port A Interrupt Source Flag"
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOA I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOA I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOA10_DOUT,GPIO PA.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA10_DOUT ,GPIOA I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA11_DOUT,GPIO PA.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA11_DOUT ,GPIOA I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOA_PMD,GPIO Port A Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOA I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOA I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOA I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOA I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOA I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOA I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOA_OFFD,GPIO Port A Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOA I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOA I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOA I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOA I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOA I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOA I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOA_DOUT,GPIO Port A Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOA I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOA I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOA I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOA I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOA I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOA I/O Pin[10] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOA_DMASK,GPIO Port A Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOA I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOA I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOA I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOA I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOA I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOA I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOA_PIN,GPIO Port A Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOA I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOA I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOA I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOA I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOA I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOA I/O Pin[10] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOA_DBEN,GPIO Port A De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOA I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOA I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOA I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOA I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOA I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOA I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOA_IMD,GPIO Port A Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOA I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOA I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOA I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOA I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOA I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOA I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOA_IEN,GPIO Port A Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOA I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOA I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOA I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOA I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOA I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOA I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOA I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOA I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOA I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOA I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOA_ISRC,GPIO Port A Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOA I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOA I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOA I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOA I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOA I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOA I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOA10_DOUT,GPIO PA.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA10_DOUT ,GPIOA I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA11_DOUT,GPIO PA.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA11_DOUT ,GPIOA I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOA12_DOUT,GPIO PA.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA12_DOUT ,GPIOA I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA13_DOUT,GPIO PA.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA13_DOUT ,GPIOA I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOA14_DOUT,GPIO PA.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOA14_DOUT ,GPIOA I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOA15_DOUT,GPIO PA.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOA15_DOUT ,GPIOA I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "Port B"
|
|
base ad:0x50004040
|
|
sif (cpuis("NUC120L*")||cpuis("NUC130L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOB I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOB I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOB I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOB I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOB I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOB I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOB I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOB I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOB I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOB I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOB I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOB I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOB I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOB I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOB I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOB I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOB I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOB I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOB I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOB I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOB I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOB I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOB I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOB I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOB2_DOUT,GPIO PB.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB2_DOUT ,GPIOB I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB3_DOUT,GPIO PB.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB3_DOUT ,GPIOB I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x3
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x3
|
|
line.long 0x00 " GPIOB12_DOUT,GPIO PB.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB12_DOUT ,GPIOB I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
group.long 0x23C++0x3
|
|
line.long 0x00 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC140L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOB I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOB I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOB I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOB I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOB I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOB I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOB I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOB I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x3
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x3
|
|
line.long 0x00 " GPIOB12_DOUT,GPIO PB.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB12_DOUT ,GPIOB I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
group.long 0x23C++0x3
|
|
line.long 0x00 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOB I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOB I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOB I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOB I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOB I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOB I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOB I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOB I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOB I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOB I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOB I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOB I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOB I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOB I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOB I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOB I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOB I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOB I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOB I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOB I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOB I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOB I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOB I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOB I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOB I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOB I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOB I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOB I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOB I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOB I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOB I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOB I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOB I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOB I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOB I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOB I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOB I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOB I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOB I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOB I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOB I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOB I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOB I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOB I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOB I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOB I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOB I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOB I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOB I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOB I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOB2_DOUT,GPIO PB.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB2_DOUT ,GPIOB I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB3_DOUT,GPIO PB.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB3_DOUT ,GPIOB I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB9_DOUT,GPIO PB.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB9_DOUT ,GPIOB I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOB10_DOUT,GPIO PB.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB10_DOUT ,GPIOB I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB11_DOUT,GPIO PB.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB11_DOUT ,GPIOB I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x3
|
|
line.long 0x00 " GPIOB12_DOUT,GPIO PB.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB12_DOUT ,GPIOB I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
group.long 0x23C++0x3
|
|
line.long 0x00 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100R*")||cpuis("NUC100V*")||cpuis("NUC120R*")||cpuis("NUC120V*")||cpuis("NUC130R*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOB I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOB I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOB I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOB I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOB I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOB I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOB I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOB I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOB I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOB I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOB I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOB I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOB I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOB I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOB I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOB I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOB I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOB I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOB I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOB I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOB I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOB I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOB I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOB I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOB I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOB I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOB I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOB I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOB I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOB I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOB I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOB I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOB I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOB I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOB I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOB I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOB I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOB I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOB I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOB I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOB I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOB I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOB I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOB I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOB I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOB I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOB I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOB I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOB I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOB I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOB I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOB I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOB I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOB I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOB I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOB I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOB I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOB I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOB I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOB I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOB I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOB I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOB I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOB I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOB I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOB I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOB I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOB I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOB I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOB I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOB I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOB I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOB I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOB I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOB I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOB I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOB I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOB I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOB I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOB I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOB I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOB I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOB I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOB I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOB2_DOUT,GPIO PB.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB2_DOUT ,GPIOB I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB3_DOUT,GPIO PB.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB3_DOUT ,GPIOB I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOB6_DOUT,GPIO PB.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB6_DOUT ,GPIOB I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB7_DOUT,GPIO PB.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB7_DOUT ,GPIOB I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB9_DOUT,GPIO PB.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB9_DOUT ,GPIOB I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOB10_DOUT,GPIO PB.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB10_DOUT ,GPIOB I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB11_DOUT,GPIO PB.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB11_DOUT ,GPIOB I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOB12_DOUT,GPIO PB.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB12_DOUT ,GPIOB I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB13_DOUT,GPIO PB.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB13_DOUT ,GPIOB I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOB14_DOUT,GPIO PB.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB14_DOUT ,GPIOB I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC140R*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOB I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOB I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOB I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOB I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOB I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOB I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOB I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOB I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOB I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOB I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOB I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOB I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOB I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOB I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOB I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOB I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOB I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOB I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOB I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOB I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOB I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOB I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOB I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOB I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOB I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOB I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOB I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOB I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOB I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOB I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOB I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOB I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOB I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOB I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOB I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOB I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOB I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOB I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOB I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOB I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOB I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOB I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOB I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOB I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOB I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOB I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOB I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOB I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOB I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOB I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOB I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOB I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOB I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOB I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOB I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOB I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOB I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOB I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOB I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOB2_DOUT,GPIO PB.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB2_DOUT ,GPIOB I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB3_DOUT,GPIO PB.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB3_DOUT ,GPIOB I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOB6_DOUT,GPIO PB.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB6_DOUT ,GPIOB I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB7_DOUT,GPIO PB.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB7_DOUT ,GPIOB I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x3
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOB12_DOUT,GPIO PB.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB12_DOUT ,GPIOB I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB13_DOUT,GPIO PB.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB13_DOUT ,GPIOB I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOB14_DOUT,GPIO PB.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB14_DOUT ,GPIOB I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122Z*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOB I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOB I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOB I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOB I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOB I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOB I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOB I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOB I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x3
|
|
line.long 0x00 " GPIOB14_DOUT,GPIO PB.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB14_DOUT ,GPIOB I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOB I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOB I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOB I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOB I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOB I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOB I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOB I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOB I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOB I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOB I/O Pin[9] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOB I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOB I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOB I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOB I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOB I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOB I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOB I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOB I/O Pin[9] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOB I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOB I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOB I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOB I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOB I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOB I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOB I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOB I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOB I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOB I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOB I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOB I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOB I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOB I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOB6_DOUT,GPIO PB.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB6_DOUT ,GPIOB I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB7_DOUT,GPIO PB.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB7_DOUT ,GPIOB I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x224++0x3
|
|
line.long 0x00 " GPIOB9_DOUT,GPIO PB.9 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB9_DOUT ,GPIOB I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x3
|
|
line.long 0x00 " GPIOB10_DOUT,GPIO PB.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB10_DOUT ,GPIOB I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122S*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOB_PMD,GPIO Port B Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOB I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOB I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOB I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOB I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOB I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOB I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOB I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOB I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOB I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOB I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOB I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOB I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOB I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOB_OFFD,GPIO Port B Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOB I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOB I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOB I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOB I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOB I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOB I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOB I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOB I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOB I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOB I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOB I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOB I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOB I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOB_DOUT,GPIO Port B Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOB I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOB I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOB I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOB I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOB I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOB I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOB I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOB I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOB I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOB I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOB I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOB I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOB I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOB_DMASK,GPIO Port B Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOB I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOB I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOB I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOB I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOB I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOB I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOB I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOB I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOB I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOB I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOB I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOB I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOB I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOB_PIN,GPIO Port B Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOB I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOB I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOB I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOB I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOB I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOB I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOB I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOB I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOB I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOB I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOB I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOB I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOB I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOB_DBEN,GPIO Port B De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOB I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOB I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOB I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOB I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOB I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOB I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOB I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOB I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOB I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOB I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOB I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOB I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOB I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOB_IMD,GPIO Port B Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOB I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOB I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOB I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOB I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOB I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOB I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOB I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOB I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOB I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOB I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOB I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOB I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOB I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOB_IEN,GPIO Port B Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOB I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOB I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOB I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOB I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOB I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOB I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOB I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOB I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOB I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOB I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOB I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOB I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOB I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOB_ISRC,GPIO Port B Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOB I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOB I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOB I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOB I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOB I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOB I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOB I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOB I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOB I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOB I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOB I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOB I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOB I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOB0_DOUT,GPIO PB.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB0_DOUT ,GPIOB I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB1_DOUT,GPIO PB.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB1_DOUT ,GPIOB I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOB2_DOUT,GPIO PB.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB2_DOUT ,GPIOB I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB3_DOUT,GPIO PB.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB3_DOUT ,GPIOB I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOB4_DOUT,GPIO PB.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB4_DOUT ,GPIOB I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB5_DOUT,GPIO PB.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB5_DOUT ,GPIOB I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOB6_DOUT,GPIO PB.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB6_DOUT ,GPIOB I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB7_DOUT,GPIO PB.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB7_DOUT ,GPIOB I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOB8_DOUT,GPIO PB.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB8_DOUT ,GPIOB I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB9_DOUT,GPIO PB.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB9_DOUT ,GPIOB I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x3
|
|
line.long 0x00 " GPIOB10_DOUT,GPIO PB.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB10_DOUT ,GPIOB I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOB14_DOUT,GPIO PB.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOB14_DOUT ,GPIOB I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOB15_DOUT,GPIO PB.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOB15_DOUT ,GPIOB I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "Port C"
|
|
base ad:0x50004080
|
|
sif (cpuis("NUC100L*")||cpuis("NUC120L*")||cpuis("NUC130L*")||cpuis("NUC140L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOC_PMD,GPIO Port C Pin I/O Mode Control"
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOC I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOC I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOC I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOC I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOC I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOC I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOC_OFFD,GPIO Port C Pin OFF Digital Enable"
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOC I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOC I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOC I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOC I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOC I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOC I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOC_DOUT,GPIO Port C Data Output Value"
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOC I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOC I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOC I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOC I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOC I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOC I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOC_DMASK,GPIO Port C Data Output Write Mask"
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOC I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOC I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOC I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOC I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOC I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOC I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOC_PIN,GPIO Port C Pin Value"
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOC I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOC I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOC I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOC I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOC I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOC I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOC_DBEN,GPIO Port C De-bounce Enable"
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOC I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOC I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOC I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOC I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOC I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOC I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOC_IMD,GPIO Port C Interrupt Mode Control"
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOC I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOC I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOC I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOC I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOC I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOC I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOC_IEN,GPIO Port C Interrupt Enable"
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOC_ISRC,GPIO Port C Interrupt Source Flag"
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOC I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOC I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOC I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOC I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOC I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOC I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOC0_DOUT,GPIO PC.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC0_DOUT ,GPIOC I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC1_DOUT,GPIO PC.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC1_DOUT ,GPIOC I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOC2_DOUT,GPIO PC.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC2_DOUT ,GPIOC I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC3_DOUT,GPIO PC.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC3_DOUT ,GPIOC I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOC6_DOUT,GPIO PC.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC6_DOUT ,GPIOC I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC7_DOUT,GPIO PC.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC7_DOUT ,GPIOC I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100R*")||cpuis("NUC120R*")||cpuis("NUC130R*")||cpuis("NUC140R*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOC_PMD,GPIO Port C Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOC I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOC I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOC I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOC I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOC I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOC I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOC I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOC I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOC I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOC I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOC I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOC I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOC_OFFD,GPIO Port C Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOC I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOC I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOC I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOC I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOC I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOC I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOC I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOC I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOC I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOC I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOC I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOC I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOC_DOUT,GPIO Port C Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOC I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOC I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOC I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOC I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOC I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOC I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOC I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOC I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOC I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOC I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOC I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOC I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOC_DMASK,GPIO Port C Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOC I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOC I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOC I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOC I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOC I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOC I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOC I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOC I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOC I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOC I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOC I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOC I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOC_PIN,GPIO Port C Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOC I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOC I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOC I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOC I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOC I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOC I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOC I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOC I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOC I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOC I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOC I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOC I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOC_DBEN,GPIO Port C De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOC I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOC I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOC I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOC I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOC I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOC I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOC I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOC I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOC I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOC I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOC I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOC I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOC_IMD,GPIO Port C Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOC I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOC I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOC I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOC I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOC I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOC I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOC I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOC I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOC I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOC I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOC I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOC I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOC_IEN,GPIO Port C Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOC I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOC I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOC I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOC I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOC_ISRC,GPIO Port C Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOC I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOC I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOC I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOC I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOC I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOC I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOC I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOC I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOC I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOC I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOC I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOC I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOC0_DOUT,GPIO PC.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC0_DOUT ,GPIOC I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC1_DOUT,GPIO PC.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC1_DOUT ,GPIOC I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOC2_DOUT,GPIO PC.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC2_DOUT ,GPIOC I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC3_DOUT,GPIO PC.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC3_DOUT ,GPIOC I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOC6_DOUT,GPIO PC.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC6_DOUT ,GPIOC I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC7_DOUT,GPIO PC.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC7_DOUT ,GPIOC I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOC8_DOUT,GPIO PC.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC8_DOUT ,GPIOC I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC9_DOUT,GPIO PC.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC9_DOUT ,GPIOC I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOC10_DOUT,GPIO PC.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC10_DOUT ,GPIOC I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC11_DOUT,GPIO PC.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC11_DOUT ,GPIOC I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOC14_DOUT,GPIO PC.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC14_DOUT ,GPIOC I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC15_DOUT,GPIO PC.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC15_DOUT ,GPIOC I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOC_PMD,GPIO Port C Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOC I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOC I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOC I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOC I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOC I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOC I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOC I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOC I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOC I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOC I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOC I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOC I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOC I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOC I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOC I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOC I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOC_OFFD,GPIO Port C Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOC I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOC I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOC I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOC I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOC I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOC I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOC I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOC I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOC I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOC I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOC I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOC I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOC I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOC I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOC I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOC I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOC_DOUT,GPIO Port C Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOC I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOC I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOC I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOC I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOC I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOC I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOC I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOC I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOC I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOC I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOC I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOC I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOC I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOC I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOC I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOC I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOC_DMASK,GPIO Port C Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOC I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOC I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOC I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOC I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOC I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOC I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOC I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOC I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOC I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOC I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOC I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOC I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOC I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOC I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOC I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOC I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOC_PIN,GPIO Port C Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOC I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOC I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOC I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOC I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOC I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOC I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOC I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOC I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOC I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOC I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOC I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOC I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOC I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOC I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOC I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOC I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOC_DBEN,GPIO Port C De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOC I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOC I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOC I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOC I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOC I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOC I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOC I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOC I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOC I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOC I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOC I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOC I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOC I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOC I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOC I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOC I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOC_IMD,GPIO Port C Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOC I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOC I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOC I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOC I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOC I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOC I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOC I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOC I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOC I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOC I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOC I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOC I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOC I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOC I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOC I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOC I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOC_IEN,GPIO Port C Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOC I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOC I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOC I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOC I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOC I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOC I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOC I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOC I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOC I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOC I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOC_ISRC,GPIO Port C Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOC I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOC I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOC I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOC I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOC I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOC I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOC I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOC I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOC I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOC I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOC I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOC I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOC I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOC I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOC I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOC I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOC0_DOUT,GPIO PC.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC0_DOUT ,GPIOC I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC1_DOUT,GPIO PC.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC1_DOUT ,GPIOC I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOC2_DOUT,GPIO PC.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC2_DOUT ,GPIOC I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC3_DOUT,GPIO PC.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC3_DOUT ,GPIOC I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOC4_DOUT,GPIO PC.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC4_DOUT ,GPIOC I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC5_DOUT,GPIO PC.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC5_DOUT ,GPIOC I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOC6_DOUT,GPIO PC.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC6_DOUT ,GPIOC I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC7_DOUT,GPIO PC.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC7_DOUT ,GPIOC I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOC8_DOUT,GPIO PC.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC8_DOUT ,GPIOC I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC9_DOUT,GPIO PC.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC9_DOUT ,GPIOC I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOC10_DOUT,GPIO PC.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC10_DOUT ,GPIOC I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC11_DOUT,GPIO PC.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC11_DOUT ,GPIOC I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOC12_DOUT,GPIO PC.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC12_DOUT ,GPIOC I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC13_DOUT,GPIO PC.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC13_DOUT ,GPIOC I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOC14_DOUT,GPIO PC.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC14_DOUT ,GPIOC I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC15_DOUT,GPIO PC.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC15_DOUT ,GPIOC I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122Z*")||cpuis("NUC122L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOC_PMD,GPIO Port C Pin I/O Mode Control"
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOC I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOC I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOC I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOC I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOC I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOC I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOC I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOC I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOC I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOC I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOC_OFFD,GPIO Port C Pin OFF Digital Enable"
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOC I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOC I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOC I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOC I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOC I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOC I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOC I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOC I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOC I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOC I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOC_DOUT,GPIO Port C Data Output Value"
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOC I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOC I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOC I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOC I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOC I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOC I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOC I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOC I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOC I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOC I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOC_DMASK,GPIO Port C Data Output Write Mask"
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOC I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOC I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOC I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOC I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOC I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOC I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOC I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOC I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOC I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOC I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOC_PIN,GPIO Port C Pin Value"
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOC I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOC I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOC I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOC I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOC I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOC I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOC I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOC I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOC I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOC I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOC_DBEN,GPIO Port C De-bounce Enable"
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOC I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOC I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOC I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOC I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOC I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOC I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOC I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOC I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOC I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOC I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOC_IMD,GPIO Port C Interrupt Mode Control"
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOC I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOC I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOC I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOC I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOC I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOC I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOC I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOC I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOC I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOC I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOC_IEN,GPIO Port C Interrupt Enable"
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOC_ISRC,GPIO Port C Interrupt Source Flag"
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOC I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOC I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOC I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOC I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOC I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOC I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOC I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOC I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOC I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOC I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOC0_DOUT,GPIO PC.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC0_DOUT ,GPIOC I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC1_DOUT,GPIO PC.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC1_DOUT ,GPIOC I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOC2_DOUT,GPIO PC.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC2_DOUT ,GPIOC I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC3_DOUT,GPIO PC.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC3_DOUT ,GPIOC I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOC8_DOUT,GPIO PC.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC8_DOUT ,GPIOC I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC9_DOUT,GPIO PC.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC9_DOUT ,GPIOC I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOC10_DOUT,GPIO PC.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC10_DOUT ,GPIOC I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC11_DOUT,GPIO PC.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC11_DOUT ,GPIOC I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOC12_DOUT,GPIO PC.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC12_DOUT ,GPIOC I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC13_DOUT,GPIO PC.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC13_DOUT ,GPIOC I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122S*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOC_PMD,GPIO Port C Pin I/O Mode Control"
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOC I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOC I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOC I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOC I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOC I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOC I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOC I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOC I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOC I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOC I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOC I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOC I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOC_OFFD,GPIO Port C Pin OFF Digital Enable"
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOC I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOC I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOC I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOC I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOC I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOC I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOC I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOC I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOC I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOC I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOC I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOC I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOC_DOUT,GPIO Port C Data Output Value"
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOC I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOC I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOC I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOC I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOC I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOC I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOC I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOC I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOC I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOC I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOC I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOC I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOC_DMASK,GPIO Port C Data Output Write Mask"
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOC I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOC I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOC I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOC I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOC I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOC I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOC I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOC I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOC I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOC I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOC I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOC I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOC_PIN,GPIO Port C Pin Value"
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOC I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOC I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOC I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOC I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOC I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOC I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOC I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOC I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOC I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOC I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOC I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOC I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOC_DBEN,GPIO Port C De-bounce Enable"
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOC I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOC I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOC I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOC I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOC I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOC I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOC I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOC I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOC I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOC I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOC I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOC I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOC_IMD,GPIO Port C Interrupt Mode Control"
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOC I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOC I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOC I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOC I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOC I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOC I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOC I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOC I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOC I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOC I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOC I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOC I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOC_IEN,GPIO Port C Interrupt Enable"
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOC I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOC I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOC I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOC I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOC I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOC I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOC I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOC I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOC I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOC I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOC I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOC I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOC I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOC I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOC_ISRC,GPIO Port C Interrupt Source Flag"
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOC I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOC I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOC I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOC I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOC I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOC I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOC I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOC I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOC I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOC I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOC I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOC I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOC0_DOUT,GPIO PC.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC0_DOUT ,GPIOC I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC1_DOUT,GPIO PC.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC1_DOUT ,GPIOC I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOC2_DOUT,GPIO PC.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC2_DOUT ,GPIOC I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC3_DOUT,GPIO PC.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC3_DOUT ,GPIOC I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOC4_DOUT,GPIO PC.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC4_DOUT ,GPIOC I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC5_DOUT,GPIO PC.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC5_DOUT ,GPIOC I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOC8_DOUT,GPIO PC.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC8_DOUT ,GPIOC I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC9_DOUT,GPIO PC.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC9_DOUT ,GPIOC I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOC10_DOUT,GPIO PC.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC10_DOUT ,GPIOC I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC11_DOUT,GPIO PC.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC11_DOUT ,GPIOC I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOC12_DOUT,GPIO PC.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOC12_DOUT ,GPIOC I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOC13_DOUT,GPIO PC.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOC13_DOUT ,GPIOC I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "Port D"
|
|
base ad:0x500040C0
|
|
sif (cpuis("NUC100R*")||cpuis("NUC130L*")||cpuis("NUC130R*")||cpuis("NUC140R*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOD I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOD I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOD I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOD I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOD I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOD I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOD I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOD I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOD I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOD I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOD I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOD I/O Pin[6] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOD I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOD I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOD I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOD I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOD I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOD I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOD I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOD I/O Pin[6] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOD I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOD I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOD I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOD I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOD I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOD I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOD I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOD I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOD I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOD I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOD I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOD I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOD I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOD I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOD I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOD I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOD6_DOUT,GPIO PD.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD6_DOUT ,GPIOD I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD7_DOUT,GPIO PD.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD7_DOUT ,GPIOD I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOD14_DOUT,GPIO PD.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD14_DOUT ,GPIOD I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD15_DOUT,GPIO PD.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD15_DOUT ,GPIOD I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOD I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOD I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOD I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOD I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOD I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOD I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOD I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOD I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOD I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOD I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOD I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOD I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOD I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOD I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOD I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOD I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOD I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOD I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOD I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOD I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOD I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOD I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOD I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOD I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOD I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOD I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOD I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOD I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOD I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOD I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOD I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOD I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOD I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOD I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOD I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOD I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOD I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOD I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOD I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOD I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOD I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOD I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOD I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOD I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOD I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOD I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOD I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOD I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOD I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOD I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOD I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOD I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOD I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOD I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOD I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOD I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOD I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOD I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOD I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOD I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOD I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOD I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOD I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOD I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOD I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOD I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOD I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOD I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOD I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOD I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOD I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOD I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOD I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOD I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOD I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOD I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOD I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOD I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOD I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOD I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOD I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOD I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOD I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOD I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOD I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOD I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOD I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOD I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOD I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOD I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOD I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOD I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOD I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOD I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOD I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOD I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOD I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOD I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOD I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOD I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOD I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOD I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOD I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOD I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOD I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOD I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOD I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOD I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOD I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOD I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOD I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOD I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOD I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOD I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOD I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOD I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOD I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOD I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOD I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOD I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOD I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOD I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOD I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOD I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOD I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOD I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOD I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOD I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOD I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOD I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOD I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOD I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOD I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOD I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOD I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOD I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOD I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOD I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOD I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOD I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOD I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOD I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOD I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOD I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOD0_DOUT,GPIO PD.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD0_DOUT ,GPIOD I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD1_DOUT,GPIO PD.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD1_DOUT ,GPIOD I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOD2_DOUT,GPIO PD.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD2_DOUT ,GPIOD I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD3_DOUT,GPIO PD.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD3_DOUT ,GPIOD I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOD4_DOUT,GPIO PD.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD4_DOUT ,GPIOD I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD5_DOUT,GPIO PD.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD5_DOUT ,GPIOD I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOD6_DOUT,GPIO PD.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD6_DOUT ,GPIOD I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD7_DOUT,GPIO PD.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD7_DOUT ,GPIOD I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOD8_DOUT,GPIO PD.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD8_DOUT ,GPIOD I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD9_DOUT,GPIO PD.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD9_DOUT ,GPIOD I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOD10_DOUT,GPIO PD.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD10_DOUT ,GPIOD I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD11_DOUT,GPIO PD.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD11_DOUT ,GPIOD I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOD12_DOUT,GPIO PD.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD12_DOUT ,GPIOD I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD13_DOUT,GPIO PD.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD13_DOUT ,GPIOD I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOD14_DOUT,GPIO PD.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD14_DOUT ,GPIOD I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD15_DOUT,GPIO PD.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD15_DOUT ,GPIOD I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC140L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOD I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOD I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOD I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOD I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOD I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOD I/O Pin[6] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOD I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOD I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOD I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOD I/O Pin[6] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOD I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOD I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOD I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOD I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOD I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOD I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOD I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOD I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOD6_DOUT,GPIO PD.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD6_DOUT ,GPIOD I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD7_DOUT,GPIO PD.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD7_DOUT ,GPIOD I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122Z*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOD I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOD I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOD I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOD I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOD I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOD I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOD I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOD I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOD I/O Pin[1] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOD I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOD I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOD I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOD I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOD I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOD I/O Pin[1] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOD I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOD I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOD I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOD I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOD I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOD I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOD I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOD I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOD I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x204++0x3
|
|
line.long 0x00 " GPIOD1_DOUT,GPIO PD.1 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD1_DOUT ,GPIOD I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOD2_DOUT,GPIO PD.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD2_DOUT ,GPIOD I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD3_DOUT,GPIO PD.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD3_DOUT ,GPIOD I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122L*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOD I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOD I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOD I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOD I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOD I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOD I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOD I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOD I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOD I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOD I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOD I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOD I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOD I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOD I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOD I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOD I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOD I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOD I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOD I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOD I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOD I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOD I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOD I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOD I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOD I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOD I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOD I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOD I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOD I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOD I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOD I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOD I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOD I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOD I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOD I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOD I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOD I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOD I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOD I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOD I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOD I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOD I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOD I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOD I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOD I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOD I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOD I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOD I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOD0_DOUT,GPIO PD.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD0_DOUT ,GPIOD I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD1_DOUT,GPIO PD.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD1_DOUT ,GPIOD I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOD2_DOUT,GPIO PD.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD2_DOUT ,GPIOD I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD3_DOUT,GPIO PD.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD3_DOUT ,GPIOD I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOD4_DOUT,GPIO PD.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD4_DOUT ,GPIOD I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD5_DOUT,GPIO PD.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD5_DOUT ,GPIOD I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC122S*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOD_PMD,GPIO Port D Pin I/O Mode Control"
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOD I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOD I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOD I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOD I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOD I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOD I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOD I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOD I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOD I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOD I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOD_OFFD,GPIO Port D Pin OFF Digital Enable"
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOD I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOD I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOD I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOD I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOD I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOD I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOD I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOD I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOD I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOD I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOD_DOUT,GPIO Port D Data Output Value"
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOD I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOD I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOD I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOD I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOD I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOD I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOD I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOD I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOD I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOD I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOD_DMASK,GPIO Port D Data Output Write Mask"
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOD I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOD I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOD I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOD I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOD I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOD I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOD I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOD I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOD I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOD I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOD_PIN,GPIO Port D Pin Value"
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOD I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOD I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOD I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOD I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOD I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOD I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOD I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOD I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOD I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOD I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOD_DBEN,GPIO Port D De-bounce Enable"
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOD I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOD I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOD I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOD I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOD I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOD I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOD I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOD I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOD I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOD I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOD_IMD,GPIO Port D Interrupt Mode Control"
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOD I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOD I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOD I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOD I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOD I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOD I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOD I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOD I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOD I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOD I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOD_IEN,GPIO Port D Interrupt Enable"
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOD I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOD I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOD I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOD I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOD I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOD I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOD I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOD I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOD I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOD I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOD I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOD I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOD I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOD I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOD_ISRC,GPIO Port D Interrupt Source Flag"
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOD I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOD I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOD I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOD I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOD I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOD I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOD I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOD I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOD I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOD I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOD0_DOUT,GPIO PD.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD0_DOUT ,GPIOD I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD1_DOUT,GPIO PD.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD1_DOUT ,GPIOD I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOD2_DOUT,GPIO PD.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD2_DOUT ,GPIOD I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD3_DOUT,GPIO PD.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD3_DOUT ,GPIOD I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOD4_DOUT,GPIO PD.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD4_DOUT ,GPIOD I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD5_DOUT,GPIO PD.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD5_DOUT ,GPIOD I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOD8_DOUT,GPIO PD.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD8_DOUT ,GPIOD I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD9_DOUT,GPIO PD.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD9_DOUT ,GPIOD I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOD10_DOUT,GPIO PD.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOD10_DOUT ,GPIOD I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOD11_DOUT,GPIO PD.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOD11_DOUT ,GPIOD I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "Port E"
|
|
base ad:0x50004100
|
|
sif (cpuis("NUC100L*")||cpuis("NUC100R*")||cpuis("NUC120R*")||cpuis("NUC130R*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOE_PMD,GPIO Port E Pin I/O Mode Control"
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOE I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOE_OFFD,GPIO Port E Pin OFF Digital Enable"
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOE I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOE_DOUT,GPIO Port E Data Output Value"
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOE I/O Pin[5] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOE_DMASK,GPIO Port E Data Output Write Mask"
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOE I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOE_PIN,GPIO Port E Pin Value"
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOE I/O Pin[5] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOE_DBEN,GPIO Port E De-bounce Enable"
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOE I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOE_IMD,GPIO Port E Interrupt Mode Control"
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOE I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOE_IEN,GPIO Port E Interrupt Enable"
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOE_ISRC,GPIO Port E Interrupt Source Flag"
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOE I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x214++0x3
|
|
line.long 0x00 " GPIOE5_DOUT,GPIO PE.5 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE5_DOUT ,GPIOE I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC140V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOE_PMD,GPIO Port E Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOE I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOE I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOE I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOE I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOE I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOE I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOE I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOE I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOE I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOE I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOE I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOE I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOE_OFFD,GPIO Port E Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOE I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOE I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOE I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOE I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOE I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOE I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOE I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOE I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOE I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOE I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOE I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOE I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOE_DOUT,GPIO Port E Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOE I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOE I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOE I/O Pin[13] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOE I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOE I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOE I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOE I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOE I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOE I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOE I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOE I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOE I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOE_DMASK,GPIO Port E Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOE I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOE I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOE I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOE I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOE I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOE I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOE I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOE I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOE I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOE I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOE I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOE I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOE_PIN,GPIO Port E Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOE I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOE I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOE I/O Pin[13] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOE I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOE I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOE I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOE I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOE I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOE I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOE I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOE I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOE I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOE_DBEN,GPIO Port E De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOE I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOE I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOE I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOE I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOE I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOE I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOE I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOE I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOE I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOE I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOE I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOE I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOE_IMD,GPIO Port E Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOE I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOE I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOE I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOE I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOE I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOE I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOE I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOE I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOE I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOE I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOE I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOE I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOE_IEN,GPIO Port E Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOE I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOE I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOE I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOE I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOE I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOE I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOE I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOE I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOE I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOE I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOE I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOE I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOE I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOE I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOE I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOE I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOE I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOE I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOE I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOE I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOE I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOE I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOE_ISRC,GPIO Port E Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOE I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOE I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOE I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOE I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOE I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOE I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOE I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOE I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOE I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOE I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOE I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOE I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOE0_DOUT,GPIO PE.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE0_DOUT ,GPIOE I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE1_DOUT,GPIO PE.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE1_DOUT ,GPIOE I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOE2_DOUT,GPIO PE.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE2_DOUT ,GPIOE I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE3_DOUT,GPIO PE.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE3_DOUT ,GPIOE I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOE4_DOUT,GPIO PE.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE4_DOUT ,GPIOE I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE5_DOUT,GPIO PE.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE5_DOUT ,GPIOE I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOE6_DOUT,GPIO PE.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE6_DOUT ,GPIOE I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE7_DOUT,GPIO PE.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE7_DOUT ,GPIOE I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x3
|
|
line.long 0x00 " GPIOE8_DOUT,GPIO PE.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE8_DOUT ,GPIOE I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
group.long 0x234++0x3
|
|
line.long 0x00 " GPIOE13_DOUT,GPIO PE.13 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE13_DOUT ,GPIOE I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOE14_DOUT,GPIO PE.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE14_DOUT ,GPIOE I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE15_DOUT,GPIO PE.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE15_DOUT ,GPIOE I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
elif (cpuis("NUC130V*"))
|
|
width 13.
|
|
group.long 0x00++0xF
|
|
line.long 0x00 " GPIOE_PMD,GPIO Port E Pin I/O Mode Control"
|
|
bitfld.long 0x00 30.--31. " PMD15 ,GPIOE I/O Pin[15] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 28.--29. " PMD14 ,GPIOE I/O Pin[14] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 26.--27. " PMD13 ,GPIOE I/O Pin[13] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 24.--25. " PMD12 ,GPIOE I/O Pin[12] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 22.--23. " PMD11 ,GPIOE I/O Pin[11] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 20.--21. " PMD10 ,GPIOE I/O Pin[10] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 18.--19. " PMD9 ,GPIOE I/O Pin[9] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 16.--17. " PMD8 ,GPIOE I/O Pin[8] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 14.--15. " PMD7 ,GPIOE I/O Pin[7] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 12.--13. " PMD6 ,GPIOE I/O Pin[6] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 10.--11. " PMD5 ,GPIOE I/O Pin[5] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 8.--9. " PMD4 ,GPIOE I/O Pin[4] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " PMD3 ,GPIOE I/O Pin[3] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 4.--5. " PMD2 ,GPIOE I/O Pin[2] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " PMD1 ,GPIOE I/O Pin[1] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
bitfld.long 0x00 0.--1. " PMD0 ,GPIOE I/O Pin[0] Mode Control" "Input,Output,Open-drain,Input/output"
|
|
line.long 0x04 " GPIOE_OFFD,GPIO Port E Pin OFF Digital Enable"
|
|
bitfld.long 0x04 31. " OFFD15 ,GPIOE I/O Pin[15] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 30. " OFFD14 ,GPIOE I/O Pin[14] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 29. " OFFD13 ,GPIOE I/O Pin[13] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 28. " OFFD12 ,GPIOE I/O Pin[12] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 27. " OFFD11 ,GPIOE I/O Pin[11] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 26. " OFFD10 ,GPIOE I/O Pin[10] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 25. " OFFD9 ,GPIOE I/O Pin[9] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 24. " OFFD8 ,GPIOE I/O Pin[8] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 23. " OFFD7 ,GPIOE I/O Pin[7] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 22. " OFFD6 ,GPIOE I/O Pin[6] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 21. " OFFD5 ,GPIOE I/O Pin[5] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 20. " OFFD4 ,GPIOE I/O Pin[4] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 19. " OFFD3 ,GPIOE I/O Pin[3] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 18. " OFFD2 ,GPIOE I/O Pin[2] OFF digital input path Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x04 17. " OFFD1 ,GPIOE I/O Pin[1] OFF digital input path Enable" "Enabled,Disabled"
|
|
bitfld.long 0x04 16. " OFFD0 ,GPIOE I/O Pin[0] OFF digital input path Enable" "Enabled,Disabled"
|
|
line.long 0x08 " GPIOE_DOUT,GPIO Port E Data Output Value"
|
|
bitfld.long 0x08 15. " DOUT15 ,GPIOE I/O Pin[15] Output Value" "Low,High"
|
|
bitfld.long 0x08 14. " DOUT14 ,GPIOE I/O Pin[14] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 13. " DOUT13 ,GPIOE I/O Pin[13] Output Value" "Low,High"
|
|
bitfld.long 0x08 12. " DOUT12 ,GPIOE I/O Pin[12] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 11. " DOUT11 ,GPIOE I/O Pin[11] Output Value" "Low,High"
|
|
bitfld.long 0x08 10. " DOUT10 ,GPIOE I/O Pin[10] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 9. " DOUT9 ,GPIOE I/O Pin[9] Output Value" "Low,High"
|
|
bitfld.long 0x08 8. " DOUT8 ,GPIOE I/O Pin[8] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 7. " DOUT7 ,GPIOE I/O Pin[7] Output Value" "Low,High"
|
|
bitfld.long 0x08 6. " DOUT6 ,GPIOE I/O Pin[6] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DOUT5 ,GPIOE I/O Pin[5] Output Value" "Low,High"
|
|
bitfld.long 0x08 4. " DOUT4 ,GPIOE I/O Pin[4] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 3. " DOUT3 ,GPIOE I/O Pin[3] Output Value" "Low,High"
|
|
bitfld.long 0x08 2. " DOUT2 ,GPIOE I/O Pin[2] Output Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x08 1. " DOUT1 ,GPIOE I/O Pin[1] Output Value" "Low,High"
|
|
bitfld.long 0x08 0. " DOUT0 ,GPIOE I/O Pin[0] Output Value" "Low,High"
|
|
line.long 0x0C " GPIOE_DMASK,GPIO Port E Data Output Write Mask"
|
|
bitfld.long 0x0C 15. " DMASK15 ,GPIOE I/O Pin[15] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 14. " DMASK14 ,GPIOE I/O Pin[14] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " DMASK13 ,GPIOE I/O Pin[13] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 12. " DMASK12 ,GPIOE I/O Pin[12] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " DMASK11 ,GPIOE I/O Pin[11] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 10. " DMASK10 ,GPIOE I/O Pin[10] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " DMASK9 ,GPIOE I/O Pin[9] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 8. " DMASK8 ,GPIOE I/O Pin[8] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " DMASK7 ,GPIOE I/O Pin[7] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 6. " DMASK6 ,GPIOE I/O Pin[6] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " DMASK5 ,GPIOE I/O Pin[5] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 4. " DMASK4 ,GPIOE I/O Pin[4] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " DMASK3 ,GPIOE I/O Pin[3] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 2. " DMASK2 ,GPIOE I/O Pin[2] Data Output Write Mask" "Not masked,Masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " DMASK1 ,GPIOE I/O Pin[1] Data Output Write Mask" "Not masked,Masked"
|
|
bitfld.long 0x0C 0. " DMASK0 ,GPIOE I/O Pin[0] Data Output Write Mask" "Not masked,Masked"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 " GPIOE_PIN,GPIO Port E Pin Value"
|
|
bitfld.long 0x00 15. " PIN15 ,GPIOE I/O Pin[15] Value" "Low,High"
|
|
bitfld.long 0x00 14. " PIN14 ,GPIOE I/O Pin[14] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 13. " PIN13 ,GPIOE I/O Pin[13] Value" "Low,High"
|
|
bitfld.long 0x00 12. " PIN12 ,GPIOE I/O Pin[12] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 11. " PIN11 ,GPIOE I/O Pin[11] Value" "Low,High"
|
|
bitfld.long 0x00 10. " PIN10 ,GPIOE I/O Pin[10] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 9. " PIN9 ,GPIOE I/O Pin[9] Value" "Low,High"
|
|
bitfld.long 0x00 8. " PIN8 ,GPIOE I/O Pin[8] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 7. " PIN7 ,GPIOE I/O Pin[7] Value" "Low,High"
|
|
bitfld.long 0x00 6. " PIN6 ,GPIOE I/O Pin[6] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 5. " PIN5 ,GPIOE I/O Pin[5] Value" "Low,High"
|
|
bitfld.long 0x00 4. " PIN4 ,GPIOE I/O Pin[4] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 3. " PIN3 ,GPIOE I/O Pin[3] Value" "Low,High"
|
|
bitfld.long 0x00 2. " PIN2 ,GPIOE I/O Pin[2] Value" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PIN1 ,GPIOE I/O Pin[1] Value" "Low,High"
|
|
bitfld.long 0x00 0. " PIN0 ,GPIOE I/O Pin[0] Value" "Low,High"
|
|
group.long 0x14++0xF
|
|
line.long 0x00 " GPIOE_DBEN,GPIO Port E De-bounce Enable"
|
|
bitfld.long 0x00 15. " DBEN15 ,GPIOE I/O Pin[15] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 14. " DBEN14 ,GPIOE I/O Pin[14] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " DBEN13 ,GPIOE I/O Pin[13] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 12. " DBEN12 ,GPIOE I/O Pin[12] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " DBEN11 ,GPIOE I/O Pin[11] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 10. " DBEN10 ,GPIOE I/O Pin[10] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " DBEN9 ,GPIOE I/O Pin[9] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 8. " DBEN8 ,GPIOE I/O Pin[8] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 7. " DBEN7 ,GPIOE I/O Pin[7] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 6. " DBEN6 ,GPIOE I/O Pin[6] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DBEN5 ,GPIOE I/O Pin[5] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 4. " DBEN4 ,GPIOE I/O Pin[4] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " DBEN3 ,GPIOE I/O Pin[3] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 2. " DBEN2 ,GPIOE I/O Pin[2] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " DBEN1 ,GPIOE I/O Pin[1] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 0. " DBEN0 ,GPIOE I/O Pin[0] Input Signal De-bounce Enable" "Enabled,Disabled"
|
|
line.long 0x04 " GPIOE_IMD,GPIO Port E Interrupt Mode Control"
|
|
bitfld.long 0x04 15. " IMD15 ,GPIOE I/O Pin[15] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 14. " IMD14 ,GPIOE I/O Pin[14] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 13. " IMD13 ,GPIOE I/O Pin[13] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 12. " IMD12 ,GPIOE I/O Pin[12] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 11. " IMD11 ,GPIOE I/O Pin[11] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 10. " IMD10 ,GPIOE I/O Pin[10] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 9. " IMD9 ,GPIOE I/O Pin[9] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 8. " IMD8 ,GPIOE I/O Pin[8] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 7. " IMD7 ,GPIOE I/O Pin[7] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 6. " IMD6 ,GPIOE I/O Pin[6] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 5. " IMD5 ,GPIOE I/O Pin[5] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 4. " IMD4 ,GPIOE I/O Pin[4] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 3. " IMD3 ,GPIOE I/O Pin[3] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 2. " IMD2 ,GPIOE I/O Pin[2] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x04 1. " IMD1 ,GPIOE I/O Pin[1] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
bitfld.long 0x04 0. " IMD0 ,GPIOE I/O Pin[0] Edge/Level Detection Interrupt Control" "Edge,Level"
|
|
line.long 0x08 " GPIOE_IEN,GPIO Port E Interrupt Enable"
|
|
bitfld.long 0x08 31. " IR_EN15 ,GPIOE I/O Pin[15] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 30. " IR_EN14 ,GPIOE I/O Pin[14] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 29. " IR_EN13 ,GPIOE I/O Pin[13] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 28. " IR_EN12 ,GPIOE I/O Pin[12] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 27. " IR_EN11 ,GPIOE I/O Pin[11] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 26. " IR_EN10 ,GPIOE I/O Pin[10] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 25. " IR_EN9 ,GPIOE I/O Pin[9] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " IR_EN8 ,GPIOE I/O Pin[8] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 23. " IR_EN7 ,GPIOE I/O Pin[7] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 22. " IR_EN6 ,GPIOE I/O Pin[6] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 21. " IR_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 20. " IR_EN4 ,GPIOE I/O Pin[4] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " IR_EN3 ,GPIOE I/O Pin[3] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 18. " IR_EN2 ,GPIOE I/O Pin[2] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 17. " IR_EN1 ,GPIOE I/O Pin[1] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " IR_EN0 ,GPIOE I/O Pin[0] Interrupt Enable by Input Rising Edge/Input Level High" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 15. " IF_EN15 ,GPIOE I/O Pin[15] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 14. " IF_EN14 ,GPIOE I/O Pin[14] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 13. " IF_EN13 ,GPIOE I/O Pin[13] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 12. " IF_EN12 ,GPIOE I/O Pin[12] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " IF_EN11 ,GPIOE I/O Pin[11] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " IF_EN10 ,GPIOE I/O Pin[10] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " IF_EN9 ,GPIOE I/O Pin[9] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " IF_EN8 ,GPIOE I/O Pin[8] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 7. " IF_EN7 ,GPIOE I/O Pin[7] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 6. " IF_EN6 ,GPIOE I/O Pin[6] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " IF_EN5 ,GPIOE I/O Pin[5] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " IF_EN4 ,GPIOE I/O Pin[4] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " IF_EN3 ,GPIOE I/O Pin[3] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " IF_EN2 ,GPIOE I/O Pin[2] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " IF_EN1 ,GPIOE I/O Pin[1] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " IF_EN0 ,GPIOE I/O Pin[0] Interrupt Enable by Input Falling Edge or Input Level Low" "Disabled,Enabled"
|
|
line.long 0x0C " GPIOE_ISRC,GPIO Port E Interrupt Source Flag"
|
|
bitfld.long 0x0C 15. " ISRC15 ,GPIOE I/O Pin[15] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 14. " ISRC14 ,GPIOE I/O Pin[14] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 13. " ISRC13 ,GPIOE I/O Pin[13] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 12. " ISRC12 ,GPIOE I/O Pin[12] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " ISRC11 ,GPIOE I/O Pin[11] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 10. " ISRC10 ,GPIOE I/O Pin[10] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " ISRC9 ,GPIOE I/O Pin[9] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 8. " ISRC8 ,GPIOE I/O Pin[8] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " ISRC7 ,GPIOE I/O Pin[7] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 6. " ISRC6 ,GPIOE I/O Pin[6] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " ISRC5 ,GPIOE I/O Pin[5] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 4. " ISRC4 ,GPIOE I/O Pin[4] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " ISRC3 ,GPIOE I/O Pin[3] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 2. " ISRC2 ,GPIOE I/O Pin[2] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " ISRC1 ,GPIOE I/O Pin[1] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 0. " ISRC0 ,GPIOE I/O Pin[0] Interrupt Trigger Source Indicator" "No interrupt,Interrupt"
|
|
group.long 0x200++0x7
|
|
line.long 0x00 " GPIOE0_DOUT,GPIO PE.0 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE0_DOUT ,GPIOE I/O Pin 0 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE1_DOUT,GPIO PE.1 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE1_DOUT ,GPIOE I/O Pin 1 Bit Output/Input Control" "Low,High"
|
|
group.long 0x208++0x7
|
|
line.long 0x00 " GPIOE2_DOUT,GPIO PE.2 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE2_DOUT ,GPIOE I/O Pin 2 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE3_DOUT,GPIO PE.3 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE3_DOUT ,GPIOE I/O Pin 3 Bit Output/Input Control" "Low,High"
|
|
group.long 0x210++0x7
|
|
line.long 0x00 " GPIOE4_DOUT,GPIO PE.4 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE4_DOUT ,GPIOE I/O Pin 4 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE5_DOUT,GPIO PE.5 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE5_DOUT ,GPIOE I/O Pin 5 Bit Output/Input Control" "Low,High"
|
|
group.long 0x218++0x7
|
|
line.long 0x00 " GPIOE6_DOUT,GPIO PE.6 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE6_DOUT ,GPIOE I/O Pin 6 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE7_DOUT,GPIO PE.7 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE7_DOUT ,GPIOE I/O Pin 7 Bit Output/Input Control" "Low,High"
|
|
group.long 0x220++0x7
|
|
line.long 0x00 " GPIOE8_DOUT,GPIO PE.8 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE8_DOUT ,GPIOE I/O Pin 8 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE9_DOUT,GPIO PE.9 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE9_DOUT ,GPIOE I/O Pin 9 Bit Output/Input Control" "Low,High"
|
|
group.long 0x228++0x7
|
|
line.long 0x00 " GPIOE10_DOUT,GPIO PE.10 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE10_DOUT ,GPIOE I/O Pin 10 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE11_DOUT,GPIO PE.11 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE11_DOUT ,GPIOE I/O Pin 11 Bit Output/Input Control" "Low,High"
|
|
group.long 0x230++0x7
|
|
line.long 0x00 " GPIOE12_DOUT,GPIO PE.12 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE12_DOUT ,GPIOE I/O Pin 12 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE13_DOUT,GPIO PE.13 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE13_DOUT ,GPIOE I/O Pin 13 Bit Output/Input Control" "Low,High"
|
|
group.long 0x238++0x7
|
|
line.long 0x00 " GPIOE14_DOUT,GPIO PE.14 Bit Output/Input Control"
|
|
bitfld.long 0x00 0. " GPIOE14_DOUT ,GPIOE I/O Pin 14 Bit Output/Input Control" "Low,High"
|
|
line.long 0x04 " GPIOE15_DOUT,GPIO PE.15 Bit Output/Input Control"
|
|
bitfld.long 0x04 0. " GPIOE15_DOUT ,GPIOE I/O Pin 15 Bit Output/Input Control" "Low,High"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
tree.open "I2C (I2C Serial Interface Controller)"
|
|
tree "I2C0"
|
|
base ad:0x40020000
|
|
width 11.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "I2CON,I2C Control Register"
|
|
bitfld.long 0x00 7. " EI ,I2C interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " ENS1 ,I2C Controller Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " STA ,I2C START Control Bit" "Not started,Started"
|
|
bitfld.long 0x00 4. " STO ,I2C STOP Control Bit" "Not stopped,Stopped"
|
|
textline " "
|
|
eventfld.long 0x00 3. " SI ,I2C Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 2. " AA ,Assert Acknowledge Control Bit" "Not acknowledged,Acknowledged"
|
|
line.long 0x04 "I2CADDR0,I2C Slave Address Register 0"
|
|
hexmask.long.byte 0x04 1.--7. 0x2 " I2CADDR0 ,I2C Address Register 0"
|
|
bitfld.long 0x04 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x08 "I2CDAT,I2C DATA Register"
|
|
hexmask.long.byte 0x08 0.--7. 1. " I2CDAT ,I2C data register"
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 "I2CSTATUS,I2C Status Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " I2CSTATUS ,I2C status register"
|
|
group.long 0x10++0x23
|
|
line.long 0x00 "I2CLK,I2C Clock Divided Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " I2CLK ,I2C clock divided register"
|
|
line.long 0x04 "I2CTOC,I2C Time Out Control Register"
|
|
bitfld.long 0x04 2. " ENTI ,Time-out counter" "Disabled,Enabled"
|
|
bitfld.long 0x04 1. " DIV4 ,Time-Out counter input clock is divided by 4" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 0. " TIF ,Time-Out Flag" "Not occurred,Occurred"
|
|
line.long 0x08 "I2CADDR1,I2C Slave Address Register 1"
|
|
hexmask.long.byte 0x08 1.--7. 0x2 " I2CADDR1 ,I2C Address Register 1"
|
|
bitfld.long 0x08 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x0C "I2CADDR2,I2C Slave Address Register 2"
|
|
hexmask.long.byte 0x0C 1.--7. 0x2 " I2CADDR2 ,I2C Address Register 2"
|
|
bitfld.long 0x0C 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x10 "I2CADDR3,I2C Slave Address Register 3"
|
|
hexmask.long.byte 0x10 1.--7. 0x2 " I2CADDR3 ,I2C Address Register 3"
|
|
bitfld.long 0x10 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x14 "I2CADM0,I2C Slave Address Mask Register 0"
|
|
bitfld.long 0x14 7. " I2CADM0 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x14 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x14 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x14 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x14 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x14 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x14 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x18 "I2CADM1,I2C Slave Address Mask Register 1"
|
|
bitfld.long 0x18 7. " I2CADM1 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x18 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x18 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x18 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x18 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x18 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x18 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x1C "I2CADM2,I2C Slave Address Mask Register 2"
|
|
bitfld.long 0x1C 7. " I2CADM2 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x1C 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x1C 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x1C 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x1C 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x1C 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x1C 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x20 "I2CADM3,I2C Slave Address Mask Register 3"
|
|
bitfld.long 0x20 7. " I2CADM3 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x20 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x20 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x20 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x20 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x20 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x20 1. ",Adress mask bit 1" "0,1"
|
|
width 0xB
|
|
tree.end
|
|
tree "I2C1"
|
|
sif (!cpuis("NUC122*"))
|
|
base ad:0x40120000
|
|
width 11.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "I2CON,I2C Control Register"
|
|
bitfld.long 0x00 7. " EI ,I2C interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " ENS1 ,I2C Controller Enable Bit" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " STA ,I2C START Control Bit" "Not started,Started"
|
|
bitfld.long 0x00 4. " STO ,I2C STOP Control Bit" "Not stopped,Stopped"
|
|
textline " "
|
|
eventfld.long 0x00 3. " SI ,I2C Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 2. " AA ,Assert Acknowledge Control Bit" "Not acknowledged,Acknowledged"
|
|
line.long 0x04 "I2CADDR0,I2C Slave Address Register 0"
|
|
hexmask.long.byte 0x04 1.--7. 0x2 " I2CADDR0 ,I2C Address Register 0"
|
|
bitfld.long 0x04 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x08 "I2CDAT,I2C DATA Register"
|
|
hexmask.long.byte 0x08 0.--7. 1. " I2CDAT ,I2C data register"
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 "I2CSTATUS,I2C Status Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " I2CSTATUS ,I2C status register"
|
|
group.long 0x10++0x23
|
|
line.long 0x00 "I2CLK,I2C Clock Divided Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " I2CLK ,I2C clock divided register"
|
|
line.long 0x04 "I2CTOC,I2C Time Out Control Register"
|
|
bitfld.long 0x04 2. " ENTI ,Time-out counter" "Disabled,Enabled"
|
|
bitfld.long 0x04 1. " DIV4 ,Time-Out counter input clock is divided by 4" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 0. " TIF ,Time-Out Flag" "Not occurred,Occurred"
|
|
line.long 0x08 "I2CADDR1,I2C Slave Address Register 1"
|
|
hexmask.long.byte 0x08 1.--7. 0x2 " I2CADDR1 ,I2C Address Register 1"
|
|
bitfld.long 0x08 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x0C "I2CADDR2,I2C Slave Address Register 2"
|
|
hexmask.long.byte 0x0C 1.--7. 0x2 " I2CADDR2 ,I2C Address Register 2"
|
|
bitfld.long 0x0C 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x10 "I2CADDR3,I2C Slave Address Register 3"
|
|
hexmask.long.byte 0x10 1.--7. 0x2 " I2CADDR3 ,I2C Address Register 3"
|
|
bitfld.long 0x10 0. " GC ,General Call Function" "Disabled,Enabled"
|
|
line.long 0x14 "I2CADM0,I2C Slave Address Mask Register 0"
|
|
bitfld.long 0x14 7. " I2CADM0 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x14 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x14 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x14 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x14 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x14 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x14 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x18 "I2CADM1,I2C Slave Address Mask Register 1"
|
|
bitfld.long 0x18 7. " I2CADM1 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x18 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x18 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x18 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x18 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x18 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x18 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x1C "I2CADM2,I2C Slave Address Mask Register 2"
|
|
bitfld.long 0x1C 7. " I2CADM2 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x1C 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x1C 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x1C 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x1C 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x1C 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x1C 1. ",Adress mask bit 1" "0,1"
|
|
line.long 0x20 "I2CADM3,I2C Slave Address Mask Register 3"
|
|
bitfld.long 0x20 7. " I2CADM3 ,Adress mask bit 7" "0,1"
|
|
bitfld.long 0x20 6. ",Adress mask bit 6" "0,1"
|
|
bitfld.long 0x20 5. ",Adress mask bit 5" "0,1"
|
|
bitfld.long 0x20 4. ",Adress mask bit 4" "0,1"
|
|
bitfld.long 0x20 3. ",Adress mask bit 3" "0,1"
|
|
bitfld.long 0x20 2. ",Adress mask bit 2" "0,1"
|
|
bitfld.long 0x20 1. ",Adress mask bit 1" "0,1"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
tree.open "PWM (PWM Generator and Capture Timer)"
|
|
tree "PWM A"
|
|
sif (!cpuis("NUC122Z*"))
|
|
base ad:0x40040000
|
|
width 10.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "PPR,PWM Group A Prescaler Register "
|
|
hexmask.long.byte 0x00 24.--31. 1. " DZI23 ,Dead Zone Interval for pair of CH2 and CH3"
|
|
hexmask.long.byte 0x00 16.--23. 1. " DZI01 ,Dead Zone Interval for pair of CH0 and CH1"
|
|
hexmask.long.byte 0x00 8.--15. 1. " CP23 ,Clock Prescaler 2"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " CP01 ,Clock Prescaler 0"
|
|
line.long 0x04 "CSR,PWM Group A Clock Select Register "
|
|
bitfld.long 0x04 12.--14. " CSR3 ,PWM Timer 3 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
bitfld.long 0x04 8.--10. " CSR2 ,PWM Timer 2 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
textline " "
|
|
bitfld.long 0x04 4.--6. " CSR1 ,PWM Timer 1 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
bitfld.long 0x04 0.--2. " CSR0 ,PWM Timer 0 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
line.long 0x08 "PCR,PWM Group A Control Register"
|
|
bitfld.long 0x08 27. " CH3MOD ,PWM-Timer 3 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 26. " CH3INV ,PWM-Timer 3 Output Inverter Enable " "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " CH3EN ,PWM-Timer 3 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " CH2MOD ,PWM-Timer 2 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 18. " CH2INV ,PWM-Timer 2 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " CH2EN ,PWM-Timer 2 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 11. " CH1MOD ,PWM-Timer 1 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 10. " CH1INV ,PWM-Timer 1 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " CH1EN ,PWM-Timer 1 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 5. " DZEN23 ,Dead-Zone 2 Generator Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " DZEN01 ,Dead-Zone 0 Generator Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 3. " CH0MOD ,PWM-Timer 0 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
textline " "
|
|
bitfld.long 0x08 2. " CH0INV ,PWM-Timer 0 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " CH0EN ,PWM-Timer 0 Enable" "Disabled,Enabled"
|
|
group.long 0xC++0x7
|
|
line.long 0x00 "CNR0,PWM Group A Counter Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR0 ,PWM Timer Loaded Value 0"
|
|
line.long 0x04 "CMR0,PWM Group A Comparator Register 0"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR0 ,PWM Comparator Register 0"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "PDR0,PWM Group A Data Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR0 ,PWM Data Register 0"
|
|
group.long 0x18++0x7
|
|
line.long 0x00 "CNR1,PWM Group A Counter Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR1 ,PWM Timer Loaded Value 1"
|
|
line.long 0x04 "CMR1,PWM Group A Comparator Register 1"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR1 ,PWM Comparator Register 1"
|
|
rgroup.long 0x20++0x3
|
|
line.long 0x00 "PDR1,PWM Group A Data Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR1 ,PWM Data Register 1"
|
|
group.long 0x24++0x7
|
|
line.long 0x00 "CNR2,PWM Group A Counter Register 2"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR2 ,PWM Timer Loaded Value 2"
|
|
line.long 0x04 "CMR2,PWM Group A Comparator Register 2"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR2 ,PWM Comparator Register 2"
|
|
rgroup.long 0x2C++0x3
|
|
line.long 0x00 "PDR2,PWM Group A Data Register 2"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR2 ,PWM Data Register 2"
|
|
group.long 0x30++0x7
|
|
line.long 0x00 "CNR3,PWM Group A Counter Register 3"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR3 ,PWM Timer Loaded Value 3"
|
|
line.long 0x04 "CMR3,PWM Group A Comparator Register 3"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR3 ,PWM Comparator Register 3"
|
|
rgroup.long 0x38++0x3
|
|
line.long 0x00 "PDR3,PWM Group A Data Register 3"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR3 ,PWM Data Register 3"
|
|
sif (cpuis("NUC1?????CN")||cpuis("NUC1?????BN"))
|
|
group.long 0x3C++0x3
|
|
line.long 0x00 "PBCR,PWM Group A backward compatible Register"
|
|
bitfld.long 0x00 0. " BCA ,PWM Backward Compatible Register" "Write 0 to clear,Write 1 to clear"
|
|
endif
|
|
group.long 0x40++0x7
|
|
line.long 0x00 "PIER,PWM Group A Interrupt Enable Register"
|
|
bitfld.long 0x00 3. " PWMIE3 ,PWM channel 3 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " PWMIE2 ,PWM channel 2 Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PWMIE1 ,PWM channel 1 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " PWMIE0 ,PWM channel 0 Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "PIIR,PWM Group A Interrupt Indication Register"
|
|
eventfld.long 0x04 3. " PWMIF3 ,PWM channel 3 Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 2. " PWMIF2 ,PWM channel 2 Interrupt Status" "No interrupt,Interrupt"
|
|
textline " "
|
|
eventfld.long 0x04 1. " PWMIF1 ,PWM channel 1 Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " PWMIF0 ,PWM channel 0 Interrupt Status" "No interrupt,Interrupt"
|
|
group.long 0x50++0x7
|
|
line.long 0x00 "CCR0,PWM Group A Capture Control Register 0"
|
|
sif (cpuis("M05*"))
|
|
eventfld.long 0x00 23. " CFLRI1 ,CFLR1 Latched Indicator Bit" "Low,High"
|
|
eventfld.long 0x00 22. " CRLRI1 ,CRLR1 Latched Indicator Bit" "Low,High"
|
|
else
|
|
bitfld.long 0x00 23. " CFLRI1 ,CFLR1 Latched Indicator Bit" "Low,High"
|
|
bitfld.long 0x00 22. " CRLRI1 ,CRLR1 Latched Indicator Bit" "Low,High"
|
|
endif
|
|
textline " "
|
|
eventfld.long 0x00 20. " CAPIF1 ,Channel 1 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 19. " CAPCH1EN ,Channel 1 Capture Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " CFL_IE1 ,Channel 1 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 17. " CRL_IE1 ,Channel 1 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 16. " INV1 ,Channel 1 Inverter Enable" "Disabled,Enabled"
|
|
sif (cpuis("M05*"))
|
|
eventfld.long 0x00 7. " CFLRI0 ,CFLR0 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
eventfld.long 0x00 6. " CRLRI0 ,CRLR0 Latched Indicator Bit" "Low,High"
|
|
else
|
|
bitfld.long 0x00 7. " CFLRI0 ,CFLR0 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 6. " CRLRI0 ,CRLR0 Latched Indicator Bit" "Low,High"
|
|
endif
|
|
eventfld.long 0x00 4. " CAPIF0 ,Channel 0 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 3. " CAPCH0EN ,Channel 0 Capture Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " CFL_IE0 ,Channel 0 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CRL_IE0 ,Channel 0 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " INV0 ,Channel 0 Inverter Enable" "Disabled,Enabled"
|
|
line.long 0x04 "CCR2,PWM Group A Capture Control Register 2"
|
|
sif (cpuis("M05*"))
|
|
eventfld.long 0x04 23. " CFLRI3 ,CFLR3 Latched Indicator Bit" "Low,High"
|
|
eventfld.long 0x04 22. " CRLRI3 ,CRLR3 Latched Indicator Bit" "Low,High"
|
|
else
|
|
bitfld.long 0x04 23. " CFLRI3 ,CFLR3 Latched Indicator Bit" "Low,High"
|
|
bitfld.long 0x04 22. " CRLRI3 ,CRLR3 Latched Indicator Bit" "Low,High"
|
|
endif
|
|
textline " "
|
|
eventfld.long 0x04 20. " CAPIF3 ,Channel 3 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 19. " CAPCH3EN ,Channel 3 Capture Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 18. " CFL_IE3 ,Channel 3 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 17. " CRL_IE3 ,Channel 3 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 16. " INV3 ,Channel 3 Inverter Enable" "Disabled,Enabled"
|
|
sif (cpuis("M05*"))
|
|
eventfld.long 0x04 7. " CFLRI2 ,CFLR2 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
eventfld.long 0x04 6. " CRLRI2 ,CRLR2 Latched Indicator Bit" "Low,High"
|
|
else
|
|
bitfld.long 0x04 7. " CFLRI2 ,CFLR2 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x04 6. " CRLRI2 ,CRLR2 Latched Indicator Bit" "Low,High"
|
|
endif
|
|
eventfld.long 0x04 4. " CAPIF2 ,Channel 2 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 3. " CAPCH2EN ,Channel 2 Capture Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 2. " CFL_IE2 ,Channel 2 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 1. " CRL_IE2 ,Channel 2 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 0. " INV2 ,Channel 2 Inverter Enable" "Disabled,Enabled"
|
|
rgroup.long 0x58++0x1F
|
|
line.long 0x00 "CRLR0,PWM Group A Capture Rising Latch Register (Channel 0)"
|
|
hexmask.long.word 0x00 0.--15. 1. " CRLR0 ,Capture Rising Latch Register"
|
|
line.long 0x04 "CFLR0,PWM Group A Capture Falling Latch Register (Channel 0)"
|
|
hexmask.long.word 0x04 0.--15. 1. " CFLR0 ,Capture Falling Latch Register"
|
|
line.long 0x08 "CRLR1,PWM Group A Capture Rising Latch Register (Channel 1)"
|
|
hexmask.long.word 0x08 0.--15. 1. " CRLR1 ,Capture Rising Latch Register"
|
|
line.long 0x0C "CFLR1,PWM Group A Capture Falling Latch Register (Channel 1)"
|
|
hexmask.long.word 0x0C 0.--15. 1. " CFLR1 ,Capture Falling Latch Register"
|
|
line.long 0x10 "CRLR2,PWM Group A Capture Rising Latch Register (Channel 2)"
|
|
hexmask.long.word 0x10 0.--15. 1. " CRLR2 ,Capture Rising Latch Register"
|
|
line.long 0x14 "CFLR2,PWM Group A Capture Falling Latch Register (Channel 2)"
|
|
hexmask.long.word 0x14 0.--15. 1. " CFLR2 ,Capture Falling Latch Register"
|
|
line.long 0x18 "CRLR3,PWM Group A Capture Rising Latch Register (Channel 3)"
|
|
hexmask.long.word 0x18 0.--15. 1. " CRLR3 ,Capture Rising Latch Register"
|
|
line.long 0x1C "CFLR3,PWM Group A Capture Falling Latch Register (Channel 3)"
|
|
hexmask.long.word 0x1C 0.--15. 1. " CFLR3 ,Capture Falling Latch Register"
|
|
group.long 0x78++0x7
|
|
line.long 0x00 "CAPENR,PWM Group A Capture Input 0-3 Enable Register"
|
|
bitfld.long 0x00 3. " CAPENR3 ,Channel 3 capture input enable register" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " CAPENR2 ,Channel 2 capture input enable register" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CAPENR1 ,Channel 1 capture input enable register" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " CAPENR0 ,Channel 0 capture input enable register" "Disabled,Enabled"
|
|
line.long 0x04 "POE,PWM Group A Output Enable for channel 0-3"
|
|
bitfld.long 0x04 3. " PWM3 ,Channel 3 ouput enable register" "Disabled,Enabled"
|
|
bitfld.long 0x04 2. " PWM2 ,Channel 2 ouput enable register" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 1. " PWM1 ,Channel 1 ouput enable register" "Disabled,Enabled"
|
|
bitfld.long 0x04 0. " PWM0 ,Channel 0 ouput enable register" "Disabled,Enabled"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "PWM B"
|
|
sif (cpuis("NUC140V*")||cpuis("NUC100???AN")||cpuis("NUC120R??AN")||cpuis("NUC120V??AN")||cpuis("NUC130R??AN")||cpuis("NUC130V??AN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN"))
|
|
base ad:0x40140000
|
|
width 10.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "PPR,PWM Group B Prescaler Register "
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
hexmask.long.byte 0x00 24.--31. 1. " DZI67 ,Dead Zone Interval for pair of CH6 and CH7"
|
|
textline " "
|
|
endif
|
|
hexmask.long.byte 0x00 16.--23. 1. " DZI45 ,Dead Zone Interval for pair of CH4 and CH5"
|
|
textline " "
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
hexmask.long.byte 0x00 8.--15. 1. " CP67 ,Clock Prescaler 2"
|
|
textline " "
|
|
endif
|
|
hexmask.long.byte 0x00 0.--7. 1. " CP45 ,Clock Prescaler 0"
|
|
line.long 0x04 "CSR,PWM Group B Clock Select Register "
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x04 12.--14. " CSR7 ,PWM Timer 7 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
bitfld.long 0x04 8.--10. " CSR6 ,PWM Timer 6 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4.--6. " CSR5 ,PWM Timer 5 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
bitfld.long 0x04 0.--2. " CSR4 ,PWM Timer 4 Clock Source (input clock divisor)" "2,4,8,16,1,?..."
|
|
line.long 0x08 "PCR,PWM Group B Control Register"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x08 27. " CH7MOD ,PWM-Timer 7 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 26. " CH7INV ,PWM-Timer 7 Output Inverter Enable " "Disabled,Enabled"
|
|
bitfld.long 0x08 24. " CH7EN ,PWM-Timer 7 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 19. " CH6MOD ,PWM-Timer 6 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 18. " CH6INV ,PWM-Timer 6 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 16. " CH6EN ,PWM-Timer 6 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 11. " CH5MOD ,PWM-Timer 5 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
bitfld.long 0x08 10. " CH5INV ,PWM-Timer 5 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " CH5EN ,PWM-Timer 5 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x08 5. " DZEN67 ,Dead-Zone 6 Generator Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x08 4. " DZEN45 ,Dead-Zone 4 Generator Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 3. " CH4MOD ,PWM-Timer 4 Auto-reload/One-Shot Mode" "One-Shot,Auto-reload"
|
|
textline " "
|
|
bitfld.long 0x08 2. " CH4INV ,PWM-Timer 4 Output Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " CH4EN ,PWM-Timer 4 Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
group.long 0xC++0x7
|
|
line.long 0x00 "CNR0,PWM Group B Counter Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR0 ,PWM Timer Loaded Value 0"
|
|
line.long 0x04 "CMR0,PWM Group B Comparator Register 0"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR0 ,PWM Comparator Register 0"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "PDR0,PWM Group B Data Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR0 ,PWM Data Register 0"
|
|
group.long 0x18++0x7
|
|
line.long 0x00 "CNR1,PWM Group B Counter Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR1 ,PWM Timer Loaded Value 1"
|
|
line.long 0x04 "CMR1,PWM Group B Comparator Register 1"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR1 ,PWM Comparator Register 1"
|
|
rgroup.long 0x20++0x3
|
|
line.long 0x00 "PDR1,PWM Group B Data Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR1 ,PWM Data Register 1"
|
|
group.long 0x24++0x7
|
|
line.long 0x00 "CNR2,PWM Group B Counter Register 2"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR2 ,PWM Timer Loaded Value 2"
|
|
line.long 0x04 "CMR2,PWM Group B Comparator Register 2"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR2 ,PWM Comparator Register 2"
|
|
rgroup.long 0x2C++0x3
|
|
line.long 0x00 "PDR2,PWM Group B Data Register 2"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR2 ,PWM Data Register 2"
|
|
group.long 0x30++0x7
|
|
line.long 0x00 "CNR3,PWM Group B Counter Register 3"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR3 ,PWM Timer Loaded Value 3"
|
|
line.long 0x04 "CMR3,PWM Group B Comparator Register 3"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR3 ,PWM Comparator Register 3"
|
|
rgroup.long 0x38++0x3
|
|
line.long 0x00 "PDR3,PWM Group B Data Register 3"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR3 ,PWM Data Register 3"
|
|
else
|
|
group.long 0xC++0x7
|
|
line.long 0x00 "CNR0,PWM Group B Counter Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR0 ,PWM Timer Loaded Value 0"
|
|
line.long 0x04 "CMR0,PWM Group B Comparator Register 0"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR0 ,PWM Comparator Register 0"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "PDR0,PWM Group B Data Register 0"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR0 ,PWM Data Register 0"
|
|
group.long 0x18++0x7
|
|
line.long 0x00 "CNR1,PWM Group B Counter Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " CNR1 ,PWM Timer Loaded Value 1"
|
|
line.long 0x04 "CMR1,PWM Group B Comparator Register 1"
|
|
hexmask.long.word 0x04 0.--15. 1. " CMR1 ,PWM Comparator Register 1"
|
|
rgroup.long 0x20++0x3
|
|
line.long 0x00 "PDR1,PWM Group B Data Register 1"
|
|
hexmask.long.word 0x00 0.--15. 1. " PDR1 ,PWM Data Register 1"
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
group.long 0x3C++0x3
|
|
line.long 0x00 "PBCR,PWM Group B backward compatible Register"
|
|
bitfld.long 0x00 0. " BCA ,PWM Backward Compatible Register" "Write 0 to clear,Write 1 to clear"
|
|
endif
|
|
group.long 0x40++0x7
|
|
line.long 0x00 "PIER,PWM Group B Interrupt Enable Register"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x00 3. " PWMIE7 ,PWM channel 7 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " PWMIE6 ,PWM channel 6 Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 1. " PWMIE5 ,PWM channel 5 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " PWMIE4 ,PWM channel 4 Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "PIIR,PWM Group B Interrupt Indication Register"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
eventfld.long 0x04 3. " PWMIF7 ,PWM channel 7 Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 2. " PWMIF6 ,PWM channel 6 Interrupt Status" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
eventfld.long 0x04 1. " PWMIF5 ,PWM channel 5 Interrupt Status" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " PWMIF4 ,PWM channel 4 Interrupt Status" "No interrupt,Interrupt"
|
|
group.long 0x50++0x3
|
|
line.long 0x00 "CCR0,PWM Group B Capture Control Register 0"
|
|
bitfld.long 0x00 23. " CFLRI5 ,CFLR5 Latched Indicator Bit" "Low,High"
|
|
bitfld.long 0x00 22. " CRLRI5 ,CRLR5 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
eventfld.long 0x00 20. " CAPIF5 ,Channel 5 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 19. " CAPCH5EN ,Channel 5 Capture Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " CFL_IE5 ,Channel 5 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 17. " CRL_IE5 ,Channel 5 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 16. " INV5 ,Channel 5 Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 7. " CFLRI4 ,CFLR4 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 6. " CRLRI4 ,CRLR4 Latched Indicator Bit" "Low,High"
|
|
eventfld.long 0x00 4. " CAPIF4 ,Channel 4 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 3. " CAPCH4EN ,Channel 4 Capture Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " CFL_IE4 ,Channel 4 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CRL_IE4 ,Channel 4 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " INV4 ,Channel 4 Inverter Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
group.long 0x54++0x3
|
|
line.long 0x00 "CCR2,PWM Group B Capture Control Register 2"
|
|
bitfld.long 0x00 23. " CFLRI7 ,CFLR7 Latched Indicator Bit" "Low,High"
|
|
bitfld.long 0x00 22. " CRLRI7 ,CRLR7 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
eventfld.long 0x00 20. " CAPIF7 ,Channel 7 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 19. " CAPCH7EN ,Channel 7 Capture Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " CFL_IE7 ,Channel 7 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 17. " CRL_IE7 ,Channel 7 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 16. " INV7 ,Channel 7 Inverter Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 7. " CFLRI6 ,CFLR6 Latched Indicator Bit" "Low,High"
|
|
textline " "
|
|
bitfld.long 0x00 6. " CRLRI6 ,CRLR6 Latched Indicator Bit" "Low,High"
|
|
eventfld.long 0x00 4. " CAPIF6 ,Channel 6 Capture Interrupt Indication Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 3. " CAPCH6EN ,Channel 6 Capture Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " CFL_IE6 ,Channel 6 Falling Latch Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CRL_IE6 ,Channel 6 Rising Latch Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " INV6 ,Channel 6 Inverter Enable" "Disabled,Enabled"
|
|
endif
|
|
rgroup.long 0x58++0xF
|
|
line.long 0x00 "CRLR4,PWM Group B Capture Rising Latch Register (Channel 4)"
|
|
hexmask.long.word 0x00 0.--15. 1. " CRLR4 ,Capture Rising Latch Register"
|
|
line.long 0x04 "CFLR4,PWM Group B Capture Falling Latch Register (Channel 4)"
|
|
hexmask.long.word 0x04 0.--15. 1. " CFLR4 ,Capture Falling Latch Register"
|
|
line.long 0x08 "CRLR5,PWM Group B Capture Rising Latch Register (Channel 5)"
|
|
hexmask.long.word 0x08 0.--15. 1. " CRLR5 ,Capture Rising Latch Register"
|
|
line.long 0x0C "CFLR5,PWM Group B Capture Falling Latch Register (Channel 5)"
|
|
hexmask.long.word 0x0C 0.--15. 1. " CFLR5 ,Capture Falling Latch Register"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
rgroup.long 0x68++0xF
|
|
line.long 0x00 "CRLR6,PWM Group B Capture Rising Latch Register (Channel 6)"
|
|
hexmask.long.word 0x00 0.--15. 1. " CRLR6 ,Capture Rising Latch Register"
|
|
line.long 0x04 "CFLR6,PWM Group B Capture Falling Latch Register (Channel 6)"
|
|
hexmask.long.word 0x04 0.--15. 1. " CFLR6 ,Capture Falling Latch Register"
|
|
line.long 0x08 "CRLR7,PWM Group B Capture Rising Latch Register (Channel 7)"
|
|
hexmask.long.word 0x08 0.--15. 1. " CRLR7 ,Capture Rising Latch Register"
|
|
line.long 0x0C "CFLR7,PWM Group B Capture Falling Latch Register (Channel 7)"
|
|
hexmask.long.word 0x0C 0.--15. 1. " CFLR7 ,Capture Falling Latch Register"
|
|
endif
|
|
group.long 0x78++0x7
|
|
line.long 0x00 "CAPENR,PWM Group B Capture Input 4-7 Enable Register"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x00 3. " CAPENR7 ,Channel 7 capture input enable register" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " CAPENR6 ,Channel 6 capture input enable register" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 1. " CAPENR5 ,Channel 5 capture input enable register" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " CAPENR4 ,Channel 4 capture input enable register" "Disabled,Enabled"
|
|
line.long 0x04 "POE,PWM Group B Output Enable for channel 4-7"
|
|
sif (cpuis("NUC1?0V??AN")||cpu()=="NUC130VE3CN"||cpu()=="NUC140VE3CN")
|
|
bitfld.long 0x04 3. " PWM7 ,Channel 7 ouput enable register" "Disabled,Enabled"
|
|
bitfld.long 0x04 2. " PWM6 ,Channel 6 ouput enable register" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " PWM5 ,Channel 5 ouput enable register" "Disabled,Enabled"
|
|
bitfld.long 0x04 0. " PWM4 ,Channel 4 ouput enable register" "Disabled,Enabled"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
tree "RTC (Real Time Clock)"
|
|
sif (!cpuis("NUC122Z*"))
|
|
base ad:0x40008000
|
|
width 6.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "INIR,RTC Initiation Register"
|
|
hexmask.long 0x00 1.--31. 1. " INIR ,RTC Initiation"
|
|
textline " "
|
|
bitfld.long 0x00 0. " ACTIVE ,RTC Active state" "Reset,Active"
|
|
line.long 0x04 "AER,RTC Access Enable Register"
|
|
bitfld.long 0x04 16. " ENF ,RTC Register Access Enable Flag" "Disabled,Enabled"
|
|
hexmask.long.word 0x04 0.--15. 1. " AER ,RTC Register Access Enable Password"
|
|
line.long 0x08 "FCR,RTC Frequency Compensation Register"
|
|
bitfld.long 0x08 8.--11. " INTEGER ,Integer Part" "32761,32762,32763,32764,32765,32766,32767,32768,32769,32770,32771,32772,32773,32774,32775,32776"
|
|
bitfld.long 0x08 0.--5. " FRACTION ,Fraction Part" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
if (((d.l(ad:0x40008000+0xC)&0x300000)!=0x200000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x1))
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TLR,Time Loading Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit" "0,1,2,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0xC)&0x300000)==0x200000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x1))
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TLR,Time Loading Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit" "0,1,2,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit" "0,1,2,3,-,-,-,-,-,-,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0xC)&0x300000)!=0x100000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x0))
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TLR,Time Loading Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit" "0,1,-,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0xC)&0x300000)==0x100000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x0))
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TLR,Time Loading Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit" "0,1,-,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit" "0,1,-,-,-,-,-,-,-,-,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
endif
|
|
if (((d.l(ad:0x40008000+0x10)&0x1F00)==(0x0400||0x0600||0x0900||0x1100)))
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "CLR,Calendar Loading Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,30,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
elif (((d.l(ad:0x40008000+0x10)&0x1F00)==0x0200)&&((d.l(ad:0x40008000+0x24)&0x1)==0x00))
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "CLR,Calendar Loading Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
elif (((d.l(ad:0x40008000+0x10)&0x1F00)==0x0200)&&((d.l(ad:0x40008000+0x24)&0x01)==0x01))
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "CLR,Calendar Loading Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
else
|
|
group.long 0x10++0x3
|
|
line.long 0x00 "CLR,Calendar Loading Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,30,31,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
endif
|
|
group.long 0x14++0x7
|
|
line.long 0x00 "TSSR,Time Scale Selection Register"
|
|
bitfld.long 0x00 0. " 24H_12H ,RTC Active state" "12-hour,24-hour"
|
|
line.long 0x04 "DWR,Day of the Week Register"
|
|
bitfld.long 0x04 0.--2. " DWR ,Day of the Week Register" "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,?..."
|
|
if (((d.l(ad:0x40008000+0x1C)&0x300000)!=0x200000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x1))
|
|
group.long 0x1C++0x3
|
|
line.long 0x00 "TAR,Time Alarm Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit of Alarm Setting" "0,1,2,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0x1C)&0x300000)==0x200000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x1))
|
|
group.long 0x1C++0x3
|
|
line.long 0x00 "TAR,Time Alarm Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit of Alarm Setting" "0,1,2,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit of Alarm Setting" "0,1,2,3,-,-,-,-,-,-,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0x1C)&0x300000)!=0x100000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x0))
|
|
group.long 0x1C++0x3
|
|
line.long 0x00 "TAR,Time Alarm Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit of Alarm Setting" "0,1,-,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
elif (((d.l(ad:0x40008000+0x1C)&0x300000)==0x100000)&&((d.l(ad:0x40008000+0x14)&0x1)==0x0))
|
|
group.long 0x1C++0x3
|
|
line.long 0x00 "TAR,Time Alarm Register"
|
|
bitfld.long 0x00 20.--21. " TIME ,10-Hour Time Digit of Alarm Setting" "0,1,-,-"
|
|
bitfld.long 0x00 16.--19. ",1-Hour Time Digit of Alarm Setting" "0,1,-,-,-,-,-,-,-,-,-,-,-,?..."
|
|
bitfld.long 0x00 12.--14. ":,10-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 8.--11. ",1-Min Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 4.--6. ":,10-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,-,-"
|
|
bitfld.long 0x00 0.--3. ",1-Sec Time Digit of Alarm Setting" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
endif
|
|
if (((d.l(ad:0x40008000+0x20)&0x1F00)==(0x0400||0x0600||0x0900||0x1100)))
|
|
group.long 0x20++0x3
|
|
line.long 0x00 "CAR,Calendar Alarm Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,30,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
elif (((d.l(ad:0x40008000+0x20)&0x1F00)==0x0200)&&((d.l(ad:0x40008000+0x24)&0x1)==0x00))
|
|
group.long 0x20++0x3
|
|
line.long 0x00 "CAR,Calendar Alarm Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
elif (((d.l(ad:0x40008000+0x20)&0x1F00)==0x0200)&&((d.l(ad:0x40008000+0x24)&0x01)==0x01))
|
|
group.long 0x20++0x3
|
|
line.long 0x00 "CAR,Calendar Alarm Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
else
|
|
group.long 0x20++0x3
|
|
line.long 0x00 "CAR,Calendar Alarm Register"
|
|
bitfld.long 0x00 20.--23. " DATE ,10-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 16.--19. ",1-Year Calendar Digit" "0,1,2,3,4,5,6,7,8,9,-,-,-,?..."
|
|
bitfld.long 0x00 8.--12. "/,Month Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
bitfld.long 0x00 0.--5. "/,Day Calendar Digits" "--,01,02,03,04,05,06,07,08,09,--,--,--,--,--,--,10,11,12,13,14,15,16,17,18,19,--,--,--,--,--,--,20,21,22,23,24,25,26,27,28,29,--,--,--,--,--,--,30,31,--,--,--,--,--,--,--,--,--,--,--,--,--,--"
|
|
endif
|
|
rgroup.long 0x24++0x3
|
|
line.long 0x00 "LIR,RTC Leap year Indication Register"
|
|
bitfld.long 0x00 0. " LIR ,Leap Year" "Not leap year,Leap year"
|
|
group.long 0x28++0xB
|
|
line.long 0x00 "RIER,RTC Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " TIER ,Time Tick Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " AIER ,Alarm Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "RIIR,RTC Interrupt Indication Register"
|
|
eventfld.long 0x04 1. " TIF ,RTC Time Tick Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " AIF ,RTC Alarm Interrupt Flag" "No interrupt,Interrupt"
|
|
line.long 0x08 "TTR,RTC Time Tick Register"
|
|
bitfld.long 0x08 3. " TWKE ,RTC Timer Wake-up Function Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 0.--2. " TTR ,Time Tick Register" "1,1/2,1/4,1/8,1/16,1/32,1/64,1/128"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.open "SPI (Serial Peripheral Interface)"
|
|
tree "SPI 0"
|
|
base ad:0x40030000
|
|
width 13.
|
|
if (((d.l(ad:0x40030000))&0x40000)==0x0)
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 23. " VARCLK_EN ,Variable Clock" "VARCLK/DIVIDER/DIVIDER2,DIVIDER"
|
|
textline " "
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 12.--15. " SP_CYCLE ,Suspend Interval" "2*SPICLK,3*SPICLK,4*SPICLK,5*SPICLK,6*SPICLK,7*SPICLK,8*SPICLK,9*SPICLK,10*SPICLK,11*SPICLK,12*SPICLK,13*SPICLK,14*SPICLK,15*SPICLK,16*SPICLK,17*SPICLK"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Data transfer control" "Stopped,Started"
|
|
line.long 0x04 "SPI_DIVIDER,Clock Divider Register"
|
|
hexmask.long.word 0x04 16.--31. 1. " DIVIDER2 ,Clock Divider 2 Register"
|
|
hexmask.long.word 0x04 0.--15. 1. " DIVIDER ,Clock Divider Register"
|
|
line.long 0x08 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x08 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x08 3. " AUTOSS ,Automatic Slave Select" "SSR,Automatic"
|
|
textline " "
|
|
bitfld.long 0x08 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x08 0. " SSR ,Slave Select Register" "Inactive,Active"
|
|
else
|
|
bitfld.long 0x08 0.--1. " SSR ,Slave Select Register" "0,1,2,3"
|
|
endif
|
|
else
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
textline " "
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Slave ready bit" "Not ready,Ready"
|
|
group.long 0x08++0x3
|
|
line.long 0x00 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x00 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 4. " SS_LTRIG ,Slave Select Level Trigger" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
endif
|
|
rgroup.long 0x10++0x7
|
|
line.long 0x00 "SPI_RX0,Data Receive Register 0"
|
|
line.long 0x04 "SPI_RX1,Data Receive Register 1"
|
|
wgroup.long 0x20++0x7
|
|
line.long 0x00 "SPI_TX0,Data Transmit Register 0"
|
|
line.long 0x04 "SPI_TX1,Data Transmit Register 1"
|
|
group.long 0x34++0x3
|
|
line.long 0x00 "SPI_VARCLK,Variable Clock Pattern Register"
|
|
sif (cpuis("NUC1?0*"))
|
|
group.long 0x38++0x3
|
|
line.long 0x00 "SPI_DMA,SPI DMA Control Register"
|
|
bitfld.long 0x00 1. " RX_DMA_GO ,Receive DMA Start" "Not started,Started"
|
|
bitfld.long 0x00 0. " TX_DMA_GO ,Transmit DMA Start" "Not started,Started"
|
|
endif
|
|
sif (cpuis("NUC1?0???CN"))
|
|
group.long 0x3C++0x7
|
|
line.long 0x00 "SPI_CNTRL2,Control and Status Register 2"
|
|
eventfld.long 0x00 11. " SLV_START_INTSTS ,Slave Start Interrupt Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 10. " SSTA_INTEN ,Slave Start Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " SLV_ABORT ,Abort in Slave Mode with No Slave Select (Force interrupt)" "Not aborted,Aborted"
|
|
bitfld.long 0x00 8. " NOSLVSEL ,No Slave Select in Slave Mode" "4-wire bi-direction,3-wire bi-direction"
|
|
textline " "
|
|
bitfld.long 0x00 0. " DIV_ONE ,SPI clock divider control" "SPI_DIVIDER,Enabled"
|
|
line.long 0x04 "SPI_FIFO_CTL,FIFO Control Register"
|
|
eventfld.long 0x04 1. " TX_CLR ,Clear Tx FIFO" "No effect,Clear"
|
|
eventfld.long 0x04 0. " RX_CLR ,Clear Rx FIFO" "No effect,Clear"
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree "SPI 1"
|
|
sif ((!cpuis("NUC100L*")&&!cpuis("NUC120L*")&&!cpuis("NUC130L*")&&!cpuis("NUC140L*"))||cpuis("NUC122*"))
|
|
base ad:0x40034000
|
|
width 13.
|
|
if (((d.l(ad:0x40034000))&0x40000)==0x0)
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 23. " VARCLK_EN ,Variable Clock" "VARCLK/DIVIDER/DIVIDER2,DIVIDER"
|
|
textline " "
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 12.--15. " SP_CYCLE ,Suspend Interval" "2*SPICLK,3*SPICLK,4*SPICLK,5*SPICLK,6*SPICLK,7*SPICLK,8*SPICLK,9*SPICLK,10*SPICLK,11*SPICLK,12*SPICLK,13*SPICLK,14*SPICLK,15*SPICLK,16*SPICLK,17*SPICLK"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Data transfer control" "Stopped,Started"
|
|
line.long 0x04 "SPI_DIVIDER,Clock Divider Register"
|
|
hexmask.long.word 0x04 16.--31. 1. " DIVIDER2 ,Clock Divider 2 Register"
|
|
hexmask.long.word 0x04 0.--15. 1. " DIVIDER ,Clock Divider Register"
|
|
line.long 0x08 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x08 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x08 3. " AUTOSS ,Automatic Slave Select" "SSR,Automatic"
|
|
textline " "
|
|
bitfld.long 0x08 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x08 0. " SSR ,Slave Select Register" "Inactive,Active"
|
|
else
|
|
bitfld.long 0x08 0.--1. " SSR ,Slave Select Register" "0,1,2,3"
|
|
endif
|
|
else
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
textline " "
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Slave ready bit" "Not ready,Ready"
|
|
group.long 0x08++0x3
|
|
line.long 0x00 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x00 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 4. " SS_LTRIG ,Slave Select Level Trigger" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
endif
|
|
rgroup.long 0x10++0x7
|
|
line.long 0x00 "SPI_RX0,Data Receive Register 0"
|
|
line.long 0x04 "SPI_RX1,Data Receive Register 1"
|
|
wgroup.long 0x20++0x7
|
|
line.long 0x00 "SPI_TX0,Data Transmit Register 0"
|
|
line.long 0x04 "SPI_TX1,Data Transmit Register 1"
|
|
group.long 0x34++0x3
|
|
line.long 0x00 "SPI_VARCLK,Variable Clock Pattern Register"
|
|
sif (cpuis("NUC1?0*"))
|
|
group.long 0x38++0x3
|
|
line.long 0x00 "SPI_DMA,SPI DMA Control Register"
|
|
bitfld.long 0x00 1. " RX_DMA_GO ,Receive DMA Start" "Not started,Started"
|
|
bitfld.long 0x00 0. " TX_DMA_GO ,Transmit DMA Start" "Not started,Started"
|
|
endif
|
|
sif (cpuis("NUC1?0???CN"))
|
|
group.long 0x3C++0x7
|
|
line.long 0x00 "SPI_CNTRL2,Control and Status Register 2"
|
|
eventfld.long 0x00 11. " SLV_START_INTSTS ,Slave Start Interrupt Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 10. " SSTA_INTEN ,Slave Start Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " SLV_ABORT ,Abort in Slave Mode with No Slave Select (Force interrupt)" "Not aborted,Aborted"
|
|
bitfld.long 0x00 8. " NOSLVSEL ,No Slave Select in Slave Mode" "4-wire bi-direction,3-wire bi-direction"
|
|
textline " "
|
|
bitfld.long 0x00 0. " DIV_ONE ,SPI clock divider control" "SPI_DIVIDER,Enabled"
|
|
line.long 0x04 "SPI_FIFO_CTL,FIFO Control Register"
|
|
eventfld.long 0x04 1. " TX_CLR ,Clear Tx FIFO" "No effect,Clear"
|
|
eventfld.long 0x04 0. " RX_CLR ,Clear Rx FIFO" "No effect,Clear"
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "SPI 2"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
base ad:0x40130000
|
|
width 13.
|
|
if (((d.l(ad:0x40130000))&0x40000)==0x0)
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 23. " VARCLK_EN ,Variable Clock" "VARCLK/DIVIDER/DIVIDER2,DIVIDER"
|
|
textline " "
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 12.--15. " SP_CYCLE ,Suspend Interval" "2*SPICLK,3*SPICLK,4*SPICLK,5*SPICLK,6*SPICLK,7*SPICLK,8*SPICLK,9*SPICLK,10*SPICLK,11*SPICLK,12*SPICLK,13*SPICLK,14*SPICLK,15*SPICLK,16*SPICLK,17*SPICLK"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Data transfer control" "Stopped,Started"
|
|
line.long 0x04 "SPI_DIVIDER,Clock Divider Register"
|
|
hexmask.long.word 0x04 16.--31. 1. " DIVIDER2 ,Clock Divider 2 Register"
|
|
hexmask.long.word 0x04 0.--15. 1. " DIVIDER ,Clock Divider Register"
|
|
line.long 0x08 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x08 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x08 3. " AUTOSS ,Automatic Slave Select" "SSR,Automatic"
|
|
textline " "
|
|
bitfld.long 0x08 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x08 0. " SSR ,Slave Select Register" "Inactive,Active"
|
|
else
|
|
bitfld.long 0x08 0.--1. " SSR ,Slave Select Register" "0,1,2,3"
|
|
endif
|
|
else
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
textline " "
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Slave ready bit" "Not ready,Ready"
|
|
group.long 0x08++0x3
|
|
line.long 0x00 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x00 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 4. " SS_LTRIG ,Slave Select Level Trigger" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
endif
|
|
rgroup.long 0x10++0x7
|
|
line.long 0x00 "SPI_RX0,Data Receive Register 0"
|
|
line.long 0x04 "SPI_RX1,Data Receive Register 1"
|
|
wgroup.long 0x20++0x7
|
|
line.long 0x00 "SPI_TX0,Data Transmit Register 0"
|
|
line.long 0x04 "SPI_TX1,Data Transmit Register 1"
|
|
group.long 0x34++0x3
|
|
line.long 0x00 "SPI_VARCLK,Variable Clock Pattern Register"
|
|
sif (cpuis("NUC1?0*"))
|
|
group.long 0x38++0x3
|
|
line.long 0x00 "SPI_DMA,SPI DMA Control Register"
|
|
bitfld.long 0x00 1. " RX_DMA_GO ,Receive DMA Start" "Not started,Started"
|
|
bitfld.long 0x00 0. " TX_DMA_GO ,Transmit DMA Start" "Not started,Started"
|
|
endif
|
|
sif (cpuis("NUC1?0???CN"))
|
|
group.long 0x3C++0x7
|
|
line.long 0x00 "SPI_CNTRL2,Control and Status Register 2"
|
|
eventfld.long 0x00 11. " SLV_START_INTSTS ,Slave Start Interrupt Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 10. " SSTA_INTEN ,Slave Start Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " SLV_ABORT ,Abort in Slave Mode with No Slave Select (Force interrupt)" "Not aborted,Aborted"
|
|
bitfld.long 0x00 8. " NOSLVSEL ,No Slave Select in Slave Mode" "4-wire bi-direction,3-wire bi-direction"
|
|
textline " "
|
|
bitfld.long 0x00 0. " DIV_ONE ,SPI clock divider control" "SPI_DIVIDER,Enabled"
|
|
line.long 0x04 "SPI_FIFO_CTL,FIFO Control Register"
|
|
eventfld.long 0x04 1. " TX_CLR ,Clear Tx FIFO" "No effect,Clear"
|
|
eventfld.long 0x04 0. " RX_CLR ,Clear Rx FIFO" "No effect,Clear"
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "SPI 3"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
base ad:0x40134000
|
|
width 13.
|
|
if (((d.l(ad:0x40134000))&0x40000)==0x0)
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 23. " VARCLK_EN ,Variable Clock" "VARCLK/DIVIDER/DIVIDER2,DIVIDER"
|
|
textline " "
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
textline " "
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 12.--15. " SP_CYCLE ,Suspend Interval" "2*SPICLK,3*SPICLK,4*SPICLK,5*SPICLK,6*SPICLK,7*SPICLK,8*SPICLK,9*SPICLK,10*SPICLK,11*SPICLK,12*SPICLK,13*SPICLK,14*SPICLK,15*SPICLK,16*SPICLK,17*SPICLK"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Data transfer control" "Stopped,Started"
|
|
line.long 0x04 "SPI_DIVIDER,Clock Divider Register"
|
|
hexmask.long.word 0x04 16.--31. 1. " DIVIDER2 ,Clock Divider 2 Register"
|
|
hexmask.long.word 0x04 0.--15. 1. " DIVIDER ,Clock Divider Register"
|
|
line.long 0x08 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x08 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x08 3. " AUTOSS ,Automatic Slave Select" "SSR,Automatic"
|
|
textline " "
|
|
bitfld.long 0x08 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x08 0. " SSR ,Slave Select Register" "Inactive,Active"
|
|
else
|
|
bitfld.long 0x08 0.--1. " SSR ,Slave Select Register" "0,1,2,3"
|
|
endif
|
|
else
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "SPI_CNTRL,Control and Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 27. " TX_FULL ,Transmitted FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 26. " TX_EMPTY ,Transmitted FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x00 25. " RX_FULL ,Received FIFO_FULL STATUS" "Not full,Full"
|
|
bitfld.long 0x00 24. " RX_EMPTY ,Received FIFO_EMPTY STATUS" "Not empty,Empty"
|
|
textline " "
|
|
endif
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 22. " TWOB ,Two Bits Transfer Mode Active" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 21. " FIFO ,FIFO Mode" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 19.--20. " REORDER ,Reorder/byte suspend function" "Disabled/disabled,Enabled/enabled,Enabled/disabled,Disabled/enabled"
|
|
bitfld.long 0x00 18. " SLAVE ,Slave Mode Indication" "Master,Slave"
|
|
textline " "
|
|
bitfld.long 0x00 17. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
eventfld.long 0x00 16. " IF ,Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 11. " CLKP ,Idle clock Polarity" "Low,High"
|
|
bitfld.long 0x00 10. " LSB ,LSB First" "MSB,LSB"
|
|
textline " "
|
|
bitfld.long 0x00 8.--9. " TX_NUM ,Transmit/Receive Word Number" "1,2,?..."
|
|
bitfld.long 0x00 3.--7. " TX_BIT_LEN ,Transmit Bit Length" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
textline " "
|
|
bitfld.long 0x00 2. " TX_NEG ,Transmit At Negative Edge" "Rising-edge,Falling-edge"
|
|
bitfld.long 0x00 1. " RX_NEG ,Receive At Negative Edge" "Rising-edge,Falling-edge"
|
|
textline " "
|
|
bitfld.long 0x00 0. " GO_BUSY ,Slave ready bit" "Not ready,Ready"
|
|
group.long 0x08++0x3
|
|
line.long 0x00 "SPI_SSR,Slave Select Register"
|
|
bitfld.long 0x00 5. " LTRIG_FLAG ,Level Trigger Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 4. " SS_LTRIG ,Slave Select Level Trigger" "Edge,Level"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SS_LVL ,Slave Select Active Level" "Low-level/falling-edge,High-level/rising-edge"
|
|
endif
|
|
rgroup.long 0x10++0x7
|
|
line.long 0x00 "SPI_RX0,Data Receive Register 0"
|
|
line.long 0x04 "SPI_RX1,Data Receive Register 1"
|
|
wgroup.long 0x20++0x7
|
|
line.long 0x00 "SPI_TX0,Data Transmit Register 0"
|
|
line.long 0x04 "SPI_TX1,Data Transmit Register 1"
|
|
group.long 0x34++0x3
|
|
line.long 0x00 "SPI_VARCLK,Variable Clock Pattern Register"
|
|
sif (cpuis("NUC1?0*"))
|
|
group.long 0x38++0x3
|
|
line.long 0x00 "SPI_DMA,SPI DMA Control Register"
|
|
bitfld.long 0x00 1. " RX_DMA_GO ,Receive DMA Start" "Not started,Started"
|
|
bitfld.long 0x00 0. " TX_DMA_GO ,Transmit DMA Start" "Not started,Started"
|
|
endif
|
|
sif (cpuis("NUC1?0???CN"))
|
|
group.long 0x3C++0x7
|
|
line.long 0x00 "SPI_CNTRL2,Control and Status Register 2"
|
|
eventfld.long 0x00 11. " SLV_START_INTSTS ,Slave Start Interrupt Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 10. " SSTA_INTEN ,Slave Start Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 9. " SLV_ABORT ,Abort in Slave Mode with No Slave Select (Force interrupt)" "Not aborted,Aborted"
|
|
bitfld.long 0x00 8. " NOSLVSEL ,No Slave Select in Slave Mode" "4-wire bi-direction,3-wire bi-direction"
|
|
textline " "
|
|
bitfld.long 0x00 0. " DIV_ONE ,SPI clock divider control" "SPI_DIVIDER,Enabled"
|
|
line.long 0x04 "SPI_FIFO_CTL,FIFO Control Register"
|
|
eventfld.long 0x04 1. " TX_CLR ,Clear Tx FIFO" "No effect,Clear"
|
|
eventfld.long 0x04 0. " RX_CLR ,Clear Rx FIFO" "No effect,Clear"
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
tree.open "TMR (Timer Controller)"
|
|
tree "TIMER 0"
|
|
base ad:0x40010000
|
|
width 9.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "TCSR0,Timer 0 Control and Status Register"
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DBGACK_TMR ,ICE debug mode acknowledge Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 30. " CEN ,Timer Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,Continuous counting"
|
|
elif (cpuis("M05*"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,?..."
|
|
else
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,?..."
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 26. " CRST ,Timer Reset" "No effect,Reset"
|
|
bitfld.long 0x00 25. " CACT ,Timer Active Status" "Not activated,Activated"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 24. " CTB ,Counter Mode Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 16. " TDR_EN ,Data Load Enable" "Disabled,Enabled"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " PRESCALE ,Pre-scale Counter"
|
|
line.long 0x04 "TCMPR0,Timer 0 Compare Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " TCMP ,Timer Compared Value"
|
|
line.long 0x08 "TISR0,Timer 0 Interrupt Status Register"
|
|
eventfld.long 0x08 0. " TIF ,Timer Interrupt Flag" "No interrupt,Interrupt"
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TDR0,Timer 0 Data Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TDR ,Timer Data Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 "TCAP0,Timer 0 Capture Data Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TCAP , Timer Capture Data Register"
|
|
group.long 0x14++0x7
|
|
line.long 0x00 "TEXCON0,Timer 0 External Control Register"
|
|
bitfld.long 0x00 7. " TCDB ,Timer Counter pin De-bounce enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " TEXDB ,Timer External Capture pin De-bounce enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " TEXIEN ,Timer External interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " RSTCAP0 ,Timer External Reset Counter/capture mode select" "Capture,Counter reset"
|
|
textline " "
|
|
bitfld.long 0x00 3. " TEXEN ,Timer External Pin Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1.--2. " TEX_EDGE ,Timer External Pin Edge Detect" "Falling edge,Rising edge,Both edges,?..."
|
|
textline " "
|
|
bitfld.long 0x00 0. " TX_PHASE ,Timer External Count Phase" "Falling edge,Rising edge"
|
|
line.long 0x04 "TEXISR0,Timer 0 External Interrupt Status Register"
|
|
bitfld.long 0x04 0. " TEXIF ,Timer External Interrupt Flag" "No interrupt,Interrupt"
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree "TIMER 1"
|
|
base ad:0x40010020
|
|
width 9.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "TCSR1,Timer 1 Control and Status Register"
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DBGACK_TMR ,ICE debug mode acknowledge Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 30. " CEN ,Timer Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,Continuous counting"
|
|
elif (cpuis("M05*"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,?..."
|
|
else
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,?..."
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 26. " CRST ,Timer Reset" "No effect,Reset"
|
|
bitfld.long 0x00 25. " CACT ,Timer Active Status" "Not activated,Activated"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 24. " CTB ,Counter Mode Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 16. " TDR_EN ,Data Load Enable" "Disabled,Enabled"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " PRESCALE ,Pre-scale Counter"
|
|
line.long 0x04 "TCMPR1,Timer 1 Compare Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " TCMP ,Timer Compared Value"
|
|
line.long 0x08 "TISR1,Timer 1 Interrupt Status Register"
|
|
eventfld.long 0x08 0. " TIF ,Timer Interrupt Flag" "No interrupt,Interrupt"
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TDR1,Timer 1 Data Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TDR ,Timer Data Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree "TIMER 2"
|
|
base ad:0x40110000
|
|
width 9.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "TCSR2,Timer 2 Control and Status Register"
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DBGACK_TMR ,ICE debug mode acknowledge Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 30. " CEN ,Timer Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,Continuous counting"
|
|
elif (cpuis("M05*"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,?..."
|
|
else
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,?..."
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 26. " CRST ,Timer Reset" "No effect,Reset"
|
|
bitfld.long 0x00 25. " CACT ,Timer Active Status" "Not activated,Activated"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 24. " CTB ,Counter Mode Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 16. " TDR_EN ,Data Load Enable" "Disabled,Enabled"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " PRESCALE ,Pre-scale Counter"
|
|
line.long 0x04 "TCMPR2,Timer 2 Compare Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " TCMP ,Timer Compared Value"
|
|
line.long 0x08 "TISR2,Timer 2 Interrupt Status Register"
|
|
eventfld.long 0x08 0. " TIF ,Timer Interrupt Flag" "No interrupt,Interrupt"
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TDR2,Timer 2 Data Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TDR ,Timer Data Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree "TIMER 3"
|
|
base ad:0x40110020
|
|
width 9.
|
|
group.long 0x00++0xB
|
|
line.long 0x00 "TCSR3,Timer 3 Control and Status Register"
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DBGACK_TMR ,ICE debug mode acknowledge Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 30. " CEN ,Timer Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 29. " IE ,Interrupt Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,Continuous counting"
|
|
elif (cpuis("M05*"))
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,Toggle,?..."
|
|
else
|
|
bitfld.long 0x00 27.--28. " MODE ,Timer Operating Mode" "One-shot,Periodic,?..."
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 26. " CRST ,Timer Reset" "No effect,Reset"
|
|
bitfld.long 0x00 25. " CACT ,Timer Active Status" "Not activated,Activated"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???CN")||cpuis("NUC1?0???BN"))
|
|
bitfld.long 0x00 24. " CTB ,Counter Mode Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 16. " TDR_EN ,Data Load Enable" "Disabled,Enabled"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " PRESCALE ,Pre-scale Counter"
|
|
line.long 0x04 "TCMPR3,Timer 3 Compare Register"
|
|
hexmask.long.tbyte 0x04 0.--23. 1. " TCMP ,Timer Compared Value"
|
|
line.long 0x08 "TISR3,Timer 3 Interrupt Status Register"
|
|
eventfld.long 0x08 0. " TIF ,Timer Interrupt Flag" "No interrupt,Interrupt"
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "TDR3,Timer 3 Data Register"
|
|
hexmask.long.tbyte 0x00 0.--23. 1. " TDR ,Timer Data Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree.end
|
|
tree "WDT (Watchdog Timer)"
|
|
base ad:0x40004000
|
|
width 10.
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "WTCR,Watchdog Timer Control Register"
|
|
sif (cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DBGACK_WDT ,ICE debug mode acknowledge Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 8.--10. " WTIS ,Watchdog Timer Interval" "(2^4)*Twdt,(2^6)*Twdt,(2^8)*Twdt,(2^10)*Twdt,(2^12)*Twdt,(2^14)*Twdt,(2^16)*Twdt,(2^18)*Twdt"
|
|
textline " "
|
|
bitfld.long 0x00 7. " WTE ,Watchdog Timer Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " WTIE ,Watchdog Timer Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 5. " WTWKF ,Watchdog Timer Wake-up Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 4. " WTWKE ,Watchdog Timer Wake-up Function Enable bit" "Disabled,Enabled"
|
|
textline " "
|
|
eventfld.long 0x00 3. " WTIF ,Watchdog Timer Interrupt Flag" "Not occurred,Occurred"
|
|
eventfld.long 0x00 2. " WTRF ,Watchdog Timer Reset Flag" "Not occurred,Occurred"
|
|
textline " "
|
|
bitfld.long 0x00 1. " WTRE ,Watchdog Timer Reset Enable" "Disabled,Enabled"
|
|
sif (cpuis("M05*"))
|
|
eventfld.long 0x00 0. " WTR ,Clear Watchdog Timer" "No effect,Reset"
|
|
else
|
|
bitfld.long 0x00 0. " WTR ,Clear Watchdog Timer" "No effect,Reset"
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree.open "UART (UART Interface Controller)"
|
|
tree "UART 0"
|
|
base ad:0x40050000
|
|
width 10.
|
|
hgroup.long 0x00++0x3
|
|
hide.long 0x00 "UA_RBR,UART0 Receive Buffer Register"
|
|
in
|
|
wgroup.long 0x00++0x3
|
|
line.long 0x00 "UA_THR,UART0 Transmit Holding Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " THR ,Transmit Holding Register"
|
|
group.long 0x04++0xB
|
|
line.long 0x00 "UA_IER,UART0 Interrupt Enable Register"
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x00 15. " DMA_RX_EN ,RX DMA Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 14. " DMA_TX_EN ,TX DMA Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 13. " AUTO_CTS_EN ,CTS Auto Flow Control Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 12. " AUTO_RTS_EN ,RTS Auto Flow Control Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " TIME_OUT_EN ,Time Out Counter Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 8. " LIN_RX_BRK_IEN ,LIN RX Break Field Detected Interrupt Enable (LIN mode)" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 6. " WAKE_EN ,UART Wake-up Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " BUF_ERR_IEN ,Buffer Error Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " RTO_IEN ,RX Time Out Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " MODEM_IEN ,Modem Status Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2. " RLS_IEN ,Receive Line Status Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " THRE_IEN ,Transmit Holding Register Empty Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 0. " RDA_IEN ,Receive Data Available Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "UA_FCR,UART0 FIFO Control Register"
|
|
bitfld.long 0x04 16.--19. " RTS_TRI_LEV ,RTS Trigger Level (high/normal speed) for Auto-flow Control Use" "1-byte,4-bytes,8-bytes,14-bytes,30/14-bytes,46/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 8. " RX_DIS ,Receiver Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4.--7. " RFITL ,RX FIFO Interrupt (INT_RDA) Trigger Level (high/normal speed)" "1-byte,4-bytes,8-bytes,14-bytes,30/14-bytes,46/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes,62/14-bytes"
|
|
textline " "
|
|
bitfld.long 0x04 2. " TFR ,TX Field Software Reset " "No effect,Reset"
|
|
bitfld.long 0x04 1. " RFR ,RX Field Software Reset" "No effect,Reset"
|
|
line.long 0x08 "UA_LCR,UART0 Line Control Register"
|
|
bitfld.long 0x08 6. " BCB ,Break Control Bit" "Low,High"
|
|
bitfld.long 0x08 5. " SPE ,Stick Parity Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " EPE ,Even Parity Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " PBE ,Parity Bit Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " NSB ,Number of STOP bit" "One,One and a half"
|
|
bitfld.long 0x08 0.--1. " WLS ,Word Length Select" "5-bit,6-bit,7-bit,8-bit"
|
|
group.long 0x10++0x7
|
|
line.long 0x00 "UA_MCR,UART0 Modem Control Register"
|
|
bitfld.long 0x00 13. " RTS_ST ,RTS Pin State" "Low,High"
|
|
bitfld.long 0x00 9. " LEV_RTS ,RTS Trigger Level" "Low,High"
|
|
bitfld.long 0x00 1. " RTS ,Request-To-Send Signal" "Low,High"
|
|
line.long 0x04 "UA_MSR,UART0 Modem Status Register"
|
|
bitfld.long 0x04 8. " LEV_CTS ,CTS Trigger Level" "Low,High"
|
|
bitfld.long 0x04 4. " CTS_ST ,CTS Pin Status" "Low,High"
|
|
eventfld.long 0x04 0. " DCTSF ,Detect CTS State Change Flag" "Not detected,Detected"
|
|
group.long 0x18++0x1B
|
|
line.long 0x00 "UA_FSR,UART0 FIFO Status Register"
|
|
bitfld.long 0x00 28. " TE_FLAG ,Transmitter Empty Flag" "Not empty,Empty"
|
|
eventfld.long 0x00 24. " TX_OVER_IF ,TX Overflow Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 23. " TX_FULL ,Transmitter FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 22. " TX_EMPTY ,Transmitter FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 16.--21. " TX_POINTER ,TX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
bitfld.long 0x00 15. " RX_FULL ,Receiver FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 14. " RX_EMPTY ,Receiver FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 8.--13. " RX_POINTER ,RX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
eventfld.long 0x00 6. " BIF ,Break Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
eventfld.long 0x00 5. " FEF ,Framing Error Flag" "No error,Error"
|
|
eventfld.long 0x00 4. " PEF ,Parity Error Flag" "No error,Error"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
eventfld.long 0x00 3. " RS485_ADD_DETF ,RS-485 Address Byte Detection Flag" "Not detected,Detected"
|
|
textline " "
|
|
endif
|
|
eventfld.long 0x00 0. " RX_OVER_IF ,RX Overflow Error IF" "Not overflowed,Overflowed"
|
|
line.long 0x04 "UA_ISR,UART0 Interrupt Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 31. " HW_LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 29. " HW_BUF_ERR_INT ,Buffer Error Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 28. " HW_TOUT_INT ,Time Out Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 27. " HW_MODEM_INT ,MODEM Status Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 26. " HW_RLS_INT ,Receive Line Status Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 23. " HW_LIN_RX_BREAK_IF ,IN Bus RX Break Field Detect Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 21. " HW_BUF_ERR_IF ,Buffer Error Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 20. " HW_TOUT_IF ,Time Out Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 19. " HW_MODEM_IF ,MODEM Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 18. " HW_RLS_IF ,Receive Line Status Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 15. " LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 13. " BUF_ERR_INT ,Buffer Error Interrupt Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 12. " TOUT_INT ,Time Out Interrupt Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 11. " MODEM_INT ,MODEM Status Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 10. " RLS_INT ,Receive Line Status Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 9. " THRE_INT ,Transmit Holding Register Empty Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 8. " RDA_INT ,Receive Data Available Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
eventfld.long 0x04 7. " LIN_RX_BREAK_IF ,LIN Bus RX Break Field Detected Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 5. " BUF_ERR_IF ,Buffer Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 4. " TOUT_IF ,Time Out Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 3. " MODEM_IF ,MODEM Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 2. " RLS_IF ,Receive Line Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " THRE_IF ,Transmit Holding Register Empty Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " RDA_IF ,Receive Data Available Interrupt Flag" "No interrupt,Interrupt"
|
|
line.long 0x08 "UA_TOR,UART0 Time Out Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x08 8.--15. 1. " DLY ,TX Delay time value"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*"))
|
|
hexmask.long.byte 0x08 0.--6. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
else
|
|
hexmask.long.byte 0x08 0.--7. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
endif
|
|
line.long 0x0C "UA_BAUD,UART0 Baud Rate Divisor Register"
|
|
bitfld.long 0x0C 29. " DIV_X_EN ,Divider X Enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 28. " DIV_X_ONE ,Divider X equal 1" "M = X,M = 1"
|
|
bitfld.long 0x0C 24.--27. " DIVIDER_X ,Divider X" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
hexmask.long.word 0x0C 0.--15. 1. " BRD ,Baud Rate Divider"
|
|
line.long 0x10 "UA_IRCR,UART0 IrDA Control Register"
|
|
bitfld.long 0x10 6. " INV_RX ,INV_RX" "No inverted,Inverted"
|
|
bitfld.long 0x10 5. " INV_TX ,INV_TX" "No inverted,Inverted"
|
|
bitfld.long 0x10 1. " TX_SELECT ,IrDA mode" "Receiver,Transmitter"
|
|
line.long 0x14 "UA_ALT_CSR,UART0 Alternate Control/Status Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x14 24.--31. 1. " ADDR_MATCH ,Address match value register"
|
|
textline " "
|
|
bitfld.long 0x14 15. " RS485_ADD_EN ,RS-485 Address Detection Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 10. " RS485_AUD ,RS-485 Auto Direction Mode" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 9. " RS485_AAD ,RS-485 Auto Address Detection Operation Mode" "Disabled,Enabled"
|
|
bitfld.long 0x14 8. " RS485_NMM ,RS-485 Normal Multi-drop Operation Mode" "Disabled,Enabled"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x14 7. " LIN_TX_EN ,LIN TX Break Mode Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 6. " LIN_RX_EN ,LIN RX Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 0.--3. " UA_LIN_BKFL ,UART LIN Break Field Length" "2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17"
|
|
endif
|
|
line.long 0x18 "UA_FUN_SEL,UART0 Function Select Register"
|
|
sif (cpuis("NUC130???AN")||cpuis("NUC140???AN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,?..."
|
|
elif (cpuis("NUC130???BN")||cpuis("NUC140???BN")||cpuis("NUC130???CN")||cpuis("NUC140???CN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,RS-485"
|
|
elif ((!cpuis("NUC130*")&&!cpuis("NUC140*")&&cpuis("NUC1?0???BN"))||cpuis("NUC122*"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,RS-485"
|
|
else
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,?..."
|
|
endif
|
|
width 0xB
|
|
tree.end
|
|
tree "UART 1"
|
|
sif (!cpuis("NUC122Z*"))
|
|
base ad:0x40150000
|
|
width 10.
|
|
hgroup.long 0x00++0x3
|
|
hide.long 0x00 "UA_RBR,UART1 Receive Buffer Register"
|
|
in
|
|
wgroup.long 0x00++0x3
|
|
line.long 0x00 "UA_THR,UART1 Transmit Holding Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " THR ,Transmit Holding Register"
|
|
group.long 0x04++0xB
|
|
line.long 0x00 "UA_IER,UART1 Interrupt Enable Register"
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x00 15. " DMA_RX_EN ,RX DMA Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 14. " DMA_TX_EN ,TX DMA Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 13. " AUTO_CTS_EN ,CTS Auto Flow Control Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 12. " AUTO_RTS_EN ,RTS Auto Flow Control Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 11. " TIME_OUT_EN ,Time Out Counter Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 8. " LIN_RX_BRK_IEN ,LIN RX Break Field Detected Interrupt Enable (LIN mode)" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 6. " WAKE_EN ,UART Wake-up Function Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " BUF_ERR_IEN ,Buffer Error Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " RTO_IEN ,RX Time Out Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 3. " MODEM_IEN ,Modem Status Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2. " RLS_IEN ,Receive Line Status Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " THRE_IEN ,Transmit Holding Register Empty Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 0. " RDA_IEN ,Receive Data Available Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "UA_FCR,UART1 FIFO Control Register"
|
|
bitfld.long 0x04 16.--19. " RTS_TRI_LEV ,RTS Trigger Level for Auto-flow Control Use" "1-byte,4-bytes,8-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 8. " RX_DIS ,Receiver Disable" "No,Yes"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4.--7. " RFITL ,RX FIFO Interrupt (INT_RDA) Trigger Level" "1-byte,4-bytes,8-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes"
|
|
textline " "
|
|
bitfld.long 0x04 2. " TFR ,TX Field Software Reset " "No effect,Reset"
|
|
bitfld.long 0x04 1. " RFR ,RX Field Software Reset" "No effect,Reset"
|
|
line.long 0x08 "UA_LCR,UART1 Line Control Register"
|
|
bitfld.long 0x08 6. " BCB ,Break Control Bit" "Low,High"
|
|
bitfld.long 0x08 5. " SPE ,Stick Parity Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " EPE ,Even Parity Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " PBE ,Parity Bit Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " NSB ,Number of STOP bit" "One,One and a half"
|
|
bitfld.long 0x08 0.--1. " WLS ,Word Length Select" "5-bit,6-bit,7-bit,8-bit"
|
|
group.long 0x10++0x7
|
|
line.long 0x00 "UA_MCR,UART1 Modem Control Register"
|
|
bitfld.long 0x00 13. " RTS_ST ,RTS Pin State" "Low,High"
|
|
bitfld.long 0x00 9. " LEV_RTS ,RTS Trigger Level" "Low,High"
|
|
bitfld.long 0x00 1. " RTS ,Request-To-Send Signal" "Low,High"
|
|
line.long 0x04 "UA_MSR,UART1 Modem Status Register"
|
|
bitfld.long 0x04 8. " LEV_CTS ,CTS Trigger Level" "Low,High"
|
|
bitfld.long 0x04 4. " CTS_ST ,CTS Pin Status" "Low,High"
|
|
eventfld.long 0x04 0. " DCTSF ,Detect CTS State Change Flag" "Not detected,Detected"
|
|
group.long 0x18++0x1B
|
|
line.long 0x00 "UA_FSR,UART1 FIFO Status Register"
|
|
bitfld.long 0x00 28. " TE_FLAG ,Transmitter Empty Flag" "Not empty,Empty"
|
|
eventfld.long 0x00 24. " TX_OVER_IF ,TX Overflow Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 23. " TX_FULL ,Transmitter FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 22. " TX_EMPTY ,Transmitter FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 16.--21. " TX_POINTER ,TX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
bitfld.long 0x00 15. " RX_FULL ,Receiver FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 14. " RX_EMPTY ,Receiver FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 8.--13. " RX_POINTER ,RX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
eventfld.long 0x00 6. " BIF ,Break Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
eventfld.long 0x00 5. " FEF ,Framing Error Flag" "No error,Error"
|
|
eventfld.long 0x00 4. " PEF ,Parity Error Flag" "No error,Error"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
eventfld.long 0x00 3. " RS485_ADD_DETF ,RS-485 Address Byte Detection Flag" "Not detected,Detected"
|
|
textline " "
|
|
endif
|
|
eventfld.long 0x00 0. " RX_OVER_IF ,RX Overflow Error IF" "Not overflowed,Overflowed"
|
|
line.long 0x04 "UA_ISR,UART1 Interrupt Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 31. " HW_LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 29. " HW_BUF_ERR_INT ,Buffer Error Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 28. " HW_TOUT_INT ,Time Out Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 27. " HW_MODEM_INT ,MODEM Status Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 26. " HW_RLS_INT ,Receive Line Status Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 23. " HW_LIN_RX_BREAK_IF ,IN Bus RX Break Field Detect Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 21. " HW_BUF_ERR_IF ,Buffer Error Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 20. " HW_TOUT_IF ,Time Out Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 19. " HW_MODEM_IF ,MODEM Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 18. " HW_RLS_IF ,Receive Line Status Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 15. " LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 13. " BUF_ERR_INT ,Buffer Error Interrupt Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 12. " TOUT_INT ,Time Out Interrupt Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 11. " MODEM_INT ,MODEM Status Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 10. " RLS_INT ,Receive Line Status Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 9. " THRE_INT ,Transmit Holding Register Empty Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 8. " RDA_INT ,Receive Data Available Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
eventfld.long 0x04 7. " LIN_RX_BREAK_IF ,LIN Bus RX Break Field Detected Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 5. " BUF_ERR_IF ,Buffer Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 4. " TOUT_IF ,Time Out Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 3. " MODEM_IF ,MODEM Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 2. " RLS_IF ,Receive Line Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " THRE_IF ,Transmit Holding Register Empty Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " RDA_IF ,Receive Data Available Interrupt Flag" "No interrupt,Interrupt"
|
|
line.long 0x08 "UA_TOR,UART1 Time Out Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x08 8.--15. 1. " DLY ,TX Delay time value"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*"))
|
|
hexmask.long.byte 0x08 0.--6. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
else
|
|
hexmask.long.byte 0x08 0.--7. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
endif
|
|
line.long 0x0C "UA_BAUD,UART1 Baud Rate Divisor Register"
|
|
bitfld.long 0x0C 29. " DIV_X_EN ,Divider X Enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 28. " DIV_X_ONE ,Divider X equal 1" "M = X,M = 1"
|
|
bitfld.long 0x0C 24.--27. " DIVIDER_X ,Divider X" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
hexmask.long.word 0x0C 0.--15. 1. " BRD ,Baud Rate Divider"
|
|
line.long 0x10 "UA_IRCR,UART1 IrDA Control Register"
|
|
bitfld.long 0x10 6. " INV_RX ,INV_RX" "No inverted,Inverted"
|
|
bitfld.long 0x10 5. " INV_TX ,INV_TX" "No inverted,Inverted"
|
|
bitfld.long 0x10 1. " TX_SELECT ,IrDA mode" "Receiver,Transmitter"
|
|
line.long 0x14 "UA_ALT_CSR,UART1 Alternate Control/Status Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x14 24.--31. 1. " ADDR_MATCH ,Address match value register"
|
|
textline " "
|
|
bitfld.long 0x14 15. " RS485_ADD_EN ,RS-485 Address Detection Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 10. " RS485_AUD ,RS-485 Auto Direction Mode" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 9. " RS485_AAD ,RS-485 Auto Address Detection Operation Mode" "Disabled,Enabled"
|
|
bitfld.long 0x14 8. " RS485_NMM ,RS-485 Normal Multi-drop Operation Mode" "Disabled,Enabled"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x14 7. " LIN_TX_EN ,LIN TX Break Mode Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 6. " LIN_RX_EN ,LIN RX Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 0.--3. " UA_LIN_BKFL ,UART LIN Break Field Length" "2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17"
|
|
endif
|
|
line.long 0x18 "UA_FUN_SEL,UART1 Function Select Register"
|
|
sif (cpuis("NUC130???AN")||cpuis("NUC140???AN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,?..."
|
|
elif (cpuis("NUC130???BN")||cpuis("NUC140???BN")||cpuis("NUC130???CN")||cpuis("NUC140???CN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,RS-485"
|
|
elif ((!cpuis("NUC130*")&&!cpuis("NUC140*")&&cpuis("NUC1?0???BN"))||cpuis("NUC122*"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,RS-485"
|
|
else
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,?..."
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "UART 2"
|
|
sif (cpuis("NUC100V??AN")||cpuis("NUC120V??AN")||cpuis("NUC130???AN")||cpuis("NUC130???CN")||cpuis("NUC140R??AN")||cpuis("NUC140V??AN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
base ad:0x40154000
|
|
width 10.
|
|
hgroup.long 0x00++0x3
|
|
hide.long 0x00 "UA_RBR,UART2 Receive Buffer Register"
|
|
in
|
|
wgroup.long 0x00++0x3
|
|
line.long 0x00 "UA_THR,UART2 Transmit Holding Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " THR ,Transmit Holding Register"
|
|
group.long 0x04++0xB
|
|
line.long 0x00 "UA_IER,UART2 Interrupt Enable Register"
|
|
bitfld.long 0x00 11. " TIME_OUT_EN ,Time Out Counter Enable" "Disabled,Enabled"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 8. " LIN_RX_BRK_IEN ,LIN RX Break Field Detected Interrupt Enable (LIN mode)" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 5. " BUF_ERR_IEN ,Buffer Error Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 4. " RTO_IEN ,RX Time Out Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2. " RLS_IEN ,Receive Line Status Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " THRE_IEN ,Transmit Holding Register Empty Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 0. " RDA_IEN ,Receive Data Available Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 "UA_FCR,UART2 FIFO Control Register"
|
|
bitfld.long 0x04 4.--7. " RFITL ,RX FIFO Interrupt (INT_RDA) Trigger Level" "1-byte,4-bytes,8-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes,14-bytes"
|
|
textline " "
|
|
bitfld.long 0x04 2. " TFR ,TX Field Software Reset " "No effect,Reset"
|
|
bitfld.long 0x04 1. " RFR ,RX Field Software Reset" "No effect,Reset"
|
|
line.long 0x08 "UA_LCR,UART2 Line Control Register"
|
|
bitfld.long 0x08 6. " BCB ,Break Control Bit" "Low,High"
|
|
bitfld.long 0x08 5. " SPE ,Stick Parity Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 4. " EPE ,Even Parity Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 3. " PBE ,Parity Bit Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " NSB ,Number of STOP bit" "One,One and a half"
|
|
bitfld.long 0x08 0.--1. " WLS ,Word Length Select" "5-bit,6-bit,7-bit,8-bit"
|
|
group.long 0x18++0x1B
|
|
line.long 0x00 "UA_FSR,UART2 FIFO Status Register"
|
|
bitfld.long 0x00 28. " TE_FLAG ,Transmitter Empty Flag" "Not empty,Empty"
|
|
eventfld.long 0x00 24. " TX_OVER_IF ,TX Overflow Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 23. " TX_FULL ,Transmitter FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 22. " TX_EMPTY ,Transmitter FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 16.--21. " TX_POINTER ,TX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
bitfld.long 0x00 15. " RX_FULL ,Receiver FIFO Full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x00 14. " RX_EMPTY ,Receiver FIFO Empty" "Not empty,Empty"
|
|
bitfld.long 0x00 8.--13. " RX_POINTER ,RX FIFO Pointer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
eventfld.long 0x00 6. " BIF ,Break Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
eventfld.long 0x00 5. " FEF ,Framing Error Flag" "No error,Error"
|
|
eventfld.long 0x00 4. " PEF ,Parity Error Flag" "No error,Error"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
eventfld.long 0x00 3. " RS485_ADD_DETF ,RS-485 Address Byte Detection Flag" "Not detected,Detected"
|
|
textline " "
|
|
endif
|
|
eventfld.long 0x00 0. " RX_OVER_IF ,RX Overflow Error IF" "Not overflowed,Overflowed"
|
|
line.long 0x04 "UA_ISR,UART2 Interrupt Status Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 31. " HW_LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 29. " HW_BUF_ERR_INT ,Buffer Error Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 28. " HW_TOUT_INT ,Time Out Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 26. " HW_RLS_INT ,Receive Line Status Interrupt (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 23. " HW_LIN_RX_BREAK_IF ,IN Bus RX Break Field Detect Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC122*"))
|
|
bitfld.long 0x04 21. " HW_BUF_ERR_IF ,Buffer Error Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 20. " HW_TOUT_IF ,Time Out Interrupt Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 18. " HW_RLS_IF ,Receive Line Status Flag (DMA mode)" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x04 15. " LIN_RX_BREAK_INT ,LIN Bus RX Break Field Detected Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 13. " BUF_ERR_INT ,Buffer Error Interrupt Indicator" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 12. " TOUT_INT ,Time Out Interrupt Indicator" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 10. " RLS_INT ,Receive Line Status Interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 9. " THRE_INT ,Transmit Holding Register Empty Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 8. " RDA_INT ,Receive Data Available Interrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
eventfld.long 0x04 7. " LIN_RX_BREAK_IF ,LIN Bus RX Break Field Detected Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 5. " BUF_ERR_IF ,Buffer Error Interrupt Flag" "No interrupt,Interrupt"
|
|
bitfld.long 0x04 4. " TOUT_IF ,Time Out Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x04 2. " RLS_IF ,Receive Line Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 1. " THRE_IF ,Transmit Holding Register Empty Interrupt Flag" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x04 0. " RDA_IF ,Receive Data Available Interrupt Flag" "No interrupt,Interrupt"
|
|
line.long 0x08 "UA_TOR,UART2 Time Out Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x08 8.--15. 1. " DLY ,TX Delay time value"
|
|
textline " "
|
|
endif
|
|
sif (cpuis("NUC100*")||cpuis("NUC120*"))
|
|
hexmask.long.byte 0x08 0.--6. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
else
|
|
hexmask.long.byte 0x08 0.--7. 1. " TOIC ,Time Out Interrupt Comparator"
|
|
endif
|
|
line.long 0x0C "UA_BAUD,UART2 Baud Rate Divisor Register"
|
|
bitfld.long 0x0C 29. " DIV_X_EN ,Divider X Enable" "Disabled,Enabled"
|
|
bitfld.long 0x0C 28. " DIV_X_ONE ,Divider X equal 1" "M = X,M = 1"
|
|
bitfld.long 0x0C 24.--27. " DIVIDER_X ,Divider X" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
hexmask.long.word 0x0C 0.--15. 1. " BRD ,Baud Rate Divider"
|
|
line.long 0x10 "UA_IRCR,UART2 IrDA Control Register"
|
|
bitfld.long 0x10 6. " INV_RX ,INV_RX" "No inverted,Inverted"
|
|
bitfld.long 0x10 5. " INV_TX ,INV_TX" "No inverted,Inverted"
|
|
bitfld.long 0x10 1. " TX_SELECT ,IrDA mode" "Receiver,Transmitter"
|
|
line.long 0x14 "UA_ALT_CSR,UART2 Alternate Control/Status Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
hexmask.long.byte 0x14 24.--31. 1. " ADDR_MATCH ,Address match value register"
|
|
textline " "
|
|
bitfld.long 0x14 15. " RS485_ADD_EN ,RS-485 Address Detection Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 10. " RS485_AUD ,RS-485 Auto Direction Mode" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 9. " RS485_AAD ,RS-485 Auto Address Detection Operation Mode" "Disabled,Enabled"
|
|
bitfld.long 0x14 8. " RS485_NMM ,RS-485 Normal Multi-drop Operation Mode" "Disabled,Enabled"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
textline " "
|
|
endif
|
|
endif
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x14 7. " LIN_TX_EN ,LIN TX Break Mode Enable" "Disabled,Enabled"
|
|
bitfld.long 0x14 6. " LIN_RX_EN ,LIN RX Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x14 0.--3. " UA_LIN_BKFL ,UART LIN Break Field Length" "2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17"
|
|
endif
|
|
line.long 0x18 "UA_FUN_SEL,UART2 Function Select Register"
|
|
sif (cpuis("NUC130???AN")||cpuis("NUC140???AN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,?..."
|
|
elif (cpuis("NUC130???BN")||cpuis("NUC140???BN")||cpuis("NUC130???CN")||cpuis("NUC140???CN"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,LIN,IrDA,RS-485"
|
|
elif ((!cpuis("NUC130*")&&!cpuis("NUC140*")&&cpuis("NUC1?0???BN"))||cpuis("NUC122*"))
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,RS-485"
|
|
else
|
|
bitfld.long 0x18 0.--1. " FUN_SEL ,Function Select Enable" "UART,Reserved,IrDA,?..."
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.end
|
|
tree "CAN (Controller Area Network)"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
base ad:0x40180000
|
|
width 16.
|
|
group.long 0x00++0x7
|
|
line.long 0x00 "CAN_CON,Control Register"
|
|
bitfld.long 0x00 7. " TEST ,Test Mode Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6. " CCE ,Configuration Change Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 5. " DAR ,Disable Automatic Re-transmission" "No,Yes"
|
|
bitfld.long 0x00 3. " EIE ,Error Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2. " SIE ,Status Change Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " IE ,Module Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INIT ,Init Initialization" "Not started,Started"
|
|
line.long 0x04 "CAN_STATUS,Status Register"
|
|
bitfld.long 0x04 7. " BOFF ,Busoff Status" "Not busoff,Busoff"
|
|
bitfld.long 0x04 6. " EWARN ,Error warning limit exceeded" "No,Yes"
|
|
textline " "
|
|
bitfld.long 0x04 5. " EPASS ,Error Passive" "Active,Passive"
|
|
bitfld.long 0x04 4. " RXOK ,Message Received Successfully" "Not received,Received"
|
|
textline " "
|
|
bitfld.long 0x04 3. " TXOK ,Message Transmitted Successfully" "Not transmitted,Transmitted"
|
|
bitfld.long 0x04 0.--2. " LEC ,Last Error Code" "No Error,Stuff Error,Form Error,Ack Error,Bit 1 Error,Bit 0 Error,CRC Error,Unused"
|
|
rgroup.long 0x08++0x3
|
|
line.long 0x00 "CAN_ERR,Error Counter"
|
|
bitfld.long 0x00 15. " RP ,Receive Error Passive Reached" "Not reached,Reached"
|
|
hexmask.long.byte 0x00 8.--14. 1. " REC ,Receive Error Counter"
|
|
textline " "
|
|
hexmask.long.byte 0x00 0.--7. 1. " TEC ,Transmit Error Counter"
|
|
group.long 0x0C++0x3
|
|
line.long 0x00 "CAN_BTIME,Bit Timing Register"
|
|
bitfld.long 0x00 12.--14. " TSEG2 ,Time Segment After sample Point" "0,1,2,3,4,5,6,7"
|
|
bitfld.long 0x00 8.--11. " TSEG1 ,Time Segment before the sample Point Minus Sync_seg" "Reserved,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
bitfld.long 0x00 6.--7. " SJW ,(Re)Synchronization Jump Width" "0,1,2,3"
|
|
bitfld.long 0x00 0.--5. " BRP ,Baud Rate Prescaler" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
|
|
rgroup.long 0x10++0x3
|
|
line.long 0x00 "CAN_IIDR,Interrupt Identifier Register"
|
|
hexmask.long.word 0x00 0.--15. 1. " INTID ,Interrupt Identifier"
|
|
group.long 0x14++0x7
|
|
line.long 0x00 "CAN_TEST,Test Register"
|
|
bitfld.long 0x00 7. " Rx ,CAN_RX Pin value" "0,1"
|
|
bitfld.long 0x00 5.--6. " Tx[1:0] ,Tx[1:0]: Control of CAN_TX pin" "Reset value,Sample Point,0,1"
|
|
textline " "
|
|
bitfld.long 0x00 4. " LBack ,Loop Back Mode" "Disabled,Enabled"
|
|
bitfld.long 0x00 3. " Silent ,Silent Mode" "Disabled,Enabled"
|
|
bitfld.long 0x00 2. " Basic ,Basic Mode" "Disabled,Enabled"
|
|
line.long 0x04 "CAN_BRPE,BRP Extension Register"
|
|
bitfld.long 0x04 0.--3. " BRPE ,Baud Rate Prescaler Extension" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
group.long 0x20++0x2B
|
|
line.long 0x00 "CAN_IF1_CREQ,If1 Command Request Registers"
|
|
bitfld.long 0x00 15. " BUSY ,Busy Flag" "Not busy,Busy"
|
|
bitfld.long 0x00 0.--5. " MSGN ,Message Number" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
line.long 0x04 "CAN_IF1_CMASK,IF1 Command Mask Registers"
|
|
bitfld.long 0x04 7. " WR/RD ,Write/read" "No effect,Write"
|
|
bitfld.long 0x04 6. " MASK ,Access Mask Bits" "Not Transfered,Transfered"
|
|
textline " "
|
|
bitfld.long 0x04 5. " ARB ,Access Arbitration Bits" "Not Transfered,Transfered"
|
|
bitfld.long 0x04 4. " CONTROL ,Control Access Control Bits" "Not Transfered,Transfered"
|
|
textline " "
|
|
bitfld.long 0x04 3. " CLRINTPND ,Clear Interrupt Pending Bit" "No effect,Cleared"
|
|
bitfld.long 0x04 2. " TXRQST/NEWDAT ,Access New Data Bit" "No effect,Cleared"
|
|
textline " "
|
|
bitfld.long 0x04 1. " DATAA ,Access Data Bytes [3:0] " "Not Transfered,Transfered"
|
|
bitfld.long 0x04 0. " DATAB ,Access Data Bytes [7:4]" "Not Transfered,Transfered"
|
|
line.long 0x08 "CAN_IF1_MASK1,IF1 Mask 1 Register"
|
|
bitfld.long 0x08 15. " MSK[15] ,Identifier Mask 15" "Masked,Not masked"
|
|
bitfld.long 0x08 14. " MSK[14] ,Identifier Mask 14" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 13. " MSK[13] ,Identifier Mask 13" "Masked,Not masked"
|
|
bitfld.long 0x08 12. " MSK[12] ,Identifier Mask 12" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 11. " MSK[11] ,Identifier Mask 11" "Masked,Not masked"
|
|
bitfld.long 0x08 10. " MSK[10] ,Identifier Mask 10" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 9. " MSK[9] ,Identifier Mask 9" "Masked,Not masked"
|
|
bitfld.long 0x08 8. " MSK[8] ,Identifier Mask 8" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 7. " MSK[7] ,Identifier Mask 7" "Masked,Not masked"
|
|
bitfld.long 0x08 6. " MSK[6] ,Identifier Mask 6" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 5. " MSK[5] ,Identifier Mask 5" "Masked,Not masked"
|
|
bitfld.long 0x08 4. " MSK[4] ,Identifier Mask 4" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 3. " MSK[3] ,Identifier Mask 3" "Masked,Not masked"
|
|
bitfld.long 0x08 2. " MSK[2] ,Identifier Mask 2" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 1. " MSK[1] ,Identifier Mask 1" "Masked,Not masked"
|
|
bitfld.long 0x08 0. " MSK[0] ,Identifier Mask 0" "Masked,Not masked"
|
|
line.long 0x0C "CAN_IF1_MASK2,IF1 Mask 2 Register"
|
|
bitfld.long 0x0C 15. " MXTD ,Use extended identifier bit (IDE) for acceptance filtering" "Not used,Used"
|
|
bitfld.long 0x0C 14. " MDIR ,Use message direction bit (DIR) for acceptance filtering" "Not used,Used"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " MSK[28] ,Identifier Mask 12" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " MSK[27] ,Identifier Mask 11" "Masked,Not masked"
|
|
bitfld.long 0x0C 10. " MSK[26] ,Identifier Mask 10" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " MSK[25] ,Identifier Mask 9" "Masked,Not masked"
|
|
bitfld.long 0x0C 8. " MSK[24] ,Identifier Mask 8" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " MSK[23] ,Identifier Mask 7" "Masked,Not masked"
|
|
bitfld.long 0x0C 6. " MSK[22] ,Identifier Mask 6" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " MSK[21] ,Identifier Mask 5" "Masked,Not masked"
|
|
bitfld.long 0x0C 4. " MSK[20] ,Identifier Mask 4" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " MSK[19] ,Identifier Mask 3" "Masked,Not masked"
|
|
bitfld.long 0x0C 2. " MSK[18] ,Identifier Mask 2" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " MSK[17] ,Identifier Mask 1" "Masked,Not masked"
|
|
bitfld.long 0x0C 0. " MSK[16] ,Identifier Mask 0" "Masked,Not masked"
|
|
line.long 0x10 "CAN_IF1_ARB1,IF1 Arbitration 1 Register"
|
|
hexmask.long.word 0x10 0.--15. 1. " ID[15:0] ,Message Identifier 15-0"
|
|
line.long 0x14 "CAN_IF1_ARB2,IF1 Arbitration 2 Register"
|
|
bitfld.long 0x14 15. " MSGVAL ,Message Valid" "Ignored,Configured"
|
|
bitfld.long 0x14 14. " XTD ,Extended Identifier" "Standard,Extended"
|
|
textline " "
|
|
bitfld.long 0x14 13. " DIR ,Message Direction" "Receive,Transmit"
|
|
hexmask.long.word 0x14 0.--12. 1. " ID[28:16] ,Message Identifier 28-16"
|
|
line.long 0x18 "CAN_IF1_MCON,IF1 Message Control Registers"
|
|
bitfld.long 0x18 15. " NEWDAT ,New Data" "No new data,New data"
|
|
bitfld.long 0x18 14. " MSGLST ,Message Lost" "Not lost,Lost"
|
|
textline " "
|
|
bitfld.long 0x18 13. " INTPND ,Interrupt Pending" "Not pending,Pending"
|
|
bitfld.long 0x18 12. " UMask ,Use Acceptance Mask" "Not used,Used"
|
|
textline " "
|
|
bitfld.long 0x18 11. " TXIE ,Transmit Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x18 10. " RXIE ,Receive Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x18 9. " RMTEN ,Remote Enable" "Disabled,Enabled"
|
|
bitfld.long 0x18 8. " TXRQST ,Transmit Request" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x18 7. " EOB ,End of Buffer" "Not end,End"
|
|
bitfld.long 0x18 0.--3. " DLC ,Data Length Code" "Empty,1-byte,2-bytes,3-bytes,4-bytes,5-bytes,6-bytes,7-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes"
|
|
line.long 0x1C "CAN_IF1_DAT_A1,IF1 Data A1"
|
|
hexmask.long.byte 0x1C 8.--15. 1. " DATA1 ,Data byte 1"
|
|
hexmask.long.byte 0x1C 0.--7. 1. " DATA0 ,Data byte 0"
|
|
line.long 0x20 "CAN_IF1_DAT_A2,IF1 Data A2"
|
|
hexmask.long.byte 0x20 8.--15. 1. " DATA3 ,Data byte 3"
|
|
hexmask.long.byte 0x20 0.--7. 1. " DATA2 ,Data byte 2"
|
|
line.long 0x24 "CAN_IF1_DAT_B1,IF1 Data B1"
|
|
hexmask.long.byte 0x24 8.--15. 1. " DATA5 ,Data byte 5"
|
|
hexmask.long.byte 0x24 0.--7. 1. " DATA4 ,Data byte 4"
|
|
line.long 0x28 "CAN_IF1_DAT_B2,IF1 Data B2"
|
|
hexmask.long.byte 0x28 8.--15. 1. " DATA7 ,Data byte 7"
|
|
hexmask.long.byte 0x28 0.--7. 1. " DATA6 ,Data byte 6"
|
|
group.long 0x80++0x2B
|
|
line.long 0x00 "CAN_IF2_CREQ,If2 Command Request Registers"
|
|
bitfld.long 0x00 15. " BUSY ,Busy Flag" "Not busy,Busy"
|
|
bitfld.long 0x00 0.--5. " MSGN ,Message Number" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
|
|
line.long 0x04 "CAN_IF2_CMASK,IF2 Command Mask Registers"
|
|
bitfld.long 0x04 7. " WR/RD ,Write/read" "No effect,Write"
|
|
bitfld.long 0x04 6. " MASK ,Access Mask Bits" "Not Transfered,Transfered"
|
|
textline " "
|
|
bitfld.long 0x04 5. " ARB ,Access Arbitration Bits" "Not Transfered,Transfered"
|
|
bitfld.long 0x04 4. " CONTROL ,Control Access Control Bits" "Not Transfered,Transfered"
|
|
textline " "
|
|
bitfld.long 0x04 3. " CLRINTPND ,Clear Interrupt Pending Bit" "No effect,Cleared"
|
|
bitfld.long 0x04 2. " TXRQST/NEWDAT ,Access New Data Bit" "No effect,Cleared"
|
|
textline " "
|
|
bitfld.long 0x04 1. " DATAA ,Access Data Bytes [3:0] " "Not Transfered,Transfered"
|
|
bitfld.long 0x04 0. " DATAB ,Access Data Bytes [7:4]" "Not Transfered,Transfered"
|
|
line.long 0x08 "CAN_IF2_MASK1,IF2 Mask 1 Register"
|
|
bitfld.long 0x08 15. " MSK[15] ,Identifier Mask 15" "Masked,Not masked"
|
|
bitfld.long 0x08 14. " MSK[14] ,Identifier Mask 14" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 13. " MSK[13] ,Identifier Mask 13" "Masked,Not masked"
|
|
bitfld.long 0x08 12. " MSK[12] ,Identifier Mask 12" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 11. " MSK[11] ,Identifier Mask 11" "Masked,Not masked"
|
|
bitfld.long 0x08 10. " MSK[10] ,Identifier Mask 10" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 9. " MSK[9] ,Identifier Mask 9" "Masked,Not masked"
|
|
bitfld.long 0x08 8. " MSK[8] ,Identifier Mask 8" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 7. " MSK[7] ,Identifier Mask 7" "Masked,Not masked"
|
|
bitfld.long 0x08 6. " MSK[6] ,Identifier Mask 6" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 5. " MSK[5] ,Identifier Mask 5" "Masked,Not masked"
|
|
bitfld.long 0x08 4. " MSK[4] ,Identifier Mask 4" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 3. " MSK[3] ,Identifier Mask 3" "Masked,Not masked"
|
|
bitfld.long 0x08 2. " MSK[2] ,Identifier Mask 2" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x08 1. " MSK[1] ,Identifier Mask 1" "Masked,Not masked"
|
|
bitfld.long 0x08 0. " MSK[0] ,Identifier Mask 0" "Masked,Not masked"
|
|
line.long 0x0C "CAN_IF2_MASK2,IF2 Mask 2 Register"
|
|
bitfld.long 0x0C 15. " MXTD ,Use extended identifier bit (IDE) for acceptance filtering" "Not used,Used"
|
|
bitfld.long 0x0C 14. " MDIR ,Use message direction bit (DIR) for acceptance filtering" "Not used,Used"
|
|
textline " "
|
|
bitfld.long 0x0C 12. " MSK[28] ,Identifier Mask 12" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 11. " MSK[27] ,Identifier Mask 11" "Masked,Not masked"
|
|
bitfld.long 0x0C 10. " MSK[26] ,Identifier Mask 10" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 9. " MSK[25] ,Identifier Mask 9" "Masked,Not masked"
|
|
bitfld.long 0x0C 8. " MSK[24] ,Identifier Mask 8" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 7. " MSK[23] ,Identifier Mask 7" "Masked,Not masked"
|
|
bitfld.long 0x0C 6. " MSK[22] ,Identifier Mask 6" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 5. " MSK[21] ,Identifier Mask 5" "Masked,Not masked"
|
|
bitfld.long 0x0C 4. " MSK[20] ,Identifier Mask 4" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " MSK[19] ,Identifier Mask 3" "Masked,Not masked"
|
|
bitfld.long 0x0C 2. " MSK[18] ,Identifier Mask 2" "Masked,Not masked"
|
|
textline " "
|
|
bitfld.long 0x0C 1. " MSK[17] ,Identifier Mask 1" "Masked,Not masked"
|
|
bitfld.long 0x0C 0. " MSK[16] ,Identifier Mask 0" "Masked,Not masked"
|
|
line.long 0x10 "CAN_IF2_ARB1,IF2 Arbitration 1 Register"
|
|
hexmask.long.word 0x10 0.--15. 1. " ID[15:0] ,Message Identifier 15-0"
|
|
line.long 0x14 "CAN_IF2_ARB2,IF2 Arbitration 2 Register"
|
|
bitfld.long 0x14 15. " MSGVAL ,Message Valid" "Ignored,Configured"
|
|
bitfld.long 0x14 14. " XTD ,Extended Identifier" "Standard,Extended"
|
|
textline " "
|
|
bitfld.long 0x14 13. " DIR ,Message Direction" "Receive,Transmit"
|
|
hexmask.long.word 0x14 0.--12. 1. " ID[28:16] ,Message Identifier 28-16"
|
|
line.long 0x18 "CAN_IF2_MCON,IF2 Message Control Registers"
|
|
bitfld.long 0x18 15. " NEWDAT ,New Data" "No new data,New data"
|
|
bitfld.long 0x18 14. " MSGLST ,Message Lost" "Not lost,Lost"
|
|
textline " "
|
|
bitfld.long 0x18 13. " INTPND ,Interrupt Pending" "Not pending,Pending"
|
|
bitfld.long 0x18 12. " UMask ,Use Acceptance Mask" "Not used,Used"
|
|
textline " "
|
|
bitfld.long 0x18 11. " TXIE ,Transmit Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x18 10. " RXIE ,Receive Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x18 9. " RMTEN ,Remote Enable" "Disabled,Enabled"
|
|
bitfld.long 0x18 8. " TXRQST ,Transmit Request" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x18 7. " EOB ,End of Buffer" "Not end,End"
|
|
bitfld.long 0x18 0.--3. " DLC ,Data Length Code" "Empty,1-byte,2-bytes,3-bytes,4-bytes,5-bytes,6-bytes,7-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes,8-bytes"
|
|
line.long 0x1C "CAN_IF2_DAT_A1,IF2 Data A1"
|
|
hexmask.long.byte 0x1C 8.--15. 1. " DATA1 ,Data byte 1"
|
|
hexmask.long.byte 0x1C 0.--7. 1. " DATA0 ,Data byte 0"
|
|
line.long 0x20 "CAN_IF2_DAT_A2,IF2 Data A2"
|
|
hexmask.long.byte 0x20 8.--15. 1. " DATA3 ,Data byte 3"
|
|
hexmask.long.byte 0x20 0.--7. 1. " DATA2 ,Data byte 2"
|
|
line.long 0x24 "CAN_IF2_DAT_B1,IF2 Data B1"
|
|
hexmask.long.byte 0x24 8.--15. 1. " DATA5 ,Data byte 5"
|
|
hexmask.long.byte 0x24 0.--7. 1. " DATA4 ,Data byte 4"
|
|
line.long 0x28 "CAN_IF2_DAT_B2,IF2 Data B2"
|
|
hexmask.long.byte 0x28 8.--15. 1. " DATA7 ,Data byte 7"
|
|
hexmask.long.byte 0x28 0.--7. 1. " DATA6 ,Data byte 6"
|
|
rgroup.long 0x100++0x7
|
|
line.long 0x00 "CAN_TXREQ1,Transmission Request Register 1"
|
|
bitfld.long 0x00 15. " TXRQST[16] ,Transmission Request 16" "Not requested,Requested"
|
|
bitfld.long 0x00 14. " TXRQST[15] ,Transmission Request 15" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 13. " TXRQST[14] ,Transmission Request 14" "Not requested,Requested"
|
|
bitfld.long 0x00 12. " TXRQST[13] ,Transmission Request 13" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 11. " TXRQST[12] ,Transmission Request 12" "Not requested,Requested"
|
|
bitfld.long 0x00 10. " TXRQST[11] ,Transmission Request 11" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 9. " TXRQST[10] ,Transmission Request 10" "Not requested,Requested"
|
|
bitfld.long 0x00 8. " TXRQST[9] ,Transmission Request 9" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 7. " TXRQST[8] ,Transmission Request 8" "Not requested,Requested"
|
|
bitfld.long 0x00 6. " TXRQST[7] ,Transmission Request 7" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 5. " TXRQST[6] ,Transmission Request 6" "Not requested,Requested"
|
|
bitfld.long 0x00 4. " TXRQST[5] ,Transmission Request 5" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 3. " TXRQST[4] ,Transmission Request 4" "Not requested,Requested"
|
|
bitfld.long 0x00 2. " TXRQST[3] ,Transmission Request 3" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x00 1. " TXRQST[2] ,Transmission Request 2" "Not requested,Requested"
|
|
bitfld.long 0x00 0. " TXRQST[1] ,Transmission Request 1" "Not requested,Requested"
|
|
line.long 0x04 "CAN_TXREQ2,Transmission Request Register 2"
|
|
bitfld.long 0x04 15. " TXRQST[32] ,Transmission Request 32" "Not requested,Requested"
|
|
bitfld.long 0x04 14. " TXRQST[31] ,Transmission Request 31" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 13. " TXRQST[30] ,Transmission Request 30" "Not requested,Requested"
|
|
bitfld.long 0x04 12. " TXRQST[29] ,Transmission Request 29" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 11. " TXRQST[28] ,Transmission Request 28" "Not requested,Requested"
|
|
bitfld.long 0x04 10. " TXRQST[27] ,Transmission Request 27" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 9. " TXRQST[26] ,Transmission Request 26" "Not requested,Requested"
|
|
bitfld.long 0x04 8. " TXRQST[25] ,Transmission Request 25" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 7. " TXRQST[24] ,Transmission Request 24" "Not requested,Requested"
|
|
bitfld.long 0x04 6. " TXRQST[23] ,Transmission Request 23" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 5. " TXRQST[22] ,Transmission Request 22" "Not requested,Requested"
|
|
bitfld.long 0x04 4. " TXRQST[21] ,Transmission Request 21" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 3. " TXRQST[20] ,Transmission Request 20" "Not requested,Requested"
|
|
bitfld.long 0x04 2. " TXRQST[19] ,Transmission Request 19" "Not requested,Requested"
|
|
textline " "
|
|
bitfld.long 0x04 1. " TXRQST[18] ,Transmission Request 18" "Not requested,Requested"
|
|
bitfld.long 0x04 0. " TXRQST[17] ,Transmission Request 17" "Not requested,Requested"
|
|
rgroup.long 0x120++0x7
|
|
line.long 0x00 "CAN_NDAT1,New Data Register 1"
|
|
bitfld.long 0x00 15. " NEWDATA[16] ,New data update 16" "Not updated,Updated"
|
|
bitfld.long 0x00 14. " NEWDATA[15] ,New data update 15" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 13. " NEWDATA[14] ,New data update 14" "Not updated,Updated"
|
|
bitfld.long 0x00 12. " NEWDATA[13] ,New data update 13" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 11. " NEWDATA[12] ,New data update 12" "Not updated,Updated"
|
|
bitfld.long 0x00 10. " NEWDATA[11] ,New data update 11" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 9. " NEWDATA[10] ,New data update 10" "Not updated,Updated"
|
|
bitfld.long 0x00 8. " NEWDATA[9] ,New data update 9" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 7. " NEWDATA[8] ,New data update 8" "Not updated,Updated"
|
|
bitfld.long 0x00 6. " NEWDATA[7] ,New data update 7" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 5. " NEWDATA[6] ,New data update 6" "Not updated,Updated"
|
|
bitfld.long 0x00 4. " NEWDATA[5] ,New data update 5" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 3. " NEWDATA[4] ,New data update 4" "Not updated,Updated"
|
|
bitfld.long 0x00 2. " NEWDATA[3] ,New data update 3" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x00 1. " NEWDATA[2] ,New data update 2" "Not updated,Updated"
|
|
bitfld.long 0x00 0. " NEWDATA[1] ,New data update 1" "Not updated,Updated"
|
|
line.long 0x04 "CAN_NDAT2,New data update Register 2"
|
|
bitfld.long 0x04 15. " NEWDATA[32] ,New data update 32" "Not updated,Updated"
|
|
bitfld.long 0x04 14. " NEWDATA[31] ,New data update 31" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 13. " NEWDATA[30] ,New data update 30" "Not updated,Updated"
|
|
bitfld.long 0x04 12. " NEWDATA[29] ,New data update 29" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 11. " NEWDATA[28] ,New data update 28" "Not updated,Updated"
|
|
bitfld.long 0x04 10. " NEWDATA[27] ,New data update 27" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 9. " NEWDATA[26] ,New data update 26" "Not updated,Updated"
|
|
bitfld.long 0x04 8. " NEWDATA[25] ,New data update 25" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 7. " NEWDATA[24] ,New data update 24" "Not updated,Updated"
|
|
bitfld.long 0x04 6. " NEWDATA[23] ,New data update 23" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 5. " NEWDATA[22] ,New data update 22" "Not updated,Updated"
|
|
bitfld.long 0x04 4. " NEWDATA[21] ,New data update 21" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 3. " NEWDATA[20] ,New data update 20" "Not updated,Updated"
|
|
bitfld.long 0x04 2. " NEWDATA[19] ,New data update 19" "Not updated,Updated"
|
|
textline " "
|
|
bitfld.long 0x04 1. " NEWDATA[18] ,New data update 18" "Not updated,Updated"
|
|
bitfld.long 0x04 0. " NEWDATA[17] ,New data update 17" "Not updated,Updated"
|
|
rgroup.long 0x140++0x7
|
|
line.long 0x00 "CAN_IPND1,Interrupt Pending Register 1"
|
|
bitfld.long 0x00 15. " INTPND[16] ,Interrupt Pending 16" "Not pending,Pending"
|
|
bitfld.long 0x00 14. " INTPND[15] ,Interrupt Pending 15" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 13. " INTPND[14] ,Interrupt Pending 14" "Not pending,Pending"
|
|
bitfld.long 0x00 12. " INTPND[13] ,Interrupt Pending 13" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 11. " INTPND[12] ,Interrupt Pending 12" "Not pending,Pending"
|
|
bitfld.long 0x00 10. " INTPND[11] ,Interrupt Pending 11" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 9. " INTPND[10] ,Interrupt Pending 10" "Not pending,Pending"
|
|
bitfld.long 0x00 8. " INTPND[9] ,Interrupt Pending 9" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 7. " INTPND[8] ,Interrupt Pending 8" "Not pending,Pending"
|
|
bitfld.long 0x00 6. " INTPND[7] ,Interrupt Pending 7" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 5. " INTPND[6] ,Interrupt Pending 6" "Not pending,Pending"
|
|
bitfld.long 0x00 4. " INTPND[5] ,Interrupt Pending 5" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 3. " INTPND[4] ,Interrupt Pending 4" "Not pending,Pending"
|
|
bitfld.long 0x00 2. " INTPND[3] ,Interrupt Pending 3" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x00 1. " INTPND[2] ,Interrupt Pending 2" "Not pending,Pending"
|
|
bitfld.long 0x00 0. " INTPND[1] ,Interrupt Pending 1" "Not pending,Pending"
|
|
line.long 0x04 "CAN_IPND2,Interrupt Pending Register 2"
|
|
bitfld.long 0x04 15. " INTPND[32] ,Interrupt Pending 32" "Not pending,Pending"
|
|
bitfld.long 0x04 14. " INTPND[31] ,Interrupt Pending 31" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 13. " INTPND[30] ,Interrupt Pending 30" "Not pending,Pending"
|
|
bitfld.long 0x04 12. " INTPND[29] ,Interrupt Pending 29" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 11. " INTPND[28] ,Interrupt Pending 28" "Not pending,Pending"
|
|
bitfld.long 0x04 10. " INTPND[27] ,Interrupt Pending 27" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 9. " INTPND[26] ,Interrupt Pending 26" "Not pending,Pending"
|
|
bitfld.long 0x04 8. " INTPND[25] ,Interrupt Pending 25" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 7. " INTPND[24] ,Interrupt Pending 24" "Not pending,Pending"
|
|
bitfld.long 0x04 6. " INTPND[23] ,Interrupt Pending 23" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 5. " INTPND[22] ,Interrupt Pending 22" "Not pending,Pending"
|
|
bitfld.long 0x04 4. " INTPND[21] ,Interrupt Pending 21" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 3. " INTPND[20] ,Interrupt Pending 20" "Not pending,Pending"
|
|
bitfld.long 0x04 2. " INTPND[19] ,Interrupt Pending 19" "Not pending,Pending"
|
|
textline " "
|
|
bitfld.long 0x04 1. " INTPND[18] ,Interrupt Pending 18" "Not pending,Pending"
|
|
bitfld.long 0x04 0. " INTPND[17] ,Interrupt Pending 17" "Not pending,Pending"
|
|
rgroup.long 0x160++0x7
|
|
line.long 0x00 "CAN_MVLD1,Message Valid Register 1"
|
|
bitfld.long 0x00 15. " MSGVAL[16] ,Message Valid 16" "Not valid,Valid"
|
|
bitfld.long 0x00 14. " MSGVAL[15] ,Message Valid 15" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 13. " MSGVAL[14] ,Message Valid 14" "Not valid,Valid"
|
|
bitfld.long 0x00 12. " MSGVAL[13] ,Message Valid 13" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 11. " MSGVAL[12] ,Message Valid 12" "Not valid,Valid"
|
|
bitfld.long 0x00 10. " MSGVAL[11] ,Message Valid 11" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 9. " MSGVAL[10] ,Message Valid 10" "Not valid,Valid"
|
|
bitfld.long 0x00 8. " MSGVAL[9] ,Message Valid 9" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 7. " MSGVAL[8] ,Message Valid 8" "Not valid,Valid"
|
|
bitfld.long 0x00 6. " MSGVAL[7] ,Message Valid 7" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 5. " MSGVAL[6] ,Message Valid 6" "Not valid,Valid"
|
|
bitfld.long 0x00 4. " MSGVAL[5] ,Message Valid 5" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 3. " MSGVAL[4] ,Message Valid 4" "Not valid,Valid"
|
|
bitfld.long 0x00 2. " MSGVAL[3] ,Message Valid 3" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x00 1. " MSGVAL[2] ,Message Valid 2" "Not valid,Valid"
|
|
bitfld.long 0x00 0. " MSGVAL[1] ,Message Valid 1" "Not valid,Valid"
|
|
line.long 0x04 "CAN_MVLD2,Message Valid Register 2"
|
|
bitfld.long 0x04 15. " MSGVAL[32] ,Message Valid 32" "Not valid,Valid"
|
|
bitfld.long 0x04 14. " MSGVAL[31] ,Message Valid 31" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 13. " MSGVAL[30] ,Message Valid 30" "Not valid,Valid"
|
|
bitfld.long 0x04 12. " MSGVAL[29] ,Message Valid 29" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 11. " MSGVAL[28] ,Message Valid 28" "Not valid,Valid"
|
|
bitfld.long 0x04 10. " MSGVAL[27] ,Message Valid 27" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 9. " MSGVAL[26] ,Message Valid 26" "Not valid,Valid"
|
|
bitfld.long 0x04 8. " MSGVAL[25] ,Message Valid 25" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 7. " MSGVAL[24] ,Message Valid 24" "Not valid,Valid"
|
|
bitfld.long 0x04 6. " MSGVAL[23] ,Message Valid 23" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 5. " MSGVAL[22] ,Message Valid 22" "Not valid,Valid"
|
|
bitfld.long 0x04 4. " MSGVAL[21] ,Message Valid 21" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 3. " MSGVAL[20] ,Message Valid 20" "Not valid,Valid"
|
|
bitfld.long 0x04 2. " MSGVAL[19] ,Message Valid 19" "Not valid,Valid"
|
|
textline " "
|
|
bitfld.long 0x04 1. " MSGVAL[18] ,Message Valid 18" "Not valid,Valid"
|
|
bitfld.long 0x04 0. " MSGVAL[17] ,Message Valid 17" "Not valid,Valid"
|
|
group.long 0x168++0x7
|
|
line.long 0x00 "CAN_WU_EN,Wake Up Function Enable"
|
|
bitfld.long 0x00 0. " WAKUP_EN ,Wake Up Enable" "Disabled,Enabled"
|
|
line.long 0x04 "CAN_WU_STATUS,Wake Up Function Status"
|
|
bitfld.long 0x04 0. " WAKUP_STS ,Wake Up Event Status" "Not occurred,Occurred"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "PS2D (PS/2 Device Controller)"
|
|
sif (cpuis("NUC122L*")||cpuis("NUC122S*"))
|
|
base ad:0x40100000
|
|
width 11.
|
|
group.long 0x00++0x13
|
|
line.long 0x00 "PS2CON,PS/2 Control Register"
|
|
bitfld.long 0x00 11. " FPS2DAT ,Force PS2DATA Line" "Low,High"
|
|
bitfld.long 0x00 10. " FPS2CLK ,Force PS2CLK Line" "Low,High"
|
|
bitfld.long 0x00 9. " OVERRIDE ,Software Override PS/2 CLK/DATA Pin State" "Not overwritten,Overwritten"
|
|
textline " "
|
|
bitfld.long 0x00 8. " CLRFIFO ,TX FIFO Clear" "Not active,Cleared"
|
|
bitfld.long 0x00 7. " ACK ,Acknowledge Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 3.--6. " TXFIFODIPTH ,Transmit Data FIFO Depth" "1-byte,2-bytes,3-bytes,4-bytes,5-bytes,6-bytes,7-bytes,8-bytes,9-bytes,10-bytes,11-bytes,12-bytes,13-bytes,14-bytes,15-bytes,16-bytes"
|
|
textline " "
|
|
bitfld.long 0x00 2. " RXINTEN ,Receive Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " TXINTEN ,Transmit Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " PS2EN ,PS/2 Device Enable" "Disabled,Enabled"
|
|
line.long 0x04 "PS2TXDATA0 ,PS/2 Transmit DATA Register 0"
|
|
line.long 0x08 "PS2TXDATA1 ,PS/2 Transmit DATA Register 1"
|
|
line.long 0x0C "PS2TXDATA2 ,PS/2 Transmit DATA Register 2"
|
|
line.long 0x10 "PS2TXDATA3 ,PS/2 Transmit DATA Register 3"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "PS2RXDATA,PS/2 Receive DATA Register"
|
|
hexmask.long.byte 0x00 0.--7. 1. " PS2RXDATA ,Received Data"
|
|
group.long 0x18++0x7
|
|
line.long 0x00 "PS2STATUS,PS/2 Status Register"
|
|
bitfld.long 0x00 8.--11. " BYTEIDX ,Byte Index" "TXDATA0[7:0],TXDATA0[15:8],TXDATA0[23:16],TXDATA0[31:24],TXDATA1[7:0],TXDATA1[15:8],TXDATA1[23:16],TXDATA1[31:24],TXDATA2[7:0],TXDATA2[15:8],TXDATA2[23:16],TXDATA2[31:24],TXDATA3[7:0],TXDATA3[15:8],TXDATA3[23:16],TXDATA3[31:24]"
|
|
textline " "
|
|
bitfld.long 0x00 7. " TXEMPTY ,TX FIFO Empty" "Not empty,Empty"
|
|
eventfld.long 0x00 6. " RXOVF ,RX Buffer Overwrite" "Not overwritten,Overwritten"
|
|
bitfld.long 0x00 5. " TXBUSY ,Transmit Busy" "Not busy,Busy"
|
|
textline " "
|
|
bitfld.long 0x00 4. " RXBUSY ,Receive Busy" "Not busy,Busy"
|
|
bitfld.long 0x00 3. " RXPARITY ,Received Parity bit" "Low,High"
|
|
eventfld.long 0x00 2. " FRAMERR ,Frame Error" "No error,Error"
|
|
textline " "
|
|
bitfld.long 0x00 1. " PS2DATA ,DATA Pin State" "Low,High"
|
|
bitfld.long 0x00 0. " PS2CLK ,CLK Pin State" "Low,High"
|
|
line.long 0x04 " PS2INTID,PS/2 Interrupt Identification Register"
|
|
eventfld.long 0x04 1. " TXINT ,Transmit Interrupt" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " RXINT ,Receive Interrupt" "No interrupt,Interrupt"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "I2S (I2S Controller)"
|
|
sif (!cpuis("NUC122*"))
|
|
base ad:0x401A0000
|
|
width 12.
|
|
group.long 0x00++0x13
|
|
line.long 0x00 " I2S_CON,I2S Control Register"
|
|
bitfld.long 0x00 21. " RXDMA ,Receive DMA Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 20. " TXDMA ,Transmit DMA Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 19. " CLR_RXFIFO ,Receive FIFO Clear" "No effect,Clear"
|
|
bitfld.long 0x00 18. " CLR_TXFIFO ,Transmit FIFO Clear" "No effect,Clear"
|
|
bitfld.long 0x00 17. " LCHZCEN ,Left channel zero cross detect enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 16. " RCHZCEN ,Right channel zero cross detect enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 15. " MCLKEN ,Master clock enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 12.--14. " RXTH[2:0] ,Receive FIFO threshold level" "1 word,2 words,3 words,4 words,5 words,6 words,7 words,8 words"
|
|
textline " "
|
|
bitfld.long 0x00 9.--11. " TXTH[2:0] ,Transmit FIFO threshold level" "No data,1 word,2 words,3 words,4 words,5 words,6 words,7 words"
|
|
bitfld.long 0x00 8. " SLAVE ,Slave mode" "Master,Slave"
|
|
bitfld.long 0x00 7. " FORMAT ,Data format" "I2S,MSB justified"
|
|
textline " "
|
|
bitfld.long 0x00 6. " MONO ,Monaural data" "Stereo,Monaural"
|
|
bitfld.long 0x00 4.--5. " WORDWIDTH ,Word width" "8-bit,16-bit,24-bit,32-bit"
|
|
bitfld.long 0x00 3. " MUTE ,Transmit mute enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2. " RXEN ,Receive enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 1. " TXEN ,Transmit enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " I2SEN ,Enable I2S controller" "Disabled,Enabled"
|
|
line.long 0x04 " I2S_CLKDIV,I2S Clock Divider Register"
|
|
hexmask.long.byte 0x04 8.--15. 1. " BCLK_DIV[7:0] ,Bit Clock Divider"
|
|
textline " "
|
|
bitfld.long 0x04 0.--2. " MCLK_DIV[2:0] ,Master Clock Divider" "F_I2SCLK,F_I2SCLK/2,F_I2SCLK/4,F_I2SCLK/6,F_I2SCLK/8,F_I2SCLK/10,F_I2SCLK/12,F_I2SCLK/14"
|
|
line.long 0x08 " I2S_IE,I2S Interrupt Enable Register"
|
|
bitfld.long 0x08 12. " LZCIE ,Left channel zero cross interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 11. " RZCIE ,Right channel zero cross interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 10. " TXTHIE ,Transmit FIFO threshold level interrupt enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 9. " TXOVFIE ,Transmit FIFO overflow interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 8. " TXUDFIE ,Transmit FIFO underflow interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 2. " RXTHIE ,Receive FIFO threshold level interrupt enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x08 1. " RXOVFIE ,Receive FIFO overflow interrupt enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " RXUDFIE ,Receive FIFO underflow interrupt enable" "Disabled,Enabled"
|
|
line.long 0x0C " I2S_STATUS,I2S Status Register"
|
|
bitfld.long 0x0C 28.--31. " TX_LEVEL ,Transmit FIFO level" "No data,1 word,2 words,3 words,4 words,5 words,6 words,7 words,8 words,?..."
|
|
bitfld.long 0x0C 24.--27. " RX_LEVEL ,Receive FIFO level" "No data,1 word,2 words,3 words,4 words,5 words,6 words,7 words,8 words,?..."
|
|
eventfld.long 0x0C 23. " LZCF ,Left channel zero cross flag" "Not detected,Detected"
|
|
textline " "
|
|
eventfld.long 0x0C 22. " RZCF ,Right channel zero cross flag" "Not detected,Detected"
|
|
bitfld.long 0x0C 21. " TXBUSY ,Transmit Busy" "Not busy,Busy"
|
|
bitfld.long 0x0C 20. " TXEMPTY ,Transmit FIFO empty" "Not empty,Empty"
|
|
textline " "
|
|
bitfld.long 0x0C 19. " TXFULL ,Transmit FIFO full" "Not full,Full"
|
|
bitfld.long 0x0C 18. " TXTHF ,Transmit FIFO threshold flag" "Data > TXTH,Data <= TXTH"
|
|
eventfld.long 0x0C 17. " TXOVF ,Transmit FIFO overflow flag" "Not occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x0C 16. " TXUDF ,Transmit FIFO underflow flag" "Not occurred,Occurred"
|
|
bitfld.long 0x0C 12. " RXEMPTY ,Receive FIFO empty" "Not empty,Empty"
|
|
bitfld.long 0x0C 11. " RXFULL ,Receive FIFO full" "Not full,Full"
|
|
textline " "
|
|
bitfld.long 0x0C 10. " RXTHF ,Receive FIFO threshold flag" "Data < RXTH,Data >= RXTH"
|
|
eventfld.long 0x0C 9. " RXOVF ,Receive FIFO overflow flag" "Not occurred,Occurred"
|
|
eventfld.long 0x0C 8. " RXUDF ,Receive FIFO underflow flag" "Not occurred,Occurred"
|
|
textline " "
|
|
bitfld.long 0x0C 3. " RIGHT ,Right channel" "Left,Right"
|
|
bitfld.long 0x0C 2. " I2STXINT ,I2S transmit interrupt" "No interrupt,Interrupt"
|
|
bitfld.long 0x0C 1. " I2SRXINT ,I2S receiveinterrupt" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x0C 0. " I2SINT ,I2S Interrupt flag" "No interrupt,Interrupt"
|
|
line.long 0x10 " I2S_TXFIFO,I2S Transmit FIFO Register"
|
|
hgroup.long 0x14++0x3
|
|
hide.long 0x14 " I2S_RXFIFO,I2S Receive FIFO Register"
|
|
in
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "ADC (Analog-to-Digital Converter)"
|
|
sif (!cpuis("NUC122*"))
|
|
base ad:0x400E0000
|
|
width 9.
|
|
hgroup.long 0x00++0x1F
|
|
hide.long 0x0 " ADDR0,A/D Data Register 0"
|
|
in
|
|
hide.long 0x4 " ADDR1,A/D Data Register 1"
|
|
in
|
|
hide.long 0x8 " ADDR2,A/D Data Register 2"
|
|
in
|
|
hide.long 0xC " ADDR3,A/D Data Register 3"
|
|
in
|
|
hide.long 0x10 " ADDR4,A/D Data Register 4"
|
|
in
|
|
hide.long 0x14 " ADDR5,A/D Data Register 5"
|
|
in
|
|
hide.long 0x18 " ADDR6,A/D Data Register 6"
|
|
in
|
|
hide.long 0x1C " ADDR7,A/D Data Register 7"
|
|
in
|
|
group.long 0x20++0x17
|
|
line.long 0x00 " ADCR,A/D Control Register"
|
|
sif (cpuis("NUC1?0???BN")||cpuis("NUC1?0???CN"))
|
|
bitfld.long 0x00 31. " DMOF ,A/D differential input Mode Output Format" "Unsigned,Complement"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 11. " ADST ,A/D Conversion Start" "Stopped,Started"
|
|
bitfld.long 0x00 10. " DIFFEN ,Differential Input Mode Enable" "Single-end,Differential"
|
|
textline " "
|
|
sif (!cpuis("M05*"))
|
|
bitfld.long 0x00 9. " PTEN ,PDMA Transfer Enable" "Disabled,Enabled"
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x00 8. " TRGEN ,External Trigger Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 6.--7. " TRGCOND ,External Trigger Condition" "Low level,High level,Falling edge,Rising edge"
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " TRGS ,Hardware Trigger Source" "STADC pin,?..."
|
|
textline " "
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x00 2.--3. " ADMD ,A/D Converter Operation Mode" "Single conversion,Burst conversion,Single-cycle scan,Continuous scan"
|
|
else
|
|
bitfld.long 0x00 2.--3. " ADMD ,A/D Converter Operation Mode" "Single conversion,Reserved,Single-cycle scan,Continuous scan"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 1. " ADIE ,A/D Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " ADEN ,A/D Converter Enable" "Disabled,Enabled"
|
|
line.long 0x04 " ADCHER,A/D Channel Enable Register"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x04 8.--9. " PRESEL ,Analog Input Channel 7 select" "External analog input,Internal bandgap voltage,?..."
|
|
else
|
|
bitfld.long 0x04 8.--9. " PRESEL ,Analog Input Channel 7 select" "External analog input,Internal bandgap voltage,Internal temperature sensor,?..."
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x04 7. " CHEN7 ,Analog Input Channel 7 Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 6. " CHEN6 ,Analog Input Channel 6 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 5. " CHEN5 ,Analog Input Channel 5 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 4. " CHEN4 ,Analog Input Channel 4 Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 3. " CHEN3 ,Analog Input Channel 3 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 2. " CHEN2 ,Analog Input Channel 2 Enable" "Disabled,Enabled"
|
|
bitfld.long 0x04 1. " CHEN1 ,Analog Input Channel 1 Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x04 0. " CHEN0 ,Analog Input Channel 0 Enable" "Disabled,Enabled"
|
|
line.long 0x08 " ADCMPR0,A/D Compare Register 0"
|
|
hexmask.long.word 0x08 16.--27. 1. " CMPD ,Comparison Data"
|
|
bitfld.long 0x08 8.--11. " CMPMATCNT ,Compare Match Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
bitfld.long 0x08 3.--5. " CMPCH ,Compare Channel Selection" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7"
|
|
textline " "
|
|
bitfld.long 0x08 2. " CMPCOND ,Compare Condition" "RSLT < CMPD,RSLT >= CMPD"
|
|
textline " "
|
|
bitfld.long 0x08 1. " CMPIE ,Compare Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x08 0. " CMPEN ,Compare Enable" "Disabled,Enabled"
|
|
line.long 0x0C " ADCMPR1,A/D Compare Register 1"
|
|
hexmask.long.word 0x0C 16.--27. 1. " CMPD ,Comparison Data"
|
|
bitfld.long 0x0C 8.--11. " CMPMATCNT ,Compare Match Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
|
|
textline " "
|
|
bitfld.long 0x0C 3.--5. " CMPCH ,Compare Channel Selection" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7"
|
|
textline " "
|
|
bitfld.long 0x0C 2. " CMPCOND ,Compare Condition" "RSLT < CMPD,RSLT >= CMPD"
|
|
bitfld.long 0x0C 1. " CMPIE ,Compare Interrupt Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x0C 0. " CMPEN ,Compare Enable" "Disabled,Enabled"
|
|
line.long 0x10 " ADSR,A/D Status Register"
|
|
hexmask.long.byte 0x10 16.--23. 1. " OVERRUN ,Over Run flag"
|
|
hexmask.long.byte 0x10 8.--15. 1. " VALID ,Data Valid flag"
|
|
textline " "
|
|
bitfld.long 0x10 4.--6. " CHANNEL ,Current Conversion Channel" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7"
|
|
textline " "
|
|
bitfld.long 0x10 3. " BUSY ,BUSY/IDLE" "Idle,Busy"
|
|
eventfld.long 0x10 2. " CMPF1 ,Compare Flag" "Not occurred,Occurred"
|
|
textline " "
|
|
eventfld.long 0x10 1. " CMPF0 ,Compare Flag" "Not occurred,Occurred"
|
|
eventfld.long 0x10 0. " ADF ,A/D Conversion End Flag" "Not occurred,Occurred"
|
|
line.long 0x14 " ADCALR,A/D Calibration Register"
|
|
bitfld.long 0x14 1. " CALDONE ,Calibration is Done" "Not calibrated,Calibrated"
|
|
bitfld.long 0x14 0. " CALEN ,Self Calibration Enable" "Disabled,Enabled"
|
|
sif (!cpuis("M05*"))
|
|
rgroup.long 0x40++0x3
|
|
line.long 0x00 " ADPDMA,ADC PDMA current transfer data"
|
|
hexmask.long.word 0x00 0.--11. 1. " AD_PDMA ,ADC PDMA current transfer data register"
|
|
endif
|
|
width 0xb
|
|
endif
|
|
tree.end
|
|
tree "CMP (Analog Comparator)"
|
|
sif (!cpuis("NUC122*"))
|
|
base ad:0x400D0000
|
|
width 8.
|
|
group.long 0x00++0x3
|
|
line.long 0x00 " CMP0CR,Comparator 0 Control Register"
|
|
bitfld.long 0x00 4. " CN0 ,Comparator 0 negative input select" "CPN0 pin,Vref"
|
|
bitfld.long 0x00 2. " CMP0_HYSEN ,Comparator 0 Hysteresis Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CMP0IE ,Comparator 0 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " CMP0EN ,Comparator 0 Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC1?0R*")||cpuis("NUC1?0V*"))
|
|
group.long 0x04++0x7
|
|
line.long 0x00 " CMP1CR,Comparator 1 Control Register"
|
|
bitfld.long 0x00 4. " CN1 ,Comparator 1 negative input select" "CPN1 pin,Vref"
|
|
bitfld.long 0x00 2. " CMP1_HYSEN ,Comparator 1 Hysteresis Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 1. " CMP1IE ,Comparator 1 Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " CMP1EN ,Comparator 1 Enable" "Disabled,Enabled"
|
|
line.long 0x04 " CMPSR,Comparator Status Register"
|
|
bitfld.long 0x04 3. " CO1 ,Comparator 1 Output" "CPP1 <= CN1,CPP1 > CN1"
|
|
bitfld.long 0x04 2. " CO0 ,Comparator 0 Output" "CPP0 <= CN0,CPP0 > CN0"
|
|
textline " "
|
|
eventfld.long 0x04 1. " CMPF1 ,Comparator 1 Flag" "Not occurred,Occurred"
|
|
eventfld.long 0x04 0. " CMPF0 ,Comparator 0 Flag" "Not occurred,Occurred"
|
|
else
|
|
group.long 0x08++0x3
|
|
line.long 0x00 " CMPSR,Comparator Status Register"
|
|
bitfld.long 0x00 2. " CO0 ,Comparator 0 Output" "CPP0 <= CN0,CPP0 > CN0"
|
|
eventfld.long 0x00 0. " CMPF0 ,Comparator 0 Flag" "Not occurred,Occurred"
|
|
endif
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.open "PDMA (PDMA Controller)"
|
|
sif (cpuis("NUC1?0???AN")||cpuis("NUC1?0???CN"))
|
|
base ad:0x50008000
|
|
width 13.
|
|
tree "Common"
|
|
group.long 0xF00++0xB
|
|
line.long 0x00 " PDMA_GCRCSR,PDMA Global Control Register"
|
|
bitfld.long 0x00 16. " CLK8_EN ,PDMA Controller Channel 8 Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x00 15. " CLK7_EN ,PDMA Controller Channel 7 Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x00 14. " CLK6_EN ,PDMA Controller Channel 6 Clock Enable Control" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 13. " CLK5_EN ,PDMA Controller Channel 5 Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x00 12. " CLK4_EN ,PDMA Controller Channel 4 Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x00 11. " CLK3_EN ,PDMA Controller Channel 3 Clock Enable Control" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 10. " CLK2_EN ,PDMA Controller Channel 2 Clock Enable Control" "Disabled,Enabled"
|
|
bitfld.long 0x00 9. " CLK1_EN ,PDMA Controller Channel 1 Clock Enable Control" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 8. " CLK0_EN ,PDMA Controller Channel 0 Clock Enable Control" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_PDSSR0,PDMA Service Selection Control Register 0"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 28.--31. " SPI3_TXSEL ,PDMA SPI3 TX Selecti" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x04 24.--27. " SPI3_RXSEL ,PDMA SPI3 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
textline " "
|
|
bitfld.long 0x04 20.--23. " SPI2_TXSEL ,PDMA SPI2 TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x04 16.--19. " SPI2_RXSEL ,PDMA SPI2 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC100L*")||cpuis("NUC120L*")||cpuis("NUC130L*")||cpuis("NUC140L*"))
|
|
bitfld.long 0x04 12.--15. " SPI1_TXSEL ,PDMA SPI1 TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x04 8.--11. " SPI1_RXSEL ,PDMA SPI1 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4.--7. " SPI0_TXSEL ,PDMA SPI0 TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x04 0.--3. " SPI0_RXSEL ,PDMA SPI0 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
line.long 0x08 " PDMA_PDSSR1,PDMA Service Selection Control Register 1"
|
|
bitfld.long 0x08 24.--27. " ADC_RXSEL ,PDMA ADC RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x08 12.--15. " UART1_TXSEL ,PDMA UART1 TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x08 8.--11. " UART1_RXSEL ,PDMA UART1 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
textline " "
|
|
bitfld.long 0x08 4.--7. " UART0_TXSEL ,PDMA UART0 TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x08 0.--3. " UART0_RXSEL ,PDMA UART0 RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 " PDMA_GCRISR,PDMA Global Interrupt Register"
|
|
bitfld.long 0x00 31. " INTR ,Interrupt Pin Status" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 8. " INTR8 ,Interrupt Pin Status of Channel 8" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 7. " INTR7 ,Interrupt Pin Status of Channel 7" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 6. " INTR6 ,Interrupt Pin Status of Channel 6" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 5. " INTR5 ,Interrupt Pin Status of Channel 5" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 4. " INTR4 ,Interrupt Pin Status of Channel 4" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 3. " INTR3 ,Interrupt Pin Status of Channel 3" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 2. " INTR2 ,Interrupt Pin Status of Channel 2" "No interrupt,Interrupt"
|
|
bitfld.long 0x00 1. " INTR1 ,Interrupt Pin Status of Channel 1" "No interrupt,Interrupt"
|
|
textline " "
|
|
bitfld.long 0x00 0. " INTR0 ,Interrupt Pin Status of Channel 0" "No interrupt,Interrupt"
|
|
group.long 0x10++0x3
|
|
line.long 0x00 " PDMA_PDSSR2,PDMA Service Selection Control Register 2"
|
|
bitfld.long 0x00 4.--7. " I2S_TXSEL ,PDMA I2S TX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
bitfld.long 0x00 0.--3. " I2S_RXSEL ,PDMA I2S RX Select" "CH0,CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8,?..."
|
|
tree.end
|
|
width 15.
|
|
tree "Channel 0"
|
|
group.long 0x0++0xF
|
|
line.long 0x00 " PDMA_CSR0,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR0,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR0,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR0,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x0+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT0,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR0,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR0,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR0,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x0+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER0,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR0,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x0+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C0,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 1"
|
|
group.long 0x100++0xF
|
|
line.long 0x00 " PDMA_CSR1,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR1,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR1,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR1,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x100+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT1,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR1,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR1,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR1,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x100+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER1,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR1,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x100+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C1,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 2"
|
|
group.long 0x200++0xF
|
|
line.long 0x00 " PDMA_CSR2,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR2,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR2,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR2,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x200+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT2,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR2,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR2,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR2,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x200+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER2,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR2,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x200+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C2,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 3"
|
|
group.long 0x300++0xF
|
|
line.long 0x00 " PDMA_CSR3,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR3,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR3,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR3,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x300+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT3,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR3,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR3,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR3,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x300+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER3,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR3,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x300+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C3,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 4"
|
|
group.long 0x400++0xF
|
|
line.long 0x00 " PDMA_CSR4,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR4,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR4,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR4,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x400+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT4,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR4,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR4,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR4,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x400+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER4,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR4,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x400+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C4,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 5"
|
|
group.long 0x500++0xF
|
|
line.long 0x00 " PDMA_CSR5,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR5,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR5,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR5,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x500+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT5,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR5,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR5,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR5,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x500+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER5,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR5,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x500+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C5,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 6"
|
|
group.long 0x600++0xF
|
|
line.long 0x00 " PDMA_CSR6,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR6,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR6,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR6,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x600+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT6,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR6,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR6,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR6,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x600+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER6,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR6,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x600+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C6,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 7"
|
|
group.long 0x700++0xF
|
|
line.long 0x00 " PDMA_CSR7,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR7,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR7,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR7,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x700+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT7,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR7,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR7,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR7,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x700+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER7,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR7,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x700+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C7,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
tree "Channel 8"
|
|
group.long 0x800++0xF
|
|
line.long 0x00 " PDMA_CSR8,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR8,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR8,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR8,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x800+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT8,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR8,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR8,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR8,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x800+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER8,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR8,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x800+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C8,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
width 0xB
|
|
elif (cpuis("NUC1?0???BN"))
|
|
base ad:0x50008000
|
|
width 13.
|
|
tree "Common"
|
|
group.long 0xF00++0xB
|
|
line.long 0x00 " PDMA_GCRCSR,PDMA Global Control Register"
|
|
bitfld.long 0x00 8. " CLK0_EN ,PDMA Controller Channel 0 Clock Enable Control" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_PDSSR0,PDMA Service Selection Control Register 0"
|
|
sif (cpuis("NUC100V*")||cpuis("NUC120V*")||cpuis("NUC130V*")||cpuis("NUC140V*"))
|
|
bitfld.long 0x04 28.--31. " SPI3_TXSEL ,PDMA SPI3 TX Selecti" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x04 24.--27. " SPI3_RXSEL ,PDMA SPI3 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
textline " "
|
|
bitfld.long 0x04 20.--23. " SPI2_TXSEL ,PDMA SPI2 TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x04 16.--19. " SPI2_RXSEL ,PDMA SPI2 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
textline " "
|
|
endif
|
|
sif !(cpuis("NUC100L*")||cpuis("NUC120L*")||cpuis("NUC130L*")||cpuis("NUC140L*"))
|
|
bitfld.long 0x04 12.--15. " SPI1_TXSEL ,PDMA SPI1 TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x04 8.--11. " SPI1_RXSEL ,PDMA SPI1 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
textline " "
|
|
endif
|
|
bitfld.long 0x04 4.--7. " SPI0_TXSEL ,PDMA SPI0 TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x04 0.--3. " SPI0_RXSEL ,PDMA SPI0 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
line.long 0x08 " PDMA_PDSSR1,PDMA Service Selection Control Register 1"
|
|
bitfld.long 0x08 24.--27. " ADC_RXSEL ,PDMA ADC RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x08 12.--15. " UART1_TXSEL ,PDMA UART1 TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x08 8.--11. " UART1_RXSEL ,PDMA UART1 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
textline " "
|
|
bitfld.long 0x08 4.--7. " UART0_TXSEL ,PDMA UART0 TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x08 0.--3. " UART0_RXSEL ,PDMA UART0 RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
rgroup.long 0x0C++0x3
|
|
line.long 0x00 " PDMA_GCRISR,PDMA Global Interrupt Register"
|
|
bitfld.long 0x00 0. " INTR0 ,Interrupt Pin Status of Channel 0" "No interrupt,Interrupt"
|
|
group.long 0x10++0x3
|
|
line.long 0x00 " PDMA_PDSSR2,PDMA Service Selection Control Register 2"
|
|
bitfld.long 0x00 4.--7. " I2S_TXSEL ,PDMA I2S TX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
bitfld.long 0x00 0.--3. " I2S_RXSEL ,PDMA I2S RX Select" "CH0,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,?..."
|
|
tree.end
|
|
width 15.
|
|
tree "Channel 0"
|
|
group.long 0x0++0xF
|
|
line.long 0x00 " PDMA_CSR0,PDMA Control Register"
|
|
bitfld.long 0x00 23. " TRIG_EN ,TRIG_EN" "Disabled,Enabled"
|
|
bitfld.long 0x00 19.--20. " APB_TWS ,Peripheral transfer Width Select" "32-bit,8-bit,16-bit,?..."
|
|
bitfld.long 0x00 6.--7. " DAD_SEL ,Transfer Destination Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
textline " "
|
|
bitfld.long 0x00 4.--5. " SAD_SEL ,Transfer Source Address Direction Select" "Increasing,Reserved,Fixed,?..."
|
|
bitfld.long 0x00 1. " SW_RST ,Software Engine Reset" "No effect,Reset"
|
|
bitfld.long 0x00 0. " PDMACEN ,PDMA Channel Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 2.--3. " MODE_SEL ,PDMA Mode Select" "Memory-to-Memory,Peripheral-to-Memory,Memory-to-Peripheral,?..."
|
|
line.long 0x04 " PDMA_SAR0,PDMA Source Address Register"
|
|
line.long 0x08 " PDMA_DAR0,PDMA Destination Address Register"
|
|
line.long 0x0C " PDMA_BCR0,PDMA Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_BCR ,PDMA Transfer Byte Count Register"
|
|
rgroup.long (0x0+0x10)++0xF
|
|
line.long 0x00 " PDMA_POINT0,PDMA Internal buffer pointer"
|
|
bitfld.long 0x00 0.--1. " PDMA_POINT ,PDMA Internal Buffer Pointer Register" "0,1,2,3"
|
|
line.long 0x04 " PDMA_CSAR0,PDMA Current Source Address Register"
|
|
line.long 0x08 " PDMA_CDAR0,PDMA Current Destination Address Register"
|
|
line.long 0x0C " PDMA_CBCR0,PDMA Current Transfer Byte Count Register"
|
|
hexmask.long.word 0x0C 0.--15. 1. " PDMA_CBCR ,PDMA Current Byte Count Register"
|
|
group.long (0x0+0x20)++0x7
|
|
line.long 0x00 " PDMA_IER0,PDMA Interrupt Enable Register"
|
|
bitfld.long 0x00 1. " BLKD_IE ,PDMA Transfer Done Interrupt Enable" "Disabled,Enabled"
|
|
bitfld.long 0x00 0. " TABORT_IE ,PDMA Read/Write Target Abort Interrupt Enable" "Disabled,Enabled"
|
|
line.long 0x04 " PDMA_ISR0,PDMA Interrupt Status Register"
|
|
eventfld.long 0x04 1. " BLKD_IF ,PDMA Transfer Done Interrupt Flag" "No interrupt,Interrupt"
|
|
eventfld.long 0x04 0. " TABORT_IF ,PDMA Read/Write Target Abort Interrupt Flag" "No interrupt,Interrupt"
|
|
rgroup.long (0x0+0x80)++0x3
|
|
line.long 0x00 " PDMA_SBUF0_C0,PDMA Shared Buffer FIFO 0"
|
|
tree.end
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree "EBI (External Bus Interface)"
|
|
sif (cpuis("NUC1?0R??BN")||cpuis("NUC130R??CN")||cpuis("NUC130V??CN")||cpuis("NUC140R??CN")||cpuis("NUC140V??CN"))
|
|
base ad:0x50010000
|
|
width 8.
|
|
group.long 0x00++0x7
|
|
line.long 0x00 "EBICON,External Bus Interface General Control Register"
|
|
bitfld.long 0x00 16.--18. " EXTTALE ,Expand Time of ALE" "MCLK,2*MCLK,3*MCLK,4*MCLK,5*MCLK,6*MCLK,7*MCLK,8*MCLK"
|
|
bitfld.long 0x00 8.--10. " MCLKDIV ,External Output Clock Divider" "HCLK,HCLK/2,HCLK/4,HCLK/8,HCLK/16,HCLK/32,HCLK,HCLK"
|
|
textline " "
|
|
bitfld.long 0x00 1. " EXTBW16 ,EBI data width 16-bit" "8-bit,16-bit"
|
|
bitfld.long 0x00 0. " EXTEN ,EBI Enable" "Disabled,Enabled"
|
|
line.long 0x04 "EXTIME,External Bus Interface Timing Control Register"
|
|
bitfld.long 0x04 24.--27. " EXTIR2R ,Idle State Cycle Between Read-Read" "Disabled,MCLK,2*MCLK,3*MCLK,4*MCLK,5*MCLK,6*MCLK,7*MCLK,8*MCLK,9*MCLK,10*MCLK,11*MCLK,12*MCLK,13*MCLK,14*MCLK,15*MCLK"
|
|
bitfld.long 0x04 12.--15. " EXTIW2X ,Idle State Cycle After Write" "Disabled,MCLK,2*MCLK,3*MCLK,4*MCLK,5*MCLK,6*MCLK,7*MCLK,8*MCLK,9*MCLK,10*MCLK,11*MCLK,12*MCLK,13*MCLK,14*MCLK,15*MCLK"
|
|
textline " "
|
|
bitfld.long 0x04 8.--10. " EXTTAHD ,EBI Data Access Hold Time" "MCLK,2*MCLK,3*MCLK,4*MCLK,5*MCLK,6*MCLK,7*MCLK,8*MCLK"
|
|
bitfld.long 0x04 3.--7. " EXTTACC ,EBI Data Access Time" "MCLK,2*MCLK,3*MCLK,4*MCLK,5*MCLK,6*MCLK,7*MCLK,8*MCLK,9*MCLK,10*MCLK,11*MCLK,12*MCLK,13*MCLK,14*MCLK,15*MCLK,16*MCLK,17*MCLK,18*MCLK,19*MCLK,20*MCLK,21*MCLK,22*MCLK,23*MCLK,24*MCLK,25*MCLK,26*MCLK,27*MCLK,28*MCLK,29*MCLK,30*MCLK,31*MCLK,32*MCLK"
|
|
width 0xB
|
|
endif
|
|
tree.end
|
|
tree.open "FMC (Flash Memory Controller)"
|
|
tree "User Configuration"
|
|
base ad:0x00300000
|
|
width 9.
|
|
group.long 0x00++0x3
|
|
line.long 0x00 "CONFIG0,User Configuration Register 0"
|
|
bitfld.long 0x00 28. " CKF ,XT1 Clock Filter Enable" "Disabled,Enabled"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x00 24.--26. " CFOSC ,CPU Clock Source Selection After Reset" "External 12 MHz crystal,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Internal RC 22.1184 MHz oscillator"
|
|
else
|
|
bitfld.long 0x00 24.--26. " CFOSC ,CPU Clock Source Selection After Reset" "External 4~24 MHz crystal,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Internal RC 22.1184 MHz oscillator"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 23. " CBODEN ,Brown-Out Detector Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 21.--22. " CBOV1-0 ,Brown-Out Voltage Selection" "2.2 V,2.7 V,3.8 V,4.5 V"
|
|
textline " "
|
|
bitfld.long 0x00 20. " CBORST ,Brown-Out Reset Enable" "Enabled,Disabled"
|
|
bitfld.long 0x00 7. " CBS ,Chip Boot Selection" "LDROM,APROM"
|
|
textline " "
|
|
bitfld.long 0x00 1. " LOCK ,Security Lock" "Locked,Not locked"
|
|
sif (cpuis("NUC1???E*"))
|
|
bitfld.long 0x00 0. " DFEN ,Data Flash Enable" "Enabled,Disabled"
|
|
group.long 0x04++0x3
|
|
line.long 0x00 "CONFIG1,User Configuration Register 1"
|
|
hexmask.long.tbyte 0x00 0.--19. 1. " DFBADR ,Data Flash Base Address"
|
|
endif
|
|
tree.end
|
|
tree "Flash Control Registers"
|
|
base ad:0x5000C000
|
|
width 8.
|
|
group.long 0x00++0x13
|
|
line.long 0x00 "ISPCON,ISP Control Register"
|
|
bitfld.long 0x00 12.--14. " ET ,Flash Erase Time" "20ms,25ms,30ms,35ms,3ms,5ms,10ms,15ms"
|
|
bitfld.long 0x00 8.--10. " PT ,Flash Program Time" "40us,45us,50us,55us,20us,25us,30us,35us"
|
|
textline " "
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x00 7. " SWRST ,Software Reset" "No reset,Reset"
|
|
textline " "
|
|
endif
|
|
eventfld.long 0x00 6. " ISPFF ,ISP Fail Flag" "Not occurred,Occurred"
|
|
bitfld.long 0x00 5. " LDUEN ,LDROM Update Enable" "Disabled,Enabled"
|
|
textline " "
|
|
bitfld.long 0x00 4. " CFGUEN ,Config Update Enable" "Disabled,Enabled"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 3. " APUEN ,APROM Update Enable" "Disabled,Enabled"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 1. " BS ,Boot Select" "APROM,LDROM"
|
|
bitfld.long 0x00 0. " ISPEN ,ISP Enable" "Disabled,Enabled"
|
|
line.long 0x04 "ISPADR,ISP Address Register"
|
|
line.long 0x08 "ISPDAT,ISP Data Register"
|
|
line.long 0x0C "ISPCMD,ISP Command Register"
|
|
sif (cpuis("M05*"))
|
|
bitfld.long 0x0C 0.--5. " FOEN ,ISP Command" "Read,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Program,Page Erase,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Standby,?..."
|
|
else
|
|
bitfld.long 0x0C 0.--5. " FOEN ,ISP Command" "Read,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Program,Page Erase,?..."
|
|
endif
|
|
line.long 0x10 "ISPTRG,ISP Trigger Register"
|
|
bitfld.long 0x10 0. " ISPGO ,ISP start trigger" "Stopped,Started"
|
|
rgroup.long 0x14++0x3
|
|
line.long 0x00 "DFBADR,Data Flash Start Address"
|
|
group.long 0x18++0x3
|
|
line.long 0x00 "FATCON,Flash Access Window Control Register"
|
|
sif (cpuis("NUC130*")||cpuis("NUC140*"))
|
|
bitfld.long 0x00 4. " LFOM ,Low Frequency Optimization Mode" "Disabled,Enabled"
|
|
elif (cpuis("M05*"))
|
|
bitfld.long 0x00 4. " L_SPEED ,Flash Low Speed Mode Enable" "Disabled,Enabled"
|
|
endif
|
|
textline " "
|
|
bitfld.long 0x00 1.--3. " FATS ,Flash Access Time Window Select" "40ns,50ns,60ns,70ns,80ns,90ns,100ns,?..."
|
|
bitfld.long 0x00 0. " FPSEN ,Flash Power Save Enable" "Disabled,Enabled"
|
|
tree.end
|
|
width 0xB
|
|
tree.end
|
|
textline ""
|