搜索资源列表
DISP
- /*用rtos编写LED数码管显示程序,其中有用于计算的程序*/ /*另加LED流水灯*/ //须加入conf_tny.a51将周期数改为1000(原为10000),即将报时周期改为1ms,将TimeSharing由5改为1,即将时间片改为1ms /*测试结果:1)可很稳定地显示,LED的闪烁也正常 2)如果将Timer1的定时中断改为1000即1ms发送一次,可以看到LED流水灯速度时显示加快,但同时数码管出现闪烁,系统超载-/* Rtos prepared using dig
c51uart_test
- 单片机C51串口中断接收和发送测试例程(含通信协议的实现)-C51 single-chip serial port receive and transmit interrupt routine test (including the realization of communication protocols)
Timer32BitRTC
- 基于《Stellaris外设驱动库》的例程:定时器32位RTC用法示例(32.768kHz振荡信号从CCP2管脚输入,RTC时钟从UART2输出) 本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。 本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成了16位PWM模式,利用CCP0脚输出频率大致为32768Hz的PWM波,免去了用户外接32
twi_test081108
- 单片机I2C通信。 主机从1到255发一个数,收一个数。从机接收到任何数都返回。 当主机收到的数为0x10时,从零开始发送,主机采用查询方式,从机采用中断方式 -Single-chip I2C communications. Host issued from a 1-255 number, to close a few. Received from any number of aircraft returned. When the number of host 0x10 receiv
UART
- UART中断串口通讯,通过两个外部中断来控制数据的发送-UART serial port interrupt communications, through two external interrupt to control the data sent
sourcefile
- 在Altera公司的Cyclone系列FPGA开发板上试验的按键中断程序,希望对那些学习中断开发的初学者有帮助。 pio_key.v是verilog编写的按键中断程序,对应四个按键,按其中任何一个键都可以发送一个中断; keyint.c是Nios中编写的C程序,用于检测按键的中断,如果检测到中断,会检测是哪个按键按下,从而执行相应的程序! -In Altera' s Cyclone series FPGA development board interrupt key test
Three-wire-asynchronous-serial-communication
- 针对两算机之间串行异步通信问题开展研究,用C语言设计了仅用RXD、RXD、GND三线进行串行通信的程序。该程序通过合理设置INS8250端口的初始状态,发送方采用查询方式,接收方引入中断机制,使三线通信方式得以实现,且硬件连线简单,数据传输波特率可达115200bps的最高极限值。-Computer for the two serial asynchronous communication between the research problem, using C language design
test2
- MSP43022x2串口通信C程序,发送接收均采用中断形式-MSP430X22X2 to RS232
mcucom
- 利用方式1实现单片机双机通信,主频为6M,波特率为2400bps,电路见图5-10。当两个单片机距离较近时,甲、乙两机的发送端与接收端分别直接相联,两机共地。执行程序,甲机将亮灯信号发送给乙机,若通信正常,乙机接收到信号后点亮20个发光二极管。乙机采用查询与中断两种工作方式。当然20个LED乙机可单独控制,也可接受甲机的控制,并执行甲机指令,还需要进一步完善程序. 甲机发送程序:-Use to achieve a single-chip dual-machine communications
AT89S51GSM
- 用单片机C51串口来接收和发送GPS数据到指定服务器,可以用来测试51单片机的中断接收 --80C51 Serial reception (suspended) and send routines can be used to test 51 SCM interrupt reception
tongxin-chuankou
- 单片机C51串口中断接收和发送测试例程(含通信协议的实现)-C51 single-chip serial port receive and transmit interrupt routine test (including the realization of communication protocols)
comrxtx
- 本程序是在DOS环境下实现TURBOC串口编程。其主要功能是实现中断接收功能和发送功能-This procedure is in the DOS environment to achieve TURBOC serial programming. Its main function is to achieve the interruption of receiving and sending functions
51singlechipserialportprogram
- 51单片机的串口中断演示程序,发送的字符可以在液晶屏上显示出来,同时可以接收单片机回送的字符,程序编译后,会出现警告提示,是由于有未调用的函数和有被多个程序调用的函数,在此不影响实验 结果,暂可不用去理会。(可以通过屏蔽未调用的函数和把被多个程序调用的函数设为再入函数来解决)-51 single-chip serial port interrupt demo program, sending the characters can be displayed on the LCD screen,
SCI_interrupt_over
- 定时发送数据到上位机,采用中断形式,此程序可以作为sci硬件电路的测试程序。-From time to time to send data to a PC using the form of interruption, this process can serve as a sci hardware testing procedures.
51COM
- 51单片机串行通讯程序,包含发送接收以及中断程序-51 single-chip serial communication procedures, including the interruption of the procedure to send and receive
C8051
- C8051F系列单片机串口通讯程序,串口编程--接收PC发来的字符串,回发字符串.发送期间中断控制LED灯闪烁-C8051F series single-chip serial communication program, serial programming- PC sent to receive the string, back-fat string. Sent during the interruption of control blinking LED lights
p18f248deCAN
- 本程序为CAN,实现缓冲器之间的发送与接收自测试模式,其中接收采用中断方式-This procedure for the CAN, the realization of buffers to send and receive between the self-test mode, which used to receive interrupt
LSD-TEST430F5438-01-CRC1.c
- ** 串口初始化顺序: ** 1、置位UCSWRST ** 2、配置UCAXCTL0、UCAXCTL1 ** 3、波特率设置 ** 4、使能接收或发送中断-** Initialize serial order:** 1, Set UCSWRST** 2, configuration UCAXCTL0, UCAXCTL1** 3, the baud rate settings** 4 so that it can receive or send interrupt
USART_array
- 基于ATMEGA8单片机,用中断实现串口接收数组和发送数组-ATMEGA8-based microcontroller, with interruption of the realization of the array to receive and send serial array
AVRtongxun
- 一个m8的多机通讯例子,也适合m16,只需要修改头文件就可以了 通讯规则: 1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/ 2:通讯连接采用硬件MAX485,双向单工 3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量) 4:每个上行/下行的数据包都采用CRC8校验 5:数据接收采用中断+查询的方式 6:总是由主机向从机发送一个数据包,从机收到数据包后向主