2 led control api functions, 1 lightbar_driverinit, 2 lightbar_driveruninit – IEI Integration AFL2-17A-H61 v1.11 User Manual
Page 43: 3 lightbar_deviceinit, 2 lightbar_drive run in it, 3 lightbar_de vic e in it

AFL2-17A/AB-H61
P a g e 24
IBS_LEDCTRL.dll
IBS_LEDCTRL.lib
IBS_LEDCTRL.h
2.4.2 LED Co n tro l AP I Fu n c tio n s
2.4.2.1 LIGHTBAR_Drive rIn it
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_Drive rUn in it
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.