Brian Silverman | 26e4e52 | 2015-12-17 01:56:40 -0500 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | extern "C" |
| 6 | { |
| 7 | void initializePDP(uint8_t module); |
| 8 | double getPDPTemperature(uint8_t module, int32_t *status); |
| 9 | double getPDPVoltage(uint8_t module, int32_t *status); |
| 10 | double getPDPChannelCurrent(uint8_t module, uint8_t channel, int32_t *status); |
| 11 | double getPDPTotalCurrent(uint8_t module, int32_t *status); |
| 12 | double getPDPTotalPower(uint8_t module, int32_t *status); |
| 13 | double getPDPTotalEnergy(uint8_t module, int32_t *status); |
| 14 | void resetPDPTotalEnergy(uint8_t module, int32_t *status); |
| 15 | void clearPDPStickyFaults(uint8_t module, int32_t *status); |
| 16 | } |