Supported Browsers Home   
MCS_setControlValue Previous   
MDBX_close Next   
External Functions Up   

MCS_setControlValues

Sets the value of multiple MCCS controls at a time

Declaration

ibool NAPI MCS_setControlValues(
    N_int32 numControls,
    uchar *controlCodes,
    ushort *values)

Prototype In

snap/ddc.h

Parameters

numControls

Number of control values to program (40 max)

controlCodes

Array of MCCS control codes (MCS_controlsType)

values

Array of new values for the control

 

Return Value

True if the function succeeded, false if it failed.

Description

This function sets the current value for multiple MCCS controls at a time. This function is similar to MCS_setControlValue, but is much faster for setting the value of multiple controls due to reduced traffic over the I2C bus.

Note:    This function can only program up to 40 controls at a time. If you need to program more than 40 controls, you will need to call this function multiple times.

See Also

MCS_isControlSupported, MCS_enableControl, MCS_getControlValue, MCS_getControlValues, MCS_setControlValue, MCS_resetControl, MCS_saveCurrentSettings

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com