Leosac
0.8.0
Open Source Access Control
|
Piface Module GPIO descriptor. More...
#include <PFGPIO.hpp>
Public Member Functions | |
PFGPIO () | |
uint8_t | hardware_address () const |
void | hardware_address (uint8_t addr) |
Public Member Functions inherited from Leosac::Hardware::GPIO | |
GPIO () | |
virtual | ~GPIO ()=default |
uint16_t | number () const |
void | number (uint16_t number) |
Direction | direction () const |
void | direction (Direction direction) |
bool | default_value () const |
void | default_value (bool default_value) |
void | validation_callback (odb::callback_event e, odb::database &) const override |
Public Member Functions inherited from Leosac::Hardware::Device | |
Device () | |
Device (DeviceClass device_class) | |
virtual | ~Device ()=default |
UUID | id () const |
const std::string & | name () const |
void | name (const std::string &name) |
DeviceClass | device_class () const |
void | device_class (DeviceClass d) |
bool | enabled () const |
void | enabled (bool e) |
uint64_t | odb_version () const |
Private Attributes | |
uint8_t | hardware_address_ |
Hardware address of the piface digital device. More... | |
Additional Inherited Members | |
Public Types inherited from Leosac::Hardware::GPIO | |
enum | Direction { Direction::In = 0, Direction::Out = 1 } |
Piface Module GPIO descriptor.
It inherits Hardware::GPIO and adds Piface specific data.
Definition at line 44 of file PFGPIO.hpp.
Leosac::Module::Piface::PFGPIO::PFGPIO | ( | ) |
Definition at line 32 of file PFGPIO.cpp.
|
inline |
Definition at line 49 of file PFGPIO.hpp.
|
inline |
Definition at line 54 of file PFGPIO.hpp.
|
private |
Hardware address of the piface digital device.
This should be 0 when using a single piface.
Definition at line 65 of file PFGPIO.hpp.