-
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
-
c51单片机实现GPS数据接受并通过数码管显示时间
c51单片机实现GPS数据接受并通过数码管显示时间-c51 achieve single-chip GPS data receive and display digital time
- 2022-05-31 08:49:06下载
- 积分:1
-
Power Line Carrier control IC P300 FOSS
intellon 电力线载波控制IC P300源码-Power Line Carrier control IC P300 FOSS
- 2022-02-02 01:02:06下载
- 积分:1
-
串口发送程序。运用51单片机。采用汇编语言,程序简单,
串口发送程序。运用51单片机。采用汇编语言,程序简单,-Send serial procedures. The use of single-chip microcomputer 51. Using assembly language, the program is simple,
- 2022-02-03 00:05:15下载
- 积分:1
-
weeks meritorious test procedures plate DP51
周立功试验板DP51+程序-weeks meritorious test procedures plate DP51
- 2022-11-06 21:30:04下载
- 积分:1
-
本文档详细的介绍了dsp用ad模块进行数据采集后的后续处理工作...
本文档详细的介绍了dsp用ad模块进行数据采集后的后续处理工作-This document describes in detail dsp data acquisition module with the ad after the follow-up processing
- 2023-08-18 17:15:03下载
- 积分:1
-
液晶t6963c_arm7平台显示程序
液晶t6963c_arm7平台显示程序-t6963c_arm7 platform LCD display program .................
- 2023-01-31 22:10:03下载
- 积分:1
-
*PC和ATMEGA128通信,ATMEGA以轮循方式发送,中断方式接受*
*PC和ATMEGA128通信,ATMEGA以轮循方式发送,中断方式接受*-* PC and ATmega128 communications, ATMEGA sent to Round Robin, interrupted to receive*
- 2022-01-24 09:10:22下载
- 积分:1
-
单片机加无线模块NRF24l01实现其双向通信功能
单片机加无线模块NRF24l01实现其双向通信功能
- 2022-03-04 18:17:00下载
- 积分:1
-
采用51系列单片机硬件电路对TEA5767收音模块控制源码
采用51系列单片机硬件电路对TEA5767收音模块控制源码-51 Series single-chip hardware circuit of TEA5767 radio module control source
- 2022-01-24 17:46:35下载
- 积分:1