Subversion Repositories FlightCtrl

Rev

Rev 2426 | Rev 2466 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2426 Rev 2443
Line 40... Line 40...
40
        uint8_t State;                          // 7 bit for I2C error counter, highest bit indicates if motor is present
40
        uint8_t State;                          // 7 bit for I2C error counter, highest bit indicates if motor is present
41
        uint8_t ReadMode;                       // select data to read
41
        uint8_t ReadMode;                       // select data to read
42
        // the following bytes must be exactly in that order!
42
        // the following bytes must be exactly in that order!
43
        uint8_t Current;                        // in 0.1 A steps, read back from BL
43
        uint8_t Current;                        // in 0.1 A steps, read back from BL
44
        uint8_t MaxPWM;                         // read back from BL -> is less than 255 if BL is in current limit, not running (250) or starting (40)
44
        uint8_t MaxPWM;                         // read back from BL -> is less than 255 if BL is in current limit, not running (250) or starting (40)
-
 
45
        int8_t  Temperature;            // old BL-Ctrl will return a 255 here, the new version the temp. in °C
45
        int8_t  Temperature;            // old BL-Ctrl will return a 255 here, the new version the temp. in °C
46
        uint8_t NotReadyCnt;            // Counts up is the Motor is not ready during flight -> MotorRestart etc.
Line 46... Line 47...
46
} __attribute__((packed)) MotorData_t;
47
} __attribute__((packed)) MotorData_t;
Line 47... Line 48...
47
 
48