aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/curve_data_sp2batdrop.h
blob: 81cddadb636f16897444dd79e9c319f95b4cdb78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PWM setpoint to battery voltage drop transformation curve.
 * PWM setpoint range: 0 - 65535 (0xFFFF)
 * Battery drop range: 0 - 65535 (0xFFFF) mV
 * Curve generated by: battery_drop_curve.ods
 */
static const struct curve_point __flash sp2batdrop_curve[] = {
        CURVE_POINT(0, 0),
        CURVE_POINT(655, 130),
        CURVE_POINT(5243, 200),
        CURVE_POINT(32768, 290),
        CURVE_POINT(65535, 360),
};
bues.ch cgit interface