Public Types | Public Member Functions | Public Attributes | List of all members
netft_rdt_driver::RDTCommand Struct Reference

Public Types

enum  { HEADER =0x1234 }
 
enum  { CMD_STOP_STREAMING =0, CMD_START_HIGH_SPEED_STREAMING =2 }
 
enum  { INFINITE_SAMPLES =0 }
 
enum  { RDT_COMMAND_SIZE = 8 }
 

Public Member Functions

void pack (uint8_t *buffer) const
 Packet structure into buffer for network transport. More...
 
 RDTCommand ()
 

Public Attributes

uint16_t command_
 
uint16_t command_header_
 
uint32_t sample_count_
 

Detailed Description

Definition at line 84 of file netft_rdt_driver.cpp.

Member Enumeration Documentation

anonymous enum
Enumerator
HEADER 

Definition at line 95 of file netft_rdt_driver.cpp.

anonymous enum
Enumerator
CMD_STOP_STREAMING 
CMD_START_HIGH_SPEED_STREAMING 

Definition at line 98 of file netft_rdt_driver.cpp.

anonymous enum
Enumerator
INFINITE_SAMPLES 

Definition at line 105 of file netft_rdt_driver.cpp.

anonymous enum
Enumerator
RDT_COMMAND_SIZE 

Definition at line 107 of file netft_rdt_driver.cpp.

Constructor & Destructor Documentation

netft_rdt_driver::RDTCommand::RDTCommand ( )
inline

Definition at line 90 of file netft_rdt_driver.cpp.

Member Function Documentation

void netft_rdt_driver::RDTCommand::pack ( uint8_t *  buffer) const

Packet structure into buffer for network transport.

Definition at line 114 of file netft_rdt_driver.cpp.

Member Data Documentation

uint16_t netft_rdt_driver::RDTCommand::command_

Definition at line 87 of file netft_rdt_driver.cpp.

uint16_t netft_rdt_driver::RDTCommand::command_header_

Definition at line 86 of file netft_rdt_driver.cpp.

uint32_t netft_rdt_driver::RDTCommand::sample_count_

Definition at line 88 of file netft_rdt_driver.cpp.


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


netft_utils
Author(s): Alex von Sternberg , Derek King, Andy Zelenak
autogenerated on Tue Mar 2 2021 03:15:09