#ifndef TMS470_h
#define TMS470_h
#define C2SIAISR (*(volatile unsigned *)0xfff7c800)
#define C2SIAICR (*(volatile unsigned *)0xfff7c804)
#define C2SIAGSR (*(volatile unsigned *)0xfff7c808)
#define C2SIAGCR (*(volatile unsigned *)0xfff7c80c)
#define C2SIATDB (*(volatile unsigned *)0xfff7c810)
#define C2SIACCSR (*(volatile unsigned *)0xfff7c814)
#define C2SIACTR (*(volatile unsigned *)0xfff7c818)
#define C2SIACLK (*(volatile unsigned *)0xfff7c81c)
#define C2SIATBC (*(volatile unsigned *)0xfff7c820)
#define C2SIAPC1 (*(volatile unsigned *)0xfff7c824)
#define C2SIAPC2 (*(volatile unsigned *)0xfff7c828)
#define C2SIAPC3 (*(volatile unsigned *)0xfff7c82c)
#define C2SIAEMU (*(volatile unsigned *)0xfff7c830)
#define C2SIARDB (*(volatile unsigned *)0xfff7c834)
#define C2SIACAL (*(volatile unsigned *)0xfff7c838)
#define C2SIABRK (*(volatile unsigned *)0xfff7c83c)
#define SPI2CTRL1 (*(volatile unsigned *)0xfff7d400)
#define SPI2CTRL2 (*(volatile unsigned *)0xfff7d404)
#define SPI2CTRL3 (*(volatile unsigned *)0xfff7d408)
#define SPI2DAT0 (*(volatile unsigned *)0xfff7d40c)
#define SPI2DAT1 (*(volatile unsigned *)0xfff7d410)
#define SPI2BUF (*(volatile unsigned *)0xfff7d414)
#define SPI2EMU (*(volatile unsigned *)0xfff7d418)
#define SPI2PC1 (*(volatile unsigned *)0xfff7d41c)
#define SPI2PC2 (*(volatile unsigned *)0xfff7d420)
#define SPI2PC3 (*(volatile unsigned *)0xfff7d424)
#define SPI2PC4 (*(volatile unsigned *)0xfff7d428)
#define SPI2PC5 (*(volatile unsigned *)0xfff7d42c)
#define SPI2PC6 (*(volatile unsigned *)0xfff7d430)
#define CANME (*(volatile unsigned *)0xfff7e000)
#define CANMD (*(volatile unsigned *)0xfff7e004)
#define CANTRS (*(volatile unsigned *)0xfff7e008)
#define CANTRR (*(volatile unsigned *)0xfff7e00c)
#define CANTA (*(volatile unsigned *)0xfff7e010)
#define CANAA (*(volatile unsigned *)0xfff7e014)
#define CANRMP (*(volatile unsigned *)0xfff7e018)
#define CANRML (*(volatile unsigned *)0xfff7e01c)
#define CANRFP (*(volatile unsigned *)0xfff7e020)
#define CANGAM (*(volatile unsigned *)0xfff7e024)
#define CANMC (*(volatile unsigned *)0xfff7e028)
#define CANBTC (*(volatile unsigned *)0xfff7e02c)
#define CANES (*(volatile unsigned *)0xfff7e030)
#define CANTEC (*(volatile unsigned *)0xfff7e034)
#define CANREC (*(volatile unsigned *)0xfff7e038)
#define CANGIF0 (*(volatile unsigned *)0xfff7e03c)
#define CANGIM (*(volatile unsigned *)0xfff7e040)
#define CANGIF1 (*(volatile unsigned *)0xfff7e044)
#define CANMIM (*(volatile unsigned *)0xfff7e048)
#define CANMIL (*(volatile unsigned *)0xfff7e04c)
#define CANOPC (*(volatile unsigned *)0xfff7e050)
#define CANTIOC (*(volatile unsigned *)0xfff7e054)
#define CANRIOC (*(volatile unsigned *)0xfff7e058)
#define CANLNT (*(volatile unsigned *)0xfff7e05c)
#define CANTOC (*(volatile unsigned *)0xfff7e060)
#define CANTOS (*(volatile unsigned *)0xfff7e064)
#define GIOPWDN (*(volatile unsigned *)0xfff7ec00)
#define GIOENA1 (*(volatile unsigned *)0xfff7ec04)
#define GIOPOL1 (*(volatile unsigned *)0xfff7ec08)
#define GIOFLG1 (*(volatile unsigned *)0xfff7ec0c)
#define GIOPRY1 (*(volatile unsigned *)0xfff7ec10)
#define GIOOFFA (*(volatile unsigned *)0xfff7ec14)
#define GIOEMUA (*(volatile unsigned *)0xfff7ec18)
#define GIOOFFB (*(volatile unsigned *)0xfff7ec1c)
#define GIOEMUB (*(volatile unsigned *)0xfff7ec20)
#define GIODIRA (*(volatile unsigned *)0xfff7ec24)
#define GIODINA (*(volatile unsigned *)0xfff7ec28)
#define GIODOUTA (*(volatile unsigned *)0xfff7ec2c)
#define GIODSETA (*(volatile unsigned *)0xfff7ec30)
#define GIODCLRA (*(volatile unsigned *)0xfff7ec34)
#define GIODIRB (*(volatile unsigned *)0xfff7ec38)
#define GIODINB (*(volatile unsigned *)0xfff7ec3c)
#define GIODOUTB (*(volatile unsigned *)0xfff7ec40)
#define GIODSETB (*(volatile unsigned *)0xfff7ec44)
#define GIODCLRB (*(volatile unsigned *)0xfff7ec48)
#define GIODIRC (*(volatile unsigned *)0xfff7ec4c)
#define GIODINC (*(volatile unsigned *)0xfff7ec50)
#define GIODOUTC (*(volatile unsigned *)0xfff7ec54)
#define GIODSETC (*(volatile unsigned *)0xfff7ec58)
#define GIODCLRC (*(volatile unsigned *)0xfff7ec5c)
#define GIODIRD (*(volatile unsigned *)0xfff7ec60)
#define GIODIND (*(volatile unsigned *)0xfff7ec64)
#define GIODOUTD (*(volatile unsigned *)0xfff7ec68)
#define GIODSETD (*(volatile unsigned *)0xfff7ec6c)
#define GIODCLRD (*(volatile unsigned *)0xfff7ec70)
#define GIODIRE (*(volatile unsigned *)0xfff7ec74)
#define GIODINE (*(volatile unsigned *)0xfff7ec78)
#define GIODOUTE (*(volatile unsigned *)0xfff7ec7c)
#define GIODSETE (*(volatile unsigned *)0xfff7ec80)
#define GIODCLRE (*(volatile unsigned *)0xfff7ec84)
#define GIODIRF (*(volatile unsigned *)0xfff7ec88)
#define GIODINF (*(volatile unsigned *)0xfff7ec8c)
#define GIODOUTF (*(volatile unsigned *)0xfff7ec90)
#define GIODSETF (*(volatile unsigned *)0xfff7ec94)
#define GIODCLRF (*(volatile unsigned *)0xfff7ec98)
#define GIODIRG (*(volatile unsigned *)0xfff7ec9c)
#define GIODING (*(volatile unsigned *)0xfff7eca0)
#define GIODOUTG (*(volatile unsigned *)0xfff7eca4)
#define GIODSETG (*(volatile unsigned *)0xfff7eca8)
#define GIODCLRG (*(volatile unsigned *)0xfff7ecac)
#define GIODIRH (*(volatile unsigned *)0xfff7ecb0)
#define GIODINH (*(volatile unsigned *)0xfff7ecb4)
#define GIODOUTH (*(volatile unsigned *)0xfff7ecb8)
#define GIODSETH (*(volatile unsigned *)0xfff7ecbc)
#define GIODCLRH (*(volatile unsigned *)0xfff7ecc0)
#define GIOENA2 (*(volatile unsigned *)0xfff7ecc4)
#define GIOPOL2 (*(volatile unsigned *)0xfff7ecc8)
#define GIOFLG2 (*(volatile unsigned *)0xfff7eccc)
#define GIOPRY2 (*(volatile unsigned *)0xfff7ece8)
#define ADCR1 (*(volatile unsigned *)0xfff7f000)
#define ADCR2 (*(volatile unsigned *)0xfff7f004)
#define ADSR (*(volatile unsigned *)0xfff7f008)
#define ADEISR (*(volatile unsigned *)0xfff7f00c)
#define ADISR1 (*(volatile unsigned *)0xfff7f010)
#define ADISR2 (*(volatile unsigned *)0xfff7f014)
#define ADCALR (*(volatile unsigned *)0xfff7f018)
#define ADDR15 (*(volatile unsigned *)0xfff7f01c)
#define ADEMDR15 (*(volatile unsigned *)0xfff7f020)
#define ADDR14 (*(volatile unsigned *)0xfff7f024)
#define ADEMDR14 (*(volatile unsigned *)0xfff7f028)
#define ADDR13 (*(volatile unsigned *)0xfff7f02c)
#define ADEMDR13 (*(volatile unsigned *)0xfff7f030)
#define ADDR12 (*(volatile unsigned *)0xfff7f034)
#define ADEMDR12 (*(volatile unsigned *)0xfff7f038)
#define ADDR11 (*(volatile unsigned *)0xfff7f03c)
#define ADEMDR11 (*(volatile unsigned *)0xfff7f040)
#define ADDR10 (*(volatile unsigned *)0xfff7f044)
#define ADEMDR10 (*(volatile unsigned *)0xfff7f048)
#define ADDR9 (*(volatile unsigned *)0xfff7f04c)
#define ADEMDR9 (*(volatile unsigned *)0xfff7f050)
#define ADDR8 (*(volatile unsigned *)0xfff7f054)
#define ADEMDR8 (*(volatile unsigned *)0xfff7f058)
#define ADDR7 (*(volatile unsigned *)0xfff7f05c)
#define ADEMDR7 (*(volatile unsigned *)0xfff7f060)
#define ADDR6 (*(volatile unsigned *)0xfff7f064)
#define ADEMDR6 (*(volatile unsigned *)0xfff7f068)
#define ADDR5 (*(volatile unsigned *)0xfff7f06c)
#define ADEMDR5 (*(volatile unsigned *)0xfff7f070)
#define ADDR4 (*(volatile unsigned *)0xfff7f074)
#define ADEMDR4 (*(volatile unsigned *)0xfff7f078)
#define ADDR3 (*(volatile unsigned *)0xfff7f07c)
#define ADEMDR3 (*(volatile unsigned *)0xfff7f080)
#define ADDR2 (*(volatile unsigned *)0xfff7f084)
#define ADEMDR2 (*(volatile unsigned *)0xfff7f088)
#define ADDR1 (*(volatile unsigned *)0xfff7f08c)
#define ADEMDR1 (*(volatile unsigned *)0xfff7f090)
#define ADDR0 (*(volatile unsigned *)0xfff7f094)
#define ADEMDR0 (*(volatile unsigned *)0xfff7f098)
#define ADINR (*(volatile unsigned *)0xfff7f09c)
#define ADCPCR (*(volatile unsigned *)0xfff7f0a0)
#define ADSAMPEV (*(volatile unsigned *)0xfff7f0b0)
#define ADSAMP1 (*(volatile unsigned *)0xfff7f0b4)
#define ADSAMP2 (*(volatile unsigned *)0xfff7f0b8)
#define ADBCR1 (*(volatile unsigned *)0xfff7f0bc)
#define ADBCR2 (*(volatile unsigned *)0xfff7f0c0)
#define ADBCR3 (*(volatile unsigned *)0xfff7f0c4)
#define ADBST (*(volatile unsigned *)0xfff7f0c8)
#define ADTHREV (*(volatile unsigned *)0xfff7f0cc)
#define ADTHRG1 (*(volatile unsigned *)0xfff7f0d0)
#define ADTHRG2 (*(volatile unsigned *)0xfff7f0d4)
#define ADEVTSRC (*(volatile unsigned *)0xfff7f0d8)
#define SCI1CCR (*(volatile unsigned *)0xfff7f400)
#define SCI1CTL1 (*(volatile unsigned *)0xfff7f404)
#define SCI1CTL2 (*(volatile unsigned *)0xfff7f408)
#define SCI1CTL3 (*(volatile unsigned *)0xfff7f40c)
#define SCI1RXST (*(volatile unsigned *)0xfff7f410)
#define SCI1HBAUD (*(volatile unsigned *)0xfff7f414)
#define SCI1MBAUD (*(volatile unsigned *)0xfff7f418)
#define SCI1LBAUD (*(volatile unsigned *)0xfff7f41c)
#define SCI1RXEMU (*(volatile unsigned *)0xfff7f420)
#define SCI1RXBUF (*(volatile unsigned *)0xfff7f424)
#define SCI1TXBUF (*(volatile unsigned *)0xfff7f428)
#define SCI1PC1 (*(volatile unsigned *)0xfff7f42c)
#define SCI1PC2 (*(volatile unsigned *)0xfff7f430)
#define SCI1PC3 (*(volatile unsigned *)0xfff7f434)
#define SCI2CCR (*(volatile unsigned *)0xfff7f500)
#define SCI2CTL1 (*(volatile unsigned *)0xfff7f504)
#define SCI2CTL2 (*(volatile unsigned *)0xfff7f508)
#define SCI2CTL3 (*(volatile unsigned *)0xfff7f50c)
#define SCI2RXST (*(volatile unsigned *)0xfff7f510)
#define SCI2HBAUD (*(volatile unsigned *)0xfff7f514)
#define SCI2MBAUD (*(volatile unsigned *)0xfff7f518)
#define SCI2LBAUD (*(volatile unsigned *)0xfff7f51c)
#define SCI2RXEMU (*(volatile unsigned *)0xfff7f520)
#define SCI2RXBUF (*(volatile unsigned *)0xfff7f524)
#define SCI2TXBUF (*(volatile unsigned *)0xfff7f528)
#define SCI2PC1 (*(volatile unsigned *)0xfff7f52c)
#define SCI2PC2 (*(volatile unsigned *)0xfff7f530)
#define SCI2PC3 (*(volatile unsigned *)0xfff7f534)
#define SPI1CTRL1 (*(volatile unsigned *)0xfff7d800)
#define SPI1CTRL2 (*(volatile unsigned *)0xfff7d804)
#define SPI1CTRL3 (*(volatile unsigned *)0xfff7d808)
#define SPI1DAT0 (*(volatile unsigned *)0xfff7d80c)
#define SPI1DAT1 (*(volatile unsigned *)0xfff7d810)
#define SPI1BUF (*(volatile unsigned *)0xfff7d814)
#define SPI1EMU (*(volatile unsigned *)0xfff7d818)
#define SPI1PC1 (*(volatile unsigned *)0xfff7d81c)
#define SPI1PC2 (*(volatile unsigned *)0xfff7d820)
#define SPI1PC3 (*(volatile unsigned *)0xfff7d824)
#define SPI1PC4 (*(volatile unsigned *)0xfff7d828)
#define SPI1PC5 (*(volatile unsigned *)0xfff7d82c)
#define SPI1PC6 (*(volatile unsigned *)0xfff7d830)
#define HETGCR (*(volatile unsigned *)0xfff7fc00)
#define HETPFR (*(volatile unsigned *)0xfff7fc04)
#define HETADDR (*(volatile unsigned *)0xfff7fc08)
#define HETOFF1 (*(volatile unsigned *)0xfff7fc0c)
#define HETOFF2 (*(volatile unsigned *)0xfff7fc10)
#define HETEXC1 (*(volatile unsigned *)0xfff7fc14)
#define HETEXC2 (*(volatile unsigned *)0xfff7fc18)
#define HETPRY (*(volatile unsigned *)0xfff7fc1c)
#define HETFLG (*(volatile unsigned *)0xfff7fc20)
#define HETHRSH (*(volatile unsigned *)0xfff7fc2c)
#define HETXOR (*(volatile unsigned *)0xfff7fc30)
#define HETDIR (*(volatile unsigned *)0xfff7fc34)
#define HETDIN (*(volatile unsigned *)0xfff7fc38)
#define HETDOUT (*(volatile unsigned *)0xfff7fc3c)
#define HETDSET (*(volatile unsigned *)0xfff7fc40)
#define HETDCLR (*(volatile unsigned *)0xfff7fc44)
#define MPUAHR0 (*(volatile unsigned *)0xffe84000)
#define MPUALR0 (*(volatile unsigned *)0xffe84004)
#define MPUAHR1 (*(volatile unsigned *)0xffe84008)
#define MPUALR1 (*(volatile unsigned *)0xffe8400c)
#define MPUAHR2 (*(volatile unsigned *)0xffe84010)
#define MPUALR2 (*(volatile unsigned *)0xffe84014)
#define MPUAHR3 (*(volatile unsigned *)0xffe84018)
#define MPUALR3 (*(volatile unsigned *)0xffe8401c)
#define MPUCTRL (*(volatile unsigned *)0xffe84020)
#define FMBAC1 (*(volatile unsigned *)0xffe88000)
#define FMBAC2 (*(volatile unsigned *)0xffe88004)
#define FMBSEA (*(volatile unsigned *)0xffe88008)
#define FMBSEB (*(volatile unsigned *)0xffe8800c)
#define FMBRDY (*(volatile unsigned *)0xffe88010)
#define FMREGOPT (*(volatile unsigned *)0xffe89c00)
#define FMBBUSY (*(volatile unsigned *)0xffe89c08)
#define FMPKEY (*(volatile unsigned *)0xffe89c0c)
#define FMPRDY (*(volatile unsigned *)0xffe8a814)
#define FMMAC1 (*(volatile unsigned *)0xffe8bc00)
#define FMMAC2 (*(volatile unsigned *)0xffe8bc04)
#define FMPAGP (*(volatile unsigned *)0xffe8bc08)
#define FMMSTAT (*(volatile unsigned *)0xffe8bc0c)
#define SMCR0 (*(volatile unsigned *)0xfffffd00)
#define SMCR1 (*(volatile unsigned *)0xfffffd04)
#define SMCR2 (*(volatile unsigned *)0xfffffd08)
#define SMCR3 (*(volatile unsigned *)0xfffffd0c)
#define SMCR4 (*(volatile unsigned *)0xfffffd10)
#define SMCR5 (*(volatile unsigned *)0xfffffd14)
#define SMCR6 (*(volatile unsigned *)0xfffffd18)
#define SMCR7 (*(volatile unsigned *)0xfffffd1c)
#define SMCR8 (*(volatile unsigned *)0xfffffd20)
#define SMCR9 (*(volatile unsigned *)0xfffffd24)
#define WCR0 (*(volatile unsigned *)0xfffffd2c)
#define PLR (*(volatile unsigned *)0xfffffd34)
#define PPROT (*(volatile unsigned *)0xfffffd38)
#define MFBAHR0 (*(volatile unsigned *)0xfffffe00)
#define MFBALR0 (*(volatile unsigned *)0xfffffe04)
#define MFBAHR1 (*(volatile unsigned *)0xfffffe08)
#define MFBALR1 (*(volatile unsigned *)0xfffffe0c)
#define MFBAHR2 (*(volatile unsigned *)0xfffffe10)
#define MFBALR2 (*(volatile unsigned *)0xfffffe14)
#define MFBAHR3 (*(volatile unsigned *)0xfffffe18)
#define MFBALR3 (*(volatile unsigned *)0xfffffe1c)
#define MFBAHR4 (*(volatile unsigned *)0xfffffe20)
#define MFBALR4 (*(volatile unsigned *)0xfffffe24)
#define MFBAHR5 (*(volatile unsigned *)0xfffffe28)
#define MFBALR5 (*(volatile unsigned *)0xfffffe2c)
#define MCBAHR0 (*(volatile unsigned *)0xfffffe30)
#define MCBALR0 (*(volatile unsigned *)0xfffffe34)
#define MCBAHR1 (*(volatile unsigned *)0xfffffe38)
#define MCBALR1 (*(volatile unsigned *)0xfffffe3c)
#define MCBAHR2 (*(volatile unsigned *)0xfffffe40)
#define MCBALR2 (*(volatile unsigned *)0xfffffe44)
#define MCBAHR3 (*(volatile unsigned *)0xfffffe48)
#define MCBALR3 (*(volatile unsigned *)0xfffffe4c)
#define MCBAHR4 (*(volatile unsigned *)0xfffffe50)
#define MCBALR4 (*(volatile unsigned *)0xfffffe54)
#define MCBAHR5 (*(volatile unsigned *)0xfffffe58)
#define MCBALR5 (*(volatile unsigned *)0xfffffe5c)
#define IRQIVEC (*(volatile unsigned *)0xffffff20)
#define FIQIVEC (*(volatile unsigned *)0xffffff24)
#define CIMIVEC (*(volatile unsigned *)0xffffff28)
#define FIRQPR (*(volatile unsigned *)0xffffff2c)
#define INTREQ (*(volatile unsigned *)0xffffff30)
#define REQMASK (*(volatile unsigned *)0xffffff34)
#define SSIF (*(volatile unsigned *)0xfffffff8)
#define SSIR (*(volatile unsigned *)0xfffffffc)
#define RTICNTR (*(volatile unsigned *)0xffffff00)
#define RTIPCTL (*(volatile unsigned *)0xffffff04)
#define RTICNTL (*(volatile unsigned *)0xffffff08)
#define WKEY (*(volatile unsigned *)0xffffff0c)
#define RTICMP1 (*(volatile unsigned *)0xffffff10)
#define RTICMP2 (*(volatile unsigned *)0xffffff14)
#define RTICINT (*(volatile unsigned *)0xffffff18)
#define RTICNTEN (*(volatile unsigned *)0xffffff1c)
#define PCR (*(volatile unsigned *)0xfffffd30)
#define CLKCNTL (*(volatile unsigned *)0xffffffd0)
#define GLBCTRL (*(volatile unsigned *)0xffffffdc)
#define SYSECR (*(volatile unsigned *)0xffffffe0)
#define SYSESR (*(volatile unsigned *)0xffffffe4)
#define ABRTESR (*(volatile unsigned *)0xffffffe8)
#define GLBSTAT (*(volatile unsigned *)0xffffffec)
#define CPUPSA (*(volatile unsigned *)0xffffff40)
#define PSADISABLE (*(volatile unsigned *)0xffffff50)
#define DEV (*(volatile unsigned *)0xfffffff0)
#endif
