sdo.h File Reference

EtherCAT CANopen SDO structure. More...

Go to the source code of this file.

Data Structures

struct  ec_sdo
 CANopen SDO. More...

Functions

void ec_sdo_init (ec_sdo_t *, ec_slave_t *, uint16_t)
 Constructor.
void ec_sdo_clear (ec_sdo_t *)
 SDO destructor.
ec_sdo_entry_tec_sdo_get_entry (ec_sdo_t *, uint8_t)
 Get an SDO entry from an SDO via its subindex.
const ec_sdo_entry_tec_sdo_get_entry_const (const ec_sdo_t *, uint8_t)
 Get an SDO entry from an SDO via its subindex.


Detailed Description

EtherCAT CANopen SDO structure.

Definition in file sdo.h.


Function Documentation

void ec_sdo_clear ( ec_sdo_t sdo  ) 

SDO destructor.

Clears and frees an SDO object.

Parameters:
sdo  SDO.

Definition at line 67 of file sdo.c.

ec_sdo_entry_t* ec_sdo_get_entry ( ec_sdo_t sdo,
uint8_t  subindex 
)

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 91 of file sdo.c.

const ec_sdo_entry_t* ec_sdo_get_entry_const ( const ec_sdo_t sdo,
uint8_t  subindex 
)

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 116 of file sdo.c.


Generated on Mon Jun 20 09:31:31 2016 for IgH EtherCAT Master by  doxygen 1.5.6