35#ifndef _UTILS_GPIOINITIALIZER_HXX_
36#define _UTILS_GPIOINITIALIZER_HXX_
53 static void set(
bool value)
60template <
typename Head,
typename... Tail>
72 Head::hw_set_to_safe();
76 static void set(
bool value)
113 static void set(
bool value)
static void hw_set_to_safe()
Middle step of the recursion for an individual pin.
static void set(bool value)
Middle step of the recursion for an individual pin.
static void hw_init()
Middle step of the recursion for an individual pin.
static void hw_set_to_safe()
hw_set_to_safe part of the end of the recursion.
static void hw_init()
hw_init part of the end of the recursion.
static void set(bool value)
set part of the end of the recursion.
Forward declaration to make the template matcher happy.
Class collecting a bunch of GPIO pins and allowing them to be initialized in one go.
static void hw_init()
Calls the hw_init() function for all declared pins.
static void set(bool value)
Calls the set() function for all declared pins.
static void hw_set_to_safe()
Calls the hw_set_to_safe() function for all declared pins.