Description: PWM控制输出电压由于该程序所需完成的功能比较简单,设计时采用了简单的前后台组织结构:后台程序(主程序)在非通讯状态时工作,完成各项数据的采集和预处理,并标准化至通讯协议所规定的格式。这一过程不停进行,随时提供最新数据;前台程序(中断服务程序)在接收到来自控制器的命令时启动。它对命令加以识别,并按要求向控制器传送相应数据或对数据进行解析执行。该程序的流程示意如图-PWM output voltage control due to the completion of the procedures required for the function of a relatively simple design, a simple organizational structure around Taiwan : background (main program) in non-state communication, complete data acquisition and pre-processing, and standardized communication protocol to the format provided. This process conducted on a continuous basis and provide the latest information; Prospects (interrupt service routine) from the receiving controller to activate the orders. It ordered to be identified, together with a request to the controller or corresponding data transmission for data analysis implementation. The indicative of processes figure Platform: |
Size: 7169 |
Author:李洪涛 |
Hits:
Description: PWM控制输出电压由于该程序所需完成的功能比较简单,设计时采用了简单的前后台组织结构:后台程序(主程序)在非通讯状态时工作,完成各项数据的采集和预处理,并标准化至通讯协议所规定的格式。这一过程不停进行,随时提供最新数据;前台程序(中断服务程序)在接收到来自控制器的命令时启动。它对命令加以识别,并按要求向控制器传送相应数据或对数据进行解析执行。该程序的流程示意如图-PWM output voltage control due to the completion of the procedures required for the function of a relatively simple design, a simple organizational structure around Taiwan : background (main program) in non-state communication, complete data acquisition and pre-processing, and standardized communication protocol to the format provided. This process conducted on a continuous basis and provide the latest information; Prospects (interrupt service routine) from the receiving controller to activate the orders. It ordered to be identified, together with a request to the controller or corresponding data transmission for data analysis implementation. The indicative of processes figure Platform: |
Size: 7168 |
Author:李洪涛 |
Hits:
Description: 网络高性能服务器编写时采用的完成例程模型的讲解代码-High-performance network servers used in the preparation of the completion of routine model to explain the code Platform: |
Size: 134144 |
Author:王皓 |
Hits:
Description: 本人在调试步进电机项目中用来调试2812片内adc的代码,eva启动,定时器1周期中断,包含寄存器初始化和中断服务程序代码,两个通道采样,可以正常进入中断并完成采样,花了1周时间调通的-Stepper motor I debug the project in 2812 for debugging adc code, eva start a cycle timer interrupt, including the register initialization code and interrupt service routine, the two-channel sampling, can interrupt the normal access to and completion of sampling spent 1 week' s time to tune Platform: |
Size: 270336 |
Author:常迪 |
Hits:
Description: 利用winsock重叠模型实现服务器(分别用事件驱动和完成例程),通过阻塞IO的简单客户端进行收发消息测试,服务器在接收客户端链接后给客户端发送“welcome”消息,之后每收到客户端的消息就把消息显示在标准输出,并给客户端发送“ACK"消息。-this is a server using winsock overlapped mode,including event driven and completion routine. Platform: |
Size: 7478272 |
Author:wayne |
Hits:
Description: 18b20单点温度检测和多点温度检测,及相关资料,还有仿真,例程程序说明,主机和从机通讯完成温度传输-18b20 single point temperature measurement and multi-point temperature measurement, and related information, as well as simulation, routine description of the procedures, the completion of master and slave communication transmission temperature Platform: |
Size: 2070528 |
Author:lxt |
Hits:
Description: 利用单片机定时器完成计时功能,定时器0计时中断程序每隔0.01s中断一次并当作一个计数,设定定时1秒的中断计数初值为100,每中断一次中断计数初值减1,当减到0时,则表示1s到了,秒变量加1,同理再判断是否1min钟到了,再判断是否1h到了-Completion time using MCU timer functions, Timer 0 interrupt timer interrupt routine once every 0.01s, and as a counter, set the timer interrupt 1 second count initial value of 100, an interrupt for each interrupt initial count minus 1, when reduced to 0, then the 1s to, plus a second variable, then Similarly, to determine whether the clock 1min, 1h and then determine whether to Platform: |
Size: 1504256 |
Author:紫兰葵 |
Hits:
Description: 1、主程序:完成初始化工作,控制程序的走向。
2、中断服务子程序:完成显示方式的改变。
3、左移显示子程序:实现彩灯的左移显示。
4、右移显示子程序:实现彩灯的右移显示。
5、花样显示子程序:实现彩灯的花样显示。
6、10ms延时子程序:延时10ms,实现按键软件消抖。
7、0.5s延时子程序:延时0.5s。-1, the main program: completion of initialization, control program direction. 2, the interrupt service routine: to display the changes. 3, the left display routines: towards the left lantern display. 4, the right display routines: to achieve the right lantern display. 5, the pattern display routines: to achieve the synchronized lights display. 6,10 ms delay subroutine: delay 10ms, to achieve key software debounce. 7,0.5 s delay subroutine: delay 0.5s. Platform: |
Size: 3072 |
Author:li |
Hits:
Description: windows网络通信IO模型
1、 参考SelectServerDemo理解select模型原理及过程。
2、 参考WSAEventSelectServerDemo理解WSAEventSelect模型原理及过程。
3、 参考OverlappedEventServerDemo1理解Overlapped I/O事件通知的原理及过程。注意这个Demo只实现了使用重叠接收信息。
4、 参考OverlappedCompletionServerDemo2理解Overlapped I/O完成例程的原理及过程。注意这个Demo只实现了使用重叠接收信息。
-windows network traffic IO model, reference SelectServerDemo understanding of select model principle and process. 2, reference WSAEventSelectServerDemo understand the principle and process of WSAEventSelect model. 3 Reference OverlappedEventServerDemo1 understand the principle and process of the Overlapped I/O event notification. Note that this Demo only the use of overlapping receive information. 4 the reference OverlappedCompletionServerDemo2 understand Overlapped I/O completion routine of the principle and process. Note that this Demo only the use of overlapping receive information. Platform: |
Size: 39936 |
Author:任建宇 |
Hits:
Description: 串口中断服务程序,仅需做简单调用即可完成串口输入输出的处理,出入均设有缓冲区,大小可任意设置 芯 片: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 Platform: |
Size: 2048 |
Author:尹风 |
Hits:
Description: 完成例程重叠IO服务端代码,是我以前学习socket的很好的参考代码-Overlapping IO completion routine server-side code, I had to learn socket is a good reference code Platform: |
Size: 33792 |
Author:魏雷 |
Hits: