Method for being compatible with hardware states of main control boards of different manufacturers
The invention provides a method for being compatible with hardware states of main control boards of different manufacturers. The method comprises the following steps: defining an ID register representing a main control board manufacturer; a value representing a main control board manufacturer is wri...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a method for being compatible with hardware states of main control boards of different manufacturers. The method comprises the following steps: defining an ID register representing a main control board manufacturer; a value representing a main control board manufacturer is written into the ID register, the value of the ith manufacturer is xi, i = 1, 2,..., n, and n is the number of manufacturers and is larger than or equal to 2; the value of the ID register is read and matched with xi, and a manufacturer of the main control board is identified; and when the interface needs to be operated, calling the interface driving function provided by the manufacturer. According to the method, the problem that single configuration item software is compatible with a plurality of hardware state main control boards is effectively solved, the manufacturer ID can be accurately identified in the system software operation starting process, a corresponding interface driving program is correctly called subse |
---|