Some AVR Libraries

Here are a few commonly useful source code libraries intended to serve as hardware abstracting modules or general purpose modules for AVR microcontroller applications compiled with GCC. They are not guaranteed to be fit for any particular purpose, but I have used them over the years on a number of projects on ATmega32, ATmega64 and ATmega644 and related devices.

Some of the files seem to have been commented back in the day – others were not.

  • uart – simple UART module
  • spim – SPI master module
  • spis – SPI slave module
  • daq – a module for streamed data acquisition using the ADC
  • lutrig – efficient fixed-point lookup-trigonometry module

Download musefulAVR111101.zip

Check back if you use them. If they are updated in future, the filename will change to reflect the new date.


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>