gpasm-2.2.23 (Dec 21 2020)   osccal_Lirc.asm    2020-12-28  13:53:17         PAGE  1


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00001 ;TIMER1以HIRC/128作为时钟源
                      00002 ;计数250溢出共2ms
                      00003 ;TIMER0以LIRC作为时钟源
                      00004 ;TIMER1溢出4次读取TIMER0的CNT值是否为ff/00
                      00005 ;根据T0CNT大小调整LIRCCAL值
                      00006 ;手调值0x6a/6b
                      00007 #include        "mc9941.inc"
                      00001                 LIST
                      00002 ;mc9941.inc    Standard Header File, Version 1.00 by Sinomcu
                      01092                 LIST
                      00008 cblock  0x00
                      00009 acc_store
                      00010 pflag_store
                      00011 of_cnt
                      00012 shift_cnt
                      00013 user_flag
                      00014 shift_data0
                      00015 shift_data1
                      00016 endc
                      00017 #define         adjust_direction_flag   user_flag,1
                      00018 #define         cal_adjust_finish       user_flag,7
                      00019         org     0x00
0000   A000           00020         goto            start
                      00021 
                      00022         org     0x08
0008                  00023 inte:
0008   5600           00024         movra           acc_store
0009   4587           00025         swapar          PFLAG
000A   5601           00026         movra           pflag_store
                      00027 
000B   E38B           00028         jbset           T1IF
000C   A000           00029         goto            inte_return
000D   A000           00030         goto            tmr1_inte
                      00031 
000E                  00032 tmr1_inte:
000E   D38B           00033         bclr            T1IF
000F   5803           00034         movar           shift_cnt
0010   3A0A           00035         isubai          0x0a
0011   F587           00036         jbclr           Z
0012   A000           00037         goto            adjust_finish_fun
0013   6A02           00038         djzr            of_cnt
0014   A000           00039         goto            inte_return
0015   A000           00040         goto            lirc_t0cnt_judge_fun
                      00041 
0016                  00042 inte_return:
0016   4401           00043         swapar          pflag_store
0017   5787           00044         movra           PFLAG
0018   4600           00045         swapr           acc_store
0019   4400           00046         swapar          acc_store
001A   000D           00047         retie
                      00048 
001B                  00049 start:
001B   8000           00050         call            io_init
001C   8000           00051         call            tmr0_init
001D   8000           00052         call            tmr1_init
001E   8000           00053         call            inte_init
001F   3C04           00054         movai           0x04
0020   5602           00055         movra           of_cnt
0021   3C00           00056         movai           0x00
0022   5603           00057         movra           shift_cnt
0023   3C7F           00058         movai           0x7f
0024   5605           00059         movra           shift_data0
0025   3C80           00060         movai           0x80
0026   5606           00061         movra           shift_data1
0027   7604           00062         clrr            user_flag
0028   3C80           00063         movai           0x80
0029   57C7           00064         movra           LIRCCAL
002A   CFA3           00065         bset            T1EN
002B   CFA0           00066         bset            T0EN
                      00067        ;        bset            CLKS
002C   A000           00068         goto            loop
                      00069 
002D                  00070 loop:
002D   3C08           00071         movai           0x08
002E   4390           00072         xorra           IOP0
002F   EE04           00073         jbset           cal_adjust_finish
0030   A000           00074         goto            loop
0031   C58C           00075         bset            CLKS
                      00076         
0032                  00077 slow_loop:
0032   3C08           00078         movai           0x08
0033   4390           00079         xorra           IOP0
0034   0000           00080         nop
0035   A000           00081         goto            slow_loop
                      00082 
                      00083 
0036                  00084 io_init:
0036   3CFF           00085         movai           0xff
0037   5791           00086         movra           OEP0
0038   5795           00087         movra           OEP1
0039   5799           00088         movra           OEP2
003A   579D           00089         movra           OEP3
003B   7790           00090         clrr            IOP0
003C   7794           00091         clrr            IOP1
003D   7798           00092         clrr            IOP2
003E   779C           00093         clrr            IOP3
003F   000C           00094         return
                      00095 
0040                  00096 tmr0_init:
0040   3C10           00097         movai           0x10            ;Flosc/1
0041   57A0           00098         movra           T0CR
0042   3CFF           00099         movai           0xff
0043   57A1           00100         movra           T0CNT
0044   57A2           00101         movra           T0LOAD
0045   000C           00102         return
                      00103 
0046                  00104 tmr1_init:
0046   3C0F           00105         movai           0x0f            ;Fhosc/128
0047   57A3           00106         movra           T1CR
0048   3CF9           00107         movai           0xf9            ;cnt=250
0049   57A4           00108         movra           T1CNT
004A   57A5           00109         movra           T1LOAD
004B   3C63           00110         movai           0x63
004C   57A6           00111         movra           T1DATA
004D   3C01           00112         movai           0x01
004E   57A7           00113         movra           PWM1CR
004F   000C           00114         return
                      00115 
0050                  00116 inte_init:
0050   778A           00117         clrr            INTE0
0051   778E           00118         clrr            INTE1
0052   778B           00119         clrr            INTF0
0053   778F           00120         clrr            INTF1
0054   C38A           00121         bset            T1IE
0055   CF88           00122         bset            GIE
0056   000C           00123         return
                      00124 
