@VitSh7
Latest commit 4fd3801 May 28, 2020 History
7.3.0-atmel3.6.1-arduino7 gcc fails to optimize separate reading from ADCL and ADCH. It produces additionally three eor commands or in some cases two mov commands in the assembly code (see discussion #344). These commands swap register contents before store them to data area. So they are completely unnecessary. Reading ADC result with ADC macro fixes it and gcc generates the right code..
8 contributors

Users who have contributed to this file

@damellis @zeveland @Lauszus @mischnic @VitSh7 @Max-Leopold @matthijskooijman @cmaglie