|
NNP STM Generic Remote Module git-main
|

Functions | |
| UNS8 | buildPDO (CO_Data *d, UNS8 numPdo, Message *pdo) |
| Copy all the data to transmit in process_var Prepare the PDO defined at index to be sent *pwCobId : returns the value of the cobid. (subindex 1) | |
| UNS8 | sendPDOrequest (CO_Data *d, UNS16 RPDOIndex) |
| Transmit a PDO request frame on the network to the slave. | |
| UNS8 | processPDO (CO_Data *d, Message *m) |
| Compute a PDO frame reception bus_id is hardware dependant. | |
| void | CopyBits (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian) |
| copy bit per bit in little endian | |
| UNS8 | sendPDOevent (CO_Data *d) |
| Used by the application to signal changes in process data that could be mapped to some TPDO. This do not necessarily imply PDO emission. Function iterates on all TPDO and look TPDO transmit type and content change before sending it. | |
| void | PDOEventTimerAlarm (CO_Data *d, UNS32 pdoNum) |
| Set timer for PDO event. | |
| void | PDOInhibitTimerAlarm (CO_Data *d, UNS32 pdoNum) |
| Inhibit timer for PDO event. | |
| UNS8 | _sendPDOevent (CO_Data *d, UNS8 isSyncEvent) |
| Function iterates on all TPDO and look TPDO transmit type and content change before sending it. | |
| UNS32 | TPDO_Communication_Parameter_Callback (CO_Data *d, const indextable *OD_entry, UNS8 bSubindex) |
| <BRIEF> TPDO_Communication_Parameter_Callback | |
| void | PDOInit (CO_Data *d) |
| Initialize PDO feature. | |
| void | PDOStop (CO_Data *d) |
| Stop PDO feature. | |
| void | sendPdo (CO_Data *d, UNS32 pdoNum, Message *pdo) |
| <BRIEF> sendPDO | |
Function iterates on all TPDO and look TPDO transmit type and content change before sending it.
| *d | Pointer on a CAN object data structure |
| isSyncEvent |
Definition at line 512 of file pdo.c.
Referenced by PDOEventTimerAlarm(), PDOInhibitTimerAlarm(), processSYNC(), and sendPDOevent().


Copy all the data to transmit in process_var Prepare the PDO defined at index to be sent *pwCobId : returns the value of the cobid. (subindex 1)
| *d | Pointer on a CAN object data structure |
| numPdo | The PDO number |
| *pdo | Pointer on a CAN message structure |
Definition at line 28 of file pdo.c.
Referenced by _sendPDOevent(), and processPDO().


| void CopyBits | ( | UNS8 | NbBits, |
| UNS8 * | SrcByteIndex, | ||
| UNS8 | SrcBitIndex, | ||
| UNS8 | SrcBigEndian, | ||
| UNS8 * | DestByteIndex, | ||
| UNS8 | DestBitIndex, | ||
| UNS8 | DestBigEndian ) |
copy bit per bit in little endian
| NbBits | |
| SrcByteIndex | |
| SrcBitIndex | |
| SrcBigEndian | |
| DestByteIndex | |
| DestBitIndex | |
| DestBigEndian |
Definition at line 404 of file pdo.c.
Referenced by buildPDO(), and processPDO().

Set timer for PDO event.
| *d | Pointer on a CAN object data structure |
| pdoNum | The PDO number |
Definition at line 481 of file pdo.c.
Referenced by _sendPDOevent(), processPDO(), and TPDO_Communication_Parameter_Callback().


Inhibit timer for PDO event.
| *d | Pointer on a CAN object data structure |
| pdoNum | The PDO number |
Definition at line 496 of file pdo.c.
Referenced by _sendPDOevent().


| void PDOInit | ( | CO_Data * | d | ) |
Initialize PDO feature.
| *d | Pointer on a CAN object data structure |
Definition at line 752 of file pdo.c.
Referenced by processNMTstateChange(), and switchCommunicationState().


| void PDOStop | ( | CO_Data * | d | ) |
Stop PDO feature.
| *d | Pointer on a CAN object data structure |
Definition at line 790 of file pdo.c.
Referenced by processNMTstateChange(), and switchCommunicationState().


Compute a PDO frame reception bus_id is hardware dependant.
| *d | Pointer on a CAN object data structure |
| *m | Pointer on a CAN message structure |
Definition at line 144 of file pdo.c.
Referenced by canDispatch().


Used by the application to signal changes in process data that could be mapped to some TPDO. This do not necessarily imply PDO emission. Function iterates on all TPDO and look TPDO transmit type and content change before sending it.
| *d | Pointer on a CAN object data structure |
Definition at line 468 of file pdo.c.

Transmit a PDO request frame on the network to the slave.
| *d | Pointer on a CAN object data structure |
| RPDOIndex | Index of the receive PDO |
| UNS32 TPDO_Communication_Parameter_Callback | ( | CO_Data * | d, |
| const indextable * | OD_entry, | ||
| UNS8 | bSubindex ) |