|
OpenHantek
|
The DSO-2250 BulkCode::ESETTRIGGERORSAMPLERATE builder. More...
#include <bulkStructs.h>
Public Member Functions | |
| BulkSetSamplerate2250 () | |
| Sets the data array to the default values. | |
| BulkSetSamplerate2250 (bool fastRate, bool downsampling=false, uint16_t samplerate=0) | |
| Sets the data bytes to the specified values. More... | |
| bool | getFastRate () |
| Get the fastRate state in ESamplerateBits. More... | |
| void | setFastRate (bool fastRate) |
| Set the fastRate in ESamplerateBits to the given state. More... | |
| bool | getDownsampling () |
| Get the downsampling state in ESamplerateBits. More... | |
| void | setDownsampling (bool downsampling) |
| Set the downsampling in ESamplerateBits to the given state. More... | |
| uint16_t | getSamplerate () |
| Get the Samplerate value. More... | |
| void | setSamplerate (uint16_t samplerate) |
| Set the Samplerate to the given value. More... | |
Additional Inherited Members | |
Data Fields inherited from BulkCommand | |
| Hantek::BulkCode | code |
| bool | pending = false |
| BulkCommand * | next = nullptr |
Protected Member Functions inherited from BulkCommand | |
| BulkCommand (Hantek::BulkCode code, unsigned size) | |
The DSO-2250 BulkCode::ESETTRIGGERORSAMPLERATE builder.
| Hantek::BulkSetSamplerate2250::BulkSetSamplerate2250 | ( | bool | fastRate, |
| bool | downsampling = false, |
||
| uint16_t | samplerate = 0 |
||
| ) |
Sets the data bytes to the specified values.
| fastRate | The fastRate state (ESamplerateBits). |
| downsampling | The downsampling state (ESamplerateBits). |
| samplerate | The Samplerate value. |
| bool Hantek::BulkSetSamplerate2250::getDownsampling | ( | ) |
Get the downsampling state in ESamplerateBits.
| bool Hantek::BulkSetSamplerate2250::getFastRate | ( | ) |
Get the fastRate state in ESamplerateBits.
| uint16_t Hantek::BulkSetSamplerate2250::getSamplerate | ( | ) |
Get the Samplerate value.
| void Hantek::BulkSetSamplerate2250::setDownsampling | ( | bool | downsampling | ) |
Set the downsampling in ESamplerateBits to the given state.
| downsampling | The new downsampling state. |
| void Hantek::BulkSetSamplerate2250::setFastRate | ( | bool | fastRate | ) |
Set the fastRate in ESamplerateBits to the given state.
| fastRate | The new fastRate state. |
| void Hantek::BulkSetSamplerate2250::setSamplerate | ( | uint16_t | samplerate | ) |
Set the Samplerate to the given value.
| samplerate | The new Samplerate value. |
1.8.14