...
After determining the proper event to process, the ISR will go through another switch statement to ensure the event is handled by the proper state machine, after which the status of the system will be displayed as a text output. We intend to later output this information to CAN.
Possible Change |
---|
By using the FSM transition functions as well as the event queue, we could possibly simplify the ISR by eliminating the massive conditional statement that it contains. |