I'm new to MikroE ARM compilers and I was sad to see that there is no general purpose Timer library. We have the Timer calculator for periodic interrupts and the PWM library for simple PWM. But there are many many more timer functions that can be used such as
- internal event counting,
- complimentary PWM,
- brushless 6-step commutation for advanced timers
- quadrature decoding,
- linking counting with external interrupts or GPIO events,
- up and down counting
- pulse generation such as RC servo output compare,
- pulse capture such as RC servo pulse measurement,
- duty cycle measurement,
- frequency counting,
Also there are the SysTick timer, RTC peripheral and Watchdog timers as well
These ARM micros (and more advanced PIC and AVRs) have very flexible timers with lots of functions. Help with register setting on these modules would be very very helpful. I think this should be a standard library for all the CPU families supported and I'm surprised that it is not already available because timers are used for just about every application in embedded systems.
So please consider this a request to vastly expand the Timer Calculator project and/or to add a standard Timer library to MikroE compilers.
Best,
Chris