diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/pdo_8c.html
--- a/doc/doxygen/html/pdo_8c.html Fri Jun 08 09:02:43 2007 +0200
+++ b/doc/doxygen/html/pdo_8c.html Fri Jun 08 09:23:56 2007 +0200
@@ -1,6 +1,6 @@
|
Functions |
-UNS8 | sendPDO (CO_Data *d, s_PDO pdo, UNS8 req) |
-
-UNS8 | PDOmGR (CO_Data *d, UNS32 cobId) |
-
-UNS8 | sendPDOrequest (CO_Data *d, UNS32 cobId) |
-
-UNS8 | proceedPDO (CO_Data *d, Message *m) |
+UNS8 | sendPDO (CO_Data *d, s_PDO pdo, UNS8 req) |
+
+UNS8 | PDOmGR (CO_Data *d, UNS32 cobId) |
+
+UNS8 | sendPDOrequest (CO_Data *d, UNS32 cobId) |
+
+UNS8 | proceedPDO (CO_Data *d, Message *m) |
void | CopyBits (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian) |
@@ -112,30 +135,10 @@
-This loop copy as many bits that it can each time, crossing
-successively bytes
-Bit missalignement between src and dest
-We can now get src and align it to dest
-Compute the nb of bit we will be able to copy
-Create a mask that will serve in:
-
-
-
-- and erase bits where we write, preserve where we don't
-
-Then write.
-Compute next time cursors for src
-cross boundary ?
-First bit
-Next byte
-Compute next time cursors for dest
-First bit
-Next byte
-And decrement counter.
-
Definition at line 430 of file pdo.c.
+References INTEGER8, and UNS8.
+
Referenced by proceedPDO(), and proceedSYNC().
@@ -146,7 +149,7 @@
UNS8 PDOmGR |
( |
- CO_Data * |
+ CO_Data * |
d, |
@@ -175,18 +178,17 @@
- Returns:
-if PDO is waiting for transmission, preparation of the message to send
-memcpy(&(pdo.data), &(process_var.data), pdo.len);
-
Definition at line 79 of file pdo.c.
-References sendPDO().
+References struct_s_PDO::cobId, struct_s_process_var::count, struct_s_timer_entry::d, struct_s_PDO::data, struct_s_process_var::data, struct_s_PDO::len, MSG_WAR, NOT_A_REQUEST, struct_CO_Data::process_var, sendPDO(), and UNS8.
Referenced by proceedPDO(), and proceedSYNC().
Here is the call graph for this function:
@@ -198,13 +200,13 @@
UNS8 proceedPDO |
( |
- CO_Data * |
+ CO_Data * |
d, |
|
|
- Message * |
+ Message * |
m | |
@@ -226,63 +228,24 @@
- Returns:
-Number of the mapped varable
-count of mapped objects...
-pointer to the var which is mapped to a pdo...
-void * pMappedAppObject = NULL;
-pointer fo the var which holds the mapping parameter of an mapping entry
-pointer to the transmission type
-The PDO received is not a request.
-study of all the PDO stored in the dictionary
-data are stored in process_var array
-memcpy(&(process_var.data), &m->data, (*m).len);
-Ce memcpy devrait etre portable
-get CobId of the dictionary correspondant to the received PDO
-check the CobId coherance
-pwCobId is the cobId read in the dictionary at the state 3
-The cobId is recognized
-cobId received does not match with those write in the dictionnary
-Get Mapped Objects Number
-The cobId of the message received has been found in the dictionnary.
-Get the addresse of the mapped variable.
-detail of *pMappingParameter :
-The 16 hight bits contains the index, the medium 8 bits contains the subindex,
-and the lower 8 bits contains the size of the mapped variable.
-copy bit per bit in little endian
-MSG_WAR(0x3945, " data : ",*((UNS32*)pMappedAppObject));
-end loop while on mapped variables
-end switch status
-end while
-end if Donnees
-study of all PDO stored in the objects dictionary
-check the CobId
-get CobId of the dictionary which match to the received PDO
-check transmission type (after request?)
-The requested PDO is not to send on request. So, does nothing.
-get mapped objects number
-Get the mapped variable
-end while
-Transmit the PDO
-end switch status
-end while
-end if Requete
-
Definition at line 221 of file pdo.c.
-References CopyBits(), getODentry(), PDOmGR(), and setODentry().
+References Message::cob_id, CopyBits(), struct_s_process_var::count, struct_s_timer_entry::d, struct_s_process_var::data, Message::data, struct_CO_Data::firstIndex, getODentry(), struct_CO_Data::lastIndex, Message::len, MSG_ERR, MSG_WAR, NOT_A_REQUEST, struct_CO_Data::objdict, OD_SUCCESSFUL, s_quick_index::PDO_RCV, s_quick_index::PDO_RCV_MAP, s_quick_index::PDO_TRS, s_quick_index::PDO_TRS_MAP, PDOmGR(), td_subindex::pObject, struct_CO_Data::process_var, td_indextable::pSubindex, REQUEST, setODentry(), state1, state2, state4, state5, TRANS_EVENT, TRANS_RTR, TRANS_RTR_SYNC, UNS16, UNS32, UNS8, and SHORT_CAN::w.
Referenced by canDispatch().
Here is the call graph for this function:
@@ -294,36 +257,45 @@
UNS8 sendPDO |
( |
- CO_Data * |
+ CO_Data * |
d, |
|
|
- s_PDO |
+ s_PDO |
pdo, |
|
|
UNS8 |
- req | |
-
-
- |
- ) |
- | | |
-
-
-
-
+
+
+Transmit a PDO data frame on the bus bus_id pdo is a structure which contains the pdo to transmit bus_id is hardware dependant return canSend(bus_id,&m) or 0xFF if error request can take the value REQUEST or NOT_A_REQUEST
Definition at line 37 of file pdo.c.
+References struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_PDO::cobId, struct_s_timer_entry::d, Message::data, struct_s_PDO::data, Message::len, struct_s_PDO::len, MSG_WAR, struct_CO_Data::nodeState, NOT_A_REQUEST, Operational, REQUEST, Message::rtr, UNS8, and SHORT_CAN::w.
+
Referenced by PDOmGR(), and sendPDOrequest().
+
+Here is the call graph for this function:
+
+