SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The interrupt service routine in SPF should be designed to process the data logs generated by SPF. It should trigger a higher layer application software that can analyze the data logs and determine if any remedial measures are required based on the information in the logs. At the minimum, the interrupt service routine must reprogram the software pointer for the logging machine to be able to continue logging.
The typical tasks performed following an interrupt are listed in the pseudo code below.
SPF_ISR {
read log hardware pointer
read log software pointer
determine how many log entries are to be read
read each log entry starting with the software pointer
update software pointer to reflect the next unread entry
clear interrupt
}