Sam Grove / Mbed 2 deprecated canopen_masternode

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

states.c File Reference

states.c File Reference

Go to the source code of this file.

Functions

void switchCommunicationState (CO_Data *d, s_state_communication *newCommunicationState)
 Prototypes for internals functions.
e_nodeState getState (CO_Data *d)
 Returns the state of the node.
void canDispatch (CO_Data *d, Message *m)
 Called by driver/app when receiving messages.
UNS8 setState (CO_Data *d, e_nodeState newState)
 Change the state of the node.
UNS8 getNodeId (CO_Data *d)
 Returns the nodId.
void setNodeId (CO_Data *d, UNS8 nodeId)
 Define the node ID.
void _initialisation (CO_Data *d)
 Function that user app can overload.
void _preOperational (CO_Data *d)
 Function that user app can overload.
void _operational (CO_Data *d)
 Function that user app can overload.
void _stopped (CO_Data *d)
 Function that user app can overload.

Detailed Description

Author:
Edouard TISSERANT and Francis DUPIN
Date:
Tue Jun 5 09:32:32 2007

Definition in file states.c.


Function Documentation

void canDispatch ( CO_Data d,
Message m 
)

Called by driver/app when receiving messages.

Parameters:
d
m

Definition at line 63 of file states.c.

void switchCommunicationState ( CO_Data d,
s_state_communication *  newCommunicationState 
)

Prototypes for internals functions.

Parameters:
d
newCommunicationState

Definition at line 137 of file states.c.