gpio_configure

Function gpio_configure 

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

Configure a given GPIO for a device identified by its handle

ยงdescription

This syscall configures the GPIO using the corresponding pinmux settings set in the device-tree. See gpio_get for device-tree related description.

The return values are similar to gpio_get. The GPIO is synchronously set according to the corresponding pinmux definition.