机构地区: 电子科技大学中山学院
出 处: 《微计算机信息》 2009年第14期22-23,26,共3页
摘 要: 嵌入式控制器常有两种开关功能需求:希望开关键响应按键操作迟钝些,即按下几秒后才认为按键操作有效;还有种需求是在设备关闭过程做一定的判断或处理,这类关机操作一般使用软件控制实现关机。本文针对嵌入式控制器开关机功能的两种需求给出了整套较为实用的方案,即:实现单键长按开关功能、程控关机功能接口。 Embedded controller often have two kinds of switch function requests: hoping switch key responds to a key operation slowly, and realizing power-off operation by software control. This paper aims at the two kinds of needs of portable instrument switch function to give a whole practical scheme, the long press switch function, and programmed power-off interface.
领 域: [自动化与计算机技术] [自动化与计算机技术]