|
EtherCAT Slave
1.04.06
|
|
Brief description of purpose and functionality.
- Author
- KUNBUS GmbH
- Date
- 2021-05-18
- Copyright
- Copyright (c) 2021, KUNBUS GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if (!defined __ECSLVESI_H__)
#define __ECSLVESI_H__ 1
#include <osal.h>
#include <ecSlvApi.h>
#include <ESL_os.h>
{
#if (defined OSAL_FREERTOS)
TaskP_Params mainThreadParam;
#else
#endif
#if (defined OSAL_LINUX)
struct stat buffer;
uint8_t foeValue;
#endif
#if (defined __cplusplus)
extern "C" {
#endif
#if (defined __cplusplus)
}
#endif
#endif
EC_API_SLV_SCoE_Object_t * pt2007RecObj
Definition: ecSlvSimple.h:93
EC_API_SLV_SCoE_Object_t * ptRecObjOut
Definition: ecSlvSimple.h:91
clock_t prev
Definition: ecSlvSimple.h:89
void EC_SLV_APP_registerStacklessBoardFunctions(EC_SLV_APP_Sapplication_t *pAppInstance_p)
Register board related functions, which do not use stack handle.
Definition: ecSlvSimple.c:2114
void * ioexpLedHandle
Definition: ecSlvSimple.h:78
EC_API_SLV_SPdo_t * ptRxPdo1601
Definition: ecSlvSimple.h:97
EC_API_SLV_SCoE_Object_t * pt2002RecObj
Definition: ecSlvSimple.h:92
uint8_t rsvd[3]
Definition: ecSlvSimple.h:88
void EC_SLV_APP_applicationDeInit(EC_SLV_APP_Sapplication_t *pAppInstance_p)
Deinitialize application.
Definition: ecSlvSimple.c:2502
void * mainThreadHandle
Definition: ecSlvSimple.h:64
EC_API_SLV_SPdo_t * ptTxPdo1A01
Definition: ecSlvSimple.h:99
struct EC_API_SLV_SCoE_Object EC_API_SLV_SCoE_Object_t
TSdo describes an Object Dictionary Object.
Definition: ecSlvApi.h:131
uint8_t state
Definition: ecSlvSimple.h:87
Definition: ecSlvSimple.h:56
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition: ecSlvApi.h:134
void * gpioHandle
Definition: ecSlvSimple.h:76
struct EC_API_SLV_SPdo EC_API_SLV_SPdo_t
TPdo is used to describe the RxPDOs and TxPDOs.
Definition: ecSlvApi.h:125
EC_API_SLV_SCoE_Object_t * pt200FRecObj
Definition: ecSlvSimple.h:94
EC_API_SLV_SPdo_t * ptTxPdo1A00
Definition: ecSlvSimple.h:98
void * loopThreadHandle
Definition: ecSlvSimple.h:66
void * remoteHandle
Definition: ecSlvSimple.h:77
uint32_t selectedPruInstance
Definition: ecSlvSimple.h:57
void EC_SLV_APP_dumpVersions(void)
Dump stack version info.
Definition: ecSlvSimple.c:2182
void EC_SLV_APP_applicationInit(EC_SLV_APP_Sapplication_t *pAppInstance_p)
Initialize application.
Definition: ecSlvSimple.c:2340
EC_API_SLV_SHandle_t * ptEcSlvApi
Definition: ecSlvSimple.h:101
EC_API_SLV_SPdo_t * ptRxPdo1600
Definition: ecSlvSimple.h:96
void EC_SLV_APP_initBoardFunctions(EC_SLV_APP_Sapplication_t *pAppInstance_p)
Initialize board related functions.
Definition: ecSlvSimple.c:2019
int32_t trigger
Definition: ecSlvSimple.h:85
clock_t diff
Definition: ecSlvSimple.h:89
int32_t msec
Definition: ecSlvSimple.h:84