ulink_append_led_cmd() function
Turn on/off ULINK LEDs.
Arguments
device
pointer to struct ulink identifying ULINK driver instance.
led_state
which LED(s) to turn on or off. The following bits influence the LEDS: - Bit 0: Turn COM LED on - Bit 1: Turn RUN LED on - Bit 2: Turn COM LED off - Bit 3: Turn RUN LED off If both the on-bit and the off-bit for the same LED is set, the LED is turned off.
Return value
on success: ERROR_OK on failure: ERROR_FAIL
Functions called by ulink_append_led_cmd()
ulink_append_led_cmd()
calloc() free() all items filtered out
Data read by ulink_append_led_cmd()
Data written by ulink_append_led_cmd()
ulink_append_led_cmd()::cmd ulink_append_led_cmd()::ret all items filtered out
ulink_append_led_cmd()
ulink_append_led_cmd()::ret all items filtered out
Type of ulink_append_led_cmd()
ulink_append_led_cmd()
Types freed by ulink_append_led_cmd()
Types allocated by ulink_append_led_cmd()
ulink_append_led_cmd()