beautypg.com

2 lightbar_driveruninit, 3 lightbar_deviceinit, 4 lightbar_deviceclose – IEI Integration AFL2-W21-H61 User Manual

Page 43: 3 lightbar_de vic e in it, 4 lightbar_de vic e clo s e

background image

AFL2-W21A/AB-H61

P a g e 24

2.4.2.2 LIGHTBAR_Drive rUn in it

Syntax:

PACSM_LIGHTBAR_CTRL STD_Void LIGHTBAR_DriverUninit(HANDLE hDev)

Parameters:

hDev [IN] – Handle be released.

Return value:

True if success.

Remarks:

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

Handle.

2.4.2.3 LIGHTBAR_De vic e In it

Syntax:

PACSM_LIGHTBAR_CTRL STD_BOOLEN LIGHTBAR_DeviceInit(HANDLE hDev)

Parameters:

hDev [IN] – Input Handle.

Return value:

True if success.

Remarks:

Call this function to initial the LED IC.

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.