EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_setBootStrapMailbox()

uint32_t EC_API_SLV_setBootStrapMailbox ( EC_API_SLV_SHandle_t pHandle,
uint16_t  rxOffset,
uint16_t  rxSize,
uint16_t  txOffset,
uint16_t  txSize 
)

Set Bootstrap Mailbox Configuration.

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]rxOffsetStart offset of bootstrap Receive Mailbox.
[in]rxSizeSize of bootstrap Receive Mailbox.
[in]txOffsetStart offset of bootstrap Send Mailbox.
[in]txSizeSize of bootstrap Send Mailbox.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_API_SLV_setBootStrapMailbox(S_ecSlvApiHdl, 0x1000, 1400, 0x2000, 1400);
uint32_t EC_API_SLV_setBootStrapMailbox(EC_API_SLV_SHandle_t *pHandle, uint16_t rxOffset, uint16_t rxSize, uint16_t txOffset, uint16_t txSize)
Set Bootstrap Mailbox Configuration.
Definition ecSlvApi_param.c:637
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setStandardMailbox
Examples
ecSubDeviceCiA402.c.