https://github.com/abstractmachines/assembly-interrupt-timer-led-gpio
ARM Cortex LEDs ASM code; GPIO button interrupts and timer interrupts.
https://github.com/abstractmachines/assembly-interrupt-timer-led-gpio
arm-assembly code-composer-studio counter embedded-systems gpio hardware leds processor
Last synced: about 1 year ago
JSON representation
ARM Cortex LEDs ASM code; GPIO button interrupts and timer interrupts.
- Host: GitHub
- URL: https://github.com/abstractmachines/assembly-interrupt-timer-led-gpio
- Owner: abstractmachines
- Created: 2016-03-29T08:55:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-29T09:11:25.000Z (about 10 years ago)
- Last Synced: 2025-02-06T02:57:25.041Z (over 1 year ago)
- Topics: arm-assembly, code-composer-studio, counter, embedded-systems, gpio, hardware, leds, processor
- Language: Assembly
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.