mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
15 lines
249 B
C++
15 lines
249 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);
|
||
|
|
}
|