CANTram Framework 1.0.1
Dieses Framework ermöglicht die Nutzung der CANTram Hardware, einer Mikrocontroller basierten mdoularen Steuerung.
Loading...
Searching...
No Matches
DigitalInput Class Reference
Inheritance diagram for DigitalInput:
Collaboration diagram for DigitalInput:

Public Types

enum  Pull { NONE , UP , DOWN }
Public Types inherited from Interface
enum  Resolution { RES_8BIT = 8 , RES_10BIT = 10 , RES_12BIT = 12 , RES_16BIT = 16 }
enum  Type {
  DIGITAL_INPUT , DIGITAL_OUTPUT , ANALOG_INPUT , ANALOG_OUTPUT ,
  RELAIS , BUS
}

Public Member Functions

Interface::Type getType () const override
Public Member Functions inherited from Interface
virtual void setQ (uint16_t q)
virtual uint16_t getQ () const
void rename (const String &newName)
template<typename T>
T as ()
void validate ()
void validate (bool state)
void invalidate ()
bool isValid ()
bool isInvalid ()
String getName () const

Additional Inherited Members

Protected Attributes inherited from Interface
String name
uint16_t Q = 0
bool _valid = false
bool _invalid = false

Member Function Documentation

◆ getType()

Interface::Type DigitalInput::getType ( ) const
inlineoverridevirtual

Implements Interface.


The documentation for this class was generated from the following file:
  • C:/Users/leowa/Documents/PlatformIO/Projects/CANTramFrameworkUsage/lib/CANTramFramework/include/DigitalInput.h