pub unsafe extern "C" fn gpio_pin_toggle_dt(
spec: *const gpio_dt_spec,
) -> i32
Expand description
@brief Toggle pin level from a @p gpio_dt_spec.
This is equivalent to:
gpio_pin_toggle(spec->port, spec->pin);
@param spec GPIO specification from devicetree @return a value from gpio_pin_toggle()