Removed timer and PWM library as the implementation is unnecessarily complicated for little convenience gain

This commit is contained in:
BlackMark 2020-02-21 18:01:38 +01:00
parent 5f083e6fe9
commit 50ec81ece6

View File

@ -34,14 +34,6 @@ The SPI module, similar to UART, is decoupled from the backend. This allows a so
The I2C module is basically identical to SPI, just with a different protocol.
### Timers
The timers module allows the configuration of the hardware timers. Compile-time checks make sure that the requested time is actually achievable with the underlying hardware timer. The prescaler will be automatically calculated at compile-time based on the clock frequency, the hardware timer used and the time requested. The prescaler can also be specified directly.
#### PWM
The PWM mode of the hardware timer can also be used. Additionally, if PWM is needed on a pin that does not have hardware PWM support, a hardware timer can be used to implement software PWM.
## Goals
- IO
@ -71,11 +63,5 @@ The PWM mode of the hardware timer can also be used. Additionally, if PWM is nee
- [x] Support common usage with easy extendability
- [x] Compile-time check for correct hardware configuration
- [x] Provide an example showcasing the usage and possibilities
- Timers
- [ ] Support all hardware provided configuration options
- PWM
- [ ] Compile-time check for correct hardware configuration
- [ ] Software PWM on pins that don't have hardware PWM support
- [ ] Provide an example showcasing the usage and possibilities
- General
- [ ] Support for most common AVR chips (ATmega8, ATmega328, ATtiny85, ...)