Interface for ADE chips directly connected to main controller.
More...
|
typedef map< string, long > | RegisterMap |
| Map of ADE register values.
|
|
Interface for ADE chips directly connected to main controller.
Definition at line 15 of file Ade.idl.
◆ RegisterMap
Map of ADE register values.
Definition at line 37 of file Ade.idl.
◆ getCalibrationData()
Retrieve the values of all supported calibration registers.
- Returns
- Map of calibration register values
◆ getLatestSample()
vector< Sample > pdumodel::Ade::getLatestSample |
( |
| ) |
|
Retrieve the latest raw samples.
- Returns
- Vector of samples, one for each channel
◆ getMetaData()
Retrieve the ADE metadata.
- Returns
- ADE metadata
◆ setCalibrationData()
int pdumodel::Ade::setCalibrationData |
( |
in RegisterMap |
regs | ) |
|
Set new values for some or all calibration registers.
- Note
- This command is only available during manufacturing!
- Parameters
-
regs | Map of new calibration register values |
- Returns
- 0 if OK
-
1 if any parameters are invalid
-
2 if the device is not in factory configuration mode
The documentation for this interface was generated from the following file: