You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ATtiny devices use a single TIFR that is shared among both timers. Same goes for TIMSK. Thus, the bit indices for these registers are different and are timer dependent. For instance, TOV0 is second least significant bit, while its current value is hardcoded to the least significant bit.
We need to make TOV / OCFA / OCFB bit positions configurable, as well as TOIE, OCIEA and OCIEB.
The text was updated successfully, but these errors were encountered:
ATtiny devices use a single
TIFR
that is shared among both timers. Same goes forTIMSK
. Thus, the bit indices for these registers are different and are timer dependent. For instance,TOV0
is second least significant bit, while its current value is hardcoded to the least significant bit.We need to make
TOV
/OCFA
/OCFB
bit positions configurable, as well asTOIE
,OCIEA
andOCIEB
.The text was updated successfully, but these errors were encountered: