mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Renames all our .hpp HAL files to .h (#44)
Adds consistency, as the HAL was .hpp however all other code was .h.
This commit is contained in:
committed by
Peter Johnson
parent
248ca0c4a0
commit
8fc55c80a9
20
hal/include/HAL/Power.h
Normal file
20
hal/include/HAL/Power.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
float getVinVoltage(int32_t* status);
|
||||
float getVinCurrent(int32_t* status);
|
||||
float getUserVoltage6V(int32_t* status);
|
||||
float getUserCurrent6V(int32_t* status);
|
||||
bool getUserActive6V(int32_t* status);
|
||||
int getUserCurrentFaults6V(int32_t* status);
|
||||
float getUserVoltage5V(int32_t* status);
|
||||
float getUserCurrent5V(int32_t* status);
|
||||
bool getUserActive5V(int32_t* status);
|
||||
int getUserCurrentFaults5V(int32_t* status);
|
||||
float getUserVoltage3V3(int32_t* status);
|
||||
float getUserCurrent3V3(int32_t* status);
|
||||
bool getUserActive3V3(int32_t* status);
|
||||
int getUserCurrentFaults3V3(int32_t* status);
|
||||
}
|
||||
Reference in New Issue
Block a user