aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/epl/EplPdo.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/epl/EplPdo.h')
-rw-r--r--drivers/staging/epl/EplPdo.h41
1 files changed, 16 insertions, 25 deletions
diff --git a/drivers/staging/epl/EplPdo.h b/drivers/staging/epl/EplPdo.h
index 0273a94773f..d22ac86e85b 100644
--- a/drivers/staging/epl/EplPdo.h
+++ b/drivers/staging/epl/EplPdo.h
@@ -66,7 +66,6 @@
2006/05/22 d.k.: start of the implementation, version 1.00
-
****************************************************************************/
#ifndef _EPL_PDO_H_
@@ -85,42 +84,34 @@
// NodeId for PRes TPDO
#define EPL_PDO_PRES_NODE_ID 0x00
-
//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
-typedef struct
-{
- void* m_pVar;
- WORD m_wOffset; // in Bits
- WORD m_wSize; // in Bits
- BOOL m_fNumeric; // numeric value -> use AMI functions
+typedef struct {
+ void *m_pVar;
+ WORD m_wOffset; // in Bits
+ WORD m_wSize; // in Bits
+ BOOL m_fNumeric; // numeric value -> use AMI functions
} tEplPdoMapping;
-typedef struct
-{
- unsigned int m_uiSizeOfStruct;
- unsigned int m_uiPdoId;
- unsigned int m_uiNodeId;
- // 0xFF=invalid, RPDO: 0x00=PReq, localNodeId=PRes, remoteNodeId=PRes
- // TPDO: 0x00=PRes, MN: CnNodeId=PReq
+typedef struct {
+ unsigned int m_uiSizeOfStruct;
+ unsigned int m_uiPdoId;
+ unsigned int m_uiNodeId;
+ // 0xFF=invalid, RPDO: 0x00=PReq, localNodeId=PRes, remoteNodeId=PRes
+ // TPDO: 0x00=PRes, MN: CnNodeId=PReq
- BOOL m_fTxRx;
- BYTE m_bMappingVersion;
- unsigned int m_uiMaxMappingEntries; // maximum number of mapping entries, i.e. size of m_aPdoMapping
- tEplPdoMapping m_aPdoMapping[1];
+ BOOL m_fTxRx;
+ BYTE m_bMappingVersion;
+ unsigned int m_uiMaxMappingEntries; // maximum number of mapping entries, i.e. size of m_aPdoMapping
+ tEplPdoMapping m_aPdoMapping[1];
} tEplPdoParam;
-
-
//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
-
-#endif // #ifndef _EPL_PDO_H_
-
-
+#endif // #ifndef _EPL_PDO_H_