SysTick
i. When does the interrupt occur?
a. Dependence of time between interrupts and clock frequency
i. Interrupt occur to execute some important external event, which is urgently to be executed.
example, when input data comes from external devices to microprocessor/microcontroller, then currently executing program is suspended & external data is received, after that the currently executing program is resumed.
a. clock frequency decides the time of execution, fastness of operation. If frequency is more, than processor/controller executes the program fastly.
Interrupt is a sub program (subroutine), which also just like program depends on clock frequency. Is Interrupt program is small, then it executes fastly, also if clock frequency is more than also interrupts (sub program) executes fastly.
Get Answers For Free
Most questions answered within 1 hours.