EtherCAT SubDevice
Loading...
Searching...
No Matches
◆
EC_API_SLV_load()
uint32_t EC_API_SLV_load
(
OSAL_ERR_CBHandler_t
cbErrHandler
,
uint32_t
pruSelect
)
Initialize stack environment (OSAL and HWAL) after load.
Parameters
[in]
cbErrHandler
Exception callback
[in]
pruSelect
selection of logical PRU (1,2,...)
Returns
0 on success, errorcode otherwise
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
// the Call
retVal = uint32_t retVal = EC_API_SLV_Load(applErrHandler,
EC_API_SLV_ePRUICSS_INSTANCE_ONE
);
EC_API_SLV_ePRUICSS_INSTANCE_ONE
@ EC_API_SLV_ePRUICSS_INSTANCE_ONE
Definition
ecSlvApi_types.h:49
See also
EC_API_SLV_UnLoad
Examples
EtherCAT_SubDevice_CiA402.c
,
EtherCAT_SubDevice_Simple.c
, and
EtherCAT_SubDevice_Webserver.c
.
Operating System and Hardware Abstraction
generated by
1.9.8