sample code for periodic SysTick Timer in embedded systems interrupts lecture