15 lines
295 B
C
15 lines
295 B
C
#pragma once
|
|
#ifndef __BATTERY_H
|
|
#define __BATTERY_H
|
|
#include "config_ADBMS6830.h"
|
|
#include "stm32h7xx_hal.h"
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
extern uint16_t min_voltage;
|
|
extern int16_t max_temp;
|
|
|
|
void battery_init(SPI_HandleTypeDef* hspi);
|
|
void battery_update();
|
|
|
|
#endif // __BATTERY_H
|