Rev 2000 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2000 | Rev 2005 | ||
---|---|---|---|
Line 4... | Line 4... | ||
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 ActualPower; // in 0.1W |
8 | signed short UsedCapacity; // in mAh //Modified by metro |
8 | signed short UsedCapacity; // in mAh //Modified by metro |
9 | #ifdef WITH_REMAINCAPACITY // only include functions if DEBUG is defined in main.h |
- | |
Line 10... | Line -... | ||
10 | - | ||
11 | #warning : "### with REMAIN CAPACITY ###" |
9 | |
12 | signed short RemainCapacity; // in mAh //Added by metro |
10 | signed short RemainCapacity; // in mAh //Added by metro |
13 | #endif |
11 | |
14 | unsigned char MinOfMaxPWM; // BL Power Limit |
12 | unsigned char MinOfMaxPWM; // BL Power Limit |
Line 15... | Line 13... | ||
15 | } __attribute__((packed)) Capacity_t; |
13 | } __attribute__((packed)) Capacity_t; |