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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 