当前位置:网站首页>Simple square wave generating circuit [51 single chip microcomputer and 8253a]
Simple square wave generating circuit [51 single chip microcomputer and 8253a]
2022-07-02 23:13:00 【The universe is hidden in the book】

/*8253 Timed square wave generation experiment instrument 11802 Ma Wei */
#include<reg51.h>
#include<absacc.h>
#define CMD_ADDR XBYTE[0x7FFB]// Address of the command register
#define TIMER0_ADDR XBYTE[0X7FF8]// Counter 0 Initial value counter
void main()
{
// The command register is 00110110, The counter 0, First low then high , The way 3, Binary
CMD_ADDR=0x36;
// Assign a value to the counter from low to high 0
TIMER0_ADDR=0x52;
TIMER0_ADDR=0x09;
while(1);
}
边栏推荐
- 详解Promise使用
- Generics and reflection, this is enough
- Win11如何开启目视控制?Win11开启目视控制的方法
- Set right click to select vs code to open the file
- 2016. 增量元素之间的最大差值
- 剑指 Offer II 099. 最小路径之和-双百代码
- MySQL queries nearby data And sort by distance
- Jerry's prototype will trigger shutdown after multiple touches [chapter]
- 创新实力再获认可!腾讯安全MSS获2022年度云原生安全守护先锋
- 最小生成树 Minimum Spanning Tree
猜你喜欢

Successfully changed Splunk default URL root path
![[favorite poems] OK, song](/img/1a/e4a4dcca494e4c7bb0e3568f708288.png)
[favorite poems] OK, song

抖音实战~点赞数量弹框

情感对话识别与生成简述

严守工期,确保质量,这家AI数据标注公司做到了!

Use of recyclerview with viewbinding
![Temperature measurement and display of 51 single chip microcomputer [simulation]](/img/83/73ee7f87787690aef7f0a9dab2c192.jpg)
Temperature measurement and display of 51 single chip microcomputer [simulation]

PotPlayer设置最小化的快捷键

从底层结构开始学习FPGA----Xilinx ROM IP的定制与测试

Splunk audit setting
随机推荐
Win11如何开启目视控制?Win11开启目视控制的方法
QT qpprogressbar details
ADC of stm32
Introduction to the latest plan of horizon in April 2022
地平线2022年4月最新方案介绍
20220524_ Database process_ Statement retention
How does Jerry test the wrong touch rate of keys [chapter]
ping域名报错unknown host,nslookup/systemd-resolve可以正常解析,ping公网地址通怎么解决?
Set right click to select vs code to open the file
Win11自动关机设置在哪?Win11设置自动关机的两种方法
Niuke network: maximum submatrix
电路设计者常用的学习网站
Odoo13 build a hospital HRP environment (detailed steps)
[hardware] origin of standard resistance value
Eight bit responder [51 single chip microcomputer]
Ping domain name error unknown host, NSLOOKUP / system d-resolve can be resolved normally, how to Ping the public network address?
psnr,ssim,rmse三个指标的定量分析
設置單擊右鍵可以選擇用VS Code打開文件
Chow-Liu Tree
STM32串口DAM接收253字节就死机原因排查