OpenHantek
Public Member Functions
Hantek::BulkSetLogicalData Class Reference

The BulkCode::SETLOGICALDATA builder. More...

#include <bulkStructs.h>

Inheritance diagram for Hantek::BulkSetLogicalData:
BulkCommand

Public Member Functions

 BulkSetLogicalData ()
 Sets the data array to needed values.
 
 BulkSetLogicalData (uint8_t data)
 Sets the data to the given value. More...
 
uint8_t getData ()
 Gets the data. More...
 
void setData (uint8_t data)
 Sets the data to the given value. More...
 

Additional Inherited Members

- Data Fields inherited from BulkCommand
Hantek::BulkCode code
 
bool pending = false
 
BulkCommandnext = nullptr
 
- Protected Member Functions inherited from BulkCommand
 BulkCommand (Hantek::BulkCode code, unsigned size)
 

Detailed Description

The BulkCode::SETLOGICALDATA builder.

Constructor & Destructor Documentation

◆ BulkSetLogicalData()

Hantek::BulkSetLogicalData::BulkSetLogicalData ( uint8_t  data)

Sets the data to the given value.

Parameters
dataThe data byte.

Member Function Documentation

◆ getData()

uint8_t Hantek::BulkSetLogicalData::getData ( )

Gets the data.

Returns
The data byte.

◆ setData()

void Hantek::BulkSetLogicalData::setData ( uint8_t  d)

Sets the data to the given value.

Parameters
dataThe new data byte.

The documentation for this class was generated from the following files: