pub unsafe extern "C" fn led_blink(
dev: *const device,
led: u32,
delay_on: u32,
delay_off: u32,
) -> i32Expand description
@brief Blink an LED
This optional routine starts blinking a LED forever with the given time period.
@param dev LED device @param led LED number @param delay_on Time period (in milliseconds) an LED should be ON @param delay_off Time period (in milliseconds) an LED should be OFF @return 0 on success, negative on error