Keyboard matrix pagerank method based on Boolean process

A keyboard matrix and secondary processing technology, applied in the input/output process of data processing, electrical digital data processing, coding of keyboard-like devices, etc., can solve problems such as occupying CPU time and reducing CPU work efficiency.

Inactive Publication Date: 2007-07-18
NINGBO TIANAN GRP CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the traditional textbooks of various electronic majors and available literature, the scanning interpretation of the keyboard matrix related to the operation of the MCU single-chip microcomputer is mostly through row-by-row scanning, key-value calculation, return of corresponding key feature quantities, and query. Table and other data processing methods are used for scanning and interpretation. For this reason, it is necessary to set the row value and column value buffer registers to assist in saving the original value when calculating the key value; Processing, the key interpretation process is often performed after the closing key is released and the de-jittering delay is in the middle of the program running; in this way, the scanning and interpretation of the keyboard takes up a lot of CPU time, and at the same time reduces the working efficiency of the CPU

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
  • Keyboard matrix pagerank method based on Boolean process
  • Keyboard matrix pagerank method based on Boolean process
  • Keyboard matrix pagerank method based on Boolean process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in detail below with reference to the accompanying drawings and an embodiment of a method for interpreting a 6*5 keyboard matrix.

[0031] The keyboard matrix interpretation method based on Boolean processing, its process is shown in Figure 1, and the keyboard interpretation steps include the following:

[0032] 1. The step of defining each flag bit; each flag bit involved in the system is defined by using pseudo-instructions, and hereby utilizing the RAM resources that can perform bit operations inside the current MCU single-chip microcomputer; because the definition revealed by the pseudo-instructions is only written In the header file of the source program, the executable object code will not be generated, so the "operation" defined by the flags does not need to be marked in the schematic flow chart of the keyboard matrix scanning and interpretation program in Figure 1;

[0033] 2. Keyboard matrix output line scanning s...

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

This invention relates to a keyboard matrix unscrambling method based on Boolean process including the following steps: defining flag bits, scanning output lines of the keyboard matrix, enquiring if there is a key pressed, enquiring the key to unscramble flag bits, eliminatiung dithering delay, enquiring the level of which port is changed, enquiring which corresponding input port has output scan level to be analyzed by the corresponding operation key and the set key unscrambles the flag bits, which provides a keyboard matrix scan unscramble mode more quickly and accurately.

Description

technical field [0001] The invention relates to a keyboard scanning and interpretation method, in particular to a keyboard matrix scanning and interpretation method based on Boolean processing, which is used for MCU single-chip microcomputers. Background technique [0002] In the traditional textbooks of various electronic majors and available literature, the scanning interpretation of the keyboard matrix related to the operation of the MCU single-chip microcomputer is mostly through row-by-row scanning, key-value calculation, return of corresponding key feature quantities, and query. Table and other data processing methods are used for scanning and interpretation. For this reason, it is necessary to set the row value and column value buffer registers to assist in saving the original value when calculating the key value; For processing, the key interpretation process is often performed after the closing key is released and the de-jittering delay is performed during the progr...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H03M11/20H03M11/00G06F3/023
Inventor 张春峰
Owner NINGBO TIANAN GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products