⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.lis

📁 AVR单片机系统开发经典实例部分源程序
💻 LIS
📖 第 1 页 / 共 5 页
字号:
                        .module common.c
                        .area lit(rom, con, rel)
 0000           _Str3::
 0000 0A23232323230A5265626F6F74656420  .byte 10,35,35,35,35,35,10,'R,'e,'b,'o,'o,'t,'e,'d,32
 0010 2E2E2E2E2E0A0A00  .byte 46,46,46,46,46,10,10,0
 0018                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0018                   .dbsym e Str3 _Str3 A[24:24]kc
 0018           _Version::
 0018 2800              .word 40
 001A                   .dbsym e Version _Version ks
 001A           _VersionStr::
 001A 5665723A207600    .byte 'V,'e,'r,58,32,'v,0
 0021                   .dbsym e VersionStr _VersionStr A[7:7]kc
 0021           _Title::
 0021 41542F5050502F49434D502F5544502F  .byte 'A,'T,47,'P,'P,'P,47,'I,'C,'M,'P,47,'U,'D,'P,47
 0031 54435020627920432E4D6F73730A00    .byte 'T,'C,'P,32,'b,'y,32,'C,46,'M,'o,'s,'s,10,0
 0040                   .dbsym e Title _Title A[31:31]kc
 0040           _Date::
 0040 3574682046656220323030340A00      .byte 53,'t,'h,32,'F,'e,'b,32,50,48,48,52,10,0
 004E                   .dbsym e Date _Date A[14:14]kc
 004E           _HelpStr::
 004E 0A202068656C70206F72203F202E2E2E  .byte 10,32,32,'h,'e,'l,'p,32,'o,'r,32,63,32,46,46,46
 005E 2E2E2E2E2E2067756573730A20206970  .byte 46,46,46,46,46,32,'g,'u,'e,'s,'s,10,32,32,'i,'p
 006E 636F6E666967202E2E2E2E2E2E2E2E2E  .byte 'c,'o,'n,'f,'i,'g,32,46,46,46,46,46,46,46,46,46
 007E 20646973706C61792069702061646472  .byte 32,'d,'i,'s,'p,'l,'a,'y,32,'i,'p,32,'a,'d,'d,'r
 008E 65737365730A20206469616C202E2E2E  .byte 'e,'s,'s,'e,'s,10,32,32,'d,'i,'a,'l,32,46,46,46
 009E 2E2E2E2E2E2E2E2E2E2E20636F6E6E65  .byte 46,46,46,46,46,46,46,46,46,46,32,'c,'o,'n,'n,'e
 00AE 63740A202064697363202E2E2E2E2E2E  .byte 'c,'t,10,32,32,'d,'i,'s,'c,32,46,46,46,46,46,46
 00BE 2E2E2E2E2E2E2E20646973636F6E6E65  .byte 46,46,46,46,46,46,46,32,'d,'i,'s,'c,'o,'n,'n,'e
 00CE 63740A20206465627567206F6666202E  .byte 'c,'t,10,32,32,'d,'e,'b,'u,'g,32,'o,'f,'f,32,46
 00DE 2E2E2E2E2E2E2E206465627567206D65  .byte 46,46,46,46,46,46,46,32,'d,'e,'b,'u,'g,32,'m,'e
 00EE 737361676573206F66660A2020646562  .byte 's,'s,'a,'g,'e,'s,32,'o,'f,'f,10,32,32,'d,'e,'b
 00FE 7567206F6E202E2E2E2E2E2E2E2E2E20  .byte 'u,'g,32,'o,'n,32,46,46,46,46,46,46,46,46,46,32
 010E 6465627567206D65737361676573206F  .byte 'd,'e,'b,'u,'g,32,'m,'e,'s,'s,'a,'g,'e,'s,32,'o
 011E 6E0A202070696E67203C69703E202E2E  .byte 'n,10,32,32,'p,'i,'n,'g,32,60,'i,'p,62,32,46,46
 012E 2E2E2E2E2E2E2070696E670A20207463  .byte 46,46,46,46,46,46,32,'p,'i,'n,'g,10,32,32,'t,'c
 013E 70203C69703E5B3A706F72745D202E2E  .byte 'p,32,60,'i,'p,62,91,58,'p,'o,'r,'t,93,32,46,46
 014E 2074637020696E746F20612073657276  .byte 32,'t,'c,'p,32,'i,'n,'t,'o,32,'a,32,'s,'e,'r,'v
 015E 65720A202074637020646F776E202E2E  .byte 'e,'r,10,32,32,'t,'c,'p,32,'d,'o,'w,'n,32,46,46
 016E 2E2E2E2E2E2E2E207463702064697363  .byte 46,46,46,46,46,46,46,32,'t,'c,'p,32,'d,'i,'s,'c
 017E 6F6E6E6563740A20207265626F6F7420  .byte 'o,'n,'n,'e,'c,'t,10,32,32,'r,'e,'b,'o,'o,'t,32
 018E 2E2E2E2E2E2E2E2E2E2E2E207265626F  .byte 46,46,46,46,46,46,46,46,46,46,46,32,'r,'e,'b,'o
 019E 6F74210A00        .byte 'o,'t,33,10,0
 01A3                   .dbsym e HelpStr _HelpStr A[341:341]kc
 01A3           _DebugMessagesStr1::
 01A3 0A2A2A2A204465627567204D7367733A  .byte 10,42,42,42,32,'D,'e,'b,'u,'g,32,'M,'s,'g,'s,58
 01B3 2000              .byte 32,0
 01B5                   .dbsym e DebugMessagesStr1 _DebugMessagesStr1 A[18:18]kc
 01B5           _DebugMessagesStr2::
 01B5 6F66660A00        .byte 'o,'f,'f,10,0
 01BA                   .dbsym e DebugMessagesStr2 _DebugMessagesStr2 A[5:5]kc
 01BA           _DebugMessagesStr3::
 01BA 6F6E0A00          .byte 'o,'n,10,0
 01BE                   .dbsym e DebugMessagesStr3 _DebugMessagesStr3 A[4:4]kc
 01BE           _RebootingStr::
 01BE 0A5265626F6F74696E67202E2E0A00    .byte 10,'R,'e,'b,'o,'o,'t,'i,'n,'g,32,46,46,10,0
 01CD                   .dbsym e RebootingStr _RebootingStr A[15:15]kc
 01CD           _Str4::
 01CD 0A427574746F6E0A00        .byte 10,'B,'u,'t,'t,'o,'n,10,0
 01D6                   .dbsym e Str4 _Str4 A[9:9]kc
                        .area eeprom(rom, con, rel)
 0000                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0000           _Unit_ID::
 0000 00                .byte 0
 0001 00000000000000000000      .word 0,0,0,0,0
 000B 00000000000000000000      .word 0,0,0,0,0
 0015 00000000000000000000      .word 0,0,0,0,0
 001F 00                .byte 0
 0020                   .dbsym e Unit_ID _Unit_ID A[32:32]c
 0020           _Unit_ID_crc::
 0020 FFFF              .word 65535
 0022                   .dbsym e Unit_ID_crc _Unit_ID_crc s
 0022           _ServerIP1::
 0022 0000              .byte 0,0
 0024 0000              .byte 0,0
 0026                   .dbunion 0 4 TIPAddr
 0026                   .dbfield 0 ip8 A[4:4]c
 0026                   .dbfield 0 ip32 l
 0026                   .dbend
 0026                   .dbsym e ServerIP1 _ServerIP1 S[TIPAddr]
 0026           _ServerIP1_crc::
 0026 FFFF              .word 65535
 0028                   .dbsym e ServerIP1_crc _ServerIP1_crc s
 0028           _ServerIP2::
 0028 0000              .byte 0,0
 002A 0000              .byte 0,0
 002C                   .dbsym e ServerIP2 _ServerIP2 S[TIPAddr]
 002C           _ServerIP2_crc::
 002C FFFF              .word 65535
 002E                   .dbsym e ServerIP2_crc _ServerIP2_crc s
 002E           _ServerPhoneNum1::
 002E 00                .byte 0
 002F 00000000000000000000      .word 0,0,0,0,0
 0039 00000000000000000000      .word 0,0,0,0,0
 0043 00000000000000000000      .word 0,0,0,0,0
 004D 00                .byte 0
 004E                   .dbsym e ServerPhoneNum1 _ServerPhoneNum1 A[32:32]c
 004E           _ServerPhoneNum1_crc::
 004E FFFF              .word 65535
 0050                   .dbsym e ServerPhoneNum1_crc _ServerPhoneNum1_crc s
 0050           _ServerPhoneNum2::
 0050 00                .byte 0
 0051 00000000000000000000      .word 0,0,0,0,0
 005B 00000000000000000000      .word 0,0,0,0,0
 0065 00000000000000000000      .word 0,0,0,0,0
 006F 00                .byte 0
 0070                   .dbsym e ServerPhoneNum2 _ServerPhoneNum2 A[32:32]c
 0070           _ServerPhoneNum2_crc::
 0070 FFFF              .word 65535
 0072                   .dbsym e ServerPhoneNum2_crc _ServerPhoneNum2_crc s
                        .area data(ram, con, rel)
 0000                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0000           _LastResetReason::
 0000                   .blkb 1
                        .area idata
 0000 00                .byte 0
                        .area data(ram, con, rel)
 0001                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0001                   .dbsym e LastResetReason _LastResetReason c
 0001           _WatchdogCounter::
 0001                   .blkb 1
                        .area idata
 0001 00                .byte 0
                        .area data(ram, con, rel)
 0002                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0002                   .dbsym e WatchdogCounter _WatchdogCounter c
 0002           _Flags1::
 0002                   .blkb 1
                        .area idata
 0002 00                .byte 0
                        .area data(ram, con, rel)
 0003                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0003                   .dbsym e Flags1 _Flags1 c
 0003           _Flags2::
 0003                   .blkb 1
                        .area idata
 0003 00                .byte 0
                        .area data(ram, con, rel)
 0004                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0004                   .dbsym e Flags2 _Flags2 c
 0004           _TimerIntCounter::
 0004                   .blkb 1
                        .area idata
 0004 00                .byte 0
                        .area data(ram, con, rel)
 0005                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0005                   .dbsym e TimerIntCounter _TimerIntCounter c
 0005           _button_push::
 0005                   .blkb 1
                        .area idata
 0005 FF                .byte 255
                        .area data(ram, con, rel)
 0006                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0006                   .dbsym e button_push _button_push c
 0006           _MainBufferRd_Rx::
 0006                   .blkb 2
                        .area idata
 0006 0000              .word 0
                        .area data(ram, con, rel)
 0008                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0008                   .dbsym e MainBufferRd_Rx _MainBufferRd_Rx s
 0008           _MainBufferWr_Rx::
 0008                   .blkb 2
                        .area idata
 0008 FFFF              .word -1
                        .area data(ram, con, rel)
 000A                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 000A                   .dbsym e MainBufferWr_Rx _MainBufferWr_Rx S
 000A           _MainBufferWr_Tx::
 000A                   .blkb 2
                        .area idata
 000A 0000              .word 0
                        .area data(ram, con, rel)
 000C                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 000C                   .dbsym e MainBufferWr_Tx _MainBufferWr_Tx s
 000C           _UART0_RxBufferWr::
 000C                   .blkb 1
                        .area idata
 000C 00                .byte 0
                        .area data(ram, con, rel)
 000D                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 000D                   .dbsym e UART0_RxBufferWr _UART0_RxBufferWr c
 000D           _UART0_RxBufferRd::
 000D                   .blkb 1
                        .area idata
 000D 00                .byte 0
                        .area data(ram, con, rel)
 000E                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 000E                   .dbsym e UART0_RxBufferRd _UART0_RxBufferRd c
 000E           _UART1_RxBufferWr::
 000E                   .blkb 1
                        .area idata
 000E 00                .byte 0
                        .area data(ram, con, rel)
 000F                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 000F                   .dbsym e UART1_RxBufferWr _UART1_RxBufferWr c
 000F           _UART1_RxBufferRd::
 000F                   .blkb 1
                        .area idata
 000F 00                .byte 0
                        .area data(ram, con, rel)
 0010                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0010                   .dbsym e UART1_RxBufferRd _UART1_RxBufferRd c
                        .area text(rom, con, rel)
 0000                   .dbfile C:\AVR\AT-Modem__PPP__UDP__IC\common.c
 0000                   .dbfunc e _StackOverflowed __StackOverflowed fV
 0000           ;              c -> R20
                        .even
 0000           __StackOverflowed::
 0000 0E940000          xcall push_gset1
 0004 402F              mov R20,R16
 0006                   .dbline -1
 0006                   .dbline 232
 0006           ; 
 0006           ; /*
 0006           ;  * Copyright (C) 2003-2004 by Clive Moss All rights reserved.
 0006           ;  *
 0006           ;  * Help & Contributions from D.J.Armstrong
 0006           ; 
 0006           ;  * Redistribution and use in source and binary forms, with or without
 0006           ;  * modification, are permitted provided that the following conditions
 0006           ;  * are met:
 0006           ;  *
 0006           ;  * 1. Redistributions of source code must retain the above copyright
 0006           ;  *    notice, this list of conditions and the following disclaimer.
 0006           ;  * 2. Redistributions in binary form must reproduce the above copyright
 0006           ;  *    notice, this list of conditions and the following disclaimer in the
 0006           ;  *    documentation and/or other materials provided with the distribution.
 0006           ;  * 3. Neither the name of the copyright holders nor the names of
 0006           ;  *    contributors may be used to endorse or promote products derived
 0006           ;  *    from this software without specific prior written permission.
 0006           ;  *
 0006           ;  * THIS SOFTWARE IS PROVIDED BY CLIVE MOSS 'AS IS' AND ANY EXPRESS OR
 0006           ;  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 0006           ;  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 0006           ;  * ARE DISCLAIMED.
 0006           ;  * IN NO EVENT SHALL CLIVE MOSS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 0006           ;  * INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 0006           ;  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 0006           ;  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 0006           ;  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 0006           ;  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
 0006           ;  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 0006           ;  * SUCH DAMAGE.
 0006           ;  */
 0006           ; 
 0006           ; //#ifdef CPU_eZ8
 0006           ; //    #pragma stkck                                                                   // enable stack checking
 0006           ; //#endif
 0006           ; 
 0006           ; #ifdef CPU_eZ8
 0006           ;       #include <eZ8.h>
 0006           ; #endif
 0006           ; 
 0006           ; #ifdef CPU_ATmega128
 0006           ;       #include <iom128v.h>
 0006           ;       #include <macros.h>
 0006           ; #endif
 0006           ; 
 0006           ; #include <string.h>
 0006           ; #include <ctype.h>
 0006           ; #include <stdio.h>
 0006           ; #include <stdlib.h>
 0006           ; 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -