搜索资源列表
9.17
- 1.串口中断允许自动接收总线上的信息,当接收的字节后超过3.5个字节时间没有新的字节认为本次接收完成,接收完成标志置1 如果接收完成标志已经置1又有数据进来则丢弃新来的数据。 2.串口接收数据的处理, 当接收完成标志置1进入接收数据处理, (1)首先判断接收的第一位数据与本机地址是否相同,如果不相同清空接收缓存不发送任何信息 (2)接收的第一位数据与本机地址相同,则对接收缓存中的数据进行crc16校验,如果接收的校验位与本校验结果不相同清空接收缓存不发送任何信息;(3)如果crc16校验正
stm32i2c
- STM32下I2C查询方式数据收发,避免因中断内数据处理时间不确定造成的不好调试等问题-stm32 i2c
20088012KeyBorad
- MSP430单片机的键盘程序。提供了两种方法响应键盘,分别是依次查找法和中断法。能够处理16个按键。-MSP430 microcontroller keyboard program. Provides two ways to respond to the keyboard are sequentially search method and interrupt method. Capable of handling 16 keys.
rx
- MEGA128串口接收程序,此程序可以对MEGA128串口接受中断进行处理,并从BUFFER里面把数据取走。-The MEGA128 receiver program, this program can MEGA128 serial interrupt is accepted for processing, and the data is removed from BUFFER inside.
coed1
- 由DS18B20实现对温度的采集;由ZLG7290做人机对话平台,驱动数码管显示温度值;利用单片机的P1(8位)和P3(部分口线)构造系统。对采集到的温度使用查表法进行数据处理,整数部分为两位,小数部分为四位。将采集到的温度与温度设定值比较,若高于上限报警使用中断方式驱动蜂鸣器发声。键盘设定报警值使用12个按键来控制,s0~s9对应0~9一共十个数码,s11为设定响应键,只有按下s11才会进入按键设定程序,否则不会响应。S12为确定,用于温度设定之后返回。-Achieve DS18B20 tem
HyperTerminal_Interrupt
- STM32评估板进行COM1通信的程序,演示了如何进行收发处理以及基本中断的处理-This example provides a descr iption of how to use the EVAL_COM1 Transmit and Receive interrupts to communicate with the hyperterminal.
7
- FIFO 存储器CY7C419读写程序,FIFO写满触发外部中断0,FIFO读完触发外部中断1,竟如中断服务程序后进行相应处理,保证FIFO读写的正常运行。-The FIFO memory the CY7C419 reader program FIFO filled trigger external interrupt 0 FIFO after reading triggered external interrupt 1, Jing Ru interrupt service routine an
waibuzhongduan
- 单片机外部中断,包括如何打开中,如何在中断函数中处理数据-failed to translate
ECT_input-capture
- 辒入捕捉(IC):当某个被测信号的设定边沿到来时,辒入捕捉逻辑立即将自由定时器 (TCNT)的内容捕捉到16位的IC/OC寄存器中,并设置中断请求标志,随后软件可以响应中 断或者根据标志做出处理。 -Wen Capture (IC): When the arrival of a set of measured signal edge, Wen input capture logic immediately free timer (TCNT) content capture 16-bi
xinhaofashengqi
- 采用编程的方法来实现三角波、锯齿波、矩形波、正弦波的发生。根据设计的要求,对各种波形的频率和幅度进行程序的编写,并将所写程序装入单片机的程序存储器中。在程序运行中,当接收到来自外界的命令,需要输出某种波形时再调用相应的中断服务子程序和波形发生程序,经电路的数/模转换器和运算放大器处理后,从信号发生器的输出端口输出-Programming method to achieve the triangle wave, sawtooth, square wave, sine wave occurred.
PS2
- 采用89C52,做PS2 读电脑键盘实验,使用方法: 用外部中断读取PS2键盘的数据 并在数码管上显示,此程序只处理数字键盘。-Using 89C52, do PS2 read computer keyboard experiments, use: external interrupt data read PS2 keyboard and digital display, this procedure only handle numeric keypad.
dspic33fj64mc710a
- 使用同时采样对 6 个输入进行采样,采样数据存储于DMA缓冲区中,最后通过DMA中断进行数据处理。-Sampling six inputs using simultaneous sampling,data save to DMA buffer.
test18b20
- 由于DS18B20是单线操作,所以必须严格遵守它的时序要求才能正常与之建立联系并实现读写操作。 网上见到的多是程序多是在主程序中以延时的方式实现,而且要求关中断,以实现18B20对时序的要求。但是实际应用中,测温操作一般是作为辅助动作,主要任务是通信及数据处理等其他操作,这样一来,如果将DS18B20的程序代码放在主程序中,势必影响其他需要实时处理的中断。 前些天玩到DS18B20,就尝试以51定时中断的方法实现DS18B20时序,在面包板上成功跑了起来。 用的
ex1
- AT89S52单片机,基于c语言,独立按键的应用,包括CPU控制的按键扫描实验,按键加1数码管显示,按键可调节的电子时钟,定时中断控制的按键程序,独立式键盘的按键一键多功能程序,独立式键盘控制的4级变速流水灯,无消抖处理的按键程序,消抖处理的按键程序。-AT89S52 microcontroller, based on the C language, application independent key, including the key scanning experiment of CPU
yinyuebofang
- 定时器控制 定时播放优美音乐。包含定时器中断函数、音乐处理函数。-Timer control timing play beautiful music. Contains the timer interrupt function, music processing functions.
485Modlbus
- 标准的485Modbus通信的驱动程序,包括数据的接收发送,都在中断中处理-485Modbus standard communication driver, including the transmission and reception of data are processed in the interrupt
LED-S1234
- 基于STC89C52单片机实现中断LED数码管显示及处理的程序,适合初学值使用-Based STC89C52 MCU interrupt LED digital display and processing procedures, suitable for beginners to use the value
uart_rec_send
- 串口中断服务程序,仅需做简单调用即可完成串口输入输出的处理,出入均设有缓冲区,大小可任意设置 芯 片:AMEGA16-Serial interrupt service routine, just make a simple call to the completion of serial input and output, have access to the buffer size can be set chip: AMEGA16
MSP430G2553
- MSP430G2553用户手册中文,MSP430 具有一种运行模式及5 种可利用软件来选择的低功耗操作模式。一个中断事件能够将器件从任一低功耗 模式唤醒、处理请求、并在接收到来自中断程序的返回信号时恢复至低功耗模式。-MSP430G2553 User Manual Chinese, MSP430 has one mode of operation and the five kinds of software can be used to select a low-power operatin
STC51MCU-and-IO
- 51单片机例子程序,包含常见的51单片机的LED灯驱动、按键处理、中断系统编程、串行通信编程、LCD液晶驱动等-51 single examples of procedures, including 51 single common LED lamp driver, keys, interrupt system programming, serial communication programming, LCD liquid crystal drivers, etc.