CANopen SDO functions.
More...
Go to the source code of this file.
CANopen SDO functions.
Definition in file sdo.c.
◆ ec_sdo_init()
Constructor.
- Parameters
-
| sdo | SDO. |
| slave | Parent slave. |
| index | SDO index. |
Definition at line 39 of file sdo.c.
◆ ec_sdo_clear()
SDO destructor.
Clears and frees an SDO object.
- Parameters
-
Definition at line 59 of file sdo.c.
◆ ec_sdo_get_entry()
Get an SDO entry from an SDO via its subindex.
- Return values
-
| >0 | Pointer to the requested SDO entry. |
| NULL | SDO entry not found. |
- Parameters
-
| sdo | SDO. |
| subindex | Entry subindex. |
Definition at line 83 of file sdo.c.
◆ ec_sdo_get_entry_const()
Get an SDO entry from an SDO via its subindex.
const version.
- Return values
-
| >0 | Pointer to the requested SDO entry. |
| NULL | SDO entry not found. |
- Parameters
-
| sdo | SDO. |
| subindex | Entry subindex. |
Definition at line 108 of file sdo.c.