Location:
Search - 单片机SFR
Search list
Description: 一个简单的C51亮灯的程序,
PELCO D 2400检测。
9J1普通解码器程序代码
单片机AT89S51或AT89S52
包含头文件,单片机SFR定义信息
非常实用
Platform: |
Size: 3280 |
Author: reyman |
Hits:
Description: 此文件包含了CH372/CH375调试程序的全部源代码,以及执行程序。包括检测设备属性,上传下载数据等功能。 用于MCS51单片机的内置USB调试固件程序 用于连接CH372或者CH375的单片机进行简单的调试功能 可以用include直接包含到应用系统的主程序中,或者添加到工程项目中 CH372DBG.C 为单片机端的子程序,内有主程序示例 CH37D51.C 为计算机端的子程序,内有主程序示例 ******************************* 实例 MCU目录下为单片机端的主程序:源程序/目标程序 PC目录下为计算机端的监控/调试工具主程序:源程序/目标程序 功能: 1、可以做简单调试,类似于简单的嵌入式软件仿真器,计算机端程序为CH37XDBG.EXE 2、在计算机上可以读写单片机的SFR、可以控制单片机的I/O引脚 3、在计算机上可以读写单片机的内部RAM,交换数据 4、在计算机上可以读写单片机的外部RAM或者外部IC设备 5、在计算机上可以读取单片机的程序ROM 扩展功能,后加的 6、通过MCS51的异步串口模拟USB转串口芯片(USB数据经MCS51后转为串口数据) 7、支持I2C两线接口(例子只用于测试24C01-24C16,24C32-24C512等串行EEPROM)
Platform: |
Size: 317629 |
Author: wukoo0901@qq.com |
Hits:
Description: 一个简单的C51亮灯的程序,
PELCO D 2400检测。
9J1普通解码器程序代码
单片机AT89S51或AT89S52
包含头文件,单片机SFR定义信息
非常实用-C51 a simple switch-on procedure, PELCO D 2400 testing. 9J1 ordinary single-chip decoder AT89S51 code or AT89S52 contains header files, microcontroller SFR very useful definition of information
Platform: |
Size: 3072 |
Author: reyman |
Hits:
Description: 基于单片机的10根线束线缆检测器的源程序
#pragma sfr
#pragma DI
#pragma EI
#pragma NOP
//#pragma interrupt INTTM010 isr_INTTM000
#pragma interrupt INTTM80 isr_INTTM80
//#pragma interrupt INTTMH1 isr_INTTMH1
#pragma section @@CNST OPT AT 80H
const char OPTION=0x94
typedef unsigned char uchar
typedef unsigned int uint
//==PORT DEFINE==
#define SEND1_P P4.1
#define SEND2_P P4.2
#define SEND3_P P4.3
#define SEND4_P P4.4
#define SEND5_P P4.5
#define SEND6_P P4.6
#define SEND7_P P4.7
#define SEND8_P P13.0
#define SEND9_P P2.3
#define SEND10_P P2.2
-10TO
Platform: |
Size: 6144 |
Author: 刘 |
Hits:
Description: dsPIC33F单片机的ADC采样以及IIR数字滤波的应用范例代码,您可由此可了解高档PIC单片机在ADC应用中的各SFR设置以及采样滤波过程,其中涉及DSP库函数应用-dsPIC33F MCU ADC sampling, as well as the application of IIR digital filter example code, you can understand it can be seen in the ADC high-end single-chip microcomputer PIC applications settings of the SFR, as well as sampling filtering process, which involves the application of DSP library functions
Platform: |
Size: 403456 |
Author: fft |
Hits:
Description: 针对AT89C52单片机,头文件AT89x52.h给出了SFR特殊功能寄存器所有端口的定义。教科书的给出了针对MCS51系列单片机的C语言扩展变量类型。-AT89C52
Platform: |
Size: 62464 |
Author: xsj |
Hits:
Description: 针对AT89s52单片机,头文件AT89x52.h给出了SFR特殊功能寄存器所有端口的定义。教科书的给出了针对MCS51系列单片机的C语言扩展变量类型。-AT89C52
Platform: |
Size: 311296 |
Author: xsj |
Hits:
Description: 这是一个关于C8051F020单片机中ADC模块应用的一个资料文档。归纳SOC型芯片C8051F020中模数转换部分的应用要素,包括精度与通道、速率与启动、基准与增益、数据与控制,提出编程及相关SFR的操作顺序。-This is a C8051F020 MCU ADC module on the application of an information document. Induction of SOC-based chip C8051F020 analog-digital conversion part of the application of elements, including precision and channel, rate and start the benchmark and gain, data and control, make programming and operation of the order related to SFR.
Platform: |
Size: 90112 |
Author: czj |
Hits:
Description: 单片机入门新思路。
程序存储器ROM
数据存储器RAM
特殊功能寄存器SFR-Introduction to new ideas SCM. ROM program memory, data memory RAM of special function register SFR
Platform: |
Size: 226304 |
Author: xx |
Hits:
Description: 51单片机特殊功能寄存器大全,详细的资料,单片机开发人员的桌面工具-51 MCU SFR Guinness, detailed information on the developer' s desktop tools SCM
Platform: |
Size: 38912 |
Author: 毛小三 |
Hits:
Description: 头文件stc单片机具有在应用编程,调试起来比较方便;带有10位AD;内部eeprom;可在1T/机器周期下工作,速度是传统51单片机的12倍;下面是我写的AD和EEPROM的驱动C代码-STC12C2052AD.H Header file for 8xC31/51, 80C51Fx, 80C51Rx+
Copyright (c) 1988-1999 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved.
Modification according to DataSheet from April 1999
- SFR s AUXR and AUXR1 added for 80C51Rx+ derivatives
Platform: |
Size: 1024 |
Author: dd |
Hits:
Description: #define STC /*定义为STC单片机(如果是SST单片机则去掉此行)*/
/**************************************************************************
* SFR Memory Addresses
**************************************************************************/
sfr SFCF = 0xB1 /*SuperFlash Configuration*/
sfr SFCM = 0xB2 /*SuperFlash Command*/
sfr SFAL = 0xB3 /*SuperFlash Address Low*/
sfr SFAH = 0xB4 /*SuperFlash Address High*/
sfr SFDT = 0xB5 /*SuperFlash Data*/
sfr SFST = 0xB6 /*SuperFlash Status*/
-# Define STC /* is defined as the STC microcontroller (MCU SST if you remove this line)*//*************************************************************************** SFR Memory Addresses**************************************************************************/ sfr SFCF = 0xB1 /* SuperFlash Configuration*/sfr SFCM = 0xB2 /* SuperFlash Command*/sfr SFAL = 0xB3 /* SuperFlash Address Low*/sfr SFAH = 0xB4 /* SuperFlash Address High*/sfr SFDT = 0xB5 /* SuperFlash Data*/sfr SFST = 0xB6 /* SuperFlash Status* /
Platform: |
Size: 21504 |
Author: liang |
Hits:
Description: 单片机通过SFR地址操作进行点亮点亮LED灯。-MCU SFR address operating lit lit LED lights.
Platform: |
Size: 7168 |
Author: peter |
Hits:
Description: i/o口信号传送单片机STC-sfr P1 = 0x90 /* SFR definition for
Platform: |
Size: 1024 |
Author: |
Hits:
Description: #include <intrins.h>
#include <reg52.h> //52系列单片机头文件
#include <51hei.H>
#define uchar unsigned char
#define uint unsigned int
#define RdCommand 0x01 //定义ISP的操作命令
#define PrgCommand 0x02
#define EraseCommand 0x03
#define WaitTime 0x01 //定义CPU的等待时间
sfr ISP_DATA=0xe2 //寄存器申明
sfr ISP_ADDRH=0xe3
sfr ISP_ADDRL=0xe4
sfr ISP_CMD=0xe5
sfr ISP_TRIG=0xe6
sfr ISP_CONTR=0xe7 -# Include <intrins.h># Include <reg52.h>// 52 Series MCU header file# include < 51hei.H> # define uchar unsigned char# define uint unsigned int# define RdCommand 0x01// define ISP operation command# define PrgCommand 0x02# define EraseCommand 0x03# define WaitTime 0x01// definition CPU wait time sfr ISP_DATA = 0xe2 // the register affirm sfr ISP_ADDRH = 0xe3 sfr ISP_ADDRL = 0xe4 sfr ISP_CMD = 0xe5 the sfr ISP_TRIG = 0xe6 the sfr ISP_CONTR = 0xe7
Platform: |
Size: 2048 |
Author: 秦凯 |
Hits:
Description: #include <reg52.h> //52系列单片机头文件
#define uchar unsigned char
#define uint unsigned int
sfr WDT_CONTR=0xe1
sbit led1=P0^0
sbit leds=P1^4 //led使能
void delayms(uint xms)
{
uint i,j
for(i=xms i>0 i--) //i=xms即延时约xms毫秒
for(j=110 j>0 j--)
}
void main()-# Include <reg52.h>// 52 series microcontroller header file# define uchar unsigned char# define uint unsigned int sfr WDT_CONTR = 0xe1 sbit led1 = P0 ^ 0 sbit leds = P1 ^ 4 // led so that it void delayms (and uint xms) {uint i , j for (i = xms i> 0 i-)// i = xms that delay of about of xms milliseconds for (j = 110 j> 0 j-) } void main ()
Platform: |
Size: 1024 |
Author: 秦凯 |
Hits:
Description: 能过51单片机的控制,利用SFR方式点亮LED-Can 51 MCU control, SFR lit LED
Platform: |
Size: 8192 |
Author: 刘志 |
Hits:
Description: 使用AT89S52单片机核心芯片,通过c语言编程,直接通过寄存器地址点亮LED-Using AT89S52 microcontroller core chip, through the c programming language, directly through the register address lit LED
Platform: |
Size: 8192 |
Author: zhao |
Hits:
Description: 51单片机源程序,SFR地址操作点亮LED,适合初学者,感谢下载-51 microcontroller source, SFR address operational lit LED, suitable for beginners, thanks for download
Platform: |
Size: 16384 |
Author: 丁付俊 |
Hits: