beautypg.com

D.5.5 lightbar_brightness_single, D.5.6 lightbar_blnk_settings, D.5.7 lightbar_blnk_type – IEI Integration IBS-19A User Manual

Page 148

background image

IBS-19A Series Medical Panel PC

Page 17

D.5.5 LIGHTBAR_Brightness_Single

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 D.6.1

_LED_COLOR_INFO for details)。

INFO_Size [IN] – size of structures

Remarks:

Write data to LED IC on I2C bus via drivers. Call this function to create data

structures include the target LED IC address and brightness information to send to

LED IC via LED driver.

D.5.6 LIGHTBAR_BLNK_Settings

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 D.6.2

_LED_BLNK_SET for details)

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to set LED IC blinking modes via drivers.

D.5.7 LIGHTBAR_BLNK_Type

Syntax:

PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_BLNK_Type(

HANDLE hDev,

PLED_BLNK_TYPE Blinking_Type)

Parameters:

hDev [IN] - Input Handle.

Blinking_Type [IN] - Point to structures buffers to write. (Section D.6.3