if(newCommunicationState->CommType && !d->CurrentCommunicationState.CommType){\
- MSG_WAR(0x9999,#FuncStart, 9999);\
- d->CurrentCommunicationState.CommType = 1;\
+Value:
@@ -125,6 +148,7 @@
void _initialisation |
( |
+ void |
|
) |
|
@@ -146,6 +170,7 @@
void _operational |
( |
+ void |
|
) |
|
@@ -167,6 +192,7 @@
void _preOperational |
( |
+ void |
|
) |
|
@@ -188,6 +214,7 @@
void _stopped |
( |
+ void |
|
) |
|
@@ -209,13 +236,13 @@
void canDispatch |
( |
- CO_Data * |
+ CO_Data * |
d, |
|
|
- Message * |
+ Message * |
m | |
@@ -236,43 +263,40 @@
-case TIME_STAMP:
-
Definition at line 65 of file states.c.
-References proceedNMTstateChange(), proceedNODE_GUARD(), proceedPDO(), proceedSDO(), and proceedSYNC().
+References Message::cob_id, s_state_communication::csHeartbeat, s_state_communication::csPDO, s_state_communication::csSDO, s_state_communication::csSYNC, struct_CO_Data::CurrentCommunicationState, struct_s_timer_entry::d, struct_CO_Data::iam_a_slave, NMT, NODE_GUARD, PDO1rx, PDO1tx, PDO2rx, PDO2tx, PDO3rx, PDO3tx, PDO4rx, PDO4tx, proceedNMTstateChange(), proceedNODE_GUARD(), proceedPDO(), proceedSDO(), proceedSYNC(), SDOrx, SDOtx, SYNC, and SHORT_CAN::w.
+
+Referenced by canReceiveLoop(), and main().
Here is the call graph for this function:
@@ -284,7 +308,7 @@
UNS8 getNodeId |
( |
- CO_Data * |
+ CO_Data * |
d |
) |
|
@@ -303,6 +327,10 @@
Definition at line 224 of file states.c.
+
+References struct_CO_Data::bDeviceNodeId, and struct_s_timer_entry::d.
+
+Referenced by initSensor().
@@ -310,9 +338,9 @@
- e_nodeState getState |
- ( |
- CO_Data * |
+ e_nodeState getState |
+ ( |
+ CO_Data * |
d |
) |
|
@@ -331,6 +359,8 @@
Definition at line 54 of file states.c.
+
+References struct_s_timer_entry::d, and struct_CO_Data::nodeState.
@@ -340,7 +370,7 @@
void setNodeId |
( |
- CO_Data * |
+ CO_Data * |
d, |
@@ -367,15 +397,11 @@
-cob_id_client = 0x600 + nodeId;
-cob_id_server = 0x580 + nodeId;
-node Id client. As we do not know the value, we put the node Id Server
-*(UNS8*)d->objdict[offset].pSubindex[3].pObject = nodeId;
-Initialize the server(s) SDO parameters Remember that only one SDO server is allowed, defined at index 0x1200
-Initialize the client(s) SDO parameters Nothing to initialize (no default values required by the DS 401) Initialize the receive PDO communication parameters. Only for 0x1400 to 0x1403
-bDeviceNodeId is defined in the object dictionary.
-
Definition at line 235 of file states.c.
+
+References struct_CO_Data::bDeviceNodeId, struct_s_timer_entry::d, struct_CO_Data::firstIndex, struct_CO_Data::lastIndex, struct_CO_Data::objdict, s_quick_index::PDO_RCV, s_quick_index::PDO_TRS, td_subindex::pObject, td_indextable::pSubindex, s_quick_index::SDO_SVR, UNS16, UNS32, and UNS8.
+
+Referenced by InitNodes(), initSensor(), and main().
@@ -385,13 +411,13 @@
UNS8 setState |
( |
- CO_Data * |
+ CO_Data * |
d, |
|
|
- e_nodeState |
+ e_nodeState |
newState | |
@@ -413,39 +439,36 @@
- Returns:
-This will force a second loop for the state switch
-call user app related state func.
-end switch case
-
Definition at line 138 of file states.c.
-References decompo_dcf(), ptrTable, and switchCommunicationState().
-
-Referenced by proceedNMTstateChange().
+References struct_s_timer_entry::d, decompo_dcf(), struct_CO_Data::iam_a_slave, Initialisation, struct_CO_Data::initialisation, struct_CO_Data::nodeState, OD_SUCCESSFUL, Operational, struct_CO_Data::operational, Pre_operational, struct_CO_Data::preOperational, ptrTable, struct_CO_Data::scanIndexOD, Stopped, struct_CO_Data::stopped, switchCommunicationState(), UNS16, and UNS32.
+
+Referenced by InitNodes(), main(), and proceedNMTstateChange().
Here is the call graph for this function:
@@ -457,13 +480,13 @@
void switchCommunicationState |
( |
- CO_Data * |
+ CO_Data * |
d, |
|
|
- s_state_communication * |
+ s_state_communication * |
newCommunicationState | |
@@ -486,31 +509,32 @@
Definition at line 120 of file states.c.
-References heartbeatInit(), heartbeatStop(), None, resetSDO(), slaveSendBootUp(), StartOrStop, startSYNC(), and stopSYNC().
+References struct_s_timer_entry::d, heartbeatInit(), heartbeatStop(), None, resetSDO(), slaveSendBootUp(), StartOrStop, startSYNC(), and stopSYNC().
Referenced by setState().
Here is the call graph for this function:
-
Generated on Tue Jun 5 18:32:10 2007 for CanFestival by
+
Generated on Fri Jun 8 08:52:15 2007 for CanFestival by
1.5.1