beautypg.com

D.5.8 lightbar_led_modeset, D.6 structures, D.6.1 _led_color_info – IEI Integration IBS-19A User Manual

Page 149: Tructures, D.6.1, Led_color_info for det, Ibs-19a series medical panel pc page 18

background image

IBS-19A Series Medical Panel PC

Page 18

_LED_BLNK_TYPE for details)

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to turn on/off LED IC blinking control via drivers.

D.5.8 LIGHTBAR_LED_ModeSet

Syntax:

PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_LED_ModeSet (

HANDLE hDev,

PLED_MODE_SETTINGS LED_Mode_Settings)

Parameters:

hDev [IN] - Input Handle.

LED_Mode_Settings [IN] - Point to structures buffers to write. (Section D.6.4

_LED_MODE_SETTINGS for details)

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to set each LED operation mode on LED IC via drivers.

D.6 Structures

D.6.1 _LED_COLOR_INFO

Syntax:

typedef struct _LED_COLOR_INFO{

LED_INFO

LED_Info;

int

R_LEVEL;

int

G_LEVEL;

int

B_LEVEL;

}LED_COLOR_INFO, *PLED_COLOR_INFO;

Parameters: R_LEVELG_LEVELB_LEVEL [int] - Store the brightness level information for

R, G and B LED. The brightness level is from 0 to 7.

LED_Info [structure] – The LED IC address is stored in Main_Addr on the I2c

bus, and LED list numbers are stored in R_LN, G_LN and B_LN parameters:

typedef struct _LED_INFO {

UCHAR

Main_Addr;

//Main

address

UCHAR

R_LN;

//Red list number