📄 upsd_cfg.lst
字号:
C51 COMPILER V7.06 UPSD_CFG 10/10/2004 20:51:49 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE UPSD_CFG
OBJECT MODULE PLACED IN upsd_cfg.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE upsd_cfg.c LARGE BROWSE DEBUG OBJECTEXTEND
stmt level source
1 /*---------------------------------------------------------------*/
2 /* UPSD_CFG.C */
3 /* This module contains all the defines for uPSD Configuration */
4 /* --------------------------------------------------------------*/
5
6 //-- Includes ----------------------------------------------------------------
7
8 #include "general.h"
9 #include "upsd.h" // SFRs
10 #include "upsd_xreg.h" // extended registers in uPSD
11
12 #include "upsd_cfg.h" // All defines for uPSD Configuration
13
14 /*---------------------------------------------------------------*/
15 /* This module contains all the constants */
16 /* for uPSD libraryConfiguration */
17 /* --------------------------------------------------------------*/
18
19 //-- Constants values for ipLIBs ----------------------------------------------
20
21 //ADC
22 const uchar code cADC_CH_used = ADC_CH_used;
23 const uchar code cASCL_value = (uchar)((((OSC*10L/2L)/(ADC_clk_in*1000L))+5)/10) - 1;
24
25 //USB
26 const uchar code cUSCL_value = (uchar)((((OSC*10L/2L)/(USB_clk_in*1000L))+5)/10) - 1;
27
28 /*---------------------------------------------------------------*/
29 /* This module contains all extened I/O devices */
30 /* for uPSD including PSD module regs in XDATA */
31 /* --------------------------------------------------------------*/
32
33 //-- Assign memory location for PSD module regs in XDATA -----------------------
34
35 UPSD_xport UPSD_xreg _at_ 0x200;
36
37 //-- Assign memory location for user I/O devices -------------------------------
38
39 #include "lcd_io.h"
40 DISPLAY LCD_reg _at_ 0x0300;
41
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = 3 ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -