Public Member Functions | Public Attributes | List of all members
TBaseFrame< Payload > Struct Template Reference

#include <arduinodaq2pc-structs.h>

Public Member Functions

void calc_and_update_checksum ()
 
uint8_t calc_checksum () const
 
 TBaseFrame (uint8_t opcode)
 

Public Attributes

uint8_t CHECKSUM
 
const uint8_t DATALEN
 
const uint8_t END_FLAG
 
const uint8_t OPCODE
 
Payload payload
 
const uint8_t START_FLAG
 

Detailed Description

template<typename Payload>
struct TBaseFrame< Payload >

Definition at line 111 of file arduinodaq2pc-structs.h.

Constructor & Destructor Documentation

template<typename Payload>
TBaseFrame< Payload >::TBaseFrame ( uint8_t  opcode)
inline

Definition at line 123 of file arduinodaq2pc-structs.h.

Member Function Documentation

template<typename Payload>
void TBaseFrame< Payload >::calc_and_update_checksum ( )
inline

Definition at line 131 of file arduinodaq2pc-structs.h.

template<typename Payload>
uint8_t TBaseFrame< Payload >::calc_checksum ( ) const
inline

Definition at line 136 of file arduinodaq2pc-structs.h.

Member Data Documentation

template<typename Payload>
uint8_t TBaseFrame< Payload >::CHECKSUM

Definition at line 119 of file arduinodaq2pc-structs.h.

template<typename Payload>
const uint8_t TBaseFrame< Payload >::DATALEN

Definition at line 115 of file arduinodaq2pc-structs.h.

template<typename Payload>
const uint8_t TBaseFrame< Payload >::END_FLAG

Definition at line 120 of file arduinodaq2pc-structs.h.

template<typename Payload>
const uint8_t TBaseFrame< Payload >::OPCODE

Definition at line 114 of file arduinodaq2pc-structs.h.

template<typename Payload>
Payload TBaseFrame< Payload >::payload

Definition at line 117 of file arduinodaq2pc-structs.h.

template<typename Payload>
const uint8_t TBaseFrame< Payload >::START_FLAG

Definition at line 113 of file arduinodaq2pc-structs.h.


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


arduino_daq
Author(s):
autogenerated on Mon Jun 10 2019 12:46:03