Rust edition bumped & UART implementation

- Also adds UART example
This commit is contained in:
2021-11-09 18:30:46 +01:00
parent 541524c59b
commit b18e32e0cc
9 changed files with 505 additions and 18 deletions

View File

@ -1,3 +1,8 @@
//! API for the TIM peripherals
//!
//! ## Examples
//!
//! - [MS and second tick implementation](https://github.com/robamu-org/va108xx-hal-rs/blob/main/examples/timer-ticks.rs)
use crate::{
clock::{enable_peripheral_clock, PeripheralClocks},
time::Hertz,