数字控制系统软件设计,包括DSP中断服务子程序和CPLD逻辑控制。
The design of digital control system includes DSP interrupt service routine and CPLD logic control.
中断服务子程序内容:灯全部熄灭,2 秒钟后发光二极管全部点亮,再过 1 秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
分析了系统软件的功能,采用模块化软件设计方法,设计了控制系统主程序、中断服务程序以及子程序。
After analysis the function of system software, main program, interrupt service program and subroutine were designed use modeling develop ways.
应用推荐