pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::GPIO Class Referenceabstract

Representation of GPIO controller. More...

#include <GPIO.h>

Inheritance diagram for pflib::GPIO:
[legend]

Public Member Functions

virtual std::vector< std::stringgetGPOs ()=0
 Get the set of GPO pin names.
 
virtual std::vector< std::stringgetGPIs ()=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.
 

Detailed Description

Representation of GPIO controller.

Member Function Documentation

◆ getGPI()

virtual bool pflib::GPIO::getGPI ( const std::string & name)
pure virtual

Read a GPI bit.

Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.

◆ getGPIs()

virtual std::vector< std::string > pflib::GPIO::getGPIs ( )
pure virtual

Get the set of GPI pin names.

Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.

◆ getGPO()

virtual bool pflib::GPIO::getGPO ( const std::string & name)
pure virtual

Get current value of GPO bit.

Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.

◆ getGPOs()

virtual std::vector< std::string > pflib::GPIO::getGPOs ( )
pure virtual

Get the set of GPO pin names.

Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.

◆ setGPO()

virtual void pflib::GPIO::setGPO ( const std::string & name,
bool toTrue = true )
pure virtual

Set a single GPO bit.

Implemented in pflib::GPIO_HcalHGCROCZCU, and pflib::lpgbt::GPIO.


The documentation for this class was generated from the following files: