Export function SDO_findsubindex()
Change-Id: I79a364687510a9869c4c9287121093e3a2f003b9pull/86/head
parent
4746f22c78
commit
aee9bf569b
|
@ -47,7 +47,7 @@ typedef enum { UPLOAD, DOWNLOAD } load_t;
|
||||||
* @param[in] subindex = value on sub-index of object we want to locate
|
* @param[in] subindex = value on sub-index of object we want to locate
|
||||||
* @return local array index if we succeed, -1 if we didn't find the index.
|
* @return local array index if we succeed, -1 if we didn't find the index.
|
||||||
*/
|
*/
|
||||||
static int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex)
|
int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex)
|
||||||
{
|
{
|
||||||
const _objd *objd;
|
const _objd *objd;
|
||||||
int16_t n = 0;
|
int16_t n = 0;
|
||||||
|
|
|
@ -104,6 +104,7 @@ typedef struct
|
||||||
#define COMPLETE_ACCESS_FLAG (1 << 15)
|
#define COMPLETE_ACCESS_FLAG (1 << 15)
|
||||||
|
|
||||||
void ESC_coeprocess (void);
|
void ESC_coeprocess (void);
|
||||||
|
int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex);
|
||||||
uint16_t sizeOfPDO (uint16_t index, int * nmappings, _SMmap * sm, int max_mappings);
|
uint16_t sizeOfPDO (uint16_t index, int * nmappings, _SMmap * sm, int max_mappings);
|
||||||
void SDO_abort (uint16_t index, uint8_t subindex, uint32_t abortcode);
|
void SDO_abort (uint16_t index, uint8_t subindex, uint32_t abortcode);
|
||||||
void COE_initDefaultValues (void);
|
void COE_initDefaultValues (void);
|
||||||
|
|
Loading…
Reference in New Issue