|
USB EPROM/Flash Programmer
|
Voltage (VPP/VDD) Generator Class. More...
#include <vgenerator.hpp>
Public Member Functions | |
| VGenerator () | |
| Constructor. More... | |
| VGenerator (const VGenConfig &config) | |
| Constructor. More... | |
| ~VGenerator () | |
| Destructor. More... | |
| void | configure (const VGenConfig &config) |
| Configures the Voltage Generator. More... | |
| VGenConfig | getConfig () const |
| Gets the current configuration data. More... | |
| bool | start () |
| Starts the Voltage Generator. More... | |
| void | stop () |
| Stops the Voltage Generator. More... | |
| bool | isRunning () const |
| Returns if the Voltage Generator is running. More... | |
Public Attributes | |
| VppGenerator | vpp |
| VPP Generator. More... | |
| VddGenerator | vdd |
| VDD Generator. More... | |
Friends | |
| class | GenericGenerator |
| class | VddGenerator |
| class | VppGenerator |
Voltage (VPP/VDD) Generator Class.
The purpose of this class is to provide the methods to manipulate a Voltage Generator (VPP/VDD) Module.
| VGenerator | ( | ) |
Constructor.
Assumes a default value for the configuration.
|
explicit |
Constructor.
| config | Configuration data. |
| ~VGenerator | ( | ) |
Destructor.
| void configure | ( | const VGenConfig & | config | ) |
Configures the Voltage Generator.
If the Voltage Generator is running, then it's stopped before.
| config | Configuration data. |
| VGenConfig getConfig | ( | ) | const |
Gets the current configuration data.
| bool start | ( | ) |
Starts the Voltage Generator.
If the configuration is invalid, then fails.
| void stop | ( | ) |
Stops the Voltage Generator.
| bool isRunning | ( | ) | const |
Returns if the Voltage Generator is running.
| VppGenerator vpp |
VPP Generator.
| VddGenerator vdd |
VDD Generator.