Method for identifying rotary coding switch based on global interrupt trigger
A technology of rotary coding switch and trigger mode, applied in the direction of instruments, computer control, simulators, etc., can solve the problem of misjudgment of rotation direction, inability to distinguish interrupt trigger and other problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention aims to propose a method for identifying a rotary encoding switch based on a global interrupt trigger to solve the problem that an MCU that cannot distinguish whether an interrupt trigger is a rising edge or a falling edge is prone to misjudgment of the rotation direction when adapting a rotary switch. The core idea is: connect the two pulse signal output pins of the rotary encoding switch to the corresponding hardware of the two GPIO ports of the MCU, and use the GPIO pins of the MCU to detect a change in the voltage signal to trigger a global interrupt. According to the two GPIO The interrupt sequence between the ports, combined with the reset mechanism and the interrupt filtering mechanism, filters the interference factors, so that the MCU can accurately identify the rotation direction of the knob and respond to related commands accurately and sensitively.
[0045] In terms of specific implementation, the method for identifying rotary encoding sw...
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