pub unsafe extern "C" fn gpio_pin_set_dt(
spec: *const gpio_dt_spec,
value: i32,
) -> i32
Expand description
@brief Set logical level of a output pin from a @p gpio_dt_spec.
This is equivalent to:
gpio_pin_set(spec->port, spec->pin, value);
@param spec GPIO specification from devicetree @param value Value assigned to the pin. @return a value from gpio_pin_set()