Data structure used by ltc4150_last_minute. More...
Data structure used by ltc4150_last_minute.
#include <ltc4150.h>
Data Fields | |
| uint32_t | last_rotate_sec |
| Time stamp of the last ring "rotation". | |
| uint16_t | charged |
| Pulses in charging direction recorded in the last minute. | |
| uint16_t | discharged |
| Pulses in discharging direction recorded in the last minute. | |
| uint8_t | buf_charged [7] |
| Ring-buffer to store charge information in 10 sec resolution. | |
| uint8_t | buf_discharged [7] |
| As above, but in discharging direction. | |
| uint8_t | ring_pos |
| Position in the ring buffer. | |