uint32_t EC_API_SLV_CoE_odAddVariable | ( | EC_API_SLV_SHandle_t * | pEcSlaveApi_p, |
uint16_t | index_p, | ||
char * | pName_p, | ||
uint16_t | type_p, | ||
uint16_t | bitLen_p, | ||
uint16_t | flags_p, | ||
EC_API_SLV_CBObjRead_t | cbRead_p, | ||
void * | pReadCtxt_p, | ||
EC_API_SLV_CBObjWrite_t | cbWrite_p, | ||
void * | pWriteCtxt_p | ||
) |
This function creates a Base Data Type Object for the Object Dictionary.
[in] | pEcSlaveApi_p | The pointer to the EtherCAT API instance. |
[in] | index_p | Array index number. |
[in] | pName_p | Entry name. |
[in] | type_p | Base type (USINT, UDINT...). |
[in] | bitLen_p | Bit length of the data type. |
[in] | flags_p | Read, Write, PDO Mapping and other flags. |
[in] | cbRead_p | Read function pointer to the read function. |
[in] | pReadCtxt_p | Read function pointer to the read function context. |
[in] | cbWrite_p | Write function pointer to the write function. |
[in] | pWriteCtxt_p | Read function pointer to the read function context. |