0057                  00125 lirc_t0cnt_judge_fun:
0057   3C10           00126         movai           0x10
0058   4390           00127         xorra           IOP0
0059   3C04           00128         movai           0x04
005A   5602           00129         movra           of_cnt
                      00130        ;        goto            inte_return     ;调试用，确认8ms精度
005B   6603           00131         incr            shift_cnt
005C   5803           00132         movar           shift_cnt
005D   7F86           00133         addra           PCL
005E   0000           00134         nop
005F   A000           00135         goto            cal_bit7_fun
0060   A000           00136         goto            cal_bit6_fun
0061   A000           00137         goto            cal_bit5_fun
0062   A000           00138         goto            cal_bit4_fun
0063   A000           00139         goto            cal_bit3_fun
0064   A000           00140         goto            cal_bit2_fun
0065   A000           00141         goto            cal_bit1_fun
0066   A000           00142         goto            cal_bit0_fun
0067   A000           00143         goto            adjust_finish_fun
                      00144 
0068                  00145 cal_bit7_fun:
0068   E18B           00146         jbset           T0IF
0069   A000           00147         goto            bit7_higher_fun
006A   F18B           00148         jbclr           T0IF
006B   A000           00149         goto            bit7_lower_fun
006C                  00150 bit7_lower_fun:
006C   D18B           00151         bclr            T0IF
006D   DFC7           00152         bclr            LIRCCAL,7
006E   CDC7           00153         bset            LIRCCAL,6
006F   8000           00154         call            tmr_cnt_reload
0070   A000           00155         goto            inte_return
0071                  00156 bit7_higher_fun:
0071   D18B           00157         bclr            T0IF
0072   CDC7           00158         bset            LIRCCAL,6
0073   8000           00159         call            tmr_cnt_reload
0074   A000           00160         goto            inte_return
                      00161 
0075                  00162 cal_bit6_fun:
0075   E18B           00163         jbset           T0IF
0076   A000           00164         goto            bit6_higher_fun
0077   F18B           00165         jbclr           T0IF
0078   A000           00166         goto            bit6_lower_fun
0079                  00167 bit6_lower_fun:
0079   D18B           00168         bclr            T0IF
007A   DDC7           00169         bclr            LIRCCAL,6
007B   CBC7           00170         bset            LIRCCAL,5
007C   8000           00171         call            tmr_cnt_reload
007D   A000           00172         goto            inte_return
007E                  00173 bit6_higher_fun:
007E   D18B           00174         bclr            T0IF
007F   CBC7           00175         bset            LIRCCAL,5
0080   8000           00176         call            tmr_cnt_reload
0081   A000           00177         goto            inte_return
                      00178 
0082                  00179 cal_bit5_fun:
0082   E18B           00180         jbset           T0IF
0083   A000           00181         goto            bit5_higher_fun
0084   F18B           00182         jbclr           T0IF
0085   A000           00183         goto            bit5_lower_fun
0086                  00184 bit5_lower_fun:
0086   D18B           00185         bclr            T0IF
0087   DBC7           00186         bclr            LIRCCAL,5
0088   C9C7           00187         bset            LIRCCAL,4
0089   8000           00188         call            tmr_cnt_reload
008A   A000           00189         goto            inte_return
008B                  00190 bit5_higher_fun:
008B   D18B           00191         bclr            T0IF
008C   C9C7           00192         bset            LIRCCAL,4
008D   8000           00193         call            tmr_cnt_reload
008E   A000           00194         goto            inte_return
                      00195 
008F                  00196 cal_bit4_fun:
008F   E18B           00197         jbset           T0IF
0090   A000           00198         goto            bit4_higher_fun
0091   F18B           00199         jbclr           T0IF
0092   A000           00200         goto            bit4_lower_fun
0093                  00201 bit4_lower_fun:
0093   D18B           00202         bclr            T0IF
0094   D9C7           00203         bclr            LIRCCAL,4
0095   C7C7           00204         bset            LIRCCAL,3
0096   8000           00205         call            tmr_cnt_reload
0097   A000           00206         goto            inte_return
0098                  00207 bit4_higher_fun:
0098   D18B           00208         bclr            T0IF
0099   C7C7           00209         bset            LIRCCAL,3
009A   8000           00210         call            tmr_cnt_reload
009B   A000           00211         goto            inte_return
                      00212 
009C                  00213 cal_bit3_fun:
009C   E18B           00214         jbset           T0IF
009D   A000           00215         goto            bit3_higher_fun
009E   F18B           00216         jbclr           T0IF
009F   A000           00217         goto            bit3_lower_fun
00A0                  00218 bit3_lower_fun:
00A0   D18B           00219         bclr            T0IF
00A1   D7C7           00220         bclr            LIRCCAL,3
00A2   C5C7           00221         bset            LIRCCAL,2
00A3   8000           00222         call            tmr_cnt_reload
00A4   A000           00223         goto            inte_return
00A5                  00224 bit3_higher_fun:
00A5   D18B           00225         bclr            T0IF
00A6   C5C7           00226         bset            LIRCCAL,2
00A7   8000           00227         call            tmr_cnt_reload
00A8   A000           00228         goto            inte_return
                      00229 
