|
OpenHantek
|
The DSO-5200/DSO-5200A BulkCode::ESETTRIGGERORSAMPLERATE builder. More...
#include <bulkStructs.h>
Public Member Functions | |
| BulkSetTrigger5200 () | |
| Sets the data array to the default values. | |
| 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. More... | |
| uint8_t | getTriggerSource () |
| Get the triggerSource value in ETsrBits. More... | |
| void | setTriggerSource (uint8_t value) |
| Set the triggerSource in ETsrBits to the given value. More... | |
| uint8_t | getUsedChannels () |
| Get the usedChannels value in ETsrBits. More... | |
| void | setUsedChannels (uint8_t value) |
| Set the usedChannels in ETsrBits to the given value. More... | |
| bool | getFastRate () |
| Get the fastRate state in ETsrBits. More... | |
| void | setFastRate (bool fastRate) |
| Set the fastRate in ETsrBits to the given state. More... | |
| uint8_t | getTriggerSlope () |
| Get the triggerSlope value in ETsrBits. More... | |
| void | setTriggerSlope (uint8_t slope) |
| Set the triggerSlope in ETsrBits to the given value. More... | |
| bool | getTriggerPulse () |
| Get the triggerPulse state in ETsrBits. More... | |
| void | setTriggerPulse (bool pulse) |
| Set the triggerPulse in ETsrBits to the given state. 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-5200/DSO-5200A BulkCode::ESETTRIGGERORSAMPLERATE builder.
| 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.
| triggerSource | The trigger source id. |
| usedChannels | The enabled channels. |
| fastRate | The fastRate state. |
| triggerSlope | The triggerSlope value. |
| triggerPulse | The triggerPulse value. |
| bool Hantek::BulkSetTrigger5200::getFastRate | ( | ) |
Get the fastRate state in ETsrBits.
| bool Hantek::BulkSetTrigger5200::getTriggerPulse | ( | ) |
Get the triggerPulse state in ETsrBits.
| uint8_t Hantek::BulkSetTrigger5200::getTriggerSlope | ( | ) |
Get the triggerSlope value in ETsrBits.
| uint8_t Hantek::BulkSetTrigger5200::getTriggerSource | ( | ) |
Get the triggerSource value in ETsrBits.
| uint8_t Hantek::BulkSetTrigger5200::getUsedChannels | ( | ) |
Get the usedChannels value in ETsrBits.
| void Hantek::BulkSetTrigger5200::setFastRate | ( | bool | fastRate | ) |
Set the fastRate in ETsrBits to the given state.
| fastRate | The new fastRate state (Automatically inverted). |
| void Hantek::BulkSetTrigger5200::setTriggerPulse | ( | bool | pulse | ) |
Set the triggerPulse in ETsrBits to the given state.
| pulse | The new triggerPulse state. |
| void Hantek::BulkSetTrigger5200::setTriggerSlope | ( | uint8_t | slope | ) |
Set the triggerSlope in ETsrBits to the given value.
| slope | The new triggerSlope value. |
| void Hantek::BulkSetTrigger5200::setTriggerSource | ( | uint8_t | value | ) |
Set the triggerSource in ETsrBits to the given value.
| value | The new ::TriggerSource value. |
| void Hantek::BulkSetTrigger5200::setUsedChannels | ( | uint8_t | value | ) |
Set the usedChannels in ETsrBits to the given value.
| value | The new ::UsedChannels value. |
1.8.14