$search

WG0XMbxHdr Struct Reference

#include <wg0x.h>

List of all members.

Public Member Functions

bool build (unsigned address, unsigned length, MbxCmdType type, unsigned seqnum)
bool verifyChecksum (void) const

Public Attributes

union {
   struct {
      uint16_t   length_:12
      uint16_t   seqnum_: 3
      uint16_t   write_nread_:1
   }   __packed__
   uint16_t   command_
}; 
uint16_t address_
uint8_t checksum_

Detailed Description

Definition at line 49 of file wg0x.h.


Member Function Documentation

bool WG0XMbxHdr::build ( unsigned  address,
unsigned  length,
MbxCmdType  type,
unsigned  seqnum 
)

Definition at line 83 of file wg0x.cpp.

bool WG0XMbxHdr::verifyChecksum ( void   )  const

Definition at line 115 of file wg0x.cpp.


Member Data Documentation

union { ... }
struct { ... } WG0XMbxHdr::__packed__

Definition at line 51 of file wg0x.h.

Definition at line 62 of file wg0x.h.

Definition at line 54 of file wg0x.h.

Definition at line 57 of file wg0x.h.

Definition at line 58 of file wg0x.h.

Definition at line 59 of file wg0x.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Fri Mar 1 16:52:18 2013