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
This commit is contained in:
2021-11-08 01:40:01 +01:00
parent 0c235358e4
commit f3d71cf0f9
6 changed files with 400 additions and 0 deletions

View File

@ -2,6 +2,10 @@
pub use va108xx;
pub mod clock;
pub mod gpio;
pub mod prelude;
pub mod time;
pub mod timer;
pub use va108xx as pac;