We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys, I am trying software timers without using interrupt
SysTick->CTRL = 0x5;
SysTick->LOAD = 0xFFFFFF;
SysTick->VAL = 0;
when start the program, what will happen with SysTick->VAL = 0; it is value start with 0xFFFFFF or 0.
From the manual:"Writing to SYST_CVR clears both the register and the COUNTFLAG status bit to zero. This causes the SysTick logic to reload SYST_CVR from SYST_RVR on the next timer clock. A write to SYST_CVR does not trigger the SysTick exception logic."