;Register definition for NXP LPC1114
;===================================
;
; name: user defined name of the register
; type: the type of the register
;	GPR	general purpose register
;	MM	memory mapped register
;	DMMx	direct memory mapped register with offset
;		x = 1..4
;		the base is defined in the configuration file
;		e.g. DMM1 0x02200000
; addr:	the number, adddress or offset of the register
; size	the size of the register (8,16 or 32)
;
;
;name		type	addr		size
;-------------------------------------------
;
sp_main         GPR     17              32      ;Main Stackpointer
sp_process      GPR     18              32      ;Process Stackpointer
ctr_fm_bp_pm    GPR     20              32      ;Control,FaultMask,BasePri,PriMask
;
; Core debug registres
dhcsr           MM      0xE000EDF0      32      ;Debugging Halting Control and Status
dcrsr           MM      0xE000EDF4      32      ;Debug Core Register Selector
dcrdr           MM      0xE000EDF8      32      ;Debug Core Register Data
demcr           MM      0xE000EDFC      32      ;Debug Core Register Selector
dfsr            MM      0xE000ED30      32      ;Debug Fault Status
;
; System debug registres
bp_ctrl         MM      0xE0002000      32      ;Breakpoint Control
bp_comp0        MM      0xE0002008      32      ;Breakpoint Comparator
bp_comp1        MM      0xE000200C      32      ;Breakpoint Comparator
bp_comp2        MM      0xE0002010      32      ;Breakpoint Comparator
bp_comp3        MM      0xE0002014      32      ;Breakpoint Comparator
;
dwt_ctrl        MM      0xE0001000      32      ;DWT Control
dwt_pcsr        MM      0xE000101C      32      ;DWT PC Sample
dwt_comp0       MM      0xE0001020      32      ;DWT Comparator
dwt_mask0       MM      0xE0001024      32      ;DWT Mask
dwt_function0   MM      0xE0001028      32      ;DWT Function
dwt_comp1       MM      0xE0001030      32      ;DWT Comparator
dwt_mask1       MM      0xE0001034      32      ;DWT Mask
dwt_function1   MM      0xE0001038      32      ;DWT Function
;
;
; System configuration
sysmemremap     MM      0x40048000
presetctrl      MM      0x40048004
syspllctrl      MM      0x40048008
syspllstat      MM      0x4004800C
sysoscctrl      MM      0x40048020
wdtoscctrl      MM      0x40048024
ircctrl         MM      0x40048028
sysresstat      MM      0x40048030
syspllclksel    MM      0x40048040
syspllclkuen    MM      0x40048044
mainclksel      MM      0x40048070
mainclkuen      MM      0x40048074
sysahbclkdiv    MM      0x40048078
sysahbclkctrl   MM      0x40048080
ssp0clkdiv      MM      0x40048094
uartclkdiv      MM      0x40048098
ssp1clkdiv      MM      0x4004809C
wdtclksel       MM      0x400480D0
wdtclkuen       MM      0x400480D4
wdtclkdiv       MM      0x400480D8
clkoutclksel    MM      0x400480E0
clkoutuen       MM      0x400480E4
clkoutdiv       MM      0x400480E8
pioporcap0      MM      0x40048100
pioporcap1      MM      0x40048104
bodctrl         MM      0x40048150
systckcal       MM      0x40048158
startaprp0      MM      0x40048200
starterp0       MM      0x40048204
startrsrp0clr   MM      0x40048208
startsrp0       MM      0x4004820C
pdsleepcfg      MM      0x40048230
pdawakecfg      MM      0x40048234
pdruncfg        MM      0x40048238
device_id       MM      0x400483F4
;
flashcfg        MM      0x4003C010
;

