|
pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
|
Public Member Functions | |
| GPIO (lpGBT &lpgbt) | |
| virtual std::vector< std::string > | getGPOs () |
| Get the set of GPO pin names. | |
| virtual std::vector< std::string > | getGPIs () |
| Get the set of GPI pin names. | |
| virtual bool | getGPI (const std::string &name) |
| Read a GPI bit. | |
| virtual bool | getGPO (const std::string &name) |
| Get current value of GPO bit. | |
| virtual void | setGPO (const std::string &name, bool toTrue=true) |
| Set a single GPO bit. | |
Public Member Functions inherited from pflib::GPIO | |
| 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. | |
Protected Member Functions | |
| void | add_pin (const std::string &name, int ibit, bool output) |
Protected Member Functions inherited from pflib::GPIO | |
Private Attributes | |
| lpGBT & | lpgbt_ |
| std::map< std::string, int > | gpos_ |
| std::map< std::string, int > | gpis_ |
Friends | |
| class | ::pflib::lpGBT |
|
virtual |
Read a GPI bit.
Implements pflib::GPIO.
|
virtual |
Get the set of GPI pin names.
Implements pflib::GPIO.
|
virtual |
Get current value of GPO bit.
Implements pflib::GPIO.
|
virtual |
Get the set of GPO pin names.
Implements pflib::GPIO.
|
virtual |
Set a single GPO bit.
Implements pflib::GPIO.