Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Process Data Object (PDO)
[Communication Objects]
PDO is a communication object defined by the DPO communication parameter and PDA mapping parameter objects. More...
Functions | |
| UNS8 | sendPDOrequest (CO_Data *d, UNS16 RPDOIndex) |
| Transmit a PDO request frame on the network to the slave. | |
| UNS8 | _sendPDOevent (CO_Data *d, UNS8 isSyncEvent) |
| 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. | |
Detailed Description
PDO is a communication object defined by the DPO communication parameter and PDA mapping parameter objects.
It is an uncomfirmed communication service without protocol overhead.
Function Documentation
| UNS8 _sendPDOevent | ( | CO_Data * | d, |
| UNS8 | isSyncEvent | ||
| ) |
| void PDOEventTimerAlarm | ( | CO_Data * | d, |
| UNS32 | pdoNum | ||
| ) |
| void PDOInhibitTimerAlarm | ( | CO_Data * | d, |
| UNS32 | pdoNum | ||
| ) |
| UNS8 sendPDOrequest | ( | CO_Data * | d, |
| UNS16 | RPDOIndex | ||
| ) |
Transmit a PDO request frame on the network to the slave.
- Parameters:
-
*d Pointer on a CAN object data structure RPDOIndex Index of the receive PDO
- Returns:
- CanFestival file descriptor is returned upon success.
- 0xFF is returned if RPDO Index is not found.
- 0xFF if error, other in success.
- Parameters:
-
d cobId
- Returns:
Generated on Tue Jul 12 2022 17:11:51 by
1.7.2