00A9                  00230 cal_bit2_fun:
00A9   E18B           00231         jbset           T0IF
00AA   A000           00232         goto            bit2_higher_fun
00AB   F18B           00233         jbclr           T0IF
00AC   A000           00234         goto            bit2_lower_fun
00AD                  00235 bit2_lower_fun:
00AD   D18B           00236         bclr            T0IF
00AE   D5C7           00237         bclr            LIRCCAL,2
00AF   C3C7           00238         bset            LIRCCAL,1
00B0   8000           00239         call            tmr_cnt_reload
00B1   A000           00240         goto            inte_return
00B2                  00241 bit2_higher_fun:
00B2   D18B           00242         bclr            T0IF
00B3   C3C7           00243         bset            LIRCCAL,1
00B4   8000           00244         call            tmr_cnt_reload
00B5   A000           00245         goto            inte_return
                      00246 
00B6                  00247 cal_bit1_fun:
00B6   E18B           00248         jbset           T0IF
00B7   A000           00249         goto            bit1_higher_fun
00B8   F18B           00250         jbclr           T0IF
00B9   A000           00251         goto            bit1_lower_fun
00BA                  00252 bit1_lower_fun:
00BA   D18B           00253         bclr            T0IF
00BB   D3C7           00254         bclr            LIRCCAL,1
00BC   C1C7           00255         bset            LIRCCAL,0
00BD   8000           00256         call            tmr_cnt_reload
00BE   A000           00257         goto            inte_return
00BF                  00258 bit1_higher_fun:
00BF   D18B           00259         bclr            T0IF
00C0   C1C7           00260         bset            LIRCCAL,0
00C1   8000           00261         call            tmr_cnt_reload
00C2   A000           00262         goto            inte_return
                      00263 
                      00264 
00C3                  00265 cal_bit0_fun:
00C3   E18B           00266         jbset           T0IF
00C4   A000           00267         goto            bit0_higher_fun
00C5   F18B           00268         jbclr           T0IF
00C6   A000           00269         goto            bit0_lower_fun
00C7                  00270 bit0_lower_fun:
00C7   D18B           00271         bclr            T0IF
00C8   A000           00272         goto            adjust_finish_fun
00C9                  00273 bit0_higher_fun:
00C9   D18B           00274         bclr            T0IF
00CA   A000           00275         goto            adjust_finish_fun
                      00276 
                      00277 
00CB                  00278 adjust_finish_fun:
00CB   CE04           00279         bset            cal_adjust_finish
00CC   D38A           00280         bclr            T1IE
00CD   DF88           00281         bclr            GIE
00CE   DFA0           00282         bclr            T0EN
00CF   DFA3           00283         bclr            T1EN
00D0   A000           00284         goto            inte_return
                      00285 
00D1                  00286 tmr_cnt_reload:
00D1   D18B           00287         bclr            T0IF
00D2   D38B           00288         bclr            T1IF
00D3   3CFF           00289         movai           0xff
00D4   57A1           00290         movra           T0CNT
00D5   3CF9           00291         movai           0xf9            ;cnt=250
00D6   57A4           00292         movra           T1CNT
00D7   000C           00293         return
                      00294     end
gpasm-2.2.23 (Dec 21 2020)   osccal_Lirc.asm    2020-12-28  13:53:17         PAGE  2


SYMBOL TABLE
  LABEL                             VALUE

