Rev 1510 | Rev 1672 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1510 | Rev 1526 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #define _CAPACITY_H |
2 | #define _CAPACITY_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | typedef struct |
4 | typedef struct |
5 | { |
5 | { |
- | 6 | unsigned short ActualCurrent; // in 0.1A Steps |
|
6 | unsigned short ActualCurrent; // in 0.1A Steps |
7 | unsigned short ActualPower; // in 0.1W |
7 | unsigned short UsedCapacity; // in mAh |
8 | unsigned short UsedCapacity; // in mAh |
Line 8... | Line 9... | ||
8 | } __attribute__((packed)) Capacity_t; |
9 | } __attribute__((packed)) Capacity_t; |