atmel.txt · Last modified: 2018/12/30 00:13 by 127.0.0.1 

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
atmel [2006/11/19 18:15] hermanatmel [2018/12/30 00:13] (current) – external edit 127.0.0.1
Line 5: Line 5:
 Error and fix in AVR Studio [[http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=35216|on AVR Freaks forums]]. Error and fix in AVR Studio [[http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=35216|on AVR Freaks forums]].
  
-Perhaps a little lame (kinda) [[http://hubbard.engr.scu.edu/embedded/avr/avrlib/index.html|avrlib]] but it helps quite a bit :)+Perhaps a little lame [[http://hubbard.engr.scu.edu/embedded/avr/avrlib/index.html|avrlib]] but it helps quite a bit :)
  
 ====== Ports ====== ====== Ports ======
Line 16: Line 16:
   * DDRx Data direction register (1: output, 0: input)   * DDRx Data direction register (1: output, 0: input)
   * PINx Port input pins   * PINx Port input pins
 +
 ===== BIT manipulation in C ===== ===== BIT manipulation in C =====
   * ~ means invert int -> ~_bv(5) means 11101111 not 00010000   * ~ means invert int -> ~_bv(5) means 11101111 not 00010000
Line 37: Line 38:
   * [[http://www.ai.uga.edu/mc/microcontrollers/avr/AVRnotebook.pdf|Notebook]] on using attiny13   * [[http://www.ai.uga.edu/mc/microcontrollers/avr/AVRnotebook.pdf|Notebook]] on using attiny13
  
-====== Reference documentation ======+====== Reference ======
   * [[http://hubbard.engr.scu.edu/embedded/avr/avrlib/docs/html/index.html|AVRlib manual]]   * [[http://hubbard.engr.scu.edu/embedded/avr/avrlib/docs/html/index.html|AVRlib manual]]
   * [[http://www.nongnu.org/avr-libc/user-manual/|avr-libc manual]]   * [[http://www.nongnu.org/avr-libc/user-manual/|avr-libc manual]]
   * [[http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf|Atmega8 datasheet]]   * [[http://www.atmel.com/dyn/resources/prod_documents/doc2486.pdf|Atmega8 datasheet]]
   * [[http://www.avrfreaks.net/index.php?module=Freaks%20Files&func=viewFile&id=1240&showinfo=1|Attiny13 datasheet]]   * [[http://www.avrfreaks.net/index.php?module=Freaks%20Files&func=viewFile&id=1240&showinfo=1|Attiny13 datasheet]]
 +
 +  * [[http://www.pek.nu/pekproj/proj/el/avrex/|Bunch of simple examples]]
 +
 +  * Handy command for debugging: avr-objdump -d $filename.elf > $filename.asm
 +====== Interrupts ======
 +All soft uart implementations use interrupts in one way or the other (timer and/or external). To understand them I'd like to test some more.
 +  * [[http://www.windmeadow.com/node/19|Googled a Howto]] for external interrupts
  
 ====== Programmer ====== ====== Programmer ======
 

Author Herman Kopinga. This work is licensed under a Creative Commons License.
Created with Dokuwiki, layout using XHTML 1.0 and stylesheets, follow changes through rrs.