搜索资源列表
avr+cp2200_source
- m16+cp2200组成的网络接口。 m16使用内部RC振荡8M,如果要提高主频,请注意修改模拟总线读函数。 cp2200模块使用www.icdev.com.cn的,更改pin44连接VCC,即总线复用方式,地址数据复用。 软件编写使用avrstudio4.12+sp4+winavr(avrstudio自带的winavr嵌入方式)。 硬件连接: m16 | cp2200 PORTA | AD0-7 PB0 | RST PB1 | CS PB2 | RD P
uart_test_msp430
- This a simple hardware UART test program. It receives text lines over the serial port and writes back a status msg with length and contents of the buffer.-This a simple UART hardware test program . It receives text lines over the serial port and
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
9.17
- 1.串口中断允许自动接收总线上的信息,当接收的字节后超过3.5个字节时间没有新的字节认为本次接收完成,接收完成标志置1 如果接收完成标志已经置1又有数据进来则丢弃新来的数据。 2.串口接收数据的处理, 当接收完成标志置1进入接收数据处理, (1)首先判断接收的第一位数据与本机地址是否相同,如果不相同清空接收缓存不发送任何信息 (2)接收的第一位数据与本机地址相同,则对接收缓存中的数据进行crc16校验,如果接收的校验位与本校验结果不相同清空接收缓存不发送任何信息;(3)如果crc16校验正