Software › TC0 Timer Blink

TC0 Timer Blink

demo Open · freely redistributable

An original CC0 bare-metal Metro M4 Express program: it enables the SAMD51 TC0 timer/counter (COUNT16 mode, /256 prescaler), then drives the D13 LED (PA16) straight from a bit of the running COUNT register (latched for reading with a READSYNC command), announcing each phase change over the SERCOM3 console. Exercises the real TC0 timer read path — the blink rate is set by the hardware timer, not a NOP loop.

Download ↓

Format: SAMD51 flash image (bare-metal, compiled C)  ·  By: emulators.org  ·  Licence: Public domain (CC0)

Runs on