Commit Graph

4 Commits

Author SHA1 Message Date
Robin Müller 63be6ed5fe Refactored GPIO module
- The GPIO module uses type-level programming now
- Implementation heavily based on the ATSAMD GPIO HAL:
  https://docs.rs/atsamd-hal/0.13.0/atsamd_hal/gpio/v2/index.html
- Changes to API, but no passing of peripheral references necessary
  anymore. All examples and tests updated accordingly
2021-11-11 17:39:26 +01:00
Robin Müller f3d71cf0f9
Timer and Clock modules added
- Clock module to set and retrieve system clock which can have
  varying frequencies. Also allows enabling peripheral clocks
- Prelude updated
- Common time types added, based on stm32f1xx HAL implementation
- Basic timer implementation added
2021-11-08 01:40:01 +01:00
Robin Müller 1e1b7f3c9f
fix prelude naming 2021-11-06 16:19:38 +01:00
Robin Müller 9020fc92d0
Refactored parts of the GPIO implementation 2021-11-06 16:16:53 +01:00