User Tools

Site Tools


rtes:topics:arduino:interrupts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rtes:topics:arduino:interrupts [2018/10/25 09:41] – [Lecture Material] adminrtes:topics:arduino:interrupts [2018/11/08 12:16] (current) – [2) Generate f = 3 kHz] admin
Line 14: Line 14:
   * Lecture 6: {{ :rtes:topics:arduino:lecture6_atmega328_arduino.pdf |}}   * Lecture 6: {{ :rtes:topics:arduino:lecture6_atmega328_arduino.pdf |}}
   * Lecture 7: {{ :rtes:topics:arduino:lecture7_timers_interrupts.pdf |}}   * Lecture 7: {{ :rtes:topics:arduino:lecture7_timers_interrupts.pdf |}}
 +
 +  *  [[https://www.microchip.com/wwwproducts/en/ATmega328p|ATmega328P web page]]
 +  * {{http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf|ATmega328P Datasheet (pdf)}}
 +  * {{http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Summary.pdf|ATmega328P Datasheet Summary (pdf)}}
  
 From the introduction to ATmege328 ("Lecture 6") we just need: From the introduction to ATmege328 ("Lecture 6") we just need:
Line 25: Line 29:
   * Instructions   * Instructions
  
-==== Interrupt causes Context Switch ====+==== Interrupt and Context Switch ====
  
 A very good explanation is found here: A very good explanation is found here:
Line 40: Line 44:
  
 Modify the code from the instructable above to generate a frequency of f = 3 kHz. Modify the code from the instructable above to generate a frequency of f = 3 kHz.
 +
 +==== The Lazy Ones use this ====
 +
 +http://www.8bit-era.cz/arduino-timer-interrupts-calculator.html
 +
 ===== Links ===== ===== Links =====
  
rtes/topics/arduino/interrupts.1540460475.txt.gz · Last modified: 2018/10/25 09:41 by admin