Rahix / avr-device

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

Adds patches for the timers on attiny167 #102

Closed dalpil closed 2 years ago

dalpil commented 2 years ago

Adds patches for TC0 and TC1 on the attiny167 so that prescaler values (and the COMnx register values) can be set by human readable methods (.prescale_64() instead of .val_0x03() for example).