-
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
-
常用串行EEPROM的编程应用,EEPROM是"Electrically Erasable Programmable Read...
常用串行EEPROM的编程应用,EEPROM是"Electrically Erasable Programmable Read-only"(电可擦写可编程只读存储器)的缩写,EEPROM在正常情况下和EPROM一样,可以在掉电的情况下保存数据,所不同的是它可以在特定引脚上施加特定电压或使用特定的总线擦写命令就可以在在线的情况下方便完成数据的擦除和写入-Commonly used application of serial EEPROM programming, EEPROM is Electrically Erasable Programmable Read-only (Xinhua EPROM) acronym, EEPROM under normal circumstances and EPROM, as in the case of power-down to save data , What is different is that it can exert in a particular pin on a specific voltage or use specific bus write command can be in the case of online data to facilitate the completion of the erase and write
- 2022-01-23 11:15:59下载
- 积分:1
-
基于51的单片机的PPP协议实现,源代码
基于51的单片机的PPP协议实现,源代码-51 Based on the SCM PPP protocol, the source code
- 2022-07-18 22:44:15下载
- 积分:1
-
This document is for Renesas digital TV programs with the main chip MCU interfac...
此文件为瑞萨数字电视方案主芯片与MCU的接口I2C通讯协议,真实可用,欢迎有需要的朋友下载。-This document is for Renesas digital TV programs with the main chip MCU interface I2C communication protocols, real available, there is a need to welcome a friend to download.
- 2022-03-12 09:38:24下载
- 积分:1
-
用单片机读写图像显示芯片SAA7114H的程序,并且可以接受红灯信号以及线圈信号的程序...
用单片机读写图像显示芯片SAA7114H的程序,并且可以接受红灯信号以及线圈信号的程序-literacy MCU Image Display Chip SAA7114H procedures, and the red light signal can accept and process signals in the coil
- 2022-03-31 11:46:15下载
- 积分:1
-
NES可以说是现下最老的游戏了,任天堂的经典游戏,这些年随着手机游戏的流行,NES游戏重新粉墨登场!...
NES可以说是现下最老的游戏了,任天堂的经典游戏,这些年随着手机游戏的流行,NES游戏重新粉墨登场!-NES can be said that holds many lessons for the oldest games, and Nintendo" s classic games, all these years with the popularity of mobile games, NES game back on stage!
- 2023-01-19 14:35:04下载
- 积分:1
-
1602测试
1602测试-1602 test
- 2022-08-26 15:05:09下载
- 积分:1
-
LT_1B msp430开发板例子程序-T2
LT_1B msp430开发板例子程序-T2
- 2022-07-03 21:47:43下载
- 积分:1
-
家电智能控制统一主机
家电智能控制统一主机 -Intelligent Control of a unified appliance console
- 2022-03-02 21:08:11下载
- 积分:1
-
AD0809 在51 单片机中的应用.pdf
AD0809 在51 单片机中的应用.pdf-AD0809 in 51 MCU. Pdf
- 2022-01-26 05:39:11下载
- 积分:1