期刊文献+

一种嵌入式软件版本信息获取方法设计与实现

Design and implementation of an embedded software version information acquisition method
下载PDF
导出
摘要 为了定位嵌入式设备当前运行软件的版本,设计了一种获取嵌入式软件版本信息的方法,首先设计电路实现按键检测和LED驱动复用IO脚,当IO脚为输入方向时,通过IO状态的读取可以检测按键的按下和弹起状态,当IO脚为输出方向时,可以设置高低电平实现LED的亮灭控制。具体应用时,首先设置IO脚为输入方向,周期检测按键操作,检测到有效的按键按下操作后,当按键弹起时将IO脚设置为输出方向,以PWM的方式驱动LED,通过不同的闪烁频率、间歇时间和闪烁次数进行软件版本的显示。 In order to locate software version on running embedded device,designed a method to extract embedded software version information.First design a circuit multiplex key detection and LED driver on single IO pin,when the IO pin is the input direction,can detect the state of the button press and bounce through the IO state read,when the IO pin is the output direction,can set high and low to achieve LED control.In specific application,first set the IO pin to input direction,detect key operation cyclely,when detects a valid key press operation,after the key is released,set the IO pin to output direction,drive LED in PWM way,display software version by different blink frequency,intermittent time and number of flashes.
出处 《电子设计工程》 2013年第14期154-155,共2页 Electronic Design Engineering
关键词 软件版本 按键检测 管脚复用 PWM software version button detect pin complex PWM
  • 相关文献

参考文献6

二级参考文献9

共引文献22

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部