-
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
-
数控电源的LCD菜单程序,实现数控电源液晶菜单显示
数控电源的LCD菜单程序,实现数控电源液晶菜单显示-CNC Power Supply LCD menu procedures, NC Power LCD menu display
- 2023-03-01 02:05:03下载
- 积分:1
-
AD0809 在51 单片机中的应用.pdf
AD0809 在51 单片机中的应用.pdf-AD0809 in 51 MCU. Pdf
- 2022-01-26 05:39:11下载
- 积分:1
-
ili9320的驱动程序,C源码,初始化代码
ili9320的驱动程序,C源码,初始化代码-ili9320 driver, C source code, initialization code
- 2022-03-21 19:19:41下载
- 积分:1
-
STC单片机看门狗的简单测试程序,功能很简单,就是开启看门狗后,不断的让单片机重启。...
STC单片机看门狗的简单测试程序,功能很简单,就是开启看门狗后,不断的让单片机重启。-a samples test program for STC MCU.
- 2022-07-20 08:14:09下载
- 积分:1
-
三菱16位单片机M306N0系列,CAN
三菱16位单片机M306N0系列,CAN-BUS驱动源码。-Mitsubishi 16-bit microcontroller M306N0 series, CAN-BUS driver source code.
- 2023-07-17 00:40:03下载
- 积分:1
-
基于ATMEGA128控制的DS18B20的温度显示,采用LED显示。
基于ATMEGA128控制的DS18B20的温度显示,采用LED显示。-ATMEGA128-based control DS18B20 the temperature display, LED display.
- 2022-03-04 06:40:12下载
- 积分:1
-
通过利用两台步进电机实现悬挂物体运动轨迹的控制,实现从点对点的运动、任意设定圆心的圆周运动,曲线运动。...
通过利用两台步进电机实现悬挂物体运动轨迹的控制,实现从点对点的运动、任意设定圆心的圆周运动,曲线运动。-through the use of two stepper motor to achieve flag objects trajectory control from a point-to-point movement, arbitrary set of circular motion Center, curve campaign.
- 2022-02-07 00:34:03下载
- 积分:1
-
AVR mega8 MCU and CC1100 RF IC
AVR mega8 单片机操作CC1100的例子-AVR mega8 MCU and CC1100 RF IC
- 2023-02-17 22:30:03下载
- 积分:1
-
HDLC协议英文原版。希望对大家有帮助。
HDLC协议英文原版。希望对大家有帮助。-English original HDLC protocol. Hope everyone has to help.
- 2022-01-28 05:57:18下载
- 积分:1