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

Public Member Functions

Interface::Type getType () const override
bool begin ()
bool end ()
bool setBaudrate (CANCore::Baudrate baudrate)
bool sendMessage (const CANCore::CANMessage &message)
bool receiveMessage (CANCore::CANMessage &message)
uint8_t available ()
void setCANCore (CANCore *canCore)
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

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
}
Protected Attributes inherited from Interface
String name
uint16_t Q = 0
bool _valid = false
bool _invalid = false

Member Function Documentation

◆ getType()

Interface::Type CANInterface::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/CANInterface.h