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 [2007/01/02 22:29] hermanatmel [2018/12/30 00:13] (current) – external edit 127.0.0.1
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]]
Line 45: Line 46:
   * [[http://www.pek.nu/pekproj/proj/el/avrex/|Bunch of simple examples]]   * [[http://www.pek.nu/pekproj/proj/el/avrex/|Bunch of simple examples]]
  
 +  * Handy command for debugging: avr-objdump -d $filename.elf > $filename.asm
 ====== Interrupts ====== ====== 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. 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.
 

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.