File indexing completed on 2025-05-11 08:23:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 typedef volatile unsigned char * portb;
0021 typedef volatile unsigned short * portw;
0022 typedef volatile unsigned int * portl;
0023
0024 #define MBASE 0xEFFFF000
0025
0026
0027
0028 #define MBAR (*(portb) 0x0003FF00)
0029 #define MBAR1 (*(portb) 0x0003FF00)
0030 #define MBAR2 (*(portb) 0x0003FF02)
0031
0032
0033
0034 #define SIMMCR (*(portw) (MBASE+0x0000))
0035 #define SIMSYNCR (*(portw) (MBASE+0x0004))
0036 #define SIMAVR (*(portb) (MBASE+0x0006))
0037 #define SIMRSR (*(portb) (MBASE+0x0007))
0038 #define SIMPORTA (*(portb) (MBASE+0x0011))
0039 #define SIMDDRA (*(portb) (MBASE+0x0013))
0040 #define SIMPPRA1 (*(portb) (MBASE+0x0015))
0041 #define SIMPPRA2 (*(portb) (MBASE+0x0017))
0042 #define SIMPORTB (*(portb) (MBASE+0x0019))
0043 #define SIMPORTB1 (*(portb) (MBASE+0x001B))
0044 #define SIMDDRB (*(portb) (MBASE+0x001D))
0045 #define SIMPPARB (*(portb) (MBASE+0x001F))
0046 #define SIMSWIV (*(portb) (MBASE+0x0020))
0047 #define SIMSYPCR (*(portb) (MBASE+0x0021))
0048 #define SIMPICR (*(portw) (MBASE+0x0022))
0049 #define SIMPITR (*(portw) (MBASE+0x0024))
0050 #define SIMSWSR (*(portb) (MBASE+0x0027))
0051
0052 #define SIMCS0AM (*(portl) (MBASE+0x0040))
0053 #define SIMCS0AM1 (*(portw) (MBASE+0x0040))
0054 #define SIMCS0AM2 (*(portw) (MBASE+0x0042))
0055 #define SIMCS0BA (*(portl) (MBASE+0x0044))
0056 #define SIMCS0BA1 (*(portw) (MBASE+0x0044))
0057 #define SIMCS0BA2 (*(portw) (MBASE+0x0046))
0058 #define SIMCS1AM (*(portl) (MBASE+0x0048))
0059 #define SIMCS1AM1 (*(portw) (MBASE+0x0048))
0060 #define SIMCS1AM2 (*(portw) (MBASE+0x004A))
0061 #define SIMCS1BA (*(portl) (MBASE+0x004C))
0062 #define SIMCS1BA1 (*(portw) (MBASE+0x004C))
0063 #define SIMCS1BA2 (*(portw) (MBASE+0x004E))
0064 #define SIMCS2AM (*(portl) (MBASE+0x0050))
0065 #define SIMCS2AM1 (*(portw) (MBASE+0x0050))
0066 #define SIMCS2AM2 (*(portw) (MBASE+0x0052))
0067 #define SIMCS2BA (*(portl) (MBASE+0x0054))
0068 #define SIMCS2BA1 (*(portw) (MBASE+0x0054))
0069 #define SIMCS2BA2 (*(portw) (MBASE+0x0056))
0070 #define SIMCS3AM (*(portl) (MBASE+0x0058))
0071 #define SIMCS3AM1 (*(portw) (MBASE+0x0058))
0072 #define SIMCS3AM2 (*(portw) (MBASE+0x005A))
0073 #define SIMCS3BA (*(portl) (MBASE+0x005C))
0074 #define SIMCS3BA1 (*(portw) (MBASE+0x005C))
0075 #define SIMCS3BA2 (*(portw) (MBASE+0x005E))
0076
0077
0078
0079 #define DMAMCR1 (*(portw) (MBASE+0x0780))
0080 #define DMAINTR1 (*(portw) (MBASE+0x0784))
0081 #define DMACCR1 (*(portw) (MBASE+0x0788))
0082 #define DMACSR1 (*(portb) (MBASE+0x078A))
0083 #define DMAFCR1 (*(portb) (MBASE+0x078B))
0084 #define DMASAR1 (*(portl) (MBASE+0x078C))
0085 #define DMADAR1 (*(portl) (MBASE+0x0790))
0086 #define DMABTC1 (*(portb) (MBASE+0x079l))
0087
0088 #define DMAMCR2 (*(portw) (MBASE+0x07A0))
0089 #define DMAINTR2 (*(portw) (MBASE+0x07A4))
0090 #define DMACCR2 (*(portw) (MBASE+0x07A8))
0091 #define DMACSR2 (*(portb) (MBASE+0x07AA))
0092 #define DMAFCR2 (*(portb) (MBASE+0x07AB))
0093 #define DMASAR2 (*(portl) (MBASE+0x07AC))
0094 #define DMADAR2 (*(portl) (MBASE+0x07B0))
0095 #define DMABTC2 (*(portb) (MBASE+0x07B4))
0096
0097
0098
0099 #define DUMCRH (*(portb) (MBASE+0x0700))
0100 #define DUMCRL (*(portb) (MBASE+0x0701))
0101 #define DUILR (*(portb) (MBASE+0x0704))
0102 #define DUIVR (*(portb) (MBASE+0x0705))
0103 #define DUMR1A (*(portb) (MBASE+0x0710))
0104 #define DUSRA (*(portb) (MBASE+0x0711))
0105 #define DUCSRA (*(portb) (MBASE+0x0711))
0106 #define DUCRA (*(portb) (MBASE+0x0712))
0107 #define DURBA (*(portb) (MBASE+0x0713))
0108 #define DUTBA (*(portb) (MBASE+0x0713))
0109 #define DUIPCR (*(portb) (MBASE+0x0714))
0110 #define DUACR (*(portb) (MBASE+0x0714))
0111 #define DUISR (*(portb) (MBASE+0x0715))
0112 #define DUIER (*(portb) (MBASE+0x0715))
0113
0114 #define DUMR1B (*(portb) (MBASE+0x0718))
0115 #define DUSRB (*(portb) (MBASE+0x0719))
0116 #define DUCSRB (*(portb) (MBASE+0x0719))
0117 #define DUCRB (*(portb) (MBASE+0x071A))
0118 #define DURBB (*(portb) (MBASE+0x071B))
0119 #define DUTBB (*(portb) (MBASE+0x071B))
0120 #define DUIP (*(portb) (MBASE+0x071D))
0121 #define DUOPCR (*(portb) (MBASE+0x071D))
0122 #define DUOPBS (*(portb) (MBASE+0x071E))
0123 #define DUOPBR (*(portb) (MBASE+0x071F))
0124 #define DUMR2A (*(portb) (MBASE+0x0720))
0125 #define DUMR2B (*(portb) (MBASE+0x0721))
0126
0127
0128
0129 #define TMCR1 (*(portw) (MBASE+0x0600))
0130 #define TIR1 (*(portw) (MBASE+0x0604))
0131 #define TCR1 (*(portw) (MBASE+0x0606))
0132 #define TSR1 (*(portw) (MBASE+0x0608))
0133 #define TCNTR1 (*(portw) (MBASE+0x060A))
0134 #define WPREL11 (*(portw) (MBASE+0x060C))
0135 #define WPREL21 (*(portw) (MBASE+0x060E))
0136 #define TCOM1 (*(portw) (MBASE+0x0610))
0137
0138 #define TMCR2 (*(portw) (MBASE+0x0640))
0139 #define TIR2 (*(portw) (MBASE+0x0644))
0140 #define TCR2 (*(portw) (MBASE+0x0646))
0141 #define TSR2 (*(portw) (MBASE+0x0648))
0142 #define TCNTR2 (*(portw) (MBASE+0x064A))
0143 #define WPREL12 (*(portw) (MBASE+0x064C))
0144 #define WPREL22 (*(portw) (MBASE+0x064E))
0145 #define TCOM2 (*(portw) (MBASE+0x0650))