Loading...
Searching...
No Matches
ltc4150_last_minute_data_t Struct Reference

Data structure used by ltc4150_last_minute. More...

Detailed Description

Data structure used by ltc4150_last_minute.

Definition at line 212 of file ltc4150.h.

#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.
 

Field Documentation

◆ buf_charged

uint8_t ltc4150_last_minute_data_t::buf_charged[7]

Ring-buffer to store charge information in 10 sec resolution.

Definition at line 225 of file ltc4150.h.

◆ buf_discharged

uint8_t ltc4150_last_minute_data_t::buf_discharged[7]

As above, but in discharging direction.

Definition at line 229 of file ltc4150.h.

◆ charged

uint16_t ltc4150_last_minute_data_t::charged

Pulses in charging direction recorded in the last minute.

Definition at line 217 of file ltc4150.h.

◆ discharged

uint16_t ltc4150_last_minute_data_t::discharged

Pulses in discharging direction recorded in the last minute.

Definition at line 221 of file ltc4150.h.

◆ last_rotate_sec

uint32_t ltc4150_last_minute_data_t::last_rotate_sec

Time stamp of the last ring "rotation".

Definition at line 213 of file ltc4150.h.

◆ ring_pos

uint8_t ltc4150_last_minute_data_t::ring_pos

Position in the ring buffer.

Definition at line 230 of file ltc4150.h.


The documentation for this struct was generated from the following file: