IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcGetVersionsEx ( unsigned short *  libraryVersion,
unsigned short *  firmwareVersion,
unsigned short *  hardwareRevision,
unsigned short *  softwareInterfaceVersion 
)

This function can be used to determine the library version and the graphics controller's firmware, hardware and software interface version. All versions are BCD-encoded (e.g. 0x0123 => 1.23).

Parameters:
libraryVersion Pointer to a 16 bit variable the library version is to be stored in. You may pass a NULL pointer, if you are not interested in the library version.
firmwareVersion Pointer to a 16 bit variable the firmware version is to be stored in. You may pass a NULL pointer, if you are not interested in the firmware version.
hardwareRevision Pointer to a 16 bit variable the hardware revision is to be stored in. You may pass a NULL pointer, if you are not interested in the hardware revision.
softwareInterfaceVersion Pointer to a 16 bit variable the software interface version is to be stored in. You may pass a NULL pointer, if you are not interested in the software interface version. The software interface version is used to determine the features supported by the actual graphics controller.
Returns:
One of the following error codes is returned:
Note:
If gcInit() has returned GC_ERROR_FIRMWARE_OUT_OF_DATE, you may call this function to determine the software interface version of the current graphics controller. The constant GC_MIN_SW_INTERFACE_VER represents the minimum version required by the library.
Since:
1.07
Targets:

GC01

GC04

X

X

See also:
GC_LIB_VER





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1