What is the default data type in AVR GCC? I mean is if I need one byte unsigned value and memory is not a constraint, uint16_t is better or uint8_t is better? Any performance difference between these two other than memory? Also does it matter between RAM and flash? Flash is 16 bit wide and hence I guess it does not matter if it is 16 bit or 8 bit. But in case of RAM, I guess 16bit may be accessed as two 8 bit values right?
Joined: Fri. Aug 14, 2015
Posts: 266 View posts
Last Edited: Tue. Oct 4, 2016 - 01:26 AM