ARM Cortex LEDs ASM code; GPIO button interrupts and timer interrupts.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
371-p2-1.s
README.md

README.md

ARM Assembly : GPIO Button and Timer Pre-emption interrupts on Sitara

Amanda Falke 2015

ARM Assembly with the Sitara processor; GPIO button interrupts, pre-emptive timer interrupts.

Hook and chain vector table method.

PIN MAPPING for MUXes (selecting user GPIO as per commonly found on Raspbery Pi/ other GPIO work.

The counter on this processor is an up-counter. That's what's used for the preemption.

The LED pulses when the button is pushed, and each pulse is governed by the up counter's preemption, for each "flash."

The pulsing stops when the button is pressed for a second time, and resumed when pressed a third time, and so on.