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

📄 motor_ce.lis

📁 AVR单片机的电机测速程序
💻 LIS
字号:
                        .module motor_ce.c
                        .area text(rom, con, rel)
 0000                   .dbfile C:\DOCUME~1\www\桌面\motor_ce\motor_ce.c
 0000                   .dbfunc e Devices_Init _Devices_Init fV
                        .even
 0000           _Devices_Init::
 0000                   .dbline -1
 0000                   .dbline 14
 0000           ; /***************************************************** 
 0000           ; Project :           电机测速
 0000           ; Chip type:           ATmega16L 
 0000           ; Clock frequency:     8.000000 MHz
 0000           ; Date:                2006-6-20 
 0000           ; Author:              CYKINGS OF WMFTYS                                                         
 0000           ; Comments:            通过ICP管脚测出电机转速,每测试100个上传
 0000           ; *****************************************************/
 0000           ; #include "includes.h"
 0000           ; /****************************************************/
 0000           ; //设备初始化,串口:38400,1,8,1
 0000           ; //           定时器1:ICP 中断使能,CLK:1us
 0000           ; void Devices_Init(void)
 0000           ; {
 0000                   .dbline 15
 0000           ; CLI();
 0000 F894              cli
 0002                   .dbline 16
 0002           ; Usart_Init();
 0002 0E940000          xcall _Usart_Init
 0006                   .dbline 17
 0006           ; Timer1_Init();
 0006 0E940000          xcall _Timer1_Init
 000A                   .dbline -2
 000A           L1:
 000A                   .dbline 0 ; func end
 000A 0895              ret
 000C                   .dbend
 000C                   .dbfunc e main _main fV
                        .even
 000C           _main::
 000C                   .dbline -1
 000C                   .dbline 22
 000C           ; 
 000C           ; } 
 000C           ; /**************************************************/
 000C           ; void main(void)
 000C           ; {
 000C                   .dbline 23
 000C           ; OSCCAL=0xb2;
 000C 82EB              ldi R24,178
 000E 81BF              out 0x31,R24
 0010                   .dbline 24
 0010           ; Devices_Init();
 0010 F7DF              xcall _Devices_Init
 0012                   .dbline 25
 0012           ; Usart_Str_Tx("Welcome to Motor Volume Test");
 0012 00E0              ldi R16,<L3
 0014 10E0              ldi R17,>L3
 0016 0E940000          xcall _Usart_Str_Tx
 001A                   .dbline 27
 001A           ; 
 001A           ; SEI();
 001A 7894              sei
 001C           L4:
 001C                   .dbline 29
 001C                   .dbline 30
 001C           L5:
 001C                   .dbline 28
 001C FFCF              xjmp L4
 001E           X0:
 001E                   .dbline -2
 001E           L2:
 001E                   .dbline 0 ; func end
 001E 0895              ret
 0020                   .dbend
                        .area data(ram, con, rel)
 0000                   .dbfile C:\DOCUME~1\www\桌面\motor_ce\motor_ce.c
 0000           L3:
 0000                   .blkb 29
                        .area idata
 0000 57656C636F6D6520746F204D6F746F72  .byte 'W,'e,'l,'c,'o,'m,'e,32,'t,'o,32,'M,'o,'t,'o,'r
 0010 20566F6C756D65205465737400        .byte 32,'V,'o,'l,'u,'m,'e,32,'T,'e,'s,'t,0
                        .area data(ram, con, rel)
 001D                   .dbfile C:\DOCUME~1\www\桌面\motor_ce\motor_ce.c

⌨️ 快捷键说明

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