• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Using PA0 (AREF) on an ATTiny1634 as a normal I/O pin while using internal 1.1 Reference

riccardo

Member
Hello,

I was planning to use PA0 as digital I/O pin, but I am unsure if I can after seeing this line in the datasheet (p196) "Internal voltage reference options may not be used if an external voltage is being applied to the AREF pin. "

Does that mean that if I set "ADMUX |= (1<<REFS1);" to use the internal 1.1V reference, I can not also use the port for I/O ? If so, does that mean that the 1.1V appears on that pin?
 

Latest threads

EE World Online Articles

Loading

 
Top