DKSCR                             000001B8
FSR0                              00000184
FSR1                              00000185
HIBYTE                            00000183
HIRCCAL                           000001C6
IICAAR                            000001CD
IICAMR                            000001CE
IICAR                             000001CC
IICCR0                            000001C8
IICCR1                            000001C9
IICCR2                            000001CA
IICDR                             000001CB
INDF0                             00000180
INDF1                             00000181
INDF2                             00000182
INDF3                             00000189
INTE0                             0000018A
INTE1                             0000018E
INTF0                             0000018B
INTF1                             0000018F
IOP0                              00000190
IOP1                              00000194
IOP2                              00000198
IOP3                              0000019C
LCDCR0                            000001C0
LCDCR1                            000001C1
LCDR0                             00000100
LCDR1                             00000101
LCDR10                            0000010A
LCDR11                            0000010B
LCDR12                            0000010C
LCDR13                            0000010D
LCDR14                            0000010E
LCDR15                            0000010F
LCDR16                            00000110
LCDR17                            00000111
LCDR18                            00000112
LCDR2                             00000102
LCDR3                             00000103
LCDR4                             00000104
LCDR5                             00000105
LCDR6                             00000106
LCDR7                             00000107
LCDR8                             00000108
LCDR9                             00000109
LIRCCAL                           000001C7
LVDCR                             0000018D
MCR                               00000188
OEP0                              00000191
OEP1                              00000195
OEP2                              00000199
OEP3                              0000019D
OSCMR                             0000018C
P0DKCR                            000001B9
P0LCDCR                           000001C2
P1DKCR                            000001BA
P1LCDCR                           000001C3
P2ADCR                            000001B6
P2DKCR                            000001BB
P2LCDCR                           000001C4
P3ADCR                            000001B7
P3DKCR                            000001BC
PCL                               00000186
PDP0                              00000193
PDP1                              00000197
PDP2                              0000019B
PDP3                              0000019F
PFLAG                             00000187
PUP0                              00000192
PUP1                              00000196
PUP2                              0000019A
PUP3                              0000019E
PWM1CR                            000001A7
PWM2CR                            000001AD
T0CNT                             000001A1
T0CR                              000001A0
T0LOAD                            000001A2
T1CNT                             000001A4
T1CR                              000001A3
T1DATA                            000001A6
T1LOAD                            000001A5
T2CNT                             000001A9
T2CR                              000001A8
T2DATA                            000001AB
T2DATB                            000001AC
T2LOAD                            000001AA
T3CNTH                            000001B1
T3CNTL                            000001B2
T3CR                              000001B0
T3LOADH                           000001B3
T3LOADL                           000001B4
URTAR                             000001D6
URTBR                             000001D4
URTCR0                            000001D0
URTCR1                            000001D1
URTCR2                            000001D2
URTDR                             000001D5
URTMR                             000001D7
URTSR                             000001D3
XTALCR                            000001BE
XTICCAL                           000001BF
_CONFIG0                          00008000
_CONFIG1                          00008001
__2K9941                          00000001
acc_store                         00000000
adjust_finish_fun                 000000CB
bit0_higher_fun                   000000C9
bit0_lower_fun                    000000C7
bit1_higher_fun                   000000BF
bit1_lower_fun                    000000BA
bit2_higher_fun                   000000B2
bit2_lower_fun                    000000AD
bit3_higher_fun                   000000A5
bit3_lower_fun                    000000A0
bit4_higher_fun                   00000098
bit4_lower_fun                    00000093
bit5_higher_fun                   0000008B
bit5_lower_fun                    00000086
bit6_higher_fun                   0000007E
bit6_lower_fun                    00000079
bit7_higher_fun                   00000071
bit7_lower_fun                    0000006C
cal_bit0_fun                      000000C3
cal_bit1_fun                      000000B6
cal_bit2_fun                      000000A9
cal_bit3_fun                      0000009C
cal_bit4_fun                      0000008F
cal_bit5_fun                      00000082
cal_bit6_fun                      00000075
cal_bit7_fun                      00000068
inte                              00000008
inte_init                         00000050
inte_return                       00000016
io_init                           00000036
lirc_t0cnt_judge_fun              00000057
loop                              0000002D
of_cnt                            00000002
pflag_store                       00000001
shift_cnt                         00000003
shift_data0                       00000005
shift_data1                       00000006
slow_loop                         00000032
start                             0000001B
tmr0_init                         00000040
tmr1_init                         00000046
tmr1_inte                         0000000E
tmr_cnt_reload                    000000D1
user_flag                         00000004
ACKRF                             IICCR1,1
ACKTS                             IICCR0,4
BABER                             IICCR1,6
BSTPF                             IICCR1,0
BSTRF                             IICCR1,5
C                                 PFLAG,0
CLKS                              OSCMR,2
DC                                PFLAG,1
DKLCD                             DKSCR,5
DKSEN                             DKSCR,7
DKSSCM                            DKSCR,6
FERR                              URTSR,4
FSR00                             FSR0,0
FSR01                             FSR0,1
FSR02                             FSR0,2
FSR03                             FSR0,3
FSR04                             FSR0,4
FSR05                             FSR0,5
FSR06                             FSR0,6
FSR07                             FSR0,7
FSR10                             FSR1,0
FSR11                             FSR1,1
FSR12                             FSR1,2
FSR13                             FSR1,3
FSR14                             FSR1,4
FSR15                             FSR1,5
FSR16                             FSR1,6
FSR17                             FSR1,7
GIE                               MCR,7
HFEN                              OSCMR,0
HIBYTE0                           HIBYTE,0
HIBYTE1                           HIBYTE,1
HIBYTE2                           HIBYTE,2
HIBYTE3                           HIBYTE,3
HIBYTE4                           HIBYTE,4
HIBYTE5                           HIBYTE,5
HIBYTE6                           HIBYTE,6
HIBYTE7                           HIBYTE,7
HIRCCAL0                          HIRCCAL,0
HIRCCAL1                          HIRCCAL,1
HIRCCAL2                          HIRCCAL,2
HIRCCAL3                          HIRCCAL,3
HIRCCAL4                          HIRCCAL,4
HIRCCAL5                          HIRCCAL,5
HIRCCAL6                          HIRCCAL,6
HIRCCAL7                          HIRCCAL,7
IICA0                             IICAR,1
IICA1                             IICAR,2
IICA2                             IICAR,3
IICA3                             IICAR,4
IICA4                             IICAR,5
IICA5                             IICAR,6
IICA6                             IICAR,7
IICAA0                            IICAAR,1
IICAA1                            IICAAR,2
IICAA2                            IICAAR,3
IICAA3                            IICAAR,4
IICAA4                            IICAAR,5
IICAA5                            IICAAR,6
IICAA6                            IICAAR,7
IICABE                            IICAMR,0
IICAM0                            IICAMR,1
IICAM1                            IICAMR,2
IICAM2                            IICAMR,3
IICAM3                            IICAMR,4
IICAM4                            IICAMR,5
IICAM5                            IICAMR,6
IICAM6                            IICAMR,7
IICCHS                            IICCR2,1
IICD0                             IICDR,0
IICD1                             IICDR,1
IICD2                             IICDR,2
IICD3                             IICDR,3
IICD4                             IICDR,4
IICD5                             IICDR,5
IICD6                             IICDR,6
IICD7                             IICDR,7
IICEN                             IICCR0,7
IICIE                             INTE0,6
IICIF                             INTF0,6
IICMD                             IICCR0,6
IICRUS                            IICCR2,0
IICSPD                            IICCR0,5
IICSYN                            IICCR2,2
IICWR                             IICAR,0
INDF00                            INDF0,0
INDF01                            INDF0,1
INDF02                            INDF0,2
INDF03                            INDF0,3
INDF04                            INDF0,4
INDF05                            INDF0,5
INDF06                            INDF0,6
INDF07                            INDF0,7
INDF10                            INDF1,0
INDF11                            INDF1,1
INDF12                            INDF1,2
INDF13                            INDF1,3
INDF14                            INDF1,4
INDF15                            INDF1,5
INDF16                            INDF1,6
INDF17                            INDF1,7
INDF20                            INDF2,0
INDF21                            INDF2,1
INDF22                            INDF2,2
INDF23                            INDF2,3
INDF24                            INDF2,4
INDF25                            INDF2,5
INDF26                            INDF2,6
INDF27                            INDF2,7
INDF30                            INDF3,0
INDF31                            INDF3,1
INDF32                            INDF3,2
INDF33                            INDF3,3
INDF34                            INDF3,4
INDF35                            INDF3,5
INDF36                            INDF3,6
INDF37                            INDF3,7
KINT0IE                           INTE0,2
KINT0IF                           INTF0,2
KINT0M0                           MCR,0
KINT0M1                           MCR,1
KINT1IE                           INTE0,3
KINT1IF                           INTF0,3
KINT1M0                           MCR,2
KINT1M1                           MCR,3
LCD0S0                            LCDR0,0
LCD0S1                            LCDR1,0
LCD0S10                           LCDR10,0
LCD0S11                           LCDR11,0
LCD0S12                           LCDR12,0
LCD0S13                           LCDR13,0
LCD0S14                           LCDR14,0
LCD0S15                           LCDR15,0
LCD0S16                           LCDR16,0
LCD0S17                           LCDR17,0
LCD0S18                           LCDR18,0
LCD0S2                            LCDR2,0
LCD0S3                            LCDR3,0
LCD0S4                            LCDR4,0
LCD0S5                            LCDR5,0
LCD0S6                            LCDR6,0
LCD0S7                            LCDR7,0
LCD0S8                            LCDR8,0
LCD0S9                            LCDR9,0
LCD1S0                            LCDR0,1
LCD1S1                            LCDR1,1
LCD1S10                           LCDR10,1
LCD1S11                           LCDR11,1
LCD1S12                           LCDR12,1
LCD1S13                           LCDR13,1
LCD1S14                           LCDR14,1
LCD1S15                           LCDR15,1
LCD1S16                           LCDR16,1
LCD1S17                           LCDR17,1
LCD1S18                           LCDR18,1
LCD1S2                            LCDR2,1
LCD1S3                            LCDR3,1
LCD1S4                            LCDR4,1
LCD1S5                            LCDR5,1
LCD1S6                            LCDR6,1
LCD1S7                            LCDR7,1
LCD1S8                            LCDR8,1
LCD1S9                            LCDR9,1
LCD2S0                            LCDR0,2
LCD2S1                            LCDR1,2
LCD2S10                           LCDR10,2
LCD2S11                           LCDR11,2
LCD2S12                           LCDR12,2
LCD2S13                           LCDR13,2
LCD2S14                           LCDR14,2
LCD2S15                           LCDR15,2
LCD2S16                           LCDR16,2
LCD2S17                           LCDR17,2
LCD2S18                           LCDR18,2
LCD2S2                            LCDR2,2
LCD2S3                            LCDR3,2
LCD2S4                            LCDR4,2
LCD2S5                            LCDR5,2
LCD2S6                            LCDR6,2
LCD2S7                            LCDR7,2
LCD2S8                            LCDR8,2
LCD2S9                            LCDR9,2
LCD3S0                            LCDR0,3
LCD3S1                            LCDR1,3
LCD3S10                           LCDR10,3
LCD3S11                           LCDR11,3
LCD3S12                           LCDR12,3
LCD3S13                           LCDR13,3
LCD3S14                           LCDR14,3
LCD3S15                           LCDR15,3
LCD3S16                           LCDR16,3
LCD3S17                           LCDR17,3
LCD3S18                           LCDR18,3
LCD3S2                            LCDR2,3
LCD3S3                            LCDR3,3
LCD3S4                            LCDR4,3
LCD3S5                            LCDR5,3
LCD3S6                            LCDR6,3
LCD3S7                            LCDR7,3
LCD3S8                            LCDR8,3
LCD3S9                            LCDR9,3
LCD4S0                            LCDR0,4
LCD4S1                            LCDR1,4
LCD4S10                           LCDR10,4
LCD4S11                           LCDR11,4
LCD4S12                           LCDR12,4
LCD4S13                           LCDR13,4
LCD4S14                           LCDR14,4
LCD4S15                           LCDR15,4
LCD4S16                           LCDR16,4
LCD4S17                           LCDR17,4
LCD4S18                           LCDR18,4
LCD4S2                            LCDR2,4
LCD4S3                            LCDR3,4
LCD4S4                            LCDR4,4
LCD4S5                            LCDR5,4
LCD4S6                            LCDR6,4
LCD4S7                            LCDR7,4
LCD4S8                            LCDR8,4
LCD4S9                            LCDR9,4
LCDCT0                            LCDCR0,0
LCDCT1                            LCDCR0,1
LCDCT2                            LCDCR0,2
LCDCT3                            LCDCR0,3
LCDEN                             LCDCR0,7
LCDFS                             LCDCR0,5
LCDMD                             LCDCR0,6
LCDTYP                            LCDCR0,4
LFEN                              OSCMR,1
LIRCCAL0                          LIRCCAL,0
LIRCCAL1                          LIRCCAL,1
LIRCCAL2                          LIRCCAL,2
LIRCCAL3                          LIRCCAL,3
LIRCCAL4                          LIRCCAL,4
LIRCCAL5                          LIRCCAL,5
LIRCCAL6                          LIRCCAL,6
LIRCCAL7                          LIRCCAL,7
LVDEN                             LVDCR,7
LVDF                              LVDCR,0
LVDIE                             INTE0,5
LVDIF                             INTF0,5
LVDIS                             LVDCR,2
LVDVS0                            LVDCR,3
LVDVS1                            LVDCR,4
LVDVS2                            LVDCR,5
LVDVS3                            LVDCR,6
MRDAT                             IICCR0,0
MTDAT                             IICCR0,1
MTSAA                             IICCR0,3
MTSTP                             IICCR0,2
P00D                              IOP0,0
P00KSE                            P0DKCR,0
P00LCDE                           P0LCDCR,0
P00OE                             OEP0,0
P00PD                             PDP0,0
P00PU                             PUP0,0
P01D                              IOP0,1
P01KSE                            P0DKCR,1
P01LCDE                           P0LCDCR,1
P01OE                             OEP0,1
P01PD                             PDP0,1
P01PU                             PUP0,1
P02D                              IOP0,2
P02KSE                            P0DKCR,2
P02LCDE                           P0LCDCR,2
P02OE                             OEP0,2
P02PD                             PDP0,2
P02PU                             PUP0,2
P03D                              IOP0,3
P03KSE                            P0DKCR,3
P03LCDE                           P0LCDCR,3
P03OE                             OEP0,3
P03PD                             PDP0,3
P03PU                             PUP0,3
P04D                              IOP0,4
P04KSE                            P0DKCR,4
P04LCDE                           P0LCDCR,4
P04OE                             OEP0,4
P04PD                             PDP0,4
P04PU                             PUP0,4
P05D                              IOP0,5
P05KSE                            P0DKCR,5
P05LCDE                           P0LCDCR,5
P05OE                             OEP0,5
P05PD                             PDP0,5
P05PU                             PUP0,5
P06D                              IOP0,6
P06KSE                            P0DKCR,6
P06LCDE                           P0LCDCR,6
P06OE                             OEP0,6
P06PD                             PDP0,6
P06PU                             PUP0,6
P07D                              IOP0,7
P07KSE                            P0DKCR,7
P07LCDE                           P0LCDCR,7
P07OE                             OEP0,7
P07PD                             PDP0,7
P07PU                             PUP0,7
P10D                              IOP1,0
P10KSE                            P1DKCR,0
P10LCDE                           P1LCDCR,0
P10OE                             OEP1,0
P10PD                             PDP1,0
P10PU                             PUP1,0
P11D                              IOP1,1
P11KSE                            P1DKCR,1
P11LCDE                           P1LCDCR,1
P11OE                             OEP1,1
P11PD                             PDP1,1
P11PU                             PUP1,1
P12D                              IOP1,2
P12KSE                            P1DKCR,2
P12LCDE                           P1LCDCR,2
P12OE                             OEP1,2
P12PD                             PDP1,2
P12PU                             PUP1,2
P13D                              IOP1,3
P13KSE                            P1DKCR,3
P13LCDE                           P1LCDCR,3
P13OE                             OEP1,3
P13PD                             PDP1,3
P13PU                             PUP1,3
P14D                              IOP1,4
P14KSE                            P1DKCR,4
P14LCDE                           P1LCDCR,4
P14OE                             OEP1,4
P14PD                             PDP1,4
P14PU                             PUP1,4
P15CE                             LCDCR1,0
P15D                              IOP1,5
P15KSE                            P1DKCR,5
P15LCDE                           P1LCDCR,5
P15OE                             OEP1,5
P15PD                             PDP1,5
P15PU                             PUP1,5
P16CE                             LCDCR1,1
P16D                              IOP1,6
P16KSE                            P1DKCR,6
P16LCDE                           P1LCDCR,6
P16OE                             OEP1,6
P16PD                             PDP1,6
P16PU                             PUP1,6
P17D                              IOP1,7
P17KSE                            P1DKCR,7
P17LCDE                           P1LCDCR,7
P17OE                             OEP1,7
P17PD                             PDP1,7
P17PU                             PUP1,7
P20D                              IOP2,0
P20KSE                            P2DKCR,0
P20LCDE                           P2LCDCR,0
P20OE                             OEP2,0
P20PD                             PDP2,0
P20PU                             PUP2,0
P21D                              IOP2,1
P21KSE                            P2DKCR,1
P21LCDE                           P2LCDCR,1
P21OE                             OEP2,1
P21PD                             PDP2,1
P21PU                             PUP2,1
P22D                              IOP2,2
P22DC                             P2ADCR,2
P22KSE                            P2DKCR,2
P22LCDE                           P2LCDCR,2
P22OE                             OEP2,2
P22PD                             PDP2,2
P22PU                             PUP2,2
P23D                              IOP2,3
P23KSE                            P2DKCR,3
P23LCDE                           P2LCDCR,3
P23OE                             OEP2,3
P23PD                             PDP2,3
P23PU                             PUP2,3
P24D                              IOP2,4
P24KSE                            P2DKCR,4
P24LCDE                           P2LCDCR,4
P24OE                             OEP2,4
P24PD                             PDP2,4
P24PU                             PUP2,4
P25D                              IOP2,5
P25KSE                            P2DKCR,5
P25LCDE                           P2LCDCR,5
P25OE                             OEP2,5
P25PD                             PDP2,5
P25PU                             PUP2,5
P26D                              IOP2,6
P26KSE                            P2DKCR,6
P26LCDE                           P2LCDCR,6
P26OE                             OEP2,6
P26PD                             PDP2,6
P26PU                             PUP2,6
P27D                              IOP2,7
P27KSE                            P2DKCR,7
P27LCDE                           P2LCDCR,7
P27OE                             OEP2,7
P27PD                             PDP2,7
P27PU                             PUP2,7
P30D                              IOP3,0
P30DC                             P3ADCR,0
P30KSE                            P3DKCR,0
P30OE                             OEP3,0
P30PD                             PDP3,0
P30PU                             PUP3,0
P31D                              IOP3,1
P31OE                             OEP3,1
P31PD                             PDP3,1
P31PU                             PUP3,1
PC0                               PCL,0
PC1                               PCL,1
PC2                               PCL,2
PC3                               PCL,3
PC4                               PCL,4
PC5                               PCL,5
PC6                               PCL,6
PC7                               PCL,7
PD                                MCR,4
PERR                              URTSR,1
PWM1EC                            PWM1CR,0
PWM1MD0                           PWM1CR,2
PWM1MD1                           PWM1CR,3
PWM1NV                            PWM1CR,1
PWM2AEC                           PWM2CR,0
PWM2ANV                           PWM2CR,1
PWM2BEC                           PWM2CR,2
PWM2BNV                           PWM2CR,3
ROVF                              URTSR,3
RXB8                              URTSR,0
RXIE                              INTE1,5
RXIF                              INTF1,5
SADMF                             IICCR1,4
SCMDF                             IICCR1,3
SDEDF                             IICCR1,2
STBH                              OSCMR,4
STBL                              OSCMR,5
T0CKS0                            T0CR,3
T0CKS1                            T0CR,4
T0CNT0                            T0CNT,0
T0CNT1                            T0CNT,1
T0CNT2                            T0CNT,2
T0CNT3                            T0CNT,3
T0CNT4                            T0CNT,4
T0CNT5                            T0CNT,5
T0CNT6                            T0CNT,6
T0CNT7                            T0CNT,7
T0EN                              T0CR,7
T0IE                              INTE0,0
T0IF                              INTF0,0
T0LOAD0                           T0LOAD,0
T0LOAD1                           T0LOAD,1
T0LOAD2                           T0LOAD,2
T0LOAD3                           T0LOAD,3
T0LOAD4                           T0LOAD,4
T0LOAD5                           T0LOAD,5
T0LOAD6                           T0LOAD,6
T0LOAD7                           T0LOAD,7
T0PRS0                            T0CR,0
T0PRS1                            T0CR,1
T0PRS2                            T0CR,2
T1CKS0                            T1CR,3
T1CKS1                            T1CR,4
T1CNT0                            T1CNT,0
T1CNT1                            T1CNT,1
T1CNT2                            T1CNT,2
T1CNT3                            T1CNT,3
T1CNT4                            T1CNT,4
T1CNT5                            T1CNT,5
T1CNT6                            T1CNT,6
T1CNT7                            T1CNT,7
T1DATA0                           T1DATA,0
T1DATA1                           T1DATA,1
T1DATA2                           T1DATA,2
T1DATA3                           T1DATA,3
T1DATA4                           T1DATA,4
T1DATA5                           T1DATA,5
T1DATA6                           T1DATA,6
T1DATA7                           T1DATA,7
T1EN                              T1CR,7
T1IE                              INTE0,1
T1IF                              INTF0,1
T1LOAD0                           T1LOAD,0
T1LOAD1                           T1LOAD,1
T1LOAD2                           T1LOAD,2
T1LOAD3                           T1LOAD,3
T1LOAD4                           T1LOAD,4
T1LOAD5                           T1LOAD,5
T1LOAD6                           T1LOAD,6
T1LOAD7                           T1LOAD,7
T1PRS0                            T1CR,0
T1PRS1                            T1CR,1
T1PRS2                            T1CR,2
T2CKS0                            T2CR,3
T2CKS1                            T2CR,4
T2CNT0                            T2CNT,0
T2CNT1                            T2CNT,1
T2CNT2                            T2CNT,2
T2CNT3                            T2CNT,3
T2CNT4                            T2CNT,4
T2CNT5                            T2CNT,5
T2CNT6                            T2CNT,6
T2CNT7                            T2CNT,7
T2DATA0                           T2DATA,0
T2DATA1                           T2DATA,1
T2DATA2                           T2DATA,2
T2DATA3                           T2DATA,3
T2DATA4                           T2DATA,4
T2DATA5                           T2DATA,5
T2DATA6                           T2DATA,6
T2DATA7                           T2DATA,7
T2DATB0                           T2DATB,0
T2DATB1                           T2DATB,1
T2DATB2                           T2DATB,2
T2DATB3                           T2DATB,3
T2DATB4                           T2DATB,4
T2DATB5                           T2DATB,5
T2DATB6                           T2DATB,6
T2DATB7                           T2DATB,7
T2EN                              T2CR,7
T2IE                              INTE1,0
T2IF                              INTF1,0
T2LOAD0                           T2LOAD,0
T2LOAD1                           T2LOAD,1
T2LOAD2                           T2LOAD,2
T2LOAD3                           T2LOAD,3
T2LOAD4                           T2LOAD,4
T2LOAD5                           T2LOAD,5
T2LOAD6                           T2LOAD,6
T2LOAD7                           T2LOAD,7
T2PRS0                            T2CR,0
T2PRS1                            T2CR,1
T2PRS2                            T2CR,2
T3CKS0                            T3CR,3
T3CKS1                            T3CR,4
T3CNT0                            T3CNTL,0
T3CNT1                            T3CNTL,1
T3CNT10                           T3CNTH,2
T3CNT11                           T3CNTH,3
T3CNT12                           T3CNTH,4
T3CNT13                           T3CNTH,5
T3CNT14                           T3CNTH,6
T3CNT15                           T3CNTH,7
T3CNT2                            T3CNTL,2
T3CNT3                            T3CNTL,3
T3CNT4                            T3CNTL,4
T3CNT5                            T3CNTL,5
T3CNT6                            T3CNTL,6
T3CNT7                            T3CNTL,7
T3CNT8                            T3CNTH,0
T3CNT9                            T3CNTH,1
T3EN                              T3CR,7
T3IE                              INTE1,1
T3IF                              INTF1,1
T3LOAD0                           T3LOADL,0
T3LOAD1                           T3LOADL,1
T3LOAD10                          T3LOADH,2
T3LOAD11                          T3LOADH,3
T3LOAD12                          T3LOADH,4
T3LOAD13                          T3LOADH,5
T3LOAD14                          T3LOADH,6
T3LOAD15                          T3LOADH,7
T3LOAD2                           T3LOADL,2
T3LOAD3                           T3LOADL,3
T3LOAD4                           T3LOADL,4
T3LOAD5                           T3LOADL,5
T3LOAD6                           T3LOADL,6
T3LOAD7                           T3LOADL,7
T3LOAD8                           T3LOADH,0
T3LOAD9                           T3LOADH,1
T3OS0                             T3CR,5
T3OS1                             T3CR,6
T3PRS0                            T3CR,0
T3PRS1                            T3CR,1
T3PRS2                            T3CR,2
TBEIE                             INTE1,6
TBEIF                             INTF1,6
TCOL                              URTSR,2
TO                                MCR,5
TXB8                              URTCR1,1
TXIE                              INTE1,7
TXIF                              INTF1,7
UAEN                              URTCR1,3
UDATF                             URTCR1,2
UPEN                              URTCR0,5
UPMD                              URTCR0,4
UPRS0                             URTCR0,0
UPRS1                             URTCR0,1
UPRS2                             URTCR0,2
UREN                              URTCR0,6
URTA0                             URTAR,0
URTA1                             URTAR,1
URTA2                             URTAR,2
URTA3                             URTAR,3
URTA4                             URTAR,4
URTA5                             URTAR,5
URTA6                             URTAR,6
URTA7                             URTAR,7
URTB0                             URTBR,0
URTB1                             URTBR,1
URTB2                             URTBR,2
URTB3                             URTBR,3
URTB4                             URTBR,4
URTB5                             URTBR,5
URTB6                             URTBR,6
URTB7                             URTBR,7
URTCHS                            URTCR2,2
URTD0                             URTDR,0
URTD1                             URTDR,1
URTD2                             URTDR,2
URTD3                             URTDR,3
URTD4                             URTDR,4
URTD5                             URTDR,5
URTD6                             URTDR,6
URTD7                             URTDR,7
URTEN                             URTCR0,7
URTLNV                            URTCR2,3
URTM0                             URTMR,0
URTM1                             URTMR,1
URTM2                             URTMR,2
URTM3                             URTMR,3
URTM4                             URTMR,4
URTM5                             URTMR,5
URTM6                             URTMR,6
URTM7                             URTMR,7
URTMOD                            URTCR2,0
URTPTS                            URTCR2,1
USTPF                             URTCR1,0
XTFIE                             INTE1,2
XTFIF                             INTF1,2
XTICCAL0                          XTICCAL,0
XTICCAL1                          XTICCAL,1
XTICCAL2                          XTICCAL,2
XTICCAL3                          XTICCAL,3
XTICCAL4                          XTICCAL,4
XTICCAL5                          XTICCAL,5
XTICCAL6                          XTICCAL,6
XTICCAL7                          XTICCAL,7
XTREN                             XTALCR,3
XTSPD                             XTALCR,2
XTVS0                             XTALCR,0
XTVS1                             XTALCR,1
Z                                 PFLAG,2
adjust_direction_flag             user_flag,1
cal_adjust_finish                 user_flag,7

Errors   :     0
Warnings :     0 reported,     0 suppressed
Messages :     0 reported,     0 suppressed

