···8686#define EPL_CFGMA_MAX_TIMEOUT 387878888//callbackfunction, called if configuration is finished8989-typedef void (PUBLIC* tfpEplCfgMaCb) (unsigned int uiNodeId_p,9090- tEplKernel Errorstate_p);8989+typedef void (PUBLIC * tfpEplCfgMaCb) (unsigned int uiNodeId_p,9090+ tEplKernel Errorstate_p);91919292//State for configuartion manager Statemachine9393-typedef enum9494-{9595- // general states9696- kEplCfgMaIdle = 0x0000, // Configurationsprocess9797- // is idle9898- kEplCfgMaWaitForSdocEvent = 0x0001, // wait until the last9999- // SDOC is finisched100100- kEplCfgMaSkipMappingSub0 = 0x0002, // write Sub0 of mapping101101- // parameter with 09393+typedef enum {9494+ // general states9595+ kEplCfgMaIdle = 0x0000, // Configurationsprocess9696+ // is idle9797+ kEplCfgMaWaitForSdocEvent = 0x0001, // wait until the last9898+ // SDOC is finisched9999+ kEplCfgMaSkipMappingSub0 = 0x0002, // write Sub0 of mapping100100+ // parameter with 0102101103103- kEplCfgMaFinished = 0x0004 // configuartion is finished104104-102102+ kEplCfgMaFinished = 0x0004 // configuartion is finished105103} tEplCfgState;106104107107-typedef enum108108-{109109- kEplCfgMaDcfTypSystecSeg = 0x00,110110- kEplCfgMaDcfTypConDcf = 0x01,111111- kEplCfgMaDcfTypDcf = 0x02, // not supported112112- kEplCfgMaDcfTypXdc = 0x03 // not supported105105+typedef enum {106106+ kEplCfgMaDcfTypSystecSeg = 0x00,107107+ kEplCfgMaDcfTypConDcf = 0x01,108108+ kEplCfgMaDcfTypDcf = 0x02, // not supported109109+ kEplCfgMaDcfTypXdc = 0x03 // not supported110110+} tEplCfgMaDcfTyp;113111114114-115115-}tEplCfgMaDcfTyp;116116-117117-typedef enum118118-{119119- kEplCfgMaCommon = 0, // all other index120120- kEplCfgMaPdoComm = 1, // communication index121121- kEplCfgMaPdoMapp = 2, // mapping index122122- kEplCfgMaPdoCommAfterMapp = 3, // write PDO Cob-Id after mapping subindex 0(set PDO valid)112112+typedef enum {113113+ kEplCfgMaCommon = 0, // all other index114114+ kEplCfgMaPdoComm = 1, // communication index115115+ kEplCfgMaPdoMapp = 2, // mapping index116116+ kEplCfgMaPdoCommAfterMapp = 3, // write PDO Cob-Id after mapping subindex 0(set PDO valid)123117124118} tEplCfgMaIndexType;125119126126-127120//bitcoded answer about the last sdo transfer saved in m_SdocState128121// also used to singal start of the State Maschine129129-typedef enum130130-{131131- kEplCfgMaSdocBusy = 0x00, // SDOC activ132132- kEplCfgMaSdocReady = 0x01, // SDOC finished133133- kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout134134- kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode135135- kEplCfgMaSdocStart = 0x08 // start State Mschine136136-}tEplSdocState;122122+typedef enum {123123+ kEplCfgMaSdocBusy = 0x00, // SDOC activ124124+ kEplCfgMaSdocReady = 0x01, // SDOC finished125125+ kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout126126+ kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode127127+ kEplCfgMaSdocStart = 0x08 // start State Mschine128128+} tEplSdocState;137129138130//internal structure (instancetable for modul configuration manager)139139-typedef struct140140-{141141- tEplCfgState m_CfgState; // state of the configuration state maschine142142- tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection143143- DWORD m_dwLastAbortCode;144144- unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index145145- BYTE* m_pbConcise; // Ptr to concise DCF146146- BYTE* m_pbActualIndex; // Ptr to actual index in the DCF segment147147- tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished148148- tEplKernel m_EplKernelError; // errorcode149149- DWORD m_dwNumValueCopy; // numeric values are copied in this variable150150- unsigned int m_uiPdoNodeId; // buffer for PDO node id151151- BYTE m_bNrOfMappedObject; // number of mapped objects152152- unsigned int m_uiNodeId; // Epl node addresse153153- tEplSdocState m_SdocState; // bitcoded state of the SDO transfer154154- unsigned int m_uiLastSubIndex; // last subindex of configuration155155- BOOL m_fOneTranferOk; // atleased one transfer was successful156156- BYTE m_bEventFlag; // for Eventsignaling to the State Maschine157157- DWORD m_dwCntObjectInDcf; // number of Objects in DCF158158- tEplCfgMaIndexType m_SkipCfg; // TRUE if a adsitional Configurationprocess159159- // have to insert e.g. PDO-mapping160160- WORD m_wTimeOutCnt; // Timeout Counter, break configuration is161161- // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT131131+typedef struct {132132+ tEplCfgState m_CfgState; // state of the configuration state maschine133133+ tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection134134+ DWORD m_dwLastAbortCode;135135+ unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index136136+ BYTE *m_pbConcise; // Ptr to concise DCF137137+ BYTE *m_pbActualIndex; // Ptr to actual index in the DCF segment138138+ tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished139139+ tEplKernel m_EplKernelError; // errorcode140140+ DWORD m_dwNumValueCopy; // numeric values are copied in this variable141141+ unsigned int m_uiPdoNodeId; // buffer for PDO node id142142+ BYTE m_bNrOfMappedObject; // number of mapped objects143143+ unsigned int m_uiNodeId; // Epl node addresse144144+ tEplSdocState m_SdocState; // bitcoded state of the SDO transfer145145+ unsigned int m_uiLastSubIndex; // last subindex of configuration146146+ BOOL m_fOneTranferOk; // atleased one transfer was successful147147+ BYTE m_bEventFlag; // for Eventsignaling to the State Maschine148148+ DWORD m_dwCntObjectInDcf; // number of Objects in DCF149149+ tEplCfgMaIndexType m_SkipCfg; // TRUE if a adsitional Configurationprocess150150+ // have to insert e.g. PDO-mapping151151+ WORD m_wTimeOutCnt; // Timeout Counter, break configuration is152152+ // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT162153163154} tEplCfgMaNode;164155···204213//205214// Returns: tCopKernel = error code206215//---------------------------------------------------------------------------207207-tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,208208- BYTE* pbConcise_p,209209- tfpEplCfgMaCb fpCfgMaCb_p,210210- tEplObdSize SizeOfConcise_p,211211- tEplCfgMaDcfTyp DcfType_p);212212-216216+tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,217217+ BYTE * pbConcise_p,218218+ tfpEplCfgMaCb fpCfgMaCb_p,219219+ tEplObdSize SizeOfConcise_p,220220+ tEplCfgMaDcfTyp DcfType_p);213221214222//---------------------------------------------------------------------------215223// Function: CfgMaStartConfigurationNode()···223233// Returns: tCopKernel = error code224234//---------------------------------------------------------------------------225235tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,226226- tfpEplCfgMaCb fpCfgMaCb_p,227227- tEplCfgMaDcfTyp DcfType_p);228228-236236+ tfpEplCfgMaCb fpCfgMaCb_p,237237+ tEplCfgMaDcfTyp DcfType_p);229238230239//---------------------------------------------------------------------------231240// Function: EplCfgMaStartConfigNodeDcf()···240251//241252// Returns: tCopKernel = error code242253//---------------------------------------------------------------------------243243-tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,244244- BYTE* pbConcise_p,245245- tfpEplCfgMaCb fpCfgMaCb_p,246246- tEplObdSize SizeOfConcise_p,247247- tEplCfgMaDcfTyp DcfType_p);254254+tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,255255+ BYTE * pbConcise_p,256256+ tfpEplCfgMaCb fpCfgMaCb_p,257257+ tEplObdSize SizeOfConcise_p,258258+ tEplCfgMaDcfTyp DcfType_p);248259249260//---------------------------------------------------------------------------250261// Function: EplCfgMaLinkDcf()···258269//259270// Returns: tCopKernel = error code260271//---------------------------------------------------------------------------261261-tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,262262- BYTE* pbConcise_p,263263- tEplObdSize SizeOfConcise_p,264264- tEplCfgMaDcfTyp DcfType_p);272272+tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,273273+ BYTE * pbConcise_p,274274+ tEplObdSize SizeOfConcise_p,275275+ tEplCfgMaDcfTyp DcfType_p);265276266277//---------------------------------------------------------------------------267278// Function: EplCfgMaCheckDcf()···274285//275286// Returns: tCopKernel = error code276287//---------------------------------------------------------------------------277277-tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p,278278- tEplCfgMaDcfTyp DcfType_p);279279-280280-281281-282282-288288+tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p,289289+ tEplCfgMaDcfTyp DcfType_p);283290284291#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0)285292
···66666767 2006/06/12 d.k.: start of the implementation, version 1.0068686969-7069****************************************************************************/71707271#ifndef _EPL_EVENTU_H_7372#define _EPL_EVENTU_H_74737574#include "../EplEvent.h"7676-77757876//---------------------------------------------------------------------------7977// const defines···8183// typedef8284//---------------------------------------------------------------------------83858484-8586//---------------------------------------------------------------------------8687// function prototypes8788//---------------------------------------------------------------------------···8891tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p);89929093// add instance9191-tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb pfnApiProcessEventCb_p);9494+tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb9595+ pfnApiProcessEventCb_p);92969397// delete instance9498tEplKernel PUBLIC EplEventuDelInstance(void);···102104103105// post errorevents from userspace104106tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p,105105- tEplKernel EplError_p,106106- unsigned int uiArgSize_p,107107- void* pArg_p);107107+ tEplKernel EplError_p,108108+ unsigned int uiArgSize_p, void *pArg_p);108109109109-110110-111111-#endif // #ifndef _EPL_EVENTU_H_112112-113113-110110+#endif // #ifndef _EPL_EVENTU_H_
+10-15
drivers/staging/epl/user/EplIdentu.h
···66666767 2006/11/15 d.k.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplDll.h"···7374#ifndef _EPLIDENTU_H_7475#define _EPLIDENTU_H_75767676-7777//---------------------------------------------------------------------------7878// const defines7979//---------------------------------------------------------------------------8080-81808281//---------------------------------------------------------------------------8382// typedef8483//---------------------------------------------------------------------------85848686-typedef tEplKernel (PUBLIC * tEplIdentuCbResponse) (8787- unsigned int uiNodeId_p,8888- tEplIdentResponse* pIdentResponse_p);8585+typedef tEplKernel(PUBLIC * tEplIdentuCbResponse) (unsigned int uiNodeId_p,8686+ tEplIdentResponse *8787+ pIdentResponse_p);89889089//---------------------------------------------------------------------------9190// function prototypes···9710098101tEplKernel PUBLIC EplIdentuReset(void);99102100100-tEplKernel PUBLIC EplIdentuGetIdentResponse(101101- unsigned int uiNodeId_p,102102- tEplIdentResponse** ppIdentResponse_p);103103+tEplKernel PUBLIC EplIdentuGetIdentResponse(unsigned int uiNodeId_p,104104+ tEplIdentResponse **105105+ ppIdentResponse_p);103106104104-tEplKernel PUBLIC EplIdentuRequestIdentResponse(105105- unsigned int uiNodeId_p,106106- tEplIdentuCbResponse pfnCbResponse_p);107107+tEplKernel PUBLIC EplIdentuRequestIdentResponse(unsigned int uiNodeId_p,108108+ tEplIdentuCbResponse109109+ pfnCbResponse_p);107110108108-#endif // #ifndef _EPLIDENTU_H_109109-110110-111111+#endif // #ifndef _EPLIDENTU_H_
+8-15
drivers/staging/epl/user/EplLedu.h
···66666767 2008/11/17 d.k.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplLed.h"···7576#ifndef _EPLLEDU_H_7677#define _EPLLEDU_H_77787878-7979//---------------------------------------------------------------------------8080// const defines8181//---------------------------------------------------------------------------8282-83828483//---------------------------------------------------------------------------8584// typedef8685//---------------------------------------------------------------------------87868888-8989-typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) (9090- tEplLedType LedType_p, BOOL fOn_p);9191-8787+typedef tEplKernel(PUBLIC * tEplLeduStateChangeCallback) (tEplLedType LedType_p,8888+ BOOL fOn_p);92899390//---------------------------------------------------------------------------9491// function prototypes···949995100tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p);961019797-tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback pfnCbStateChange_p);102102+tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback103103+ pfnCbStateChange_p);9810499105tEplKernel PUBLIC EplLeduDelInstance(void);100106101101-tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p);107107+tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange108108+ NmtStateChange_p);102109103103-tEplKernel PUBLIC EplLeduProcessEvent(104104- tEplEvent* pEplEvent_p);105105-110110+tEplKernel PUBLIC EplLeduProcessEvent(tEplEvent * pEplEvent_p);106111107112#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0)108113109109-#endif // #ifndef _EPLLEDU_H_110110-111111-114114+#endif // #ifndef _EPLLEDU_H_
+7-11
drivers/staging/epl/user/EplNmtCnu.h
···66666767 2006/06/09 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "EplNmtu.h"···7576#ifndef _EPLNMTCNU_H_7677#define _EPLNMTCNU_H_77787878-7979//---------------------------------------------------------------------------8080// const defines8181//---------------------------------------------------------------------------82828383-8483//---------------------------------------------------------------------------8584// typedef8685//---------------------------------------------------------------------------8787-88868987//---------------------------------------------------------------------------9088// function prototypes···959996100EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void);971019898-EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest (unsigned int uiNodeId_p,9999- tEplNmtCommand NmtCommand_p);102102+EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,103103+ tEplNmtCommand104104+ NmtCommand_p);100105101101-EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuRegisterCheckEventCb(102102- tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p);106106+EPLDLLEXPORT tEplKernel PUBLIC107107+EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback108108+ pfnEplNmtCheckEventCb_p);103109104110#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)105111106106-#endif // #ifndef _EPLNMTCNU_H_107107-108108-112112+#endif // #ifndef _EPLNMTCNU_H_
+23-28
drivers/staging/epl/user/EplNmtMnu.h
···66666767 2006/06/09 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "EplNmtu.h"···7374#ifndef _EPLNMTMNU_H_7475#define _EPLNMTMNU_H_75767676-7777//---------------------------------------------------------------------------7878// const defines7979//---------------------------------------------------------------------------8080-81808281//---------------------------------------------------------------------------8382// typedef8483//---------------------------------------------------------------------------85848686-typedef tEplKernel (PUBLIC * tEplNmtMnuCbNodeEvent) (8787- unsigned int uiNodeId_p,8888- tEplNmtNodeEvent NodeEvent_p,8989- tEplNmtState NmtState_p,9090- WORD wErrorCode_p,9191- BOOL fMandatory_p);8585+typedef tEplKernel(PUBLIC * tEplNmtMnuCbNodeEvent) (unsigned int uiNodeId_p,8686+ tEplNmtNodeEvent8787+ NodeEvent_p,8888+ tEplNmtState NmtState_p,8989+ WORD wErrorCode_p,9090+ BOOL fMandatory_p);92919393-9494-typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) (9595- tEplNmtBootEvent BootEvent_p,9696- tEplNmtState NmtState_p,9797- WORD wErrorCode_p);9898-9292+typedef tEplKernel(PUBLIC *9393+ tEplNmtMnuCbBootEvent) (tEplNmtBootEvent BootEvent_p,9494+ tEplNmtState NmtState_p,9595+ WORD wErrorCode_p);999610097//---------------------------------------------------------------------------10198// function prototypes···100105#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)101106102107tEplKernel EplNmtMnuInit(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,103103- tEplNmtMnuCbBootEvent pfnCbBootEvent_p);108108+ tEplNmtMnuCbBootEvent pfnCbBootEvent_p);104109105110tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,106106- tEplNmtMnuCbBootEvent pfnCbBootEvent_p);111111+ tEplNmtMnuCbBootEvent pfnCbBootEvent_p);107112108113tEplKernel EplNmtMnuDelInstance(void);109114110110-EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(111111- tEplEvent* pEvent_p);115115+EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(tEplEvent * pEvent_p);112116113117tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,114114- tEplNmtCommand NmtCommand_p);118118+ tEplNmtCommand NmtCommand_p);115119116120tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p,117117- tEplNmtNodeCommand NodeCommand_p);121121+ tEplNmtNodeCommand NodeCommand_p);118122119119-tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p);123123+tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange124124+ NmtStateChange_p);120125121126tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p);122127123123-tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int* puiMandatorySlaveCount_p,124124- unsigned int* puiSignalSlaveCount_p,125125- WORD* pwFlags_p);128128+tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int129129+ *puiMandatorySlaveCount_p,130130+ unsigned int131131+ *puiSignalSlaveCount_p,132132+ WORD * pwFlags_p);126133127134#endif128135129129-#endif // #ifndef _EPLNMTMNU_H_130130-131131-136136+#endif // #ifndef _EPLNMTMNU_H_
···67676868 2006/06/16 -k.t.: start of the implementation69697070-7170****************************************************************************/72717372#include "EplNmtu.h"···7576#ifndef _EPLNMTUCAL_H_7677#define _EPLNMTUCAL_H_77787878-7979//---------------------------------------------------------------------------8080// const defines8181//---------------------------------------------------------------------------82828383-8483//---------------------------------------------------------------------------8584// typedef8685//---------------------------------------------------------------------------8787-88868987//---------------------------------------------------------------------------9088// function prototypes9189//---------------------------------------------------------------------------9290EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void);93919494-#endif // #ifndef _EPLNMTUCAL_H_9595-9696-9292+#endif // #ifndef _EPLNMTUCAL_H_
+37-41
drivers/staging/epl/user/EplObdu.h
···66666767 2006/06/19 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplObd.h"···7374#ifndef _EPLOBDU_H_7475#define _EPLOBDU_H_75767676-7777//---------------------------------------------------------------------------7878// const defines7979//---------------------------------------------------------------------------80808181-8281//---------------------------------------------------------------------------8382// typedef8483//---------------------------------------------------------------------------8585-86848785//---------------------------------------------------------------------------8886// function prototypes···9195#error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE"9296#endif93979494-EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry (unsigned int uiIndex_p,9595- unsigned int uiSubIndex_p,9696- void * pSrcData_p,9797- tEplObdSize Size_p);9898+EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry(unsigned int uiIndex_p,9999+ unsigned int uiSubIndex_p,100100+ void *pSrcData_p,101101+ tEplObdSize Size_p);9810299103// ---------------------------------------------------------------------100100-EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry (unsigned int uiIndex_p,101101- unsigned int uiSubIndex_p,102102- void * pDstData_p,103103- tEplObdSize *pSize_p);104104+EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry(unsigned int uiIndex_p,105105+ unsigned int uiSubIndex_p,106106+ void *pDstData_p,107107+ tEplObdSize * pSize_p);104108105109// ---------------------------------------------------------------------106106-EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart (tEplObdPart ObdPart_p,107107- tEplObdDir Direction_p);110110+EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart(tEplObdPart ObdPart_p,111111+ tEplObdDir Direction_p);108112109113// ---------------------------------------------------------------------110110-EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar (tEplVarParam MEM* pVarParam_p);114114+EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar(tEplVarParam MEM * pVarParam_p);111115112116// ---------------------------------------------------------------------113113-EPLDLLEXPORT void* PUBLIC EplObduGetObjectDataPtr (unsigned int uiIndex_p,114114- unsigned int uiSubIndex_p);117117+EPLDLLEXPORT void *PUBLIC EplObduGetObjectDataPtr(unsigned int uiIndex_p,118118+ unsigned int uiSubIndex_p);115119// ---------------------------------------------------------------------116116-EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd (117117- tEplObdEntryPtr pUserOd_p);120120+EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p);118121119122// ---------------------------------------------------------------------120120-EPLDLLEXPORT void PUBLIC EplObduInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p,121121- BYTE bType_p,122122- tEplObdSize ObdSize_p);123123+EPLDLLEXPORT void PUBLIC EplObduInitVarEntry(tEplObdVarEntry MEM * pVarEntry_p,124124+ BYTE bType_p,125125+ tEplObdSize ObdSize_p);123126124127// ---------------------------------------------------------------------125128EPLDLLEXPORT tEplObdSize PUBLIC EplObduGetDataSize(unsigned int uiIndex_p,126126- unsigned int uiSubIndex_p);129129+ unsigned int uiSubIndex_p);127130128131// ---------------------------------------------------------------------129132EPLDLLEXPORT unsigned int PUBLIC EplObduGetNodeId(void);130133131134// ---------------------------------------------------------------------132135EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p,133133- tEplObdNodeIdType NodeIdType_p);136136+ tEplObdNodeIdType NodeIdType_p);134137// ---------------------------------------------------------------------135138EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p,136136- unsigned int uiSubIndex_p,137137- tEplObdAccess* pAccessTyp_p);139139+ unsigned int uiSubIndex_p,140140+ tEplObdAccess *141141+ pAccessTyp_p);138142// ---------------------------------------------------------------------139139-EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe (unsigned int uiIndex_p,140140- unsigned int uiSubIndex_p,141141- void * pDstData_p,142142- tEplObdSize * pSize_p);143143+EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe(unsigned int uiIndex_p,144144+ unsigned int uiSubIndex_p,145145+ void *pDstData_p,146146+ tEplObdSize * pSize_p);143147// ---------------------------------------------------------------------144144-EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe (unsigned int uiIndex_p,145145- unsigned int uiSubIndex_p,146146- void * pSrcData_p,147147- tEplObdSize Size_p);148148+EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe(unsigned int uiIndex_p,149149+ unsigned int150150+ uiSubIndex_p,151151+ void *pSrcData_p,152152+ tEplObdSize Size_p);148153149154// ---------------------------------------------------------------------150150-EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_151151- unsigned int uiIndex_p,152152- unsigned int uiSubindex_p,153153- tEplObdVarEntry MEM** ppVarEntry_p);155155+EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_156156+ unsigned int uiIndex_p,157157+ unsigned int uiSubindex_p,158158+ tEplObdVarEntry MEM **159159+ ppVarEntry_p);154160155161#elif EPL_OBD_USE_KERNEL != FALSE156162#include "../kernel/EplObdk.h"···189191190192#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0)191193192192-#endif // #ifndef _EPLOBDU_H_193193-194194-194194+#endif // #ifndef _EPLOBDU_H_
+43-43
drivers/staging/epl/user/EplObduCal.h
···67676868 2006/06/19 k.t.: start of the implementation69697070-7170****************************************************************************/72717372#include "../EplObd.h"···7475#ifndef _EPLOBDUCAL_H_7576#define _EPLOBDUCAL_H_76777777-7878//---------------------------------------------------------------------------7979// const defines8080//---------------------------------------------------------------------------8181-82818382//---------------------------------------------------------------------------8483// typedef8584//---------------------------------------------------------------------------86858787-8886//---------------------------------------------------------------------------8987// function prototypes9088//---------------------------------------------------------------------------9191-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry (9292- unsigned int uiIndex_p,9393- unsigned int uiSubIndex_p,9494- void * pSrcData_p,9595- tEplObdSize Size_p);8989+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry(unsigned int uiIndex_p,9090+ unsigned int uiSubIndex_p,9191+ void *pSrcData_p,9292+ tEplObdSize Size_p);9693//---------------------------------------------------------------------------9797-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry (9898- unsigned int uiIndex_p,9999- unsigned int uiSubIndex_p,100100- void * pDstData_p,101101- tEplObdSize *pSize_p);9494+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry(unsigned int uiIndex_p,9595+ unsigned int uiSubIndex_p,9696+ void *pDstData_p,9797+ tEplObdSize * pSize_p);10298//---------------------------------------------------------------------------103103-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart (104104- tEplObdPart ObdPart_p,105105- tEplObdDir Direction_p);9999+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart(tEplObdPart ObdPart_p,100100+ tEplObdDir Direction_p);106101//---------------------------------------------------------------------------107107-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar (tEplVarParam MEM* pVarParam_p);102102+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar(tEplVarParam MEM *103103+ pVarParam_p);108104//---------------------------------------------------------------------------109109-EPLDLLEXPORT void* PUBLIC EplObduCalGetObjectDataPtr ( unsigned int uiIndex_p,110110- unsigned int uiSubIndex_p);105105+EPLDLLEXPORT void *PUBLIC EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,106106+ unsigned int uiSubIndex_p);111107//---------------------------------------------------------------------------112112-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd (tEplObdEntryPtr pUserOd_p);108108+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd(tEplObdEntryPtr109109+ pUserOd_p);113110//---------------------------------------------------------------------------114114-EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p,115115- BYTE bType_p, tEplObdSize ObdSize_p);111111+EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry(tEplObdVarEntry MEM *112112+ pVarEntry_p, BYTE bType_p,113113+ tEplObdSize ObdSize_p);116114//---------------------------------------------------------------------------117115EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p,118118- unsigned int uiSubIndex_p);116116+ unsigned int117117+ uiSubIndex_p);119118//---------------------------------------------------------------------------120119EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void);121120//---------------------------------------------------------------------------122121EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p,123123- tEplObdNodeIdType NodeIdType_p);122122+ tEplObdNodeIdType123123+ NodeIdType_p);124124//---------------------------------------------------------------------------125125EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p,126126- unsigned int uiSubIndex_p,127127- tEplObdAccess* pAccessTyp_p);126126+ unsigned int127127+ uiSubIndex_p,128128+ tEplObdAccess *129129+ pAccessTyp_p);128130//---------------------------------------------------------------------------129129-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe (unsigned int uiIndex_p,130130- unsigned int uiSubIndex_p,131131- void * pDstData_p,132132- tEplObdSize * pSize_p);131131+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe(unsigned int uiIndex_p,132132+ unsigned int133133+ uiSubIndex_p,134134+ void *pDstData_p,135135+ tEplObdSize * pSize_p);133136//---------------------------------------------------------------------------134134-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe (unsigned int uiIndex_p,135135- unsigned int uiSubIndex_p,136136- void * pSrcData_p,137137- tEplObdSize Size_p);137137+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe(unsigned int138138+ uiIndex_p,139139+ unsigned int140140+ uiSubIndex_p,141141+ void *pSrcData_p,142142+ tEplObdSize Size_p);138143//---------------------------------------------------------------------------139139-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_140140- unsigned int uiIndex_p,141141- unsigned int uiSubindex_p,142142- tEplObdVarEntry MEM** ppVarEntry_p);144144+EPLDLLEXPORT tEplKernel PUBLIC145145+EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,146146+ unsigned int uiSubindex_p,147147+ tEplObdVarEntry MEM ** ppVarEntry_p);143148144144-145145-#endif // #ifndef _EPLOBDUCAL_H_146146-147147-149149+#endif // #ifndef _EPLOBDUCAL_H_
+2-8
drivers/staging/epl/user/EplPdou.h
···65656666 2006/05/22 d.k.: start of the implementation, version 1.0067676868-6968****************************************************************************/70697170#ifndef _EPL_PDOU_H_···72737374#include "../EplPdo.h"74757575-7676//---------------------------------------------------------------------------7777// const defines7878//---------------------------------------------------------------------------79798080-8180//---------------------------------------------------------------------------8281// typedef8382//---------------------------------------------------------------------------8484-85838684//---------------------------------------------------------------------------8785// function prototypes···8993tEplKernel EplPdouDelInstance(void);90949195#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0)9292-tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM* pParam_p);9696+tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM * pParam_p);9397#else9498#define EplPdouCbObdAccess NULL9599#endif···105109 tEplPdoMapping * pMapping_p, BYTE * pbMaxEntries_p);106110*/107111108108-#endif // #ifndef _EPL_PDOU_H_109109-110110-112112+#endif // #ifndef _EPL_PDOU_H_
+6-12
drivers/staging/epl/user/EplSdoAsndu.h
···66666767 2006/07/07 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplSdo.h"···7475#ifndef _EPLSDOASNDU_H_7576#define _EPLSDOASNDU_H_76777777-7878//---------------------------------------------------------------------------7979// const defines8080//---------------------------------------------------------------------------81818282-8382//---------------------------------------------------------------------------8483// typedef8584//---------------------------------------------------------------------------8686-87858886//---------------------------------------------------------------------------8987// function prototypes···93979498tEplKernel PUBLIC EplSdoAsnduDelInstance(void);95999696-tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl* pSdoConHandle_p,9797- unsigned int uiTargetNodeId_p);100100+tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl * pSdoConHandle_p,101101+ unsigned int uiTargetNodeId_p);981029999-tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p,100100- tEplFrame * pSrcData_p,101101- DWORD dwDataSize_p);103103+tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p,104104+ tEplFrame * pSrcData_p,105105+ DWORD dwDataSize_p);102106103107tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p);104108105109#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0)106110107107-#endif // #ifndef _EPLSDOASNDU_H_108108-109109-111111+#endif // #ifndef _EPLSDOASNDU_H_
+10-22
drivers/staging/epl/user/EplSdoAsySequ.h
···66666767 2006/06/26 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplSdo.h"···7778#ifndef _EPLSDOASYSEQU_H_7879#define _EPLSDOASYSEQU_H_79808080-8181//---------------------------------------------------------------------------8282// const defines8383//---------------------------------------------------------------------------8484-85848685//---------------------------------------------------------------------------8786// typedef8887//---------------------------------------------------------------------------89889090-9189//---------------------------------------------------------------------------9290// function prototypes9391//---------------------------------------------------------------------------9492tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p,9595- tEplSdoComConCb fpSdoComConCb_p);9393+ tEplSdoComConCb fpSdoComConCb_p);96949797-tEplKernel PUBLIC EplSdoAsySeqAddInstance (tEplSdoComReceiveCb fpSdoComCb_p,9898- tEplSdoComConCb fpSdoComConCb_p);9595+tEplKernel PUBLIC EplSdoAsySeqAddInstance(tEplSdoComReceiveCb fpSdoComCb_p,9696+ tEplSdoComConCb fpSdoComConCb_p);999710098tEplKernel PUBLIC EplSdoAsySeqDelInstance(void);10199102102-tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl* pSdoSeqConHdl_p,103103- unsigned int uiNodeId_p,104104- tEplSdoType SdoType);100100+tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl * pSdoSeqConHdl_p,101101+ unsigned int uiNodeId_p,102102+ tEplSdoType SdoType);105103106104tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p,107107- unsigned int uiDataSize_p,108108- tEplFrame* pData_p );105105+ unsigned int uiDataSize_p,106106+ tEplFrame * pData_p);109107110110-tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent* pEvent_p);108108+tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent * pEvent_p);111109112110tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p);113111114114-115115-116116-117117-118118-119119-120120-#endif // #ifndef _EPLSDOASYSEQU_H_121121-122122-112112+#endif // #ifndef _EPLSDOASYSEQU_H_
+9-18
drivers/staging/epl/user/EplSdoComu.h
···66666767 2006/06/26 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplSdo.h"···7778#ifndef _EPLSDOCOMU_H_7879#define _EPLSDOCOMU_H_79808080-8181//---------------------------------------------------------------------------8282// const defines8383//---------------------------------------------------------------------------84848585-8685//---------------------------------------------------------------------------8786// typedef8887//---------------------------------------------------------------------------8989-90889189//---------------------------------------------------------------------------9290// function prototypes···9610097101#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0)981029999-tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl* pSdoComConHdl_p,100100- unsigned int uiTargetNodeId_p,101101- tEplSdoType ProtType_p);103103+tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl * pSdoComConHdl_p,104104+ unsigned int uiTargetNodeId_p,105105+ tEplSdoType ProtType_p);102106103103-tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex* pSdoComTransParam_p);107107+tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex *108108+ pSdoComTransParam_p);104109105105-tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p);110110+tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p);106111107112tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p,108108- tEplSdoComFinished* pSdoComFinished_p);113113+ tEplSdoComFinished * pSdoComFinished_p);109114110115tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p,111111- DWORD dwAbortCode_p);116116+ DWORD dwAbortCode_p);112117113118#endif114119···123126124127*/125128126126-127127-128128-129129-130130-#endif // #ifndef _EPLSDOCOMU_H_131131-132132-129129+#endif // #ifndef _EPLSDOCOMU_H_
+8-13
drivers/staging/epl/user/EplSdoUdpu.h
···66666767 2006/06/26 k.t.: start of the implementation68686969-7069****************************************************************************/7171-72707371#include "../EplSdo.h"7472···7779// const defines7880//---------------------------------------------------------------------------79818080-8182//---------------------------------------------------------------------------8283// typedef8384//---------------------------------------------------------------------------8484-85858686//---------------------------------------------------------------------------8787// function prototypes···92969397tEplKernel PUBLIC EplSdoUdpuDelInstance(void);94989595-tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p, unsigned int uiPort_p);9999+tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p,100100+ unsigned int uiPort_p);961019797-tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl* pSdoConHandle_p,9898- unsigned int uiTargetNodeId_p);102102+tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl * pSdoConHandle_p,103103+ unsigned int uiTargetNodeId_p);99104100100-tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p,101101- tEplFrame * pSrcData_p,102102- DWORD dwDataSize_p);105105+tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p,106106+ tEplFrame * pSrcData_p,107107+ DWORD dwDataSize_p);103108104109tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p);105110106111#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0)107112108108-#endif // #ifndef _EPLSDOUDPU_H_109109-110110-113113+#endif // #ifndef _EPLSDOUDPU_H_
+7-12
drivers/staging/epl/user/EplStatusu.h
···66666767 2006/11/15 d.k.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplDll.h"···7374#ifndef _EPLSTATUSU_H_7475#define _EPLSTATUSU_H_75767676-7777//---------------------------------------------------------------------------7878// const defines7979//---------------------------------------------------------------------------8080-81808281//---------------------------------------------------------------------------8382// typedef8483//---------------------------------------------------------------------------85848686-typedef tEplKernel (PUBLIC * tEplStatusuCbResponse) (8787- unsigned int uiNodeId_p,8888- tEplStatusResponse* pStatusResponse_p);8585+typedef tEplKernel(PUBLIC * tEplStatusuCbResponse) (unsigned int uiNodeId_p,8686+ tEplStatusResponse *8787+ pStatusResponse_p);89889089//---------------------------------------------------------------------------9190// function prototypes···9710098101tEplKernel PUBLIC EplStatusuReset(void);99102100100-tEplKernel PUBLIC EplStatusuRequestStatusResponse(101101- unsigned int uiNodeId_p,102102- tEplStatusuCbResponse pfnCbResponse_p);103103+tEplKernel PUBLIC EplStatusuRequestStatusResponse(unsigned int uiNodeId_p,104104+ tEplStatusuCbResponse105105+ pfnCbResponse_p);103106104104-#endif // #ifndef _EPLSTATUSU_H_105105-106106-107107+#endif // #ifndef _EPLSTATUSU_H_
+8-14
drivers/staging/epl/user/EplTimeru.h
···66666767 2006/07/06 k.t.: start of the implementation68686969-7069****************************************************************************/71707271#include "../EplTimer.h"···7475#ifndef _EPLTIMERU_H_7576#define _EPLTIMERU_H_76777777-7878//---------------------------------------------------------------------------7979// const defines8080//---------------------------------------------------------------------------81818282-8382//---------------------------------------------------------------------------8483// typedef8584//---------------------------------------------------------------------------8686-87858886//---------------------------------------------------------------------------8987// function prototypes···92969397tEplKernel PUBLIC EplTimeruDelInstance(void);94989595-tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl* pTimerHdl_p,9696- unsigned long ulTime_p,9797- tEplTimerArg Argument_p);9999+tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl * pTimerHdl_p,100100+ unsigned long ulTime_p,101101+ tEplTimerArg Argument_p);981029999-tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl* pTimerHdl_p,100100- unsigned long ulTime_p,101101- tEplTimerArg Argument_p);103103+tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl * pTimerHdl_p,104104+ unsigned long ulTime_p,105105+ tEplTimerArg Argument_p);102106103103-tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl* pTimerHdl_p);107107+tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl * pTimerHdl_p);104108105109BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p);106110107107-#endif // #ifndef _EPLTIMERU_H_108108-109109-111111+#endif // #ifndef _EPLTIMERU_H_