Working with timer counter hardware
A generic hardware timer counter.
The counters are exposed in 16-bit mode only.
The hardware allows configuring the 8-bit mode
and pairing up some instances to run in 32-bit
mode, but that functionality is not currently
exposed by this hal implementation.
TimerCounter implements both the
This is a helper trait to make it easier to make most of the TimerCounter impl generic. It doesn't make too much sense to to try to implement this trait outside of this module.