#define THROTTLE_FAULT (1 << 0)
#define VREF_FAULT (1 << 1)
#define PRECHARGE_WAIT (1 << 5)
#define MOTOR_OS_FAULT (1 << 6)
#define HPL_FAULT (1 << 7)
vref fault means the current sensor is unplugged or broken.
throttle fault means the throttle is probably unplugged.
precharge_wait means the capacitors are charging up
HPL_fault is high pedal lockout (like Alvin was saying).
motor_os_fault is when the motor overspeed is tripped. it must be enabled though.
|