发明名称 Sensor signal debouncing
摘要 One disclosed method includes retrieving a sensor reading, incrementing a reading change counter and setting a stable reading counter in response to the sensor reading not equaling an immediately previous sensor reading, reporting a sensor reading bouncing error and resetting the reading change counter in response to the reading change counter being greater than or equal to a reading change tolerance, incrementing the stable reading counter in response to the sensor reading equaling the immediately previous sensor reading, resetting the stable reading counter and reading change counter in response to the stable reading counter being greater than or equal to a stable reading tolerance, reporting a state change event and setting the most-recent stable sensor reading equal to the sensor reading in response to the sensor reading not being equal to the most-recent stable sensor reading, and setting the previous sensor reading to the sensor reading.
申请公布号 US2006025960(A1) 申请公布日期 2006.02.02
申请号 US20050238442 申请日期 2005.09.29
申请人 发明人 WALL GARY C.
分类号 G06F15/00;G06F19/00 主分类号 G06F15/00
代理机构 代理人
主权项
地址