;Register definition for MMC2114 ;=============================== ; ; name: user defined name of the register ; type: the type of the register ; GPR general purpose register ; AFR alternate register ; CR control 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 0xB4000000 ; addr: the number, adddress or offset of the register ; size the size of the register (8,16 or 32) ; ;name type addr size ;------------------------------------------- ; ; Ports porta MM 0x00c00000 8 portb MM 0x00c00001 8 portc MM 0x00c00002 8 portd MM 0x00c00003 8 porte MM 0x00c00004 8 portf MM 0x00c00005 8 portg MM 0x00c00006 8 porth MM 0x00c00007 8 porti MM 0x00c00008 8 ; ddra MM 0x00c0000c 8 ddrb MM 0x00c0000d 8 ddrc MM 0x00c0000e 8 ddrd MM 0x00c0000f 8 ddre MM 0x00c00010 8 ddrf MM 0x00c00011 8 ddrg MM 0x00c00012 8 ddrh MM 0x00c00013 8 ddri MM 0x00c00014 8 ; portap MM 0x00c00018 8 portbp MM 0x00c00019 8 portcp MM 0x00c0001a 8 portdp MM 0x00c0001b 8 portep MM 0x00c0001c 8 portfp MM 0x00c0001d 8 portgp MM 0x00c0001e 8 porthp MM 0x00c0001f 8 portip MM 0x00c00020 8 ; clra MM 0x00c00024 8 clrb MM 0x00c00025 8 clrc MM 0x00c00026 8 clrd MM 0x00c00027 8 clre MM 0x00c00028 8 clrf MM 0x00c00029 8 clrg MM 0x00c0002a 8 clrh MM 0x00c0002b 8 clri MM 0x00c0002c 8 ; pcdpar MM 0x00c00030 8 pepar MM 0x00c00031 8 ; ; Chip Configuration ccr MM 0x00c10000 16 rcon MM 0x00c10004 16 cir MM 0x00c10006 16 ctr MM 0x00c10008 16 ; ; Chip Selects cscr0 MM 0x00c20000 16 cscr1 MM 0x00c20002 16 cscr2 MM 0x00c20004 16 cscr3 MM 0x00c20006 16 ; ; Clocks syncr MM 0x00c30000 16 synsr MM 0x00c30002 8 syntr MM 0x00c30003 8 syntr2 MM 0x00c30004 32 ; ; Reset rcr MM 0x00c40000 8 rsr MM 0x00c40001 8 rtr MM 0x00c40002 8 ; ; Interrupt Controller icr MM 0x00c50000 16 isr MM 0x00c50002 16 ifrh MM 0x00c50004 32 ifrl MM 0x00c50008 32 ipr MM 0x00c5000c 32 nier MM 0x00c50010 32 nipr MM 0x00c50014 32 fier MM 0x00c50018 32 fipr MM 0x00c5001c 32 ; ; Internal Flash fmcr MM 0x00d00000 16 fclkd MM 0x00d00002 8 fsec MM 0x00d00008 32 fprot MM 0x00d00010 16 facc MM 0x00d00014 32 fstat MM 0x00d0001c 8 fcmd MM 0x00d00020 8 ;