Skip to content

Support for simulating ATtinyx5 (e.g. ATtiny85) timers #64

@urish

Description

@urish

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions