Public Attributes | List of all members
RTK_PACKET Union Reference

A type definition for the ROBOTalk packet. More...

#include <dn_robotalk.h>

Public Attributes

struct {
   uint16_t   command
 
   uint8_t   data [RTK_SIZE_DATA]
 
   uint8_t   enq
 
   uint8_t   from_id
 
   uint8_t   len
 
   uint8_t   to_id
 
}; 
 
uint8_t buf [RTK_SIZE_PACKET]
 

Detailed Description

A type definition for the ROBOTalk packet.

Note
The ROBOTalk packet's byte order is big endian.

Definition at line 143 of file dn_robotalk.h.

Member Data Documentation

struct { ... }
uint8_t RTK_PACKET::buf[RTK_SIZE_PACKET]

Buffer.

Definition at line 154 of file dn_robotalk.h.

uint16_t RTK_PACKET::command

Command.

Definition at line 149 of file dn_robotalk.h.

uint8_t RTK_PACKET::data[RTK_SIZE_DATA]

Data. The tail 2bits is used for CRC.

Definition at line 152 of file dn_robotalk.h.

uint8_t RTK_PACKET::enq

Enquiry.

Definition at line 147 of file dn_robotalk.h.

uint8_t RTK_PACKET::from_id

Id of host.

Definition at line 150 of file dn_robotalk.h.

uint8_t RTK_PACKET::len

The length of data. This does not contain CRC length.

Definition at line 148 of file dn_robotalk.h.

uint8_t RTK_PACKET::to_id

Id of the target client.

Definition at line 151 of file dn_robotalk.h.


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


bcap_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:20