Method and processor for controlling digital input and output

A technology of input and output interface and digital input, which is applied in the direction of electrical digital data processing and instruments, can solve the problems of no interruption of digital input and output interface, single control function, etc., and achieve reliability and industrial site wiring optimization, convenient development, The effect of improving execution efficiency

Active Publication Date: 2017-05-24
EVOC INTELLIGENT TECH +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on this, it is necessary to provide a method of controlling the digital input and output interface for the problem that the digital input and output interface is not interrupted and the control function is relatively simple.
[0004] In addition, it is also necessary to provide a processor for controlling digital input and output in view of the problem that the digital input and output interface is not interrupted and the control function is relatively simple.

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
  • Method and processor for controlling digital input and output
  • Method and processor for controlling digital input and output
  • Method and processor for controlling digital input and output

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] Such as figure 1 As shown, a method for controlling a digital input and output interface includes the following steps:

[0033] Step S110, detecting whether the digital input interface is interrupted, if yes, execute step S120, if not, continue to execute step S110.

[0034] Specifically, the processor establishes a communication connection with the host, and the processor can be embedded ARM (Advanced RISC Machines), DSP (Digital Signal Processing, Digital Signal Processing) and other processors that support GPIO with an interrupt function. input port) when an interrupt occurs, the proces...

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 relates to a method and a processor for controlling digital input and output. The method includes following steps: detecting whether a digital input interface is interrupted or not; when the digital input interface is interrupted, generating a first data packet according to the interruption, and sending the first data packet to a host to enable the same to analyze the first data packet and acquire information of the digital input interface according to an analysis result; receiving a second data packet sent by the host, wherein the second data packet is generated according to a preset function called by the host; analyzing the second data packet; acquiring information of a digital output interface according to an analysis result, and setting the digital output interface according to the information of the digital output interface. By the method and the processor, control functions of the digital input interface and the digital output interface are enabled to be more reliable and diverse; the method and the processor is suitable for various application occasions.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method for controlling digital input and output interfaces and a processor for controlling digital input and output. Background technique [0002] At present, the digital input and output interfaces commonly used by people are usually realized by the GPIO (General Purpose Input Output) of the X86 platform motherboard. The digital input and output interfaces obtained in this way are usually not interrupted, and the digital input and output interfaces need to be continuously scanned by software. Inputting the interface to obtain information such as level changes not only takes up a lot of software resources, but also easily misses the short-term pulse mutation of a certain digital input interface. In addition, the traditional GPIO has poor scalability, and the control function of the digital input and output interface is relatively simple. Contents of the invention [0003...

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): G06F13/24G06F13/42
CPCG06F13/24G06F13/4282
Inventor 薛英仪王厚林甘赛
Owner EVOC INTELLIGENT TECH
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