components

Macro gpio_component_helper

Source
macro_rules! gpio_component_helper {
    (
        $Pin:ty,
        $($nr:literal => $pin:expr),* $(,)?
    ) => { ... };
}
Expand description

Pins are declared using the following format: number => pin

Any pin numbers that are skipped will be declared as None and using them from user space will return NODEVICE