You copied the Doc URL to your clipboard.

4.4. System timer, SysTick

When enabled, the system timer counts down from the reload value to zero, reloads (wraps to) the value in the SYST_RVR on the next clock cycle, then decrements on subsequent clock cycles. Writing a value of zero to the SYST_RVR disables the counter on the next wrap. When the counter transitions to zero, the COUNTFLAG status bit is set to 1. Reading SYST_CSR clears the COUNTFLAG bit to 0.Writing to the SYST_CVR clears the register and the COUNTFLAG status bit to 0. The write does not trigger the SysTick exception logic. Reading the register returns its value at the time it is accessed.

Note

When the processor is halted for debugging the counter does not decrement.

The system timer registers are:

Table 4.19. System timer registers summary
AddressNameTypeRequired privilege

Reset value

Description
0xE000E010SYST_CSRRWPrivileged0x00000000SysTick Control and Status Register
0xE000E014SYST_RVRRWPrivilegedUnknownSysTick Reload Value Register
0xE000E018SYST_CVRRWPrivilegedUnknownSysTick Current Value Register
0xE000E01CSYST_CALIBROPrivileged

Implementation Defined [a]

SysTick Calibration Value Register

[a] SysTick calibration value.


Was this page helpful? Yes No