搜索资源列表
I2C应用程序
- This code implements the basic functions for an I2C slave device using the SSP module. All I2C functions are handled in an ISR. Bytes written to the slave are stored in a buffer. After a number of bytes have been written, the master device can then r
SPI_TEST
- This version of the code is compatible only with the AT89C2051 due to the location of the data buffer and stack in RAM. The code may be modified to work with the AT89C1051 by relocating or resizing the buffer and stack to fit into the small
c51jing
- 实现pc机键盘(p/s2接口)与8位单片机连接使用 原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上 每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来 传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验) 1位结束位(1) 实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键 缺点:由于51单片机的容量有限所以缓冲区不可
AT24CXX
- NAME Control_AT24Cxx This collection of routines allows an AT89C2051 microcontroller to read and write the AT24Cxx family of serial CMOS EEPROMS. This version of the code is compatible only with the AT89C2051 due to the location of the
RingBuf
- 51环形缓冲区代码,能有效提高缓冲区操作,读写指针分离,互不干扰-51 circular buffer code, can effectively improve the buffer operation, read and write pointer separation, non-interfering
TFTDriverNew_V2
- TFT液晶屏驱动模块Verilog源码。实现方法:XC95288+K6R4008,K6R4008主要用作帧缓冲区,此模块仅支持256色-TFT LCD driver module Verilog source code. Realization: XC95288+ K6R4008, K6R4008 mainly used as a frame buffer, this module only supports 256 colors
STC_RFID_Src
- 采用STC89C52单片机做控制器完成对读卡芯片MFRC500的驱动.在keil开发环境下实现. 提供稳定可靠的关于射频卡操作的C51源代码,可以嵌入到各种系统中。这些函数包括:初始化寻卡、防冲撞、选卡、转换密钥匙格式、传送密钥、验证密钥、读卡、写卡、扣款和 充值、调钱包到缓冲区、备份缓冲区中的钱包、卡休眠、启动天线发射、关闭天线发射。-To do with STC89C52 SCM reader controller chip MFRC500 complete the drive. Kei
bufferOverflow
- 缓冲区溢出原理 缓冲区溢出的过程 代码植入技术 实例:ida溢出漏洞攻击 缓冲区溢出的防御 缓冲区溢出实验 溢出对象CCProxy 6.2 war-ftp1.65 3CTftpSvc2.0.1 调试工具: CDB/NTSD/WinDbg-Principles of buffer overflow buffer overflow code into the process of technical examples: ida overflow buff
24C_EEPROM
- 一个通用的24C01-24C256共9种EEPROM的字节读写操作程序,此程序有五个入口条件,分别为读写数据缓冲区指针,进行读写的字节数,EEPROM首址,EEPROM控制字节,以及EEPROM类型。此程序结构性良好,具有极好的容错性,程序机器码也不多。-A generic 24C01-24C256 total of nine kinds of EEPROM byte read and write operating procedures, this procedure has five ent
anjian
- 做一个扫描键盘和数码显示实验,把按键输入的键码在六位数码管上显示出来。 实验程序可分成三个模块: ①键输入模块:扫描键盘、读取一次键盘并将键值存入键值缓冲单元。 ②显示模块:数码管显示键值。 ③主程序:调用键输入模块和显示模块 -A keyboard and digital display scanning experiment, the key input in the key code on the six digital tube display. Experiment
scanning
- (1. 动态扫描方法 动态接口采用各数码管循环轮流显示的方法,当循环显示频率较高时,利用人眼的暂留特性,看不出闪烁显示现象,这种显示需要一个接口完成字形码的输出(字形选择),另一接口完成各数码管的轮流点亮(数位选择)。 (2. 在进行数码显示的时候,要对显示单元开辟8个显示缓冲区,每个显示缓冲区装有显示的不同数据即可。 (3. 对于显示的字形码数据我们采用查表方法来完成。 -(1. Dynamic Dynamic interface scanning method use
SCM6digitalcontrolelectronicclockprogram
- 显示缓冲单元在70H—75H,70H—71H显示秒,72H—73H显示分,74H—75H显示时 时间计数单元在70H—71H(秒)、76H—77H(分)、78H—79H(时),7AH单元放熄灭符(#0AH) 计数单元采用BCD码计数,定时器T0设置为50MS溢出中断,为秒计数用, 定时器T1为调整时闪烁用 P3.2为调整按钮,P0口为字符输出口,P2.1-P2.6为位控制口-采用共阳显示管。 -Display buffer unit in the 70H-75
USBCOMM
- USB通讯源代码,在XP下编译测试通过,通过Buffer读写实现-USB communication source code, compiled in the XP test, reading and writing achievement through Buffer
Study_IR_Remote_Control
- 资料包含源码,硬件图,红外相关资料等,本学习型红外遥控器,通过学习一次遥控器的编码,即可脱离原遥控器来遥控电器或者设备,源码很完整,严格测试过,不过由于C52的单片机RAM有限,编码缓冲区长度有限,而不同的遥控器的编码长度也不相同,对于像空调遥控器编码比较长的就会出现学习不了的情况,必须要加外部RAM作为接收缓冲区,或者换用STC的单片机,内部的RAM比较大,不用扩展,用STC还有好处就是不需要外部的eeprom来保存读取的编码,而C52需要用外部的EEPROM来保存编码,这个源码实用的AT24
ValuRang
- This book describes a static analysis that aims to prove the absence of buffer overflows in C programs. The analysis is conservative in the sense that it locates every possible overflow. Furthermore, it is fully automatic in that it requires no user
uart
- Also the USART automatically senses the start of transmission of RX line and then inputs the whole byte and when it has the byte it informs you(CPU) to read that data from one of its registers. The USART of AVR is very versatile and can be setup
2
- 将一个字节BCD码转换为两个ASCII码 例如10H变成30H和31H 结果放在缓冲区中-BCD code to convert a byte into two ASCII codes such as 30H and 31H 10H into results on the buffer
RENJIJIAOHU
- 利用实验箱提供的键盘扫描电路和显示电路,做一个扫描键盘和数码显示实验,把按键输入的键码在六位数码管上显示出来 实验程序可分成三个模块。 ① 键输入模块:扫描键盘、读取一次键盘并将键值存入键值缓冲单元。 ② 显示模块:将显示单元的内容在显示器上动态显示。 ③ 主程序:调用键输入模块和显示模块。 -Experimental box provided by the keyboard scanning circuit and display circuit, do a scan ke
tmacV1
- TMAC system V1.0 TMAC profi bus dokumentary, code in C for AVR, buffer, fram, main, spi, uart
TEMPONLY
- 本程序用汇编语言编写,为AT89C2051数字式温度计的控制程序。程序一直读取温度值,经过公式转换后存在缓冲区内,当串行端口传来读取温度的ID时,程序就会把已经转换成ASCII码的温度值送出。-The program is written in assembly language, control procedures for the AT89C2051 digital thermometer. The program has been to read the temperature value