systick

command
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

README

TinyGo ARM SysTick example

This example uses the ARM System Timer to blink an LED. The timer fires an interrupt 10 times per second. The interrupt handler toggles the LED on and off.

Many ARM-based chips have this timer feature. If you run the example and the LED blinks, then you have one.

The System Timer runs from a cycle counter. The more cycles, the slower the LED will blink. This counter is 24 bits wide, which places an upper bound on the number of cycles, and the slowness of the blinking.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL