Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21942

SysTick_setPeriod ( uint32_t period ) function in DriverLib Library

$
0
0

The period parameter assigned to the above function does not work properly below a certain value.

I think the problem lies in the statement given on the driverlib documentation- Calling this function does not cause the SysTick counter to reload immediately. If an immediate reload is required, the NVIC_ST_CURRENT register must be written. Any write to this register clears the SysTick counter to 0 and causes a reload with the period supplied here on the next clock after SysTick is enabled.


Link: 

It is saying "NVIC_ST_CURRENT register must be written", but how and where will i write it.


Viewing all articles
Browse latest Browse all 21942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>