定时器3中断服务程序 void Timer3_ISR
软件分为五块:主程序中的初始化模块、换相子程序模块、电流调节、速度调节子程序模块,定时器中断程序模块。
The system software involves five main modules: initialization module, phase-changing module, current-regulating module, speed-regulating module and timer interrupt module.
本文通过分析通用异步通信器件的工作原理,给出了一种利用单片机的定时器中断程序实现异步通信的方法,并在实际工程项目中得到了应用。
Based on the principle of UART, a software method has been presented for asynchronous communication by using interrupt program of timer, and has been implemented in an application project.
在硬件设计的基础上,文中对系统软件设计中的检测主程序、A/D转换子程序、定时器A中断子程序和液晶显示子程序的设计进行了系统性介绍。
On the base of the hardware design, this paper introduces the main program, A/D convert subprogram, Timer A abruption subprogram and liquid crystal display subprogram of software systematic.
应用推荐