Public Member Functions | Public Attributes | List of all members
ethercat_hardware::WG0XMbxHdr Struct Reference

Public Member Functions

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

Public Attributes

union {
   uint16_t   command_
 
__attribute__
 
uint16_t address_
 
uint8_t checksum_
 
uint16_t length_:12
 
uint16_t seqnum_: 3
 
uint16_t write_nread_:1
 

Detailed Description

Definition at line 57 of file wg_mailbox.cpp.

Member Function Documentation

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

Definition at line 89 of file wg_mailbox.cpp.

bool ethercat_hardware::WG0XMbxHdr::verifyChecksum ( void  ) const

Definition at line 121 of file wg_mailbox.cpp.

Member Data Documentation

union { ... } ethercat_hardware::WG0XMbxHdr::__attribute__
uint16_t ethercat_hardware::WG0XMbxHdr::address_

Definition at line 59 of file wg_mailbox.cpp.

uint8_t ethercat_hardware::WG0XMbxHdr::checksum_

Definition at line 70 of file wg_mailbox.cpp.

uint16_t ethercat_hardware::WG0XMbxHdr::command_

Definition at line 62 of file wg_mailbox.cpp.

uint16_t ethercat_hardware::WG0XMbxHdr::length_

Definition at line 65 of file wg_mailbox.cpp.

uint16_t ethercat_hardware::WG0XMbxHdr::seqnum_

Definition at line 66 of file wg_mailbox.cpp.

uint16_t ethercat_hardware::WG0XMbxHdr::write_nread_

Definition at line 67 of file wg_mailbox.cpp.


The documentation for this struct was generated from the following file:


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Fri Mar 15 2019 02:53:30