📄 vectors.lst
字号:
C51 COMPILER V7.06 VECTORS 11/26/2004 11:32:43 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE VECTORS
OBJECT MODULE PLACED IN .\8052-obj\vectors.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\arch\at89s8252\vectors.c LARGE OPTIMIZE(SIZE) BROWSE INTVECTOR(0X2000) I
-NCDIR(D:\Work\opentcp\1-0-2\src\include\) DEFINE(MONITOR,CS8900) DEBUG OBJECTEXTEND CODE SYMBOLS PRINT(.\8052-lst\vector
-s.lst) PREPRINT(.\8052-lst\vectors.i) OBJECT(.\8052-obj\vectors.obj)
stmt level source
1 /*
2 *Copyright (c) 2000-2002 Viola Systems Ltd.
3 *All rights reserved.
4 *
5 *Redistribution and use in source and binary forms, with or without
6 *modification, are permitted provided that the following conditions
7 *are met:
8 *
9 *1. Redistributions of source code must retain the above copyright
10 *notice, this list of conditions and the following disclaimer.
11 *
12 *2. Redistributions in binary form must reproduce the above copyright
13 *notice, this list of conditions and the following disclaimer in the
14 *documentation and/or other materials provided with the distribution.
15 *
16 *3. The end-user documentation included with the redistribution, if
17 *any, must include the following acknowledgment:
18 * "This product includes software developed by Viola
19 * Systems (http://www.violasystems.com/)."
20 *
21 *Alternately, this acknowledgment may appear in the software itself,
22 *if and wherever such third-party acknowledgments normally appear.
23 *
24 *4. The names "OpenTCP" and "Viola Systems" must not be used to
25 *endorse or promote products derived from this software without prior
26 *written permission. For written permission, please contact
27 *opentcp@opentcp.org.
28 *
29 *5. Products derived from this software may not be called "OpenTCP",
30 *nor may "OpenTCP" appear in their name, without prior written
31 *permission of the Viola Systems Ltd.
32 *
33 *THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
34 *WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
35 *MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36 *IN NO EVENT SHALL VIOLA SYSTEMS LTD. OR ITS CONTRIBUTORS BE LIABLE
37 *FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
38 *CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
39 *SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
40 *BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
41 *WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
42 *OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
43 *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44 *====================================================================
45 *
46 *OpenTCP is the unified open source TCP/IP stack available on a series
47 *of 8/16-bit microcontrollers, please see <http://www.opentcp.org>.
48 *
49 *For more information on how to network-enable your devices, or how to
50 *obtain commercial technical support for OpenTCP, please see
51 *<http://www.violasystems.com/>.
52 */
53
C51 COMPILER V7.06 VECTORS 11/26/2004 11:32:43 PAGE 2
54 /** \file vectors.c
55 * \brief Atmel AT89S8252 specific vector definitions
56 * \author
57 * \li Jari Lahti (jari.lahti@violasystems.com)
58 * \version 1.0
59 * \date 27.01.2003
60 * \bug
61 * \warning
62 * \todo
63 *
64 * This file contains interrupt level priority settings and interrupt
65 * vector definitions.
66 */
67
68 /* Alexey Selischev (bmp@beep.ru) */
69
70 #include <inet/arch/at89s8252/at89s8252.h>
*** WARNING C318 IN LINE 70 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/arch/at89s8252/at89s8252.h'
71 #include <inet/datatypes.H>
*** WARNING C318 IN LINE 71 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/datatypes.H'
72 #include <inet/timers.h>
*** WARNING C318 IN LINE 72 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/timers.h'
73 #include <inet/system.h>
*** WARNING C318 IN LINE 73 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/system.h'
74
75 #include <inet/ethernet.h>
*** WARNING C318 IN LINE 75 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/ethernet.h'
76 #include <inet/ip.h>
*** WARNING C318 IN LINE 76 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/ip.h'
77 #include <inet/tcp_ip.h>
*** WARNING C318 IN LINE 77 OF ..\arch\at89s8252\vectors.c: can't open file 'inet/tcp_ip.h'
78
79
80
81 UINT32 i_temp;
*** ERROR C129 IN LINE 81 OF ..\ARCH\AT89S8252\VECTORS.C: missing ';' before 'i_temp'
82 UINT8 i_ch;
83
84 /*------------------------------------------------------------------------
85 InitIrqLevels()
86
87 This function pre-sets all interrupt control registers. It can be used
88 to set all interrupt priorities in static applications. If this file
89 contains assignments to dedicated resources, verify that the
90 appropriate controller is used.
91
92 NOTE: value 0 sets lowest and value 0 sets highest priority.
93 */
94
95
96 void InitIrqLevels(void)
97 {
98 //saa : To Do?
99 PT0 = 0; /* Set Timer 0 interrupt priority to low */
100 }
101
102
103 //#pragma inline decrement_timers
104
105
106 /* 16-bit timer #1 interrupt handler */
107 void RLDTMR1IRQHandler (void) interrupt 3/* timer1_handler, 10 msec */
C51 COMPILER V7.06 VECTORS 11/26/2004 11:32:43 PAGE 3
108 {
109 TR1 = 0;
110 TH1 = T1_HIGH;
111 TL1 = T1_LOW;
112 TR1 = 1;
113 decrement_timers();
114 }
115
116
117 /** Time-base timer **/
118 void SYSTMRIRQHandler (void) interrupt 1/*timer0_handler, 1 msec*/
119 {
120 TR0 = 0;
121 TH0 = T0_HIGH;
122 TL0 = T0_LOW;
123 TR0 = 1;
124 base_timer++;
125 }
126
C51 COMPILATION COMPLETE. 7 WARNING(S), 1 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -