#ifndef LH79520_h
#define LH79520_h
#define UART0DR (*(volatile unsigned long *)0xfffc0000)
#define UART0RSR (*(volatile unsigned long *)0xfffc0004)
#define UART0ECR (*(volatile unsigned long *)0xfffc0004)
#define UART0FR (*(volatile unsigned long *)0xfffc0018)
#define UART0ILPR (*(volatile unsigned long *)0xfffc0020)
#define UART0IBRD (*(volatile unsigned long *)0xfffc0024)
#define UART0FBRD (*(volatile unsigned long *)0xfffc0028)
#define UART0LCR_H (*(volatile unsigned long *)0xfffc002c)
#define UART0CR (*(volatile unsigned long *)0xfffc0030)
#define UART0IFLS (*(volatile unsigned long *)0xfffc0034)
#define UART0IMSC (*(volatile unsigned long *)0xfffc0038)
#define UART0RIS (*(volatile unsigned long *)0xfffc003c)
#define UART0MIS (*(volatile unsigned long *)0xfffc0040)
#define UART0ICR (*(volatile unsigned long *)0xfffc0044)
#define UART0TCR (*(volatile unsigned long *)0xfffc0080)
#define UART1DR (*(volatile unsigned long *)0xfffc1000)
#define UART1RSR (*(volatile unsigned long *)0xfffc1004)
#define UART1ECR (*(volatile unsigned long *)0xfffc1004)
#define UART1FR (*(volatile unsigned long *)0xfffc1018)
#define UART1ILPR (*(volatile unsigned long *)0xfffc1020)
#define UART1IBRD (*(volatile unsigned long *)0xfffc1024)
#define UART1FBRD (*(volatile unsigned long *)0xfffc1028)
#define UART1LCR_H (*(volatile unsigned long *)0xfffc102c)
#define UART1CR (*(volatile unsigned long *)0xfffc1030)
#define UART1IFLS (*(volatile unsigned long *)0xfffc1034)
#define UART1IMSC (*(volatile unsigned long *)0xfffc1038)
#define UART1RIS (*(volatile unsigned long *)0xfffc103c)
#define UART1MIS (*(volatile unsigned long *)0xfffc1040)
#define UART1ICR (*(volatile unsigned long *)0xfffc1044)
#define UART1TCR (*(volatile unsigned long *)0xfffc1080)
#define UART2DR (*(volatile unsigned long *)0xfffc2000)
#define UART2RSR (*(volatile unsigned long *)0xfffc2004)
#define UART2ECR (*(volatile unsigned long *)0xfffc2004)
#define UART2FR (*(volatile unsigned long *)0xfffc2018)
#define UART2ILPR (*(volatile unsigned long *)0xfffc2020)
#define UART2IBRD (*(volatile unsigned long *)0xfffc2024)
#define UART2FBRD (*(volatile unsigned long *)0xfffc2028)
#define UART2LCR_H (*(volatile unsigned long *)0xfffc202c)
#define UART2CR (*(volatile unsigned long *)0xfffc2030)
#define UART2IFLS (*(volatile unsigned long *)0xfffc2034)
#define UART2IMSC (*(volatile unsigned long *)0xfffc2038)
#define UART2RIS (*(volatile unsigned long *)0xfffc203c)
#define UART2MIS (*(volatile unsigned long *)0xfffc2040)
#define UART2ICR (*(volatile unsigned long *)0xfffc2044)
#define UART2TCR (*(volatile unsigned long *)0xfffc2080)
#define PWM0_TC (*(volatile unsigned long *)0xfffc3000)
#define PWM0_DC (*(volatile unsigned long *)0xfffc3004)
#define PWM0_EN (*(volatile unsigned long *)0xfffc3008)
#define PWM0_INV (*(volatile unsigned long *)0xfffc300c)
#define PWM0_SYNC (*(volatile unsigned long *)0xfffc3010)
#define PWM1_TC (*(volatile unsigned long *)0xfffc3020)
#define PWM1_DC (*(volatile unsigned long *)0xfffc3024)
#define PWM1_EN (*(volatile unsigned long *)0xfffc3028)
#define PWM1_INV (*(volatile unsigned long *)0xfffc302c)
#define TIMER0Load (*(volatile unsigned long *)0xfffc4000)
#define TIMER0Value (*(volatile unsigned long *)0xfffc4004)
#define TIMER0Control (*(volatile unsigned long *)0xfffc4008)
#define TIMER0Clear (*(volatile unsigned long *)0xfffc400c)
#define TIMER1Load (*(volatile unsigned long *)0xfffc4020)
#define TIMER1Value (*(volatile unsigned long *)0xfffc4024)
#define TIMER1Control (*(volatile unsigned long *)0xfffc4028)
#define TIMER1Clear (*(volatile unsigned long *)0xfffc402c)
#define TIMER2Load (*(volatile unsigned long *)0xfffc5000)
#define TIMER2Value (*(volatile unsigned long *)0xfffc5004)
#define TIMER2Control (*(volatile unsigned long *)0xfffc5008)
#define TIMER2Clear (*(volatile unsigned long *)0xfffc500c)
#define TIMER3Load (*(volatile unsigned long *)0xfffc5020)
#define TIMER3Value (*(volatile unsigned long *)0xfffc5024)
#define TIMER3Control (*(volatile unsigned long *)0xfffc5028)
#define TIMER3Clear (*(volatile unsigned long *)0xfffc502c)
#define SSPCR0 (*(volatile unsigned long *)0xfffc6000)
#define SSPCR1 (*(volatile unsigned long *)0xfffc6004)
#define SSPDR (*(volatile unsigned long *)0xfffc6008)
#define SSPSR (*(volatile unsigned long *)0xfffc600c)
#define SSPCPSR (*(volatile unsigned long *)0xfffc6010)
#define SSPIIR (*(volatile unsigned long *)0xfffc6014)
#define SSPICR (*(volatile unsigned long *)0xfffc6014)
#define SSPRXTO (*(volatile unsigned long *)0xfffc6018)
#define GPIOPGDR (*(volatile unsigned long *)0xfffdc000)
#define GPIOPHDR (*(volatile unsigned long *)0xfffdc004)
#define GPIOPGDDR (*(volatile unsigned long *)0xfffdc008)
#define GPIOPHDDR (*(volatile unsigned long *)0xfffdc00c)
#define GPIOPEDR (*(volatile unsigned long *)0xfffdd000)
#define GPIOPFDR (*(volatile unsigned long *)0xfffdd004)
#define GPIOPEDDR (*(volatile unsigned long *)0xfffdd008)
#define GPIOPFDDR (*(volatile unsigned long *)0xfffdd00c)
#define GPIOPCDR (*(volatile unsigned long *)0xfffde000)
#define GPIOPDDR (*(volatile unsigned long *)0xfffde004)
#define GPIOPCDDR (*(volatile unsigned long *)0xfffde008)
#define GPIOPDDDR (*(volatile unsigned long *)0xfffde00c)
#define GPIOPADR (*(volatile unsigned long *)0xfffdf000)
#define GPIOPBDR (*(volatile unsigned long *)0xfffdf004)
#define GPIOPADDR (*(volatile unsigned long *)0xfffdf008)
#define GPIOPBDDR (*(volatile unsigned long *)0xfffdf00c)
#define RTCDR (*(volatile unsigned long *)0xfffe0000)
#define RTCMR (*(volatile unsigned long *)0xfffe0004)
#define RTCSTAT (*(volatile unsigned long *)0xfffe0008)
#define RTCEOI (*(volatile unsigned long *)0xfffe0008)
#define RTCLR (*(volatile unsigned long *)0xfffe000c)
#define RTCCR (*(volatile unsigned long *)0xfffe0010)
#define DMA0SourceLo (*(volatile unsigned long *)0xfffe1000)
#define DMA0SourceHi (*(volatile unsigned long *)0xfffe1004)
#define DMA0DestLo (*(volatile unsigned long *)0xfffe1008)
#define DMA0DestHi (*(volatile unsigned long *)0xfffe100c)
#define DMA0Max (*(volatile unsigned long *)0xfffe1010)
#define DMA0Ctrl (*(volatile unsigned long *)0xfffe1014)
#define DMA0SoCurrHi (*(volatile unsigned long *)0xfffe1018)
#define DMA0SoCurrLo (*(volatile unsigned long *)0xfffe101c)
#define DMA0DeCurrHi (*(volatile unsigned long *)0xfffe1020)
#define DMA0DeCurrLo (*(volatile unsigned long *)0xfffe1024)
#define DMA0Tcnt (*(volatile unsigned long *)0xfffe1028)
#define DMA1SourceLo (*(volatile unsigned long *)0xfffe1040)
#define DMA1SourceHi (*(volatile unsigned long *)0xfffe1044)
#define DMA1DestLo (*(volatile unsigned long *)0xfffe1048)
#define DMA1DestHi (*(volatile unsigned long *)0xfffe104c)
#define DMA1Max (*(volatile unsigned long *)0xfffe1050)
#define DMA1Ctrl (*(volatile unsigned long *)0xfffe1054)
#define DMA1SoCurrHi (*(volatile unsigned long *)0xfffe1058)
#define DMA1SoCurrLo (*(volatile unsigned long *)0xfffe105c)
#define DMA1DeCurrHi (*(volatile unsigned long *)0xfffe1060)
#define DMA1DeCurrLo (*(volatile unsigned long *)0xfffe1064)
#define DMA1Tcnt (*(volatile unsigned long *)0xfffe1068)
#define DMA2SourceLo (*(volatile unsigned long *)0xfffe1080)
#define DMA2SourceHi (*(volatile unsigned long *)0xfffe1084)
#define DMA2DestLo (*(volatile unsigned long *)0xfffe1088)
#define DMA2DestHi (*(volatile unsigned long *)0xfffe108c)
#define DMA2Max (*(volatile unsigned long *)0xfffe1090)
#define DMA2Ctrl (*(volatile unsigned long *)0xfffe1094)
#define DMA2SoCurrHi (*(volatile unsigned long *)0xfffe1098)
#define DMA2SoCurrLo (*(volatile unsigned long *)0xfffe109c)
#define DMA2DeCurrHi (*(volatile unsigned long *)0xfffe10a0)
#define DMA2DeCurrLo (*(volatile unsigned long *)0xfffe10a4)
#define DMA2Tcnt (*(volatile unsigned long *)0xfffe10a8)
#define DMA3SourceLo (*(volatile unsigned long *)0xfffe10c0)
#define DMA3SourceHi (*(volatile unsigned long *)0xfffe10c4)
#define DMA3DestLo (*(volatile unsigned long *)0xfffe10c8)
#define DMA3DestHi (*(volatile unsigned long *)0xfffe10cc)
#define DMA3Max (*(volatile unsigned long *)0xfffe10d0)
#define DMA3Ctrl (*(volatile unsigned long *)0xfffe10d4)
#define DMA3SoCurrHi (*(volatile unsigned long *)0xfffe10d8)
#define DMA3SoCurrLo (*(volatile unsigned long *)0xfffe10dc)
#define DMA3DeCurrHi (*(volatile unsigned long *)0xfffe10e0)
#define DMA3DeCurrLo (*(volatile unsigned long *)0xfffe10e4)
#define DMA3Tcnt (*(volatile unsigned long *)0xfffe10e8)
#define DMAMask (*(volatile unsigned long *)0xfffe10f0)
#define DMAClr (*(volatile unsigned long *)0xfffe10f4)
#define DMAStatus (*(volatile unsigned long *)0xfffe10f8)
#define RCPCCtrl (*(volatile unsigned long *)0xfffe2000)
#define RCPCRemapCtrl (*(volatile unsigned long *)0xfffe2008)
#define SoftReset (*(volatile unsigned long *)0xfffe200c)
#define ResetStatus (*(volatile unsigned long *)0xfffe2010)
#define ResetStatusClear (*(volatile unsigned long *)0xfffe2014)
#define HclkPrescale (*(volatile unsigned long *)0xfffe2018)
#define CpuClkPrescale (*(volatile unsigned long *)0xfffe201c)
#define PeriphClkCtrl (*(volatile unsigned long *)0xfffe2024)
#define PeriphClkCtrl2 (*(volatile unsigned long *)0xfffe2028)
#define AHBClkCtrl (*(volatile unsigned long *)0xfffe202c)
#define PeriphClkSelect (*(volatile unsigned long *)0xfffe2030)
#define PeriphClkSelect2 (*(volatile unsigned long *)0xfffe2034)
#define PWM0Prescale (*(volatile unsigned long *)0xfffe2038)
#define PWM1Prescale (*(volatile unsigned long *)0xfffe203c)
#define LCDClkPrescale (*(volatile unsigned long *)0xfffe2040)
#define SSPClkPrescale (*(volatile unsigned long *)0xfffe2044)
#define IntConfig (*(volatile unsigned long *)0xfffe2080)
#define IntClear (*(volatile unsigned long *)0xfffe2084)
#define CoreClkConfig (*(volatile unsigned long *)0xfffe2088)
#define WDCTLR (*(volatile unsigned long *)0xfffe3000)
#define WDCNTR (*(volatile unsigned long *)0xfffe3004)
#define WDTSTR (*(volatile unsigned long *)0xfffe3008)
#define WDCNT0 (*(volatile unsigned long *)0xfffe300c)
#define WDCNT1 (*(volatile unsigned long *)0xfffe3010)
#define WDCNT2 (*(volatile unsigned long *)0xfffe3014)
#define WDCNT3 (*(volatile unsigned long *)0xfffe3018)
#define HRTFTCSetup (*(volatile unsigned long *)0xfffe4000)
#define HRTFTCControl (*(volatile unsigned long *)0xfffe4004)
#define HRTFTCTiming1 (*(volatile unsigned long *)0xfffe4008)
#define HRTFTCTiming2 (*(volatile unsigned long *)0xfffe400c)
#define MemMux (*(volatile unsigned long *)0xfffe5000)
#define LCDMux (*(volatile unsigned long *)0xfffe5004)
#define MiscMux (*(volatile unsigned long *)0xfffe5008)
#define DMAMux (*(volatile unsigned long *)0xfffe500c)
#define UARTMux (*(volatile unsigned long *)0xfffe5010)
#define SSPMux (*(volatile unsigned long *)0xfffe5014)
#define SMCBCR0 (*(volatile unsigned long *)0xffff1000)
#define SMCBCR1 (*(volatile unsigned long *)0xffff1004)
#define SMCBCR2 (*(volatile unsigned long *)0xffff1008)
#define SMCBCR3 (*(volatile unsigned long *)0xffff100c)
#define SMCBCR4 (*(volatile unsigned long *)0xffff1010)
#define SMCBCR5 (*(volatile unsigned long *)0xffff1014)
#define SMCBCR6 (*(volatile unsigned long *)0xffff1018)
#define SDRCConfig0 (*(volatile unsigned long *)0xffff2000)
#define SDRCConfig1 (*(volatile unsigned long *)0xffff2004)
#define SDRCRefTimer (*(volatile unsigned long *)0xffff2008)
#define SDRCWBTimeout (*(volatile unsigned long *)0xffff200c)
#define LCDTiming0 (*(volatile unsigned long *)0xffff4000)
#define LCDTiming1 (*(volatile unsigned long *)0xffff4004)
#define LCDTiming2 (*(volatile unsigned long *)0xffff4008)
#define LCDUPBASE (*(volatile unsigned long *)0xffff4010)
#define LCDLPBASE (*(volatile unsigned long *)0xffff4014)
#define LCDINTRENABLE (*(volatile unsigned long *)0xffff4018)
#define LCDControl (*(volatile unsigned long *)0xffff401c)
#define LCDStatus (*(volatile unsigned long *)0xffff4020)
#define LCDInterrupt (*(volatile unsigned long *)0xffff4024)
#define LCDUPCURR (*(volatile unsigned long *)0xffff4028)
#define LCDLPCURR (*(volatile unsigned long *)0xffff402c)
#define IRQStatus (*(volatile unsigned long *)0xfffff000)
#define FIQStatus (*(volatile unsigned long *)0xfffff004)
#define RawInterrupt (*(volatile unsigned long *)0xfffff008)
#define IntSelect (*(volatile unsigned long *)0xfffff00c)
#define IntEnable (*(volatile unsigned long *)0xfffff010)
#define IntEnableClear (*(volatile unsigned long *)0xfffff014)
#define SoftInt (*(volatile unsigned long *)0xfffff018)
#define SoftIntClear (*(volatile unsigned long *)0xfffff01c)
#define VectorAddr (*(volatile unsigned long *)0xfffff030)
#define DefVecAddr (*(volatile unsigned long *)0xfffff034)
#define VectAddr0 (*(volatile unsigned long *)0xfffff100)
#define VectAddr1 (*(volatile unsigned long *)0xfffff104)
#define VectAddr2 (*(volatile unsigned long *)0xfffff108)
#define VectAddr3 (*(volatile unsigned long *)0xfffff10c)
#define VectAddr4 (*(volatile unsigned long *)0xfffff110)
#define VectAddr5 (*(volatile unsigned long *)0xfffff114)
#define VectAddr6 (*(volatile unsigned long *)0xfffff118)
#define VectAddr7 (*(volatile unsigned long *)0xfffff11c)
#define VectAddr8 (*(volatile unsigned long *)0xfffff120)
#define VectAddr9 (*(volatile unsigned long *)0xfffff124)
#define VectAddr10 (*(volatile unsigned long *)0xfffff128)
#define VectAddr11 (*(volatile unsigned long *)0xfffff12c)
#define VectAddr12 (*(volatile unsigned long *)0xfffff130)
#define VectAddr13 (*(volatile unsigned long *)0xfffff134)
#define VectAddr14 (*(volatile unsigned long *)0xfffff138)
#define VectAddr15 (*(volatile unsigned long *)0xfffff13c)
#define VectCntl0 (*(volatile unsigned long *)0xfffff200)
#define VectCntl1 (*(volatile unsigned long *)0xfffff204)
#define VectCntl2 (*(volatile unsigned long *)0xfffff208)
#define VectCntl3 (*(volatile unsigned long *)0xfffff20c)
#define VectCntl4 (*(volatile unsigned long *)0xfffff210)
#define VectCntl5 (*(volatile unsigned long *)0xfffff214)
#define VectCntl6 (*(volatile unsigned long *)0xfffff218)
#define VectCntl7 (*(volatile unsigned long *)0xfffff21c)
#define VectCntl8 (*(volatile unsigned long *)0xfffff220)
#define VectCntl9 (*(volatile unsigned long *)0xfffff224)
#define VectCntl10 (*(volatile unsigned long *)0xfffff228)
#define VectCntl11 (*(volatile unsigned long *)0xfffff22c)
#define VectCntl12 (*(volatile unsigned long *)0xfffff230)
#define VectCntl13 (*(volatile unsigned long *)0xfffff234)
#define VectCntl14 (*(volatile unsigned long *)0xfffff238)
#define VectCntl15 (*(volatile unsigned long *)0xfffff23c)
#define ITOP1 (*(volatile unsigned long *)0xfffff30c)
#endif
