#include <init.h>
#include <canop.h>
Functions | |
BYTE | initConnection (sInitParameter *initParameter) |
void | closeConnection (void) |
Variables | |
BYTE | bDeviceNodeId |
BYTE | bStateMachineState |
|
Closes connection to the CANbus. Probably only needed for PC based CAN cards |
|
Sets the ID of this node, initializes CAN-interface (by calling t platform dependent setupCanInterface from canop.h.
|
|
the node-id of this device |
|
the actual state of this device: INITIALISATION, PRE_OPERATIONAL,OPERATIONAL or STOPPED |