Cell voltages fork (SoC)
Dependencies: CUER_CAN CUER_DS1820 LTC2943 LTC6804 mbed PowerControl
IVTA.h
- Committer:
- DasSidG
- Date:
- 2017-09-16
- Revision:
- 66:c884fba9eaea
- Parent:
- 59:e8ac52b71d8d
File content as of revision 66:c884fba9eaea:
#ifndef IVTA_H #define IVTA_H #include "mbed.h" #define DEBUG 0 int ivta_init(void); int ivta_transfer(uint8_t * txrx); bool ivta_get_current(int32_t ¤t); void ivta_reset_Ah_meter(); bool ivta_read_Ah_meter(float &Ah); uint16_t calculate_IVTA_crc(uint8_t data[]); uint16_t crc16_update(uint16_t crc, uint8_t a); #endif