The BulkCode::SETGAIN builder.
More...
#include <bulkStructs.h>
|
|
| BulkSetGain () |
| | Sets the data array to needed values.
|
| |
| | BulkSetGain (uint8_t channel1, uint8_t channel2) |
| | Sets the gain to the given values. More...
|
| |
| uint8_t | getGain (ChannelID channel) |
| | Get the gain for the given channel. More...
|
| |
| void | setGain (ChannelID channel, uint8_t value) |
| | Set the gain for the given channel. More...
|
| |
|
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 BulkCode::SETGAIN builder.
◆ BulkSetGain()
| Hantek::BulkSetGain::BulkSetGain |
( |
uint8_t |
channel1, |
|
|
uint8_t |
channel2 |
|
) |
| |
Sets the gain to the given values.
- Parameters
-
| channel1 | The gain value for channel 1. |
| channel2 | The gain value for channel 2. |
◆ getGain()
| uint8_t Hantek::BulkSetGain::getGain |
( |
ChannelID |
channel | ) |
|
Get the gain for the given channel.
- Parameters
-
| channel | The channel whose gain should be returned. |
- Returns
- The gain value.
◆ setGain()
| void Hantek::BulkSetGain::setGain |
( |
ChannelID |
channel, |
|
|
uint8_t |
value |
|
) |
| |
Set the gain for the given channel.
- Parameters
-
| channel | The channel that should be set. |
| value | The new gain value for the channel. |
The documentation for this class was generated from the following files: