#include <wg0x.h>
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_ |
Definition at line 47 of file wg0x.h.
| bool WG0XMbxHdr::build | ( | unsigned | address, | |
| unsigned | length, | |||
| MbxCmdType | type, | |||
| unsigned | seqnum | |||
| ) |
| union { ... } |
| struct { ... } WG0XMbxHdr::__packed__ |
| uint16_t WG0XMbxHdr::address_ |
| uint8_t WG0XMbxHdr::checksum_ |
| uint16_t WG0XMbxHdr::command_ |
| uint16_t WG0XMbxHdr::length_ |
| uint16_t WG0XMbxHdr::seqnum_ |
| uint16_t WG0XMbxHdr::write_nread_ |