curve_data_sp2batdrop.h 421 B

12345678910111213
  1. /* PWM setpoint to battery voltage drop transformation curve.
  2. * PWM setpoint range: 0 - 65535 (0xFFFF)
  3. * Battery drop range: 0 - 65535 (0xFFFF) mV
  4. * Curve generated by: battery_drop_curve.ods
  5. */
  6. static const struct curve_point __flash sp2batdrop_curve[] = {
  7. CURVE_POINT(0, 0),
  8. CURVE_POINT(655, 130),
  9. CURVE_POINT(5243, 200),
  10. CURVE_POINT(32768, 290),
  11. CURVE_POINT(65535, 360),
  12. };