beautypg.com

D.5.2 lightbar_driveruninit, D.5.3 lightbar_deviceinit, D.5.4 lightbar_deviceclose – IEI Integration IBS-19A User Manual

Page 147: Ibs-19a series medical panel pc page 16

background image

IBS-19A Series Medical Panel PC

Page 16

Return value:

This function can return a handle of a device.

Remarks:

Call this function to initialize the LED driver and return a handle from the LED driver.

D.5.2 LIGHTBAR_DriverUninit

Syntax:

PACSM_LIGHTBAR_CTRL STD_Void LIGHTBAR_DriverUninit(HANDLE hDev)

Parameters:

hDev [IN] – a handle to be released

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to stop and uninitialized the LED driver and release resource of

handle.

D.5.3 LIGHTBAR_DeviceInit

Syntax:

PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceInit(HANDLE hDev)

Parameters:

hDev [IN] – input handle

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to initialize a LED IC.

D.5.4 LIGHTBAR_DeviceClose

Syntax:

PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceClose(HANDLE hDev)

Parameters:

hDev [IN] – input handle

Return value:

If it is initialized successfully, it returns TRUE.

Remarks:

Call this function to turn off LED IC.