SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
There are multiple ways to service an interrupt depending on how much of the hardware assistance offered by the VIM the software wants to take advantage of.
For IRQs, it is recommended to use the procedure in Section 7.2.2.5.8.1, but the procedures in Section 7.2.2.5.8.2 or Section 7.2.2.5.8.3 (if a user wants to implement a fully software prioritization scheme) may be used as alternatives.
For FIQs, it is recommended to use the procedure in Section 7.2.2.5.8.4, but the procedure in Section 7.2.2.5.8.5 may be used as an alternative.
These descriptions do not include steps such as stack pushes and state retention that software must take in order to return from the ISR. It is assumed that the programmer is aware of these steps.