ICANopenEventHandler.EventCallback (METH)ΒΆ

METHOD EventCallback : BOOL

Method will be called by CANopenManager in case of a CANopen event. As long as the method returns FALSE the method will be called and the stack state machine is paused.

InOut:

Scope

Name

Type

Comment

Return

EventCallback

BOOL

Returns if event was completely processed by ICANopenEventHandler:
  • FALSE: State machine will be paused and method will be called again.

  • TRUE: State machine continues.

Input

eEvent

CANopenEvent

Event Type

usiNodeID

USINT

NodeID associated with the event; 0 if not relevant.