rp2040_pac::ppb

Module syst_csr

source
Expand description

Use the SysTick Control and Status Register to enable the SysTick features.

Structs§

  • Use the SysTick Control and Status Register to enable the SysTick features.

Type Aliases§

  • Field CLKSOURCE reader - SysTick clock source. Always reads as one if SYST_CALIB reports NOREF.
    Selects the SysTick timer clock source:
    0 = External reference clock.
    1 = Processor clock.
  • Field CLKSOURCE writer - SysTick clock source. Always reads as one if SYST_CALIB reports NOREF.
    Selects the SysTick timer clock source:
    0 = External reference clock.
    1 = Processor clock.
  • Field COUNTFLAG reader - Returns 1 if timer counted to 0 since last time this was read. Clears on read by application or debugger.
  • Field ENABLE reader - Enable SysTick counter:
    0 = Counter disabled.
    1 = Counter enabled.
  • Field ENABLE writer - Enable SysTick counter:
    0 = Counter disabled.
    1 = Counter enabled.
  • Register SYST_CSR reader
  • Field TICKINT reader - Enables SysTick exception request:
    0 = Counting down to zero does not assert the SysTick exception request.
    1 = Counting down to zero to asserts the SysTick exception request.
  • Field TICKINT writer - Enables SysTick exception request:
    0 = Counting down to zero does not assert the SysTick exception request.
    1 = Counting down to zero to asserts the SysTick exception request.
  • Register SYST_CSR writer