pub unsafe extern "C" fn led_set_brightness_dt(
spec: *const led_dt_spec,
value: u8,
) -> i32Expand description
@brief Set LED brightness from a led_dt_spec.
@param spec LED device specification from devicetree. @param value Brightness value to set in percent. @return 0 on success, negative on error.
@see led_set_brightness()