int eth32_get_led(eth32 handle, int led, int *value);
This function allows you to retrieve the status of the two LED's built into the ETH32 device.
handle - The value returned by the eth32_open function.
led - Specifies which LED (0 or 1).
value - Pointer to a variable which will receive the status of the specified LED. Zero means the LED is off and nonzero means it is on.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.