diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/states_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/states_8c.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,371 @@ + +
+#include "states.h"
#include "def.h"
#include "dcf.h"
#include "nmtSlave.h"
+Go to the source code of this file.
Defines | |
#define | StartOrStop(CommType, FuncStart, FuncStop) |
#define | None |
Functions | |
void | switchCommunicationState (CO_Data *d, s_state_communication *newCommunicationState) |
e_nodeState | getState (CO_Data *d) |
void | canDispatch (CO_Data *d, Message *m) |
UNS8 | setState (CO_Data *d, e_nodeState newState) |
UNS8 | getNodeId (CO_Data *d) |
void | setNodeId (CO_Data *d, UNS8 nodeId) |
void | _initialisation () |
void | _preOperational () |
void | _operational () |
void | _stopped () |
#define StartOrStop | +( | +CommType, | |||
+ | + | FuncStart, | |||
+ | + | FuncStop | ++ | ) | ++ |
+Value:
if(newCommunicationState->CommType && !d->CurrentCommunicationState.CommType){\ + MSG_WAR(0x9999,#FuncStart, 9999);\ + d->CurrentCommunicationState.CommType = 1;\ + FuncStart;\ + }else if(!newCommunicationState->CommType && d->CurrentCommunicationState.CommType){\ + MSG_WAR(0x9999,#FuncStop, 9999);\ + d->CurrentCommunicationState.CommType = 0;\ + FuncStop;\ + } +
+
void _initialisation | +( | ++ | ) | ++ |
void _preOperational | +( | ++ | ) | ++ |
void canDispatch | +( | +CO_Data * | +d, | +|
+ | + | Message * | +m | + |
+ | ) | ++ |
+ +
+Definition at line 39 of file states.c. +
+References proceedNMTstateChange(), proceedNODE_GUARD(), proceedPDO(), proceedSDO(), and proceedSYNC(). +
UNS8 getNodeId | +( | +CO_Data * | +d | +) | ++ |
e_nodeState getState | +( | +CO_Data * | +d | +) | ++ |
void setNodeId | +( | +CO_Data * | +d, | +|
+ | + | UNS8 | +nodeId | + |
+ | ) | ++ |
UNS8 setState | +( | +CO_Data * | +d, | +|
+ | + | e_nodeState | +newState | + |
+ | ) | ++ |
+ +
+Definition at line 100 of file states.c. +
+References decompo_dcf(), ptrTable, and switchCommunicationState(). +
void switchCommunicationState | +( | +CO_Data * | +d, | +|
+ | + | s_state_communication * | +newCommunicationState | + |
+ | ) | ++ |
+ +
+Definition at line 89 of file states.c. +
+References heartbeatInit(), heartbeatStop(), None, resetSDO(), slaveSendBootUp(), StartOrStop, startSYNC(), and stopSYNC(). +
+