Nuvoton /NUC1xx_registers /SCS /SYST_CSR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SYST_CSR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (ENABLE)ENABLE 0 (TICKINT)TICKINT 0 (CLKSRC)CLKSRC 0 (COUNTFLAG)COUNTFLAG

Description

SysTick Control and Status

Fields

ENABLE

1 : the counter will operate in a multi-shot manner. 0 : the counter is disabled

TICKINT

1 : counting down to 0 will cause the SysTick exception to be pended. Clearing the SysTick Current Value register by a register write in software will not cause SysTick to be pended. 0 : counting down to 0 does not cause the SysTick exception to be pended. Software can use COUNTFLAG to determine if a count to zero has occurred.

CLKSRC

1 : core clock used for SysTick. 0 : clock source is (optional) external reference clock

COUNTFLAG

Returns 1 if timer counted to 0 since last time this register was read. COUNTFLAG is set by a count transition from 1 to 0. COUNTFLAG is cleared on read or by a write to the Current Value register.

Links

()