ASKdecoder

所属分类:单片机开发
开发工具:C/C++
文件大小:1KB
下载次数:19
上传日期:2006-12-04 10:04:04
上 传 者hrbjty
说明:  通用ASK信号解码接收程序 1. 接收数据位数最多为40(5*8)位. 2. 由定时器对time进行渐增,在TCC中断程序中加入"INC TIME". 3. 宽脉冲最大允许时间和最小允许时间的计算方式: 脉冲允许时间=TCC 中断时间(us)*设定数据 4. 在接收到完整的数据后建立rx_data_ok标志. 5. 该子程序由主程序调用. 6. 数据格式:rx_data5.7为最高位,rx_data1.0为最低位. 7. 主程序在收到完整的数据后应清空接收数据缓冲区后,才能调用再次接收.
(General ASK signal decoder to receive a procedure. The median receive data up to 40 (5* 8) spaces. 2. From Timer right time for incremental, TCC interruption in the process of accession to the "TIME INC.." 3. Pulse width and the maximum allowable time to the minimum allowed time formula : Pulse allow time = TCC interruption time (us)* 4 data set. When the integrity of the data after the establishment of rx_ data_ok signs. 5. The subroutine call by the main program. 6. Data formats : rx_data5.7 highest spaces rx_data1.0 minimum spaces. 7. in the main program received complete data should be emptied after receipt of the data buffer can be called again to receive.)

文件列表:
ASKdecoder.c (3970, 2006-12-04)

近期下载者

相关文件


收藏者