mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Artifact artf3740 : C++ and Java don't implement all PDP features Change-Id: I6a519d16de412a4d477b1f9c57e9b405b2e1aae0
20 lines
470 B
C++
20 lines
470 B
C++
#pragma once
|
|
|
|
#ifdef __vxworks
|
|
#include <vxWorks.h>
|
|
#else
|
|
#include <stdint.h>
|
|
#endif
|
|
|
|
extern "C"
|
|
{
|
|
double getPDPTemperature(int32_t *status);
|
|
double getPDPVoltage(int32_t *status);
|
|
double getPDPChannelCurrent(uint8_t channel, int32_t *status);
|
|
double getPDPTotalCurrent(int32_t *status);
|
|
double getPDPTotalPower(int32_t *status);
|
|
double getPDPTotalEnergy(int32_t *status);
|
|
void resetPDPTotalEnergy(int32_t *status);
|
|
void clearPDPStickyFaults(int32_t *status);
|
|
}
|