Skip to content

ARM Cortex LEDs ASM code; GPIO button interrupts and timer interrupts.

Notifications You must be signed in to change notification settings

abstractmachines/assembly-interrupt-timer-led-gpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published