SP8EBC-ParaTNC/include/rte_pv.h

30 wiersze
669 B
C

/*
* rte_pv.h
*
* Created on: 18.03.2019
* Author: mateusz
*/
#ifndef RTE_PV_H_
#define RTE_PV_H_
#include <stdint.h>
#include "./ve_direct_protocol/average_struct.h"
#include "./ve_direct_protocol/raw_struct.h"
extern ve_direct_average_struct rte_pv_average;
extern uint8_t rte_pv_sys_voltage;
extern ve_direct_raw_struct rte_pv_struct;
extern ve_direct_error_reason rte_pv_last_error;
extern int16_t rte_pv_battery_current;
extern uint16_t rte_pv_battery_voltage;
extern uint16_t rte_pv_cell_voltage;
extern uint16_t rte_pv_load_current;
extern uint16_t rte_pv_messages_count;
extern uint16_t rte_pv_corrupted_messages_count;
#endif /* RTE_PV_H_ */