Atmel Attiny2313 common lib