ITCLEDGetControl

Gets the current active period and blink rate for the specified LED.

Syntax

HRESULT ITCLEDGetControl (
    int LedNo, 
    BYTE *ActivePeriod, 
    BYTE *BlinkRate
)

Parameters

LedNo
[in] LED number:
12 for LED_VM3_USER_GREEN
13 for LED_VM3_USER_RED

ActivePeriod
[out] Buffer to store active period.

BlinkRate
[out] Buffer to store blink rate.

For valid values, see the Remarks in ITCLEDSetControl.

Return Values

ITC_SUCCESS
Success.

ITC_ERROR
Failure.

ITC_ERROR_FUNCTION_NOT_SUPPORTED
Platform does not support the function.

Header and Library Files

Header File: ITC50.H

Library: ITC50.LIB

More Information

LED Control Functions