5 lightbar_brightness_single, 6 lightbar_blnk_settings, 6 lightbar_blnk_s e ttin g s – IEI Integration AFL2-W19A-H61 v1.21 User Manual

Page 48

Advertising
background image

AFL2-W19A/AB-H61

P a g e 28

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)

Return value: True if success.

Remarks:

This function is used to set LED IC Blinking modes via drivers.

Advertising