A programming interface technology realization method and computer system
An implementation method and technology of programming interface, applied in the field of realizing computer programming interface, can solve the problems of high development and maintenance cost, long development cycle, poor portability, etc., and achieve low development and maintenance cost, short development cycle, and high reliability. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0067] Example 1: The defined BPI GPIO interface can specifically be: interface BPI_STATUSBPI_GPIO_Output(UINT8 pin_index, UINT8 level), its function is to output a level (1: high level, 0: low level) level of the pin_index GPIO to the external device, such as BPI_GPIO_Output(1,0) means to output a low level to the first GPIO.
example 2
[0068] Example 2: The defined BPI CPU interface can specifically be: interface BPI_STATUSBPI_Get_HHM_Temperature(UINT8 hhm_temp_fun_number, UINT8*temperature); its function is to obtain the system ambient temperature or CPU temperature. For example, BPI_Get_HHM_Temperature(CPU1_TEMP,&temperature); means to read the core temperature of the first CPU in the system.
[0069] From the prototype of the standard interface function defined above, it can be seen that the BPI interface does not involve any hardware-related information, and the hardware access is completely transparent to the driver engineer or application software engineer, so it can greatly reduce the difficulty of customer software development and development or maintenance costs. At the same time, the software has good cross-platform performance.
[0070] Of course, in practical applications, the BPI interface specification can also be implemented through other standard interfaces, such as Figure 4 as shown, Fig...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 