XJAPI_SetFrequency

Set the TCK frequency.

XJAPI_ERROR XJAPI_SetFrequency(
    unsigned int frequency
);

Arguments

frequency
The TCK frequency in Hz.

Return value

An XJAPI_ERROR value indicating whether the function call was successful or not.

Notes

Possible values for frequency range from 10 kHz to 166 MHz in steps of 10 kHz.

If the supplied value is outside the valid range, then an error is returned. If it is within the valid range, but not one of the exact values allowed, then it is rounded to the nearest valid value.

XJAPI_HardwareSetup must be called before this function.