?? kernel.lst
字號:
C51 COMPILER V7.06 KERNEL 07/02/2003 10:05:13 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE KERNEL
OBJECT MODULE PLACED IN kernel.OBJ
COMPILER INVOKED BY: C:\KEIL\C51\BIN\C51.EXE kernel.c OPTIMIZE(2,SPEED) BROWSE DEBUG OBJECTEXTEND
stmt level source
1 //***********************************************************************
2 // *
3 // P H I L I P S P R O P R I E T A R Y *
4 // *
5 // COPYRIGHT (c) 1999 BY PHILIPS SINGAPORE (APIC). *
6 // -- ALL RIGHTS RESERVED -- *
7 // *
8 // File Name : Kernel.c *
9 // Author : Albert Goh *
10 // Created : 3 March 2000 *
11 // *
12 //***********************************************************************
13 //***********************************************************************
14 // *
15 // Kernel.c is the control centre for this evaluation firmware. It will *
16 // control where should the firmware branch through via the selection *
17 // of the UART port of the 8051. if not via the UART, it will be from *
18 // the selection of the code defintion *
19 // *
20 //***********************************************************************
21 //***********************************************************************
22 // *
23 // Module History *
24 // ************** *
25 // *
26 // Date Version Author Changes *
27 // ==== ======= ====== ======= *
28 // 030300 0.1 Albert Created *
29 // *
30 // *
31 //***********************************************************************
32 //***********************************************************************
33 //* *
34 //* Include Files Definition *
35 //* *
36 //***********************************************************************
37
38 #include "standard.h"
39 #include "Kernel.h"
40 #include "D14.h"
41 #include "zlg7290.h"
42 #include "VIIC_C51.h"
43
44 #define uchar unsigned char
45
46 //***********************************************************************
47 //* *
48 //* External routine Definition *
49 //* *
50 //***********************************************************************
51
52 extern Init_Main();
53 extern USB_Debug_Mode();
54 extern DMA_Debug_Mode();
55 extern USB_INT_FLAG USB_Int_Flag;
C51 COMPILER V7.06 KERNEL 07/02/2003 10:05:13 PAGE 2
56 extern DMA_INT_FLAG DMA_Int_Flag;
57 extern USB_DEVICE USB_Device;
58 extern D14_CNTRL_REG volatile xdata D14_Cntrl_Reg;
59 extern void Check_Busy(void);
60 extern void Init_D14(void);
61 extern void Init_Endpoint(void);
62 extern void Init_Device(void);
63 extern void Get_PIDVID(void);
64 //extern unsigned int read_endpoint(unsigned char endp,unsigned int len,unsigned char *buf);
65 //extern unsigned int write_endpoint(unsigned char endp,unsigned int len,unsigned char *buf);
66 extern UC VID[2],PID[2];
67 extern UC idata Endpt_FIFO[MAX_BUF];
68 extern Set_USB(void);
69 extern TIMER Timer;
70 extern UC timecouter;
71 //***********************************************************************
72 //* *
73 //* Prototype routine Definition *
74 //* *
75 //***********************************************************************
76
77 void Start_mSEC_Timer(Data);
78 void Start_SEC_Timer(Data);
79 uchar DelayNS(uchar no);
80
81 //***********************************************************************
82 //* *
83 //* Variable Definition *
84 //* *
85 //***********************************************************************
86
87 UI Temp;
88 KERNEL Kernel_Flag;
89 uchar code disp_buf[8]={0,0,0,0,0,0,0,0}; //LED初始化值
90 //UC key=0xff;
91 //***********************************************************************
92 //* *
93 //* Routine Definition *
94 //* *
95 //***********************************************************************
96
97 //***********************************************************************
98 //* *
99 //* Routine : Main *
100 //* Input : None *
101 //* Output : None *
102 //* Function : main loop *
103 //* *
104 //***********************************************************************
105
106 void Main(void)
107 {
108 1 DelayNS(5);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -