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 89 of file wg_mailbox.cpp.

Member Function Documentation

◆ build()

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

Definition at line 121 of file wg_mailbox.cpp.

◆ verifyChecksum()

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

Definition at line 153 of file wg_mailbox.cpp.

Member Data Documentation

◆ __attribute__

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

◆ address_

uint16_t ethercat_hardware::WG0XMbxHdr::address_

Definition at line 91 of file wg_mailbox.cpp.

◆ checksum_

uint8_t ethercat_hardware::WG0XMbxHdr::checksum_

Definition at line 102 of file wg_mailbox.cpp.

◆ command_

uint16_t ethercat_hardware::WG0XMbxHdr::command_

Definition at line 94 of file wg_mailbox.cpp.

◆ length_

uint16_t ethercat_hardware::WG0XMbxHdr::length_

Definition at line 97 of file wg_mailbox.cpp.

◆ seqnum_

uint16_t ethercat_hardware::WG0XMbxHdr::seqnum_

Definition at line 98 of file wg_mailbox.cpp.

◆ write_nread_

uint16_t ethercat_hardware::WG0XMbxHdr::write_nread_

Definition at line 99 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 Sun Apr 2 2023 02:44:04