|
| | ControlSetOffset (uint16_t channel1, uint16_t channel2, uint16_t trigger) |
| | Sets the offsets to the given values.
|
| |
| uint16_t | getChannel (ChannelID channel) |
| | Get the offset for the given channel.
|
| |
| void | setChannel (ChannelID channel, uint16_t offset) |
| | Set the offset for the given channel.
|
| |
| uint16_t | getTrigger () |
| | Get the trigger level.
|
| |
| void | setTrigger (uint16_t level) |
| | Set the trigger level.
|
| |
|
Data Fields inherited from ControlCommand |
|
bool | pending = false |
| |
|
uint8_t | code |
| |
|
uint8_t | value = 0 |
| |
|
ControlCommand * | next = nullptr |
| |
Protected Member Functions inherited from ControlCommand |
|
| ControlCommand (Hantek::ControlCode code, unsigned size) |
| |
◆ ControlSetOffset()
| Hantek::ControlSetOffset::ControlSetOffset |
( |
uint16_t | channel1, |
|
|
uint16_t | channel2, |
|
|
uint16_t | trigger ) |
Sets the offsets to the given values.
- Parameters
-
| channel1 | The offset for channel 1. |
| channel2 | The offset for channel 2. |
| trigger | The offset for ext. trigger. |
◆ getChannel()
| uint16_t Hantek::ControlSetOffset::getChannel |
( |
ChannelID | channel | ) |
|
Get the offset for the given channel.
- Parameters
-
| channel | The channel whose offset should be returned. |
- Returns
- The channel offset value.
◆ getTrigger()
| uint16_t Hantek::ControlSetOffset::getTrigger |
( |
| ) |
|
Get the trigger level.
- Returns
- The trigger level value.
◆ setChannel()
| void Hantek::ControlSetOffset::setChannel |
( |
ChannelID | channel, |
|
|
uint16_t | offset ) |
Set the offset for the given channel.
- Parameters
-
| channel | The channel that should be set. |
| offset | The new channel offset value. |
◆ setTrigger()
| void Hantek::ControlSetOffset::setTrigger |
( |
uint16_t | level | ) |
|
Set the trigger level.
- Parameters
-
| level | The new trigger level value. |
The documentation for this struct was generated from the following files: