Cell voltages fork (SoC)
Dependencies: CUER_CAN CUER_DS1820 LTC2943 LTC6804 mbed PowerControl
IVTA.h
- Committer:
- DasSidG
- Date:
- 2017-08-25
- Revision:
- 59:e8ac52b71d8d
- Parent:
- 54:f18d3af300ba
- Child:
- 66:c884fba9eaea
File content as of revision 59:e8ac52b71d8d:
#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