Rahix / avr-device

Register access crate for AVR microcontrollers
Apache License 2.0
170 stars 66 forks source link

Add support for ATtiny2313/A #85

Closed USA-RedDragon closed 3 years ago

USA-RedDragon commented 3 years ago

This is for both the ATtiny2313 and the ATtiny2313a. They're pin-compatible, but some registers and electrical properties are changed between them.

USA-RedDragon commented 3 years ago

Ah you're exactly right: the original non-A ATtiny2313's UCSRC UMSEL is only 1 bit. I'll get a fix added.

Thanks

USA-RedDragon commented 3 years ago

Screenshot_20210828-133952_Drive

Documenting for posterity