|
VLCB
|
#include <Controller.h>#include <Switch.h>#include <LED.h>#include <Configuration.h>#include <Parameters.h>#include <vlcbdefs.hpp>#include <LEDUserInterface.h>#include <MinimumNodeServiceWithDiagnostics.h>#include <CanServiceWithDiagnostics.h>#include <NodeVariableService.h>#include <EventConsumerServiceWithDiagnostics.h>#include <EventProducerServiceWithDiagnostics.h>#include <ConsumeOwnEventsService.h>#include <EventTeachingServiceWithDiagnostics.h>#include <EventSlotTeachingService.h>#include <LongMessageService.h>#include <SerialUserInterface.h>Go to the source code of this file.
Namespaces | |
| namespace | VLCB |
Functions | |
Startup Functions | |
| void | VLCB::checkStartupAction (byte greenLedPin, byte yellowLedPin, byte pushButtonPin) |
| void | VLCB::begin () |
Module Configuration | |
| void | VLCB::setServices (std::initializer_list< Service * > services) |
| void | VLCB::setVersion (char maj, char min, char patch) |
| void | VLCB::setModuleId (byte manu, byte moduleId) |
| void | VLCB::setName (char *mname) |
| void | VLCB::setNumNodeVariables (byte n) |
| Set number of node variables that the module will use. | |
| void | VLCB::setEventsStart (byte n) |
| Optional: Sets the address where event data starts in the EEPROM. | |
| void | VLCB::setMaxEvents (byte n) |
| Set the max number of events the module can handle. | |
| void | VLCB::setNumEventVariables (byte n) |
| Set the number of event variables that are used by each stored event. | |
Module Configuration Access | |
| VlcbModeParams | VLCB::getCurrentMode () |
| byte | VLCB::getCANID () |
| unsigned int | VLCB::getNodeNum () |
| unsigned int | VLCB::getFreeEEPROMbase () |
| byte | VLCB::readNV (byte nv) |
| void | VLCB::writeNV (byte nv, byte val) |
| byte | VLCB::getEventEVval (byte idx, byte evnum) |
| byte | VLCB::findExistingEventByEv (int evIndex, byte value) |
| byte | VLCB::findExistingEvent (unsigned int nn, unsigned int en) |
| bool | VLCB::isEventIndexValid (byte eventIndex) |
| bool | VLCB::doesEventExistAtIndex (byte eventIndex) |
| byte | VLCB::findEmptyEventSpace () |
| void | VLCB::createEventAtIndex (byte eventIndex, unsigned int nn, unsigned int en) |
| void | VLCB::writeEventVariable (byte eventIndex, byte evIndex, byte value) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc, byte b1) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc, byte b1, byte b2) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc, byte b1, byte b2, byte b3) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc, byte b1, byte b2, byte b3, byte b4) |
| bool | VLCB::sendMessageWithNN (VlcbOpCodes opc, byte b1, byte b2, byte b3, byte b4, byte b5) |
| void | VLCB::addTimedResponseTask (TimedResponse::Task *task) |
| void | VLCB::resetModule () |
Running | |
| void | VLCB::process () |