📄 conf_tny.lst
字号:
AX51 MACRO ASSEMBLER CONF_TNY 11/21/05 17:35:21 PAGE 1
MACRO ASSEMBLER AX51 V3.01
OBJECT MODULE PLACED IN .\Keil\Conf_tny.obj
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\AX51.EXE OS\Conf_tny.A51 MOD_MX51 SET(SMALL) DEBUG PRINT(.\Keil\Conf_tny.lst) OBJE
CT(.\Keil\Conf_tny.obj) EP
LOC OBJ LINE SOURCE
1 $nomod51
2 ;------------------------------------------------------------------------------
3 ; This file is part of the RTX-51 TINY Real-Time Operating System Package
4 ; Copyright KEIL ELEKTRONIK GmbH and Keil Software, Inc. 1991-2002
5 ; Version 2.01
6 ;------------------------------------------------------------------------------
7 ; CONF_TNY.A51: This code allows the configuration of the
8 ; RTX-51 TINY Real-Time Operating System
9 ;
10 ; Copy this file to your project folder and add the copy to your uVision2
11 ; project. You can customize several parameters of RTX51 Tiny within this
12 ; configuration file.
13 ;
14 ; If you use command line tools, translate this file with:
15 ;
16 ; Ax51 CONF_TNY.A51
17 ;
18 ; If you use command line tools, link the modified CONF_TNY.OBJ file to
19 ; your application with:
20 ;
21 ; Lx51 <your object file list>, CONF_TNY.OBJ <controls>
22 ;
23 ;------------------------------------------------------------------------------
24 ;=============================================================
25 ; RTX-51 TINY 硬件时钟
26 ;-------------------------------------------------------------
27 ; 定义时钟中断所使用的寄存器组.
28 ; 只用到 BANK1 的5个字节
0001 29 INT_REGBANK EQU 1 ; 缺省为寄存器组 1
30 ;
31 ;=============================================================
32 ; 定义硬件时钟频率, 为多少个 8051 的机器周期
33 ;-------------------------------------------------------------
34 ; 公式: (XTAL / CLOCK) / (1000 / SEP)
35 ; (18432000/ 6) / 100 = 30720 =10ms
36 ; (11059200/ 6) / 100 = 18432 =10ms
00A8C000 37 CPU_XTAL EQU 11059200
000A 38 FREQ_TIME EQU 10
4800 39 INT_CLOCK EQU (CPU_XTAL / 6) / (1000 / FREQ_TIME) ; default is 10000 cycle
s
40 ;
41
42 ;=============================================================
43 ; 当用户的中断执行时间大于 RTX51 的时钟中断执行时间则 LONG_USR_INTR = 1
44 ;-------------------------------------------------------------
0001 45 LONG_USR_INTR EQU 1 ; 0 用户中断快速执行时.
46 ; ; 1 用户中断需要很长时间执行.
47
48 ;=============================================================
49 ; 最大任务
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -