CN110895518A - GPIO (general purpose input/output) interface configuration method and system - Google Patents

GPIO (general purpose input/output) interface configuration method and system Download PDF

Info

Publication number
CN110895518A
CN110895518A CN201910585466.5A CN201910585466A CN110895518A CN 110895518 A CN110895518 A CN 110895518A CN 201910585466 A CN201910585466 A CN 201910585466A CN 110895518 A CN110895518 A CN 110895518A
Authority
CN
China
Prior art keywords
gpio interface
attribute information
interface
gpio
available
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910585466.5A
Other languages
Chinese (zh)
Inventor
周春芬
徐成泽
郑志红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
EVOC Intelligent Technology Co Ltd
Original Assignee
EVOC Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by EVOC Intelligent Technology Co Ltd filed Critical EVOC Intelligent Technology Co Ltd
Priority to CN201910585466.5A priority Critical patent/CN110895518A/en
Publication of CN110895518A publication Critical patent/CN110895518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a system for configuring a GPIO interface. The method comprises the following steps: acquiring attribute information of a GPIO interface of a chip; determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface; judging whether the available GPIO interface is matched with preset user requirement information or not, wherein the preset user requirement information comprises attribute information of a target GPIO interface; and if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface. The invention can modify the attribute information of the available GPIO interface in the chip through the preset user requirement information so that the function of the modified GPIO interface meets the requirement of a user, thus improving the utilization rate of the GPIO interface in the chip and saving the manufacturing cost of the mainboard particularly in the process of customizing the mainboard.

Description

GPIO (general purpose input/output) interface configuration method and system
Technical Field
The invention relates to the technical field of computers, in particular to a configuration method and a configuration system of a GPIO interface.
Background
In the conventional x86 motherboard customization design process, we generally think that: and acquiring the requirements of customers on the mainboard, and designing the mainboard according to the customer requirements. If some customers require the interface of the motherboard to have input and output functions and to be able to set the level, or if the customers require the interface of the motherboard to be able to issue PWM, and if the customers require the interface of the motherboard to be able to trigger SMI/SCI functions, or other related requirements. The mainboard chips on the market are various in types, the interface functions of different mainboard chips are different, the chip standards are not uniform, and the access modes are various. In order to meet different customer requirements, the type of the main board chip needs to be selected at the beginning of the main board design, and different main boards are designed according to different main board chips, so that great workload is brought during design and production. In the process of designing the motherboard, only some interface functions on the motherboard chip are needed, which causes the waste of motherboard resources and increases the design cost of the motherboard.
Disclosure of Invention
In order to solve the above problems, the present invention provides a configuration method and system for a GPIO interface, which can modify attribute information of an available GPIO interface in a chip through preset user requirement information, so that the modified GPIO interface functions to meet the user requirements, thereby improving the utilization rate of the GPIO interface in the chip, and particularly saving the manufacturing cost of a motherboard in the process of customizing the motherboard.
In a first aspect, the present invention provides a method for configuring a GPIO interface, including:
acquiring attribute information of a GPIO interface of a chip;
determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface;
judging whether the available GPIO interface is matched with preset user requirement information or not, wherein the preset user requirement information comprises attribute information of a target GPIO interface;
and if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface.
Optionally, if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface, including:
and if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface, modifying the attribute information of the available GPIO interface inconsistent with the attribute information of the target GPIO interface through a preset control option in the operation interface according to the attribute information of the target GPIO interface.
Optionally, the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface includes:
calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and calling a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
Optionally, the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface further includes:
calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and adding an execution condition to the register through a condition function to determine the control relation of the available GPIO interfaces which are inconsistent with the attribute information of the target GPIO interface.
Optionally, the number of the control options in the preset operation interface is the same as the number of the available GPIO interfaces.
In a second aspect, the present invention provides a configuration system for a GPIO interface, including:
the acquisition module is configured to acquire attribute information of a GPIO interface of the chip;
a determining module configured to determine available GPIO interfaces in the GPIO interfaces according to the attribute information of the GPIO interfaces;
the judging module is configured to judge whether the available GPIO interface is matched with preset user requirement information, wherein the preset user requirement information comprises attribute information of a target GPIO interface;
and the modification module is configured to modify the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface if the available GPIO interface is not matched with the preset user requirement information.
Optionally, the modifying module is further configured to modify, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface.
Optionally, the modifying module includes:
the first access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and the modification sub-module is configured to call a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
Optionally, the modifying module further includes:
the second access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and the adding module is configured to add an execution condition to the register through a condition function so as to determine the control relation of the available GPIO interfaces inconsistent with the attribute information of the target GPIO interface.
Optionally, the number of the control options in the preset operation interface is the same as the number of the available GPIO interfaces.
According to the configuration method and the configuration system of the GPIO interface, the attribute information of the available GPIO interface in the chip can be modified through the preset user requirement information, so that the modified function of the GPIO interface meets the requirement of a user, the utilization rate of the GPIO interface in the chip can be improved, and the manufacturing cost of a mainboard can be saved particularly in the process of customizing the mainboard.
Drawings
Fig. 1 is a schematic flow chart of a configuration method of a GPIO interface according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a configuration method of a GPIO interface according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a configuration method of a GPIO interface according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a configuration system of a GPIO interface according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, the present invention provides a method for configuring a GPIO (General Purpose Input and Output interface), in particular, a method for configuring a GPIO interface function in a PCH (Platform Controller Hub) chip, where, referring to fig. 1, fig. 1 shows a schematic flow chart of a method for configuring a GPIO interface according to an embodiment of the present application, where the method includes:
step S101: and acquiring the attribute information of the GPIO interface of the chip.
Step S102: and determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface.
Specifically, as many as two hundred GPIO interfaces are required in the current newer PCH chip, but some GPIO interfaces are required to be used by the PCH chip itself and some internal signals, not all GPIO interfaces can be reconfigured in function, but at least seventy GPIO interfaces of a general PCH chip can be reconfigured in function, and the voltage can be set to be 1.8v or 3.3 v. For example, some of the seventy GPIO interfaces support i/o high/low levels, some of the GPIO interfaces have SCI (System Control Interrupt) triggering capability, and some GPIO interfaces also have many multiplexing functions, such as setting output as a PWM (Pulse Width modulation) signal, setting output as an SMI (System Management Interrupt) function, and so on. The functionality of the seventy GPIO interfaces may be reconfigured according to user requirements with the seventy GPIO interfaces determined.
Step S103: and judging whether the available GPIO interface is matched with preset user requirement information, wherein the preset user requirement information comprises attribute information of a target GPIO interface. If yes, go to step S105, otherwise go to step S104.
Step S104: and modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface.
Step S105: and finishing the configuration of the GPIO interface of the chip.
Specifically, the attribute information of the target GPIO interface includes instruction information that the user needs the available GPIO interface to have a certain function. And if the function of the available GPIO interface is different from the specified required GPIO interface function in the preset user requirement information, modifying the attribute information of the corresponding available GPIO interface so as to enable the modified function of the available GPIO interface to meet the requirement of the user.
The configuration method of the GPIO interface provided by the embodiment of the invention can modify the attribute information of the available GPIO interface in the chip through the preset user requirement information so as to enable the modified GPIO interface to meet the requirements of users, thus improving the utilization rate of the GPIO interface in the chip, and particularly saving the manufacturing cost of a mainboard in the process of customizing the mainboard.
In an optional embodiment, if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface includes:
and if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface, modifying the attribute information of the available GPIO interface inconsistent with the attribute information of the target GPIO interface through a preset control option in the operation interface according to the attribute information of the target GPIO interface.
And modifying the attribute information of the available GPIO interface inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface, so that the GPIO interface with a specific function, which is desired by a user, can be obtained more conveniently and quickly. The preset operation interface may be a graphical BIOS (Basic Input Output System) setup interface.
In an optional embodiment, the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface includes:
and calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
And calling a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
For example, some GPIO interfaces support high and low input and output levels, and the button is added under the control option list corresponding to the GPIO interface, and is set as input or output according to the user's requirement. And when the input needs to be set as the input, selecting an input option on a preset operation interface and then saving the input option. Specifically, in the specification of UEFI, an option button may be established on a graphical interface by a corresponding function, wherein a memory access function for accessing a memory following an operation instruction of a control option is further defined in the specification, a register corresponding to an output state of the GPIO interface is accessed by the memory access function, and then the GPIO interface originally having the output function may be modified to the GPIO interface having the input function by changing a value in the register.
If the value of the register corresponding to the GPIO1 interface accessed through the memory access function is 0x80, by querying configuration information of the PCH chip, where the configuration information of the PCH chip specifies the high-low level of the GPIO1 interface at the position set by the register, the position set by the input/output, and the like, it can be determined through the configuration information of the PCH chip that the level corresponding to the GPIO1 interface function is at the high level at this time, and the PWM function is in a closed state at this time; by acquiring the value 0x80, the software program can modify the function of the GPIO1 interface to set it to a low level, or increase the high level to perform a buzzer operation, or perform a function setting according to the user's requirement, wherein the memory access function may be an mmoreal function.
In an optional embodiment, the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface further includes:
and calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
And adding an execution condition to the register through a condition function to determine the control relation of the available GPIO interfaces which are inconsistent with the attribute information of the target GPIO interface.
Specifically, under the condition that a GPIO interface requiring one master control in the user requirement information can control the levels of other GPIO interfaces, an execution condition can be added to a register corresponding to the GPIO interface by a software function condition determination method to meet the user requirement. For example, by adding an execution condition to a register corresponding to the GPIO interface of the master control, only when the value of the GPIO interface of the master control is set to 1, the read setting operation of the registers of the other GPIO interfaces controlled by the GPIO interface of the master control is executed, otherwise, the read setting operation of the registers of the other GPIO interfaces is not executed. In the process of setting the control options at the preset operation interface, the control options corresponding to other GPIO interfaces controlled by the main control GPIO interface can be hidden through corresponding functions, so that the GPIO interfaces meeting the customer requirements flexibly can be achieved in a software mode, other extension chips do not need to be added, the cost of hardware is saved, and meanwhile, the later-stage maintenance of the GPIO interfaces is facilitated.
In an optional embodiment, the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface further includes:
and calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
And calling a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register. And adding an execution condition to the register through a condition function to determine the control relation of the available GPIO interfaces which are inconsistent with the attribute information of the target GPIO interface. In the present invention, the order of the step of modifying the value in the register by the modification function and the step of adding the execution condition to the register by the condition function is not limited. In this embodiment, it is taken as an example that the register is modified by the modification function first, and then the execution condition is added to the register by the condition function.
In an optional embodiment, the number of the control options in the preset operation interface is the same as the number of the available GPIO interfaces.
Specifically, in the process of mainboard customization design, if 8 GPIO interfaces are set in hardware according to the number of GPIO interfaces on the mainboard, 8 control options for controlling the GPIO interfaces are added on a BIOS setup interface; if the hardware sets 20 GPIO interfaces, the BIOS setup interface adds 20 control options to control the GPIO interfaces.
In a second aspect, the present invention provides a configuration method of a GPIO interface, and referring to fig. 2, fig. 2 shows a schematic flow chart of a configuration method of a GPIO interface according to an embodiment of the present application, where the method includes:
step S201: and acquiring the attribute information of the GPIO interface of the chip.
Step S202: and determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface.
Step S203: and judging whether the available GPIO interface is matched with preset user requirement information, wherein the preset user requirement information comprises attribute information of a target GPIO interface. If yes, go to step S206, otherwise go to step S204.
Step S204: and calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
Step S205: and calling a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
Step S206: and finishing the configuration of the GPIO interface function of the chip.
The configuration method of the GPIO interface provided by the embodiment of the invention can modify the value of the register corresponding to the available GPIO interface in the chip through the preset user requirement information so as to enable the modified GPIO interface to meet the requirements of users, thus improving the utilization rate of the GPIO interface in the chip, and particularly saving the manufacturing cost of a mainboard in the process of customizing the mainboard.
In a third aspect, the present invention provides a configuration method of a GPIO interface, and referring to fig. 3, fig. 3 shows a schematic flow chart of a configuration method of a GPIO interface according to an embodiment of the present application, where the method includes:
step S301: and acquiring the attribute information of the GPIO interface of the chip.
Step S302: and determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface.
Step S303: and judging whether the available GPIO interface is matched with preset user requirement information, wherein the preset user requirement information comprises attribute information of a target GPIO interface. If yes, go to step S306, otherwise go to step S304.
Step S304: and calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
Step S305: and adding an execution condition to the register through a condition function to determine the control relation of the available GPIO interfaces which are inconsistent with the attribute information of the target GPIO interface.
Step S306: and finishing the configuration of the GPIO interface function of the chip.
The configuration method of the GPIO interface provided by the embodiment of the invention can add the execution condition to the register corresponding to the available GPIO interface in the chip through the preset user requirement information so as to enable the function of the modified GPIO interface to meet the requirement of a user, thus the utilization rate of the GPIO interface in the chip can be improved, and the manufacturing cost of a mainboard can be saved particularly in the process of customizing the mainboard.
In a fourth aspect, the present invention provides a configuration system 400 of a GPIO interface, and referring to fig. 4, fig. 4 shows a schematic structural diagram of the configuration system of the GPIO interface according to an embodiment of the present application, including:
an obtaining module 401 configured to obtain attribute information of the GPIO interface of the chip.
A determining module 402 configured to determine available ones of the GPIO interfaces according to the attribute information of the GPIO interfaces.
A determining module 403, configured to determine whether the available GPIO interface matches preset user requirement information, where the preset user requirement information includes attribute information of a target GPIO interface.
A modifying module 404 configured to modify the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface if the available GPIO interface is not matched with the preset user requirement information.
The configuration system of the GPIO interface provided by the embodiment of the invention can modify the attribute information of the available GPIO interface in the chip through the preset user requirement information so as to enable the modified GPIO interface to meet the requirements of users, thus improving the utilization rate of the GPIO interface in the chip, and especially saving the manufacturing cost of a mainboard in the mainboard customization process.
In an optional embodiment, the modifying module 404 is further configured to modify, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface.
In an alternative embodiment, the modification module 404 includes:
and the first access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
And the modification sub-module is configured to call a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
In an alternative embodiment, the modifying module 404 further includes:
and the second access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to the available GPIO interface which is inconsistent with the attribute information of the target GPIO interface.
And the adding module is configured to add an execution condition to the register through a condition function so as to determine the control relation of the available GPIO interfaces inconsistent with the attribute information of the target GPIO interface.
In an optional embodiment, the number of the control options in the preset operation interface is the same as the number of the available GPIO interfaces.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A configuration method of a GPIO interface is characterized by comprising the following steps:
acquiring attribute information of a GPIO interface of a chip;
determining an available GPIO interface in the GPIO interface according to the attribute information of the GPIO interface;
judging whether the available GPIO interface is matched with preset user requirement information or not, wherein the preset user requirement information comprises attribute information of a target GPIO interface;
and if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface.
2. The method of configuring a GPIO interface of claim 1,
if the available GPIO interface is not matched with the preset user requirement information, modifying the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface, wherein the modifying comprises the following steps:
and if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface, modifying the attribute information of the available GPIO interface inconsistent with the attribute information of the target GPIO interface through a preset control option in the operation interface according to the attribute information of the target GPIO interface.
3. The method for configuring the GPIO interface of claim 2, wherein the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface includes:
calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and calling a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
4. The method for configuring the GPIO interface of claim 2 or 3, wherein the modifying, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface further comprises:
calling a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and adding an execution condition to the register through a condition function to determine the control relation of the available GPIO interfaces which are inconsistent with the attribute information of the target GPIO interface.
5. The method for configuring the GPIO interface of claim 2, wherein the number of control options in the preset operation interface is the same as the number of the available GPIO interfaces.
6. A configuration system for a GPIO interface, comprising:
the acquisition module is configured to acquire attribute information of a GPIO interface of the chip;
a determining module configured to determine available GPIO interfaces in the GPIO interfaces according to the attribute information of the GPIO interfaces;
the judging module is configured to judge whether the available GPIO interface is matched with preset user requirement information, wherein the preset user requirement information comprises attribute information of a target GPIO interface;
and the modification module is configured to modify the attribute information of the available GPIO interface according to the attribute information of the target GPIO interface if the available GPIO interface is not matched with the preset user requirement information.
7. The GPIO interface configuration system of claim 6, wherein the modification module is further configured to modify, according to the attribute information of the target GPIO interface, the attribute information of the available GPIO interface that is inconsistent with the attribute information of the target GPIO interface through a control option in a preset operation interface if the attribute information of the available GPIO interface is inconsistent with the attribute information of the corresponding target GPIO interface.
8. The system for configuring a GPIO interface of claim 7 wherein the modification module comprises:
the first access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and the modification sub-module is configured to call a modification function according to the attribute information of the target GPIO interface so as to modify the value in the register.
9. The system for configuring a GPIO interface of claim 7 or 8, wherein the modification module further comprises:
the second access sub-module is configured to call a memory access function through a control option in a preset operation interface according to the attribute information of the target GPIO interface so as to access a register corresponding to an available GPIO interface inconsistent with the attribute information of the target GPIO interface;
and the adding module is configured to add an execution condition to the register through a condition function so as to determine the control relation of the available GPIO interfaces inconsistent with the attribute information of the target GPIO interface.
10. The GPIO interface configuration system of claim 7, wherein the number of control options in the pre-defined operator interface is the same as the number of available GPIO interfaces.
CN201910585466.5A 2019-07-01 2019-07-01 GPIO (general purpose input/output) interface configuration method and system Pending CN110895518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910585466.5A CN110895518A (en) 2019-07-01 2019-07-01 GPIO (general purpose input/output) interface configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910585466.5A CN110895518A (en) 2019-07-01 2019-07-01 GPIO (general purpose input/output) interface configuration method and system

Publications (1)

Publication Number Publication Date
CN110895518A true CN110895518A (en) 2020-03-20

Family

ID=69785698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910585466.5A Pending CN110895518A (en) 2019-07-01 2019-07-01 GPIO (general purpose input/output) interface configuration method and system

Country Status (1)

Country Link
CN (1) CN110895518A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905512A (en) * 2021-02-05 2021-06-04 苏州源控电子科技有限公司 DIO interface configuration method, device, equipment and storage medium based on Windows system
CN114048158A (en) * 2021-10-12 2022-02-15 北京控制与电子技术研究所 General purpose GPIO port controller based on user command
US11366710B1 (en) 2021-02-23 2022-06-21 Quanta Computer Inc. Methods and systems for reducing downtime from system management mode in a computer system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377764A (en) * 2008-09-12 2009-03-04 北京中星微电子有限公司 Allocating system of GPIO and data communicating method thereof
CN205665638U (en) * 2016-05-18 2016-10-26 深圳市国鑫恒宇科技有限公司 Server mainboard convenient to BIOS sets up
CN106792052A (en) * 2016-12-26 2017-05-31 深圳市九洲电器有限公司 The management-control method and system of a kind of GPIO of control Set Top Box LED
CN206258861U (en) * 2016-09-30 2017-06-16 深圳市祈飞科技有限公司 A kind of system of configuration equipment network interface
CN109032623A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of initial method and BIOS mirror image of BIOS mirror image
US20190026240A1 (en) * 2017-07-24 2019-01-24 American Megatrends, Inc. System and method for controlling multi-function pins in management controller stack

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377764A (en) * 2008-09-12 2009-03-04 北京中星微电子有限公司 Allocating system of GPIO and data communicating method thereof
CN205665638U (en) * 2016-05-18 2016-10-26 深圳市国鑫恒宇科技有限公司 Server mainboard convenient to BIOS sets up
CN206258861U (en) * 2016-09-30 2017-06-16 深圳市祈飞科技有限公司 A kind of system of configuration equipment network interface
CN106792052A (en) * 2016-12-26 2017-05-31 深圳市九洲电器有限公司 The management-control method and system of a kind of GPIO of control Set Top Box LED
US20190026240A1 (en) * 2017-07-24 2019-01-24 American Megatrends, Inc. System and method for controlling multi-function pins in management controller stack
CN109032623A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of initial method and BIOS mirror image of BIOS mirror image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WUMUMANG: "五、嵌入式学习笔记——GPIO接口", 《HTTP:// HTTPS://BLOG.CSDN.NET/WUMUMANG/ARTICLE/DETAILS/54317508?》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905512A (en) * 2021-02-05 2021-06-04 苏州源控电子科技有限公司 DIO interface configuration method, device, equipment and storage medium based on Windows system
CN112905512B (en) * 2021-02-05 2024-05-14 苏州源控电子科技有限公司 DIO interface configuration method, device and equipment based on Windows system and storage medium
US11366710B1 (en) 2021-02-23 2022-06-21 Quanta Computer Inc. Methods and systems for reducing downtime from system management mode in a computer system
TWI772024B (en) * 2021-02-23 2022-07-21 廣達電腦股份有限公司 Methods and systems for reducing downtime
CN114048158A (en) * 2021-10-12 2022-02-15 北京控制与电子技术研究所 General purpose GPIO port controller based on user command

Similar Documents

Publication Publication Date Title
US8468514B2 (en) System and method for updating unified extensible firmware interface setting information
US20140047256A1 (en) Terminal device and method for operating the same
US6434696B1 (en) Method for quickly booting a computer system
CN110895518A (en) GPIO (general purpose input/output) interface configuration method and system
US9558016B2 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
US5944820A (en) Modifiable partition boot record for a computer memory device
US7581047B2 (en) Usage of keyboard driver in extensible firmware interface for adding new hot keys at firmware level
US7080244B2 (en) System and method for configuring hardware devices using a menu for platforms with EFI and legacy option-ROMs
US9015457B2 (en) System and method for configuring an information handling system by implementing a customized configuration of a personality module
US20110055537A1 (en) Electronic device and booting method therefor
US20070079094A1 (en) System and method for enabling/disabling write-protection of a basic input output system
US8117368B2 (en) System management interrupt interface wrapper
CN101201746A (en) Method for setting ROM-BIOS
US20130097340A1 (en) Usb multi-functions device and method thereof
CN113821265B (en) Operating system control method and device, computer mainboard and readable storage medium
CN114860321A (en) External device control method, device, equipment and medium based on raspberry pi
US7562209B2 (en) Supporting different instruction set architectures during run time
CN111722888A (en) Operation execution method, device, equipment and readable storage medium
CN111143021A (en) Display driver loading method and device, chip, mainboard and electronic equipment
CN115016850B (en) UEFI firmware starting mode switching method based on domestic processor platform
CN111488189B (en) Window display method, device, equipment and computer readable storage medium
US20210389985A1 (en) Data processing method, electronic device, and storage medium
US20240012653A1 (en) Method and computing system for returning to a bios setup utility while in a shell environment during a booting process
CN113986284A (en) System application upgrading method and device, storage medium and electronic equipment
CN118295509A (en) State setting method of processor, computing device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination