|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Representation of GPIO controller. More...
#include <GPIO.h>
Public Member Functions | |
| virtual std::vector< std::string > | getGPOs ()=0 |
| Get the set of GPO pin names. | |
| virtual std::vector< std::string > | getGPIs ()=0 |
| Get the set of GPI pin names. | |
| virtual bool | hasGPO (const std::string &name) |
| Check if a given GPO exists. | |
| virtual bool | hasGPI (const std::string &name) |
| Check if a given GPI exists. | |
| virtual bool | getGPI (const std::string &name)=0 |
| Read a GPI bit. | |
| virtual bool | getGPO (const std::string &name)=0 |
| Get current value of GPO bit. | |
| virtual void | setGPO (const std::string &name, bool toTrue=true)=0 |
| Set a single GPO bit. | |
Representation of GPIO controller.
|
pure virtual |
Read a GPI bit.
Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.
|
pure virtual |
Get the set of GPI pin names.
Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.
|
pure virtual |
Get current value of GPO bit.
Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.
|
pure virtual |
Get the set of GPO pin names.
Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.
|
pure virtual |
Set a single GPO bit.
Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.