The DSO-5200/DSO-5200A BulkCode::ESETTRIGGERORSAMPLERATE builder.
More...
#include <bulkStructs.h>
|
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-5200/DSO-5200A BulkCode::ESETTRIGGERORSAMPLERATE builder.
◆ BulkSetTrigger5200()
| Hantek::BulkSetTrigger5200::BulkSetTrigger5200 |
( |
uint8_t | triggerSource, |
|
|
uint8_t | usedChannels, |
|
|
bool | fastRate = false, |
|
|
uint8_t | triggerSlope = 0, |
|
|
uint8_t | triggerPulse = 0 ) |
Sets the data bytes to the specified values.
- Parameters
-
| triggerSource | The trigger source id. |
| usedChannels | The enabled channels. |
| fastRate | The fastRate state. |
| triggerSlope | The triggerSlope value. |
| triggerPulse | The triggerPulse value. |
◆ getFastRate()
| bool Hantek::BulkSetTrigger5200::getFastRate |
( |
| ) |
|
Get the fastRate state in ETsrBits.
- Returns
- The fastRate state (Already inverted).
◆ getTriggerPulse()
| bool Hantek::BulkSetTrigger5200::getTriggerPulse |
( |
| ) |
|
Get the triggerPulse state in ETsrBits.
- Returns
- The triggerPulse state.
◆ getTriggerSlope()
| uint8_t Hantek::BulkSetTrigger5200::getTriggerSlope |
( |
| ) |
|
Get the triggerSlope value in ETsrBits.
- Returns
- The triggerSlope value.
◆ getTriggerSource()
| uint8_t Hantek::BulkSetTrigger5200::getTriggerSource |
( |
| ) |
|
Get the triggerSource value in ETsrBits.
- Returns
- The ::TriggerSource value.
◆ getUsedChannels()
| uint8_t Hantek::BulkSetTrigger5200::getUsedChannels |
( |
| ) |
|
Get the usedChannels value in ETsrBits.
- Returns
- The UsedChannels value.
◆ setFastRate()
| void Hantek::BulkSetTrigger5200::setFastRate |
( |
bool | fastRate | ) |
|
Set the fastRate in ETsrBits to the given state.
- Parameters
-
| fastRate | The new fastRate state (Automatically inverted). |
◆ setTriggerPulse()
| void Hantek::BulkSetTrigger5200::setTriggerPulse |
( |
bool | pulse | ) |
|
Set the triggerPulse in ETsrBits to the given state.
- Parameters
-
| pulse | The new triggerPulse state. |
◆ setTriggerSlope()
| void Hantek::BulkSetTrigger5200::setTriggerSlope |
( |
uint8_t | slope | ) |
|
Set the triggerSlope in ETsrBits to the given value.
- Parameters
-
| slope | The new triggerSlope value. |
◆ setTriggerSource()
| void Hantek::BulkSetTrigger5200::setTriggerSource |
( |
uint8_t | value | ) |
|
Set the triggerSource in ETsrBits to the given value.
- Parameters
-
| value | The new ::TriggerSource value. |
◆ setUsedChannels()
| void Hantek::BulkSetTrigger5200::setUsedChannels |
( |
uint8_t | value | ) |
|
Set the usedChannels in ETsrBits to the given value.
- Parameters
-
| value | The new UsedChannels value. |
The documentation for this class was generated from the following files: