25 #include <odb/callback.hxx> 26 #include <odb/core.hxx> 40 #pragma db object callback(validation_callback) table("HARDWARE_GPIO") 51 virtual ~GPIO() =
default;
55 void number(uint16_t number);
Direction direction() const
This is the header file for a generated source file, GitSHA1.cpp.
Abstraction of a GPIO device attributes.
Base class for hardware devices.
bool default_value() const
bool default_value_
True to default to ON, false otherwise.
void validation_callback(odb::callback_event e, odb::database &) const override