搜索资源列表
intrins.h
- c51中的intrins.h库函数 _crol_ 字符循环左移 _cror_ 字符循环右移 _irol_ 整数循环左移 _iror_ 整数循环右移 _lrol_ 长整数循环左移 _lror_ 长整数循环右移 _nop_ 空操作8051 NOP 指令 _testbit_ 测试并清零位8051 JBC 指令
LCD12864
- 12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e =P2^2 BYTE code dis[]={\"www.zansi.com\"} delay(BYTE ms) {
C16bit
- 单字右移1616点阵右移C程序16bit #include<reg51.h> #include<intrins.h> sbit DAT=P1^0 /*\"74hC595第14脚 数据 \",0*/ sbit YW=P1^1 /*\"74hC595第11脚 移位存 \",0*/ sbit SUO=P1^2 /*\"74hC595第12脚 锁存 \",0*/
T100_Simple_PVI8
- #include \"REG51.h\" #include <intrins.h> #include \"Common.h\" //#include \"Remote.h\" #define OSD_EN //typedef unsigned char uChAR //#include \"T100Data_A.h\" //#include \"T100Data_PA.h\" //#include \"T100Data_AU.h\"
wuxian
- #include <stc12c2052AD.h>// 标准库的头文件 #include <intrins.h> #include <absacc.h> #define uchar unsigned char #define uint unsigned int
51密码锁
- 51密码锁 #include #include"intrins.h" #include"key.h" #include"xsh.h" #include"24c02.h" #define ulong unsigned long bit BJCB=0;//报警标志 XG=0,//修改密码标志位 BJ=0,//报警标志位 SJ=0;//锁键盘标志位
DS18B20+1602液晶高精度温度计
- DS18B20+液晶1602构成的高精度温度计 ;连线图: ; DB0---DPROT.0 DB4---DPROT.4 RS-------------P1.2 ; DB1---DPROT.1 DB5---DPROT.5 RW-------------P1.3 ; DB2---DPROT.2 DB6---DPROT.6 E--------------P1.4 ; DB3---DPROT.3 DB7---DPROT.7 VLCD接10K可调电阻到GND* DQ----P1.1 ;功能说明:1602液
W29C040.rar
- W29C040(512K FLASh)读写程序2007-09-10 11:16很是激动,去年用AT89S52捣弄了半年也没搞定,这次换成C8051f040,也不知道是天见我可怜还是狗运,终于把数据写进去了。想当时到处找的程序都没用,郁闷非常,这次走运成功,拿出来晒晒太阳(虽然也是该的别人的程序,但是好歹能用)。 /*W29C040(512K FLASh)读写程序*/ #include <c8051f040.h> #include <intrins.h>
hc595.rar
- 74hC595 的驱动。任意3IO即可 /************************************************************* IC :AT89S52 晶振:12Mhz 硬件:1片 hC595 *************************************************************/ #include<intrins.h> sbit send595=P2^7 //send data to 5
NRF905
- 带有DS18B20数字温度传感器的用作发射数据的nRF905无线数传模块,右边为用作接收数据的nRF905数传模块,其中的单片机可以通过串口和电脑相连,上传数据。-#include <at89x52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int #define WC 0x00 // Write configuration regi
shumg
- 数码管动态显示,菜用#include<intrins.h>头文件,才有右移的方式。控制数码管动态显示更灵活,方便 -Digital tube dynamic display, vegetable# Include
C51
- /*这是我用C语言编的第一个程序,编译通过,下载到单片机里能够正常运行,我非常高兴,对我来说有纪念价值*/ -#include <reg51f.h> #include <intrins.h> #include <math.h> sbit P2_0=P2^0 bit FLAG=0 char m,ptr=0 static const char tab[16]={0x01,0x02,0x03,0x0c,
lcd1602
- sbit DS1302_CLK = P3^4 //实时时钟 线引脚 sbit DS1302_IO = P3^3 //实时时钟数据线引脚 sbit DS1302_RST = P3^5 //实时时钟复位线引脚-#include <REG51.h> #include <intrins.h> //#include "LCD1602.h" //#include "DS1302.h" #define uint unsigned int #defi
serial_port
- 万能51串口通信例程 直接设置参数就可以使用,不需要再编写通信函数-serial_port.c#include <REG52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int
intrins
- 在C 5 1 单片机编程中,头文件I N T R I N S.h 的函数使用起来,就会让你像在用 汇编时一样简便。-Microcontroller programming in C 5 1, the header file intrins. h function to use, it will let you, as in use When compiled as easy.
1602_Diver
- #include<reg51.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int #define busy 0x80 #define DATAPORT P1 //数据端口 sbit RS=P3^5 sbit RW=P3^6 sbit ENABLE=P3^7 code char example[]="Waitting for yo
24c256_Diver
- #include <reg52.h> #include <intrins.h> #define ERROR 10 //允许出错次数 sbit SDA=P3^3 sbit SCL=P3^4 sbit LED=P1^7 enum eepromtype {AT2401,AT2402,AT2404,AT2408,AT2416,AT2432,AT2464,AT24128,AT24256} enum eepromtype enumer u
intrins[1].h
- 适合初学者的资料,详细介绍intrins的使用-The information for beginners, detailed the use of intrins
tsl2561
- IIC驱动程序 单片机: STC12C5410AD 主频: 24Mhz include <REGX051.h> // AT89C4051头文件 #include "../inc/STC12C5410AD.h" // AT89C4051头文件 #include <intrins.h> // 系统调令头文件 #include "def.h" // 类型定义文件 #include "config.h" // 配置头文件 #incl