User guide

AFL2-17A/AB-H61
Page 25
IBS_LEDCTRL.dll
IBS_LEDCTRL.lib
IBS_LEDCTRL.h
2.4.2 LED Control API Functions
2.4.2.1 LIGHTBAR_DriverInit
Syntax: PACSM_LIGHTBAR_CTRL STD_HANDLE LIGHTBAR_DriverInit(void)
Parameters: NONE
Return value:
Return a Handle from LED driver.
Remarks: Call this function to initial and start the LED Driver and return a Handle from LED
driver.
2.4.2.2 LIGHTBAR_DriverUninit
Syntax: PACSM_LIGHTBAR_CTRL STD_Void LIGHTBAR_DriverUninit(HANDLE hDev)
Parameters: hDev [IN]Handle be released.
Return value:
True if success.
Remarks: Call this function to stop and uninitialized the LED Driver and to release resource of
Handle.
2.4.2.3 LIGHTBAR_De vic e In it
Syntax: PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceInit(HANDLE hDev)
Parameters: hDev [IN]Input Handle.
Return value:
True if success.
Remarks: Call this function to initial the LED IC.