gpio_toggle

Function gpio_toggle 

Source
pub fn gpio_toggle(resource: u32, io: u8) -> Status
Expand description

Toggle the value of a given GPIO for a device identified by its handle

ยงdescription

This syscall invert the GPIO pin value of a GPIO identifier associated to the corresponding pinmux declared in the device tree.

Its behavior is similar to gpio_reset, except that the new GPIO pin value is based on the inversion of its current value.