Method for simulating PS2 interface through GPIO port of single-chip microcomputer, single-chip microcomputer and system
A single-chip, interface technology, applied in the field of communication, can solve the problem of no PS2 interface, etc., and achieve the effect of good compatibility, low cost and versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0033] Such as figure 1 As shown, the present invention takes the peripheral touchpad as an example to describe the present invention. Of course, this example can also be a keyboard and other peripherals that communicate through the PS2 interface.
[0034] The MCU in this example includes:
[0035] Configuration module: two GPIO ports used to configure the analog PS2 interface, one analog clock pin PS2 CLK pin, the other analog transceiver data pin PS2 DATA pin;
[0036] Interrupt processing module: used to judge whether the PS2 CLK pin is interrupted, if not, continue monitoring, if yes, execute the interrupt service module;
[0037] Interrupt service module: used to clear the interrupt flag bit, and then call the receiving analysis module;
[0038] Receiving and parsing module: used to receive and parse PS2 DATA foot data.
[0039] The p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com