Unlock instant, AI-driven research and patent intelligence for your innovation.

High-efficiency quick key scanning method

A scanning method and high-efficiency technology, which is applied in the field of button scanning, can solve the problems of affecting the response speed, slowing down of input control, and slowing down of button response, so as to achieve the effect of improving operation speed, fast response, and improving response speed

Active Publication Date: 2015-11-18
长沙市博芯微电子科技有限公司
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When a button is pressed, it will feed back a low level to the MCU. The MCU can judge the status of the IO port only by reading the level once. Low level, because the hand will shake slightly, resulting in multiple high-low level changes when the button is pressed at the beginning. If the shaking is not eliminated, it will respond to multiple button operations, resulting in MCU judgment errors
[0003] There are roughly two existing key scanning methods: the first is that the key scanning module directly obtains the key scanning result after scanning the key state for many times, and the MCU can obtain the key scanning result every time the key scanning module is called. The scanning method responds faster to the button, but it takes a long time to run the MCU program, which affects the response speed of the MCU to other subroutines, causing other input controls to slow down, and consumes a lot of power; The scanning module, the button scanning module detects the key state once, and then exits after the button scanning module detects once, until the MCU is called again, and the button scanning result can only be obtained after multiple calls; this method takes up less running time of the MCU due to the button scanning, by This can improve the MCU's response speed to other controls, but it will slow down the key response and affect the input efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-efficiency quick key scanning method
  • High-efficiency quick key scanning method
  • High-efficiency quick key scanning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings. The description in this part is only exemplary and explanatory, and should not have any limiting effect on the protection scope of the present invention. .

[0031] Such as Figure 1-4 Shown, the structure connection relation of the present invention is: a kind of high-efficiency fast key scanning method, it comprises MCU main control module and the key matrix connected with it, described MCU main control module is provided with key value update reading module, Its input end is connected with the key matrix and the storage module, and the output end is connected with the key processing module, the cache module, the debounce reading module, and the debounce processing module; the cache module is connected with the key value analysis module; the debounce read...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a high-efficiency quick key scanning method. The high-efficiency quick key scanning method comprises an MCU main control module and a key matrix connected with the MCU main control module; an updated key value reading module is configured in the MCU main control module, an input end of the updated key value reading module is connected with the key matrix and a storage module, and an output end of the updated key value reading module is connected with a key processing module, a caching module, a de-jittering reading module and a de-jittering processing module; the caching module is connected with a key value analyzing module; an output end of the de-jittering reading module is connected with an input end of the key value analyzing module; the de-jittering reading module is connected with the key matrix; the key value analyzing module is connected with the key processing module and the de-jittering processing module; an input end of the de-jittering processing module is connected with the storage module and the de-jittering reading module; the storage module is connected with the key processing module; the key processing module is connected with an execution module. According to the high-efficiency quick key scanning method, the key scanning speed can be quickly increased, the MCU processing time is shortened, the power consumption is reduced, the key reaction speed is increased, the working efficiency is improved, and the service life of a key scanning apparatus is prolonged.

Description

technical field [0001] The invention relates to the technical field of button scanning, in particular to a high-efficiency and fast button scanning method. Background technique [0002] When a button is pressed, it will feed back a low level to the MCU. The MCU can judge the status of the IO port only by reading the level once. Low level, because the hand will shake slightly, resulting in multiple high-low level changes when the button is pressed at the beginning. If the shaking is not eliminated, it will respond to multiple button operations, resulting in MCU judgment errors. [0003] There are roughly two existing key scanning methods: the first is that the key scanning module directly obtains the key scanning result after scanning the key state for many times, and the MCU can obtain the key scanning result every time the key scanning module is called. The scanning method responds faster to the button, but it takes a long time to run the MCU program, which affects the res...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H03M11/20
Inventor 涂柏生朱锌铧周德贵
Owner 长沙市博芯微电子科技有限公司