### Description An interrupt triggered by the shutdown pin should cause the system to stop running in a safe way. ### Requirements <!-- to be ticked when met --> - [x] Set up pin change interrupt in STM32CubeMX and re-generate code. - [x] Create interrupt handler, make sure it is triggered by the pin change. - [x] move ISR to where all the globals are (app_threadx.c) - [x] add intermediary function for checking system is RTD before registering a critical fault - [ ] Add testbench to allow shutdown to be triggered from user button pin, but only after the RTD procedure has completed. - [ ] add stop functions to ts controller and driver control - [ ] vcu shutdown function
Description
An interrupt triggered by the shutdown pin should cause the system to stop running in a safe way.
Requirements