mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
27 lines
481 B
C
27 lines
481 B
C
#include "stdint.h"
|
|
/*
|
|
* BSP_Power.h -- Board Support for Power control
|
|
*
|
|
* These functions are hooks used to allow for power control
|
|
*
|
|
*/
|
|
|
|
#ifndef BSP_POWER_H_
|
|
#define BSP_POWER_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Called periodically in the movement handling thread
|
|
// Can be used to check any details for the power system
|
|
void power_check();
|
|
|
|
// Return the tip resistance in x10 ohms (8.5 -> 85)
|
|
uint8_t getTipResistanceX10();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|