...
In the firmware precharge is a monitor pin which gets toggled HIGH LOW when precharge is complete. We use a falling_edge interrupt to verify that precharge has occurred. Once it has happened we toggle the MCI_RELAY, closing the connection with the motor controller and the pack.
...