-
8253的初始化程序举例:
例1:选择2号计数器,工作在3方式,计数初值为533H(2个字节),采用二进制计数。其初始化程序段为
MOV DX,307...
8253的初始化程序举例:
例1:选择2号计数器,工作在3方式,计数初值为533H(2个字节),采用二进制计数。其初始化程序段为
MOV DX,307H ;命令口
MOV AL,10110110B ;2号计数器的初始化命 令字
OUT DX,AL ;写入命令寄存器
MOV DX,306H ;2号计数器数据口
MOV AX,533H ;计数初值
OUT DX,AL ;选送低字节到2号计数器
MOV AL,AH ;取高字节送AL
OUT DX,AL ;后送高字节到2号计数器
-8253 initialization procedures examples : Example 1 : Select counters on the 2nd, in three ways. Counting for the initial 533H (2 bytes), a binary counting. Initialization of its procedures for MOV DX, 307H; I ordered MOV AL, 10110110B; on the 2nd Counter initialize command word OUT DX, AL; write commands Register MOV DX, 306H; data on the 2nd Counter I MOV AX, 533H; Counting initial OUT DX, AL; low-byte sent to the 2nd Counter MOV AL, AH; With a high-byte send AL OUT DX, AL; evacuations high byte counter to the 2nd
- 2023-08-04 20:25:03下载
- 积分:1
-
数码管的显示子程序,对于用PROTEUS来仿真的同志,可以尝试的玩一下...
数码管的显示子程序,对于用PROTEUS来仿真的同志,可以尝试的玩一下-Digital tube display subroutine for simulation using PROTEUS to comrades, you can try to play like
- 2022-03-23 04:43:15下载
- 积分:1
-
用MC9SDG128单片机控制小车的智能寻迹程序,利用C程序编译
用MC9SDG128单片机控制小车的智能寻迹程序,利用C程序编译-With MC9SDG128 SCM smart car tracing procedures, procedures for the use of C compiler
- 2022-08-21 19:03:05下载
- 积分:1
-
用51汇编语言设计的DTMF发生器程序 输出到PI的每次间隔是52个指令周期 主频:6M,6M/12=0.5M,每个指令周期:2uS 即每次输出到P1的时间间隔...
用51汇编语言设计的DTMF发生器程序 输出到PI的每次间隔是52个指令周期 主频:6M,6M/12=0.5M,每个指令周期:2uS 即每次输出到P1的时间间隔是122uS 指令周期数:52 + 9 = 61-51 assembly language using the design process DTMF generator output to the PI for each interval is 52 instruction cycle speeds : 6M, 6M/12 = for 0.5 per instruction cycle : 2uS that each output to the P1 time interval is 122uS instruction cycle : 52 9 = 61
- 2023-04-01 23:15:04下载
- 积分:1
-
C51热电偶温度测量程序,可以同时治疗。
热电偶测温C51程序,可以同时测7路不同种类的热电偶,用一路铜电阻做零点补偿-C51 thermocouple temperature measurement procedures, and it can simultaneously test seven different types of road thermocouple, with copper resistivity way to do 0.1 Compensation
- 2022-02-20 19:14:00下载
- 积分:1
-
51系列单片机实验课程:按键显示程序
(在数字键上按数字,在液晶显示器上显示)...
51系列单片机实验课程:按键显示程序
(在数字键上按数字,在液晶显示器上显示)-51 Series single-chip experimental curriculum: key display program (in the figure by the number keys on the LCD display)
- 2022-03-15 13:53:53下载
- 积分:1
-
72段LCD驱动器SD0418的测试程序
72段LCD驱动器SD0418的测试程序-72 LCD drive SD0418 test procedures
- 2022-03-26 06:55:42下载
- 积分:1
-
单片机显示子程序初始化 C语言编程 保证好用
单片机显示子程序初始化 C语言编程 保证好用-Single-chip display initialization subroutine to ensure that use C language programming
- 2022-03-31 02:59:18下载
- 积分:1
-
单片机的基本知识介绍!
单片机的基本知识介绍!-SCM introduced to the basic knowledge!
- 2022-01-26 01:27:25下载
- 积分:1
-
在PROTEUS仿真实现,在液晶显示器上显示采集温度的波形图
在PROTEUS仿真实现,在液晶显示器上显示采集温度的波形图-In the PROTEUS simulation, in the liquid crystal display to show temperature waveform acquisition
- 2022-02-05 04:50:30下载
- 积分:1