Unlock instant, AI-driven research and patent intelligence for your innovation.

General purpose in-out circuit with event capturing function

An input-output, event technology, applied in the field of electronics, can solve the problem of limited GPIO port function, no event capture function, etc., to achieve the effect of flexible configuration

Active Publication Date: 2012-02-29
TSINGHUA UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of the existing technology is that the basic GPIO port has limited functions and does not have the function of event capture

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
  • General purpose in-out circuit with event capturing function
  • General purpose in-out circuit with event capturing function
  • General purpose in-out circuit with event capturing function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Such as figure 2 As shown, it is a structural diagram of a GPIO circuit with an event capture function according to Embodiment 1 of the present invention. The GPIO circuit with event capture function includes a GPIO basic circuit module 200, and an event capture module 300 connected to the GPIO basic circuit module 200, the event capture module 300 receives input data input through the GPIO basic circuit module, and receives user instructions, and The edge of the input data is detected according to a user instruction, and an interrupt signal is output according to the detection result.

[0020] The functions of each module in the GPIO basic circuit module 200 and the working process of the GPIO basic circuit module 200 are briefly introduced below. in:

[0021] GPIO signal port 1, the input and output port of GPIO signal and external circuit, this port is a bidirectional port, when the direction register 2 is 0, it is used as an output port, and when the direction re...

Embodiment 2

[0035] Such as image 3 As shown, it is a structural diagram of the event capture module in Embodiment 2 of the present invention. However, it should be noted that those skilled in the art can implement the functions of the event capture module in Embodiment 1 using various structures. Therefore, the structure of the event capture module in Embodiment 2 is only a solution of the present invention, and other structures are also possible. Should be included within the protection scope of the present invention.

[0036] Such as image 3 As shown, the event capture module 300 includes an edge detection logic module 14 that receives the input data of the GPIO basic circuit module 200, and is connected to the edge detection logic module 14 to set the rising edge trigger register 10, clear the rising edge trigger register 11, and set the falling edge trigger register 11. Trigger register 12 and clear falling edge trigger register 13 , and pulse generator 27 connected with edge dete...

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 provides a general purpose in-out circuit with an event capturing function, comprising a GPIO basic circuit module and an event capturing module connected with the GPIO basic circuit module, wherein the event capturing module is used for receiving input data input by the GPIO basic circuit module, receiving a user command, inspecting the margin of the input data according to the user command and outputting an interrupt signal according to the inspection result. The in-out circuit expands the functions of a basic GPIO port, thereby having the event capturing function and being capable of inspecting more complicated signal change behaviors on the GPIO port.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a general-purpose input-output (GPIO, General-Purpose Input Output) circuit with an event capture function. Background technique [0002] In an embedded system, there are often a large number of external devices and circuits with a relatively simple structure. For these devices, some require the CPU to output control signals, and some need to be used as input signals for the CPU. Moreover, these devices and circuits are often relatively simple in structure and function, and do not need to use complex input and output interface specifications. For example, external digital tubes, indicator lights, and input buttons generally only need one or several control signals. , so generally all can provide the general-purpose input output (GPIO) port of different quantity on the microcontroller chip. [0003] Such as figure 1 Shown is a structural diagram of the basic GPIO port circui...

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 Patents(China)
IPC IPC(8): G06F13/32
Inventor 李兆麟叶剑飞魏炽频郑庆伟陈佳佳李圣龙王芳
Owner TSINGHUA UNIV