Summary of the invention
Based on this, it is necessary to provide a kind of and can improve the touch screen scanning method of scanning speed, system and device.
A kind of touch screen scanning method, comprises the following steps: detect whether to receive touching signals, if so,
Then progressively scanning touch screen, obtain touch information, described touch information includes touch-control contact area;
According to described touch-control contact area counting period numerical value, and send signal scanning instruction according to described interval numerical value;
According to the instruction of described signal scanning, described touch screen is carried out signal scanning.
Wherein in an embodiment, described touch screen is progressively scanned, obtain the step of touch information
Including:
Progressively scan described touch screen, obtain scan data;
Described touch information is obtained according to described scan data.
Wherein in an embodiment, described touch information includes position of touch, described sweeps according to described signal
Retouch instruction described touch screen carries out the step of signal scanning to include:
According to described position of touch, described touch screen is divided into progressive scan district and interlacing scan district, described touch-control
Position is positioned at described progressive scan district;
Described progressive scan district is progressively scanned, described interlacing scan district is carried out interlacing scan.
Wherein in an embodiment, described position of touch is positioned at described progressive scan district center.
Wherein in an embodiment, within the default scan period, instruct institute according to described signal scanning
State touch screen circulation and carry out signal scanning, until the described scan period terminates.
Wherein in an embodiment, after receiving described touching signals, touch screen is progressively scanned,
Comprise the following steps before obtaining touch information:
Transmission touch-control is asked;
Progressive scan instruction is sent after receiving the request of described touch-control;It is right to receive after described progressive scan instructs
Touch screen progressively scans, and obtains touch information.
Wherein in an embodiment, described instruction according to described signal scanning carries out signal to described touch screen
Scanning step after further comprising the steps of:
Judge whether to scan touching signals;The most then return described according to described signal scanning instruct to institute
State touch screen and carry out the step of signal scanning;
If it is not, then judge whether to receive to cease and desist order, ceasing and desisting order if not receiving, returning described to touching
Touch screen to progressively scan, obtain the step of touch information.
A kind of touch screen scanning system, including:
Detection module, for detecting whether receive touching signals, the most then sweeps touch screen line by line
Retouching, obtain touch information, described touch information includes touch-control contact area;
Control module, is used for according to described touch-control contact area counting period numerical value, and according to described space-number
Value sends signal scanning instruction;
Scan module, for carrying out signal scanning according to the instruction of described signal scanning to described touch screen.
Wherein in an embodiment, described detection module includes:
Data capture unit, is used for progressively scanning described touch screen, obtains scan data;
Information acquisition unit, for obtaining described touch information according to described scan data.
Wherein in an embodiment, described touch information includes that position of touch, described scan module include:
Zoning unit, for being divided into progressive scan district and interlacing to sweep described touch screen according to described position of touch
Retouching district, described position of touch is positioned at described progressive scan district;
Scanning element, for progressively scanning described progressive scan district, is carried out described interlacing scan district
Interlacing scan.
Wherein in an embodiment, described scan module is within the default scan period, to described touch screen
Circulation carries out signal scanning, until the described scan period terminates.
Wherein in an embodiment, described touch screen scanning system includes:
Touch-control request module, for sending touch-control request after described detection module receives described touching signals;
Instruction module line by line, sends progressive scan instruction after being used for receiving the request of described touch-control;Described detection
Described touch screen is progressively scanned after receiving described progressive scan instruction by module, obtains described touch-control
Information.
Wherein in an embodiment, described touch screen scanning system also includes:
Signal judge module, is used for judging whether to scan touching signals;The most then control described scanning mould
Block again carries out signal scanning to described touch screen;
Stop judge module, for when described scanning judge module does not receives touching signals, it may be judged whether
Receive and cease and desist order, and control described detection module when not receiving and ceasing and desisting order again to described touch
Screen progressively scans, and obtains touch information.
A kind of touch screen scanning means, including touch chip and main control chip, described touch chip passes through bus
It is connected with described main control chip,
Touch screen, for after receiving touching signals, is progressively scanned by described touch chip, and acquisition is swept
Retouch data, and described scan data is sent to described main control chip;It is additionally operable to send out according to described main control chip
The signal scanning instruction sent carries out signal scanning to described touch screen;
Described main control chip is for obtaining touch information according to described scan data, and described touch information includes touching
Control contact area;And according to described touch-control contact area counting period numerical value, and according to described interval numerical value
Send the instruction of described signal scanning to described touch chip.
Wherein in an embodiment, described touch chip includes:
Interface unit, including induction channels and driving passage, described induction channels is felt with going of described touch screen
Answering line to connect, described driving passage is connected with the row line of induction of described touch screen;Described touch chip passes through institute
State interface unit described touch screen is progressively scanned and signal scanning;
Deposit unit, for depositing progressive scan instruction and the signal scanning instruction that described main control chip sends;
Interrupt location, for receiving described progressive scan instruction after trigger interrupt, make described touch screen by
Sleep pattern enters scan pattern.
Above-mentioned touch screen scanning method, after receiving touching signals, progressively scans touch screen, obtains
Taking touch information, wherein touch information includes touch-control contact area;Interval is calculated according to touch-control contact area
Numerical value, and send signal scanning instruction according to interval numerical value;Finally according to signal scanning instruction, touch screen is entered
Row signal scanning.Determine interval numerical value according to the touch-control contact area obtained by progressive scan, i.e. carry out signal
Interval line number during scanning, it is ensured that the accuracy rate of signal scanning, it is to avoid reduce touch screen because of interval scan
Induction precision;Compared with being progressive scan with traditional scanning every time, send signal according to interval numerical value and sweep
Retouch instruction and touch screen is carried out signal scanning, decrease the line number needing scanning, improve scanning speed.
Detailed description of the invention
Touch screen is a kind of vicarious liquid crystal display systems receiving contact input signal, and touch screen can be
Contact panel on the equipment such as mobile phone, palm PC or panel computer, contact may refer to user finger or
The objects such as writing pencil.Contact contact position on the display screen is found by touch screen scanning, and according to connecing
The information touching position performs to order accordingly.It is parallel to each other as it is shown in figure 1, touch screen 100 surface has
The row line of induction 101, there is the row line of induction 102 being parallel to each other simultaneously, it is however generally that the row line of induction 101 with
The row line of induction 102 is mutually perpendicular to, and the row line of induction 101 is with the row line of induction 102 the most absolutely at intersection location
Edge, in figure, finger represents the position and area that contact contacts with touch screen 100.
Being scanned touch screen, during detection input signal, traditional method is every time to touch screen
All lines of induction are scanned, and scanning is all progressive scan i.e. every time.Owing to the number of the line of induction is more, often
Secondary scanning will occupy the time that comparison is many, and scanning speed is slow, reduces the sensitivity of touch screen.If it is every
Secondary scanning all uses interleaved method, but reduces the induction precision of touch screen.
For overcoming drawbacks described above, the invention provides a kind of touch screen scanning method, as in figure 2 it is shown, include
Following steps:
Step S110: detect whether to receive touching signals.
Touching signals refers to when the signal sent by touch screen after contact to touch screen.If being not received by touching
Control signal, then repetition step S110 is until receiving touching signals, carries out step after receiving touching signals
S140。
Step S140: progressively scan touch screen, obtains touch information.
Wherein, touch information includes touch-control contact area.Specifically, step S140 can comprise the following steps that
Progressive scan touch screen, obtains scan data.
Touch information is obtained according to scan data.
Scan data can be to be stated by the two of discrete type coordinates or two-dimensional matrix, is touched by progressive scan
Touch screen, find each point coordinates that contact and touch screen come in contact, and by the two of discrete type coordinates or two dimension
Matrix represents, has just obtained scan data.Then according between number and each contact point of contact point
Distance just can get touch-control contact area.
Step S150: according to touch-control contact area counting period numerical value, and sweep according to interval numerical value transmission signal
Retouch instruction.
Interval numerical value refers to carry out touch screen interval line number during signal scanning, according to touch-control contact area
Big I suitably adjusts interval numerical value.Such as it is more than preset value (such as 10mm when touch-control contact area2) time,
Interval numerical value is 2, and when touch-control contact area is less than or equal to preset value, interval numerical value is 1, it will be understood that
Preset value and interval numerical value can be adjusted according to practical situation.
Step S160: touch screen is carried out signal scanning according to signal scanning instruction.
In the present embodiment, can circulate and carry out step S160 within the default scan period, until scanning week
Phase terminates.Scan period can be adjusted according to practical situation, carries out step S160 by circulation, to touch
Screen takes multiple scan.When touching signals is discontinuous, it can be ensured that touching signals can be scanned.
Signal scanning may refer to, according to interval numerical value, whole touch screen is carried out interlacing scan.To be spaced numerical value
Be 1 to illustrate, then signal scanning is first to be scanned odd-numbered line, then dual numbers row is scanned;Or
First dual numbers row is scanned, then is scanned odd-numbered line.
Wherein in an embodiment, touch information may also include position of touch, i.e. contact contacts with touch screen
Position, step S160 can comprise the following steps that
According to position of touch, touch screen being divided into progressive scan district and interlacing scan district, position of touch is positioned at line by line
In scanning area.
Progressive scan district is progressively scanned, interlacing scan district is carried out interlacing scan.
Touch screen is divided into progressive scan district and interlacing scan district, progressive scan district is progressively scanned, right
Interlacing scan district carries out interlacing scan.Compared with carrying out interlacing scan with to whole touch screen, due to position of touch
It is positioned at progressive scan district, progressive scan district is carried out progressive scan and can improve scanning accuracy rate and touch screen
Induction precision, and the area progressively scanning district typically will not be very big, can't be to scanning speed and touch screen
Sensitivity make a big impact.
In the present embodiment, position of touch is positioned at progressive scan district center, can further improve scanning accuracy rate.
Above-mentioned touch screen scanning method, after detecting that touch screen receives touching signals, is carried out touch screen
Progressive scan, obtains touch information, and wherein touch information includes touch-control contact area;According to touch-control contact surface
The long-pending interval numerical value that calculates, and send signal scanning instruction according to interval numerical value;Refer to finally according to signal scanning
Order carries out signal scanning to touch screen.Interval numerical value is determined according to the touch-control contact area obtained by progressive scan,
I.e. carry out interval line number during signal scanning, it is ensured that the accuracy rate of signal scanning, it is to avoid because of interval scan
Reduce the induction precision of touch screen;Compared with being progressive scan with traditional scanning every time, according to interval numerical value
Send signal scanning instruction and touch screen is carried out signal scanning, decrease the line number needing scanning, improve and sweep
Retouch the sensitivity of speed and touch screen.
Wherein in an embodiment, as it is shown on figure 3, after receiving touching signals, step S140 it
Before can comprise the following steps that
Step S120: send touch-control request.
Step S130 is carried out after receiving touch-control request.
Step S130: send progressive scan instruction.
Step S140 is carried out after receiving progressive scan instruction.
Wherein, touch-control request can be to send when touching signals meets certain condition, and such as receive touches
Control after exceeding Preset Time (such as 3 seconds) signal duration, then send touch-control request, tactile receiving
Send progressive scan instruction after control request, after receiving progressive scan instruction, touch screen is progressively scanned.
By step S120 and step S130, when touch screen generation maloperation, as user's imprudence touches touch
When screen or touch screen come in contact with other objects, touch-control request will not be sent, can avoid due to touch screen
Maloperation and start scanning imaging system, i.e. carry out step S140.
With continued reference to Fig. 3, can comprise the further steps of: after step S160
Step S170: judge whether to scan touching signals.
The most then return step S160, again touch screen is carried out signal scanning, receive next touch-control letter
Number.Without scanning touching signals, then can also carry out step S180.
Step S180: judge whether to receive and cease and desist order.
Ceasing and desisting order can be that user is sent by touching touch screen, it is also possible to be to be sent by external circuit.?
Receive and after ceasing and desisting order, stop scanning, make touch screen enter resting state, reduce energy loss;If not yet
Receive and cease and desist order, then return step S140, again touch screen is progressively scanned, obtain touch-control
Information.
Carrying out progressively scanning or during signal scanning, can be directly according to the progressive scan instruction received or
Touch screen is scanned by signal scanning instruction, it is also possible to be first to be instructed by progressive scan or signal scanning instruction
Obtain scanning array, then according to scanning array, touch screen is scanned.The present embodiment is first by line by line
Scan instruction or signal scanning instruction obtain scanning array, are then scanned touch screen according to scanning array.
Instruction reading speed can be improved, further speed up the sensitivity of scanning speed and touch screen.
Accordingly, the invention provides a kind of touch screen scanning system, including detection module, control module and
Scan module.
Detection module is for detecting whether receive touching signals.Touching signals refers to when contact is to touch screen
After the signal that sent by touch screen.If being not received by touching signals, detection module then duplicate detection is until connecing
Receive touching signals.Touch screen is progressively scanned after receiving touching signals by detection module, obtains touch-control
Information, touch information includes touch-control contact area.
Specifically, detection module can include data capture unit and information acquisition unit.
First data capture unit progressive scan touch screen, obtains scan data.Then information acquisition unit root
Touch information is obtained according to scan data.Scan data can be to be come by the two of discrete type coordinates or two-dimensional matrix
Statement, by progressive scan touch screen, finds each point coordinates that contact and touch screen come in contact, and with from
Two coordinates or the two-dimensional matrix that dissipate type represent, have just obtained scan data.Then according to the number of contact point
Distance between mesh and each contact point just can get touch-control contact area.
Control module is used for according to touch-control contact area counting period numerical value, and sends signal according to interval numerical value
Scan instruction.
Interval numerical value refers to carry out touch screen interval line number during signal scanning, according to touch-control contact area
Big I suitably adjusts interval numerical value.Such as it is more than preset value (such as 10mm when touch-control contact area2) time,
Interval numerical value is 2, and when touch-control contact area is less than or equal to preset value, interval numerical value is 1, it will be understood that
Preset value and interval numerical value can be adjusted according to practical situation.
Scan module is for carrying out signal scanning according to signal scanning instruction to touch screen.
In the present embodiment, scan module also can carry out signal to touch screen circulation within the default scan period
Scan, until the scan period terminates.Scan period can be adjusted according to practical situation, by touch screen
Circulation carries out signal scanning, when touching signals is discontinuous, it can be ensured that touching signals can be scanned.
Signal scanning may refer to, according to interval numerical value, whole touch screen is carried out interlacing scan.To be spaced numerical value
Be 1 to illustrate, then signal scanning is first to be scanned odd-numbered line, then dual numbers row is scanned;Or
First dual numbers row is scanned, then is scanned odd-numbered line.
Wherein in an embodiment, touch information may also include position of touch, i.e. contact contacts with touch screen
Position, scan module can include zoning unit and scanning element.
Zoning unit for being divided into progressive scan district and interlacing scan district, touch-control according to position of touch by touch screen
Position is positioned at progressive scan district.
Scanning element, for progressively scanning progressive scan district, carries out interlacing scan to interlacing scan district.
Touch screen is divided into progressive scan district and interlacing scan district, progressive scan district is progressively scanned, right
Interlacing scan district carries out interlacing scan.Compared with carrying out interlacing scan with to whole touch screen, due to position of touch
It is positioned at progressive scan district, progressive scan district is carried out progressive scan and can improve scanning accuracy rate and touch screen
Induction precision, and the area progressively scanning district typically will not be very big, can't be to scanning speed and touch screen
Sensitivity make a big impact.
In the present embodiment, position of touch is positioned at progressive scan district center, can further improve scanning accuracy rate.
Above-mentioned touch screen scanning system, touch screen, after receiving touching signals, is carried out line by line by detection module
Scanning, obtains touch information, and wherein touch information includes touch-control contact area;According to touch-control contact area meter
Calculate interval numerical value, and send signal scanning instruction according to interval numerical value.Right finally according to signal scanning instruction
Touch screen carries out signal scanning.Interval numerical value is determined, i.e. according to the touch-control contact area obtained by progressive scan
Carry out interval line number during signal scanning, it is ensured that the accuracy rate of signal scanning, it is to avoid drop because of interval scan
The induction precision of low touch screen;Compared with being progressive scan with traditional scanning every time, send out according to interval numerical value
The number of delivering letters scan instruction carries out signal scanning to touch screen, decreases the line number needing scanning, improves scanning
Speed and the sensitivity of touch screen.
Wherein in an embodiment, touch screen scanning system can include touch-control request module and instruct mould line by line
Block.
Touch-control request module is for sending touch-control request after detection module receives touching signals.
Instruction module sends progressive scan instruction after being used for receiving touch-control request line by line.
Touch screen is progressively scanned after receiving progressive scan instruction by detection module, obtains touch information.
Wherein, touch-control request can be to send when touching signals meets certain condition, such as touching signals
After persistent period exceedes Preset Time (such as 3 seconds), then touch-control request module sends touch-control request, line by line
Instruction module is receiving touch-control request transmission progressive scan instruction, and detection module receives progressive scan instruction
Afterwards touch screen is progressively scanned.When touch screen generation maloperation, as user's imprudence touches touch
When screen or touch screen come in contact with other objects, touch-control request will not be sent, can avoid due to touch screen
Maloperation and start scanning imaging system, i.e. detection module do not receive progressive scan instruction touch screen will not be entered
Row progressive scan.
Touch screen scanning system may also include signal judge module and stops judge module.
Signal judge module is used for judging whether to scan touching signals.The most then control scan module to touching
Touch screen and again carry out signal scanning, receive next touching signals.
Stop judge module, for when scanning judge module and not receiving touching signals, it may be judged whether receive
To ceasing and desisting order.Ceasing and desisting order can be that user is sent by touching touch screen, it is also possible to be by external circuit
Send, stop judge module do not receive cease and desist order time control detection module again touch screen is carried out by
Row scanning, obtains touch information;Stop judge module receive cease and desist order after control detection module stop
Scanning, and make touch screen enter resting state, reduce energy loss.
Progressively scan at detection module, or when scan module carries out signal scanning, can be direct basis
Touch screen is scanned by the progressive scan instruction received or signal scanning instruction, it is also possible to be first by line by line
Scan instruction or signal scanning instruction obtain scanning array, are then scanned touch screen according to scanning array.
The present embodiment is elder generation is instructed by progressive scan or signal scanning instruction obtains scanning array, then according to scanning
Touch screen is scanned by array, can improve instruction reading speed, further speeds up scanning speed and touch screen
Sensitivity.
Additionally, present invention also offers a kind of touch screen scanning means, as shown in Figure 4, touch screen scanning dress
Putting 200 and include touch chip 220 and main control chip 240, touch chip 220 is by bus and main control chip
240 connect.In the present embodiment, touch chip 220 is positioned at the FPC(Flexible Printed Circuit of touch screen,
Flexible PCB) on, main control chip 240 is positioned on the LCD plate of touch screen.It is appreciated that touch-control
The position of chip 220 and main control chip 240 is not unique.
Touch screen, for after receiving touching signals, is progressively scanned by touch chip 220, and acquisition is swept
Retouch data, and scan data is sent to main control chip 240;It is additionally operable to the letter sent according to main control chip 240
Number scan instruction carries out signal scanning to touch screen.
Main control chip 240 is for obtaining touch information according to scan data, and touch information includes touch-control contact surface
Long-pending.Then according to touch-control contact area counting period numerical value, and signal scanning instruction is sent according to interval numerical value
To touch chip 220.
Specifically, touching signals refers to when the signal sent by touch screen after contact to touch screen;Scanning number
According to being to be stated by the two of discrete type coordinates or two-dimensional matrix, by progressive scan touch screen, find
Each point coordinates that contact and touch screen come in contact, and represent with the two of discrete type coordinates or two-dimensional matrix,
Just scan data has been obtained.Then just can get according to the distance between number and each contact point of contact point
Touch-control contact area.
Interval numerical value refers to carry out touch screen interval line number during signal scanning, according to touch-control contact area
Big I suitably adjusts interval numerical value.Such as it is more than preset value (such as 10mm when touch-control contact area2) time,
Interval numerical value is 2, and when touch-control contact area is less than or equal to preset value, interval numerical value is 1, it will be understood that
Preset value and interval numerical value can be adjusted according to practical situation.
In the present embodiment, touch screen circulation also can be carried out within the default scan period by touch chip 220
Signal scanning, until the scan period terminate.Scan period can be adjusted according to practical situation, by touching
Touch screen circulation and carry out signal scanning, when touching signals is discontinuous, it can be ensured that touching signals can be scanned.
Touch chip 220 carries out signal scanning according to signal scanning instruction to touch screen, can be according to interval
Numerical value carries out interlacing scan to whole touch screen.Be 1 to illustrate with interval numerical value, then signal scanning is first
Odd-numbered line is scanned, then dual numbers row is scanned;Or elder generation's dual numbers row is scanned, then to odd number
Row is scanned.
Wherein in an embodiment, touch information may also include position of touch, i.e. contact contacts with touch screen
Position.Touch screen is divided into progressive scan district and interlacing scan district according to position of touch by touch chip 220,
Position of touch is positioned at progressive scan district;Then progressive scan district is progressively scanned, to interlacing scan district
Carry out interlacing scan.
Touch screen is divided into progressive scan district and interlacing scan district, progressive scan district is progressively scanned, right
Interlacing scan district carries out interlacing scan.Compared with carrying out interlacing scan with to whole touch screen, due to position of touch
It is positioned at progressive scan district, progressive scan district is carried out progressive scan and can improve scanning accuracy rate and touch screen
Induction precision, and the area progressively scanning district typically will not be very big, can't be to scanning speed and touch screen
Sensitivity make a big impact.
In the present embodiment, position of touch is positioned at progressive scan district center, can further improve scanning accuracy rate.
Above-mentioned touch screen scanning means 200, after touch chip 220 receives touching signals, is carried out touch screen
Progressive scan, obtains scan data.Main control chip 240 obtains touch information according to scan data, wherein touches
Control information includes that touch-control contact area, main control chip 240 calculate interval numerical value according to touch-control contact area,
And instruct to touch chip 220 according to interval numerical value transmission signal scanning, touch chip 220 is according to main control chip
The signal scanning instruction that 240 send carries out signal scanning to touch screen.Space-number is determined according to touch-control contact area
Value, i.e. carries out interval line number during signal scanning, it is ensured that the accuracy rate of signal scanning, it is to avoid because interval is swept
Retouch and reduce the induction precision of touch screen;Compared with being progressive scan with traditional scanning every time, according to interval
Numerical value sends signal scanning instruction and touch screen is carried out signal scanning, decreases the line number needing scanning, improves
The sensitivity of scanning speed and touch screen.
With continued reference to Fig. 4, wherein in an embodiment, the data processing performance of main control chip 240 is better than touching
Control chip 220, main control chip 240 scan data obtained touch chip 220 processes, thus drops
The low load of touch chip 220, as long as the instruction that touch chip 220 sends according to main control chip 240 is entered
Row scans.
Touch chip 220, after receiving touching signals, also can send touch-control and ask to main control chip 240.Touch
Control request can be to send when touching signals meets certain condition, when the touching signals such as received continues
Between exceed Preset Time (such as 3 seconds) after, then touch chip 220 send touch-control ask to main control chip 240,
Main control chip 240 sends progressive scan instruction to touch chip 220, touch chip after receiving touch-control request
220 receive progressive scan instruction after again touch screen is progressively scanned.When touch screen generation maloperation,
As user's imprudence touch touch screen or touch screen come in contact with other objects time, will not send touch-control please
Ask, can avoid starting due to the maloperation to touch screen scanning imaging system, i.e. touch chip 220 and not receive
Touch screen will not be progressively scanned by progressive scan instruction.
Specifically, as it is shown in figure 5, touch chip 220 can include interface unit 222, deposit unit 226 and
Interrupt location 228.
Interface unit 222 includes induction channels 223 and drives passage 224, induction channels 223 and touch screen
The row line of induction connects, and drives passage 224 to be connected with the row line of induction of touch screen.Touch chip 220 is by connecing
Touch screen is progressively scanned and signal scanning by mouth unit 222.
Progressive scan instruction and signal scanning that deposit unit 226 sends for depositing main control chip 240 instruct,
Can be direct register instructions, it is also possible to be the form register instructions with array.The present embodiment is with array
Form register instructions, when touch screen is progressively scanned or during signal scanning by touch chip 220, with number
The form of group is extracted instruction and is scanned, and can improve instruction reading speed, further speeds up scanning speed and touches
Touch the sensitivity of screen.
The array deposited in deposit unit 226 includes progressively scanning array and interlacing scan array.Drive with 16
As a example by dynamic passage low level scanning, in table 1, a [] represents progressive scan array, and in table 2, b [] represents every 1 row
Scanning array.
Member in array |
Hexadecimal |
Binary system |
a[1] |
oxfffe |
1111111111111110 |
a[2] |
oxfffd |
1111111111111101 |
a[3] |
oxfffb |
1111111111111011 |
a[4] |
oxfff7 |
1111111111110111 |
a[5] |
oxffef |
1111111111101111 |
a[6] |
oxffdf |
1111111111011111 |
a[7] |
oxffbf |
1111111110111111 |
a[8] |
oxff7f |
1111111101111111 |
a[9] |
oxffef |
1111111011111111 |
a[10] |
oxffdf |
1111110111111111 |
a[11] |
oxffbf |
1111101111111111 |
a[12] |
oxff7f |
1111011111111111 |
a[13] |
oxefff |
1110111111111111 |
a[14] |
oxdfff |
1101111111111111 |
a[15] |
oxbfff |
1011111111111111 |
a[16] |
ox7fff |
0111111111111111 |
Table 1
Member in array |
Hexadecimal |
Binary system |
b[1] |
oxfffe |
1111111111111110 |
b[2] |
oxfffb |
1111111111111011 |
b[3] |
oxffef |
1111111111101111 |
b[4] |
oxffbf |
1111111110111111 |
b[5] |
oxffef |
1111111011111111 |
b[6] |
oxffbf |
1111101111111111 |
b[7] |
oxefff |
1110111111111111 |
b[8] |
oxbfff |
1011111111111111 |
b[9] |
oxfffd |
1111111111111101 |
b[10] |
oxfff7 |
1111111111110111 |
b[11] |
oxffdf |
1111111111011111 |
b[12] |
oxff7f |
1111111101111111 |
b[13] |
oxffdf |
1111110111111111 |
b[14] |
oxff7f |
1111011111111111 |
b[15] |
oxdfff |
1101111111111111 |
b[16] |
ox7fff |
0111111111111111 |
Table 2
Interrupt location 228 is after touch chip 220 receives the progressive scan instruction that main control chip 240 sends
Triggering and interrupt, make touch screen be entered scan pattern by sleep pattern, then touch chip 220 is by interface list
Touch screen is progressively scanned by unit 222.
With continued reference to Fig. 5, after touch chip 220 carries out signal scanning to touch screen, main control chip 240 can
For judging whether touch chip 220 scans touching signals.The most then main control chip 240 controls touch-control
Chip 220 again carries out signal scanning to touch screen, receives next touching signals;If it is not, then master control core
Sheet 240 also can determine whether to receive to cease and desist order.Ceasing and desisting order can be that user is sent out by touching touch screen
Sending, it is also possible to be to be sent by external circuit, main control chip 240 controls touch-control when not receiving and ceasing and desisting order
Touch screen is progressively scanned by chip 220 again, obtains touch information;Main control chip 240 is receiving
Control touch chip 220 after ceasing and desisting order and stop scanning, and make touch screen enter park mode, reduce the energy
Loss.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed,
But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area
Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and
Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended
Claim is as the criterion.