OpenHantek
Public Member Functions
Hantek::BulkSetSamplerate5200 Class Reference

The DSO-5200/DSO-5200A BulkCode::CSETTRIGGERORSAMPLERATE builder. More...

#include <bulkStructs.h>

Inheritance diagram for Hantek::BulkSetSamplerate5200:
BulkCommand

Public Member Functions

 BulkSetSamplerate5200 ()
 Sets the data array to the default values.
 
 BulkSetSamplerate5200 (uint16_t samplerateSlow, uint8_t samplerateFast)
 Sets the data bytes to the specified values. More...
 
uint8_t getSamplerateFast ()
 Get the SamplerateFast value. More...
 
void setSamplerateFast (uint8_t value)
 Set the SamplerateFast to the given value. More...
 
uint16_t getSamplerateSlow ()
 Get the SamplerateSlow value. More...
 
void setSamplerateSlow (uint16_t samplerate)
 Set the SamplerateSlow 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 DSO-5200/DSO-5200A BulkCode::CSETTRIGGERORSAMPLERATE builder.

Constructor & Destructor Documentation

◆ BulkSetSamplerate5200()

Hantek::BulkSetSamplerate5200::BulkSetSamplerate5200 ( uint16_t  samplerateSlow,
uint8_t  samplerateFast 
)

Sets the data bytes to the specified values.

Parameters
samplerateSlowThe SamplerateSlow value.
samplerateFastThe SamplerateFast value.

Member Function Documentation

◆ getSamplerateFast()

uint8_t Hantek::BulkSetSamplerate5200::getSamplerateFast ( )

Get the SamplerateFast value.

Returns
The SamplerateFast value.

◆ getSamplerateSlow()

uint16_t Hantek::BulkSetSamplerate5200::getSamplerateSlow ( )

Get the SamplerateSlow value.

Returns
The SamplerateSlow value.

◆ setSamplerateFast()

void Hantek::BulkSetSamplerate5200::setSamplerateFast ( uint8_t  value)

Set the SamplerateFast to the given value.

Parameters
valueThe new SamplerateFast value.

◆ setSamplerateSlow()

void Hantek::BulkSetSamplerate5200::setSamplerateSlow ( uint16_t  samplerate)

Set the SamplerateSlow to the given value.

Parameters
samplerateThe new SamplerateSlow value.

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