4 lightbar_deviceclose, 5 lightbar_brightness_single, 6 lightbar_blnk_settings – IEI Integration AFL2-17A-H61 v1.11 User Manual
Page 44: 6 lightbar_blnk_s e ttin g s

AFL2-17A/AB-H61
P a g e 25
2.4.2.4 LIGHTBAR_De vic e Clo s e
Syntax:
PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceClose(HANDLE hDev)
Parameters:
hDev [IN] – Input Handle.
Return value:
True if success.
Remarks:
Call this function to turn off LED IC.
2.4.2.5 LIGHTBAR_Brig h tn e s s _S in g le
Syntax:
PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_Brightness_Single(
HANDLE hDev,
PLED_COLOR_INFO Brightness_Step,
int INFO_Size)
Parameters:
hDev [IN] – Input Handle.
Brightness_Step [IN] –Point to structures buffers to write. (see Section 2.4.3)
INFO_Size [IN] – describe the data structure array size.
Return value: True if success.
Remarks:
Write data to LED IC on I2C bus via drivers. This function creates data structures
include the target LED IC address and Brightness information to send to LED IC via
LED Driver.
2.4.2.6 LIGHTBAR_BLNK_S e ttin g s
Syntax:
PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_BLNK_Settings(
HANDLE hDev,
PLED_BLNK_SET LED_Blinking_Set)
Parameters:
hDev [IN] – Input Handle.
LED_Blinking_Set [IN] –Point to structures buffers to write. (see Section 2.4.3)