Go Down

Topic: Hardware features used in Arduino (Read 738 times) previous topic - next topic


Is there a consolidated list somewhere of the various AVR hardware features used in the Arduino? I presume that the basic timers use Timer0, but I can't find any documentation that says that I can or can't use any of the other timers. If there isn't, I recommend placing on the resources page a simple list showing which Arduino functions use what hardware and what's open for the user to use.


Datasheets for the microcontrollers can be found here
Atmega328P, Atmega2560, Atmega32U4
You are free to code up whatever you want using the timers. If you don't need the millis()/micros() function, I think you could even user Timer0 without impacting stuff.
I think you really need to look at the source code that is downloaded for the IDE to answer  your question tho.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Is there a consolidated list somewhere of the various AVR hardware features used in the Arduino?

Basically no. The Arduino uses most of the hardware features in one for or another.
The data sheet is great in seeing what is available but the only thing I can think of they don't use is analogue comparator.

what's open for the user to use.

You can use them all.
Basically what you want to know is what will you loose if you mess about with some of these resources. For example all three timers are used for PWM as well as timer 0 doubling up for the millis functions. But you can use them if you don't mind not having that particular function.

Resource management is always a bit tricky especially if you are using libraries that do not state up front what resources they use.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131