Remove common clock types

Different STM32 RCC peripherals have different capabilities and register
values. Define types for each RCC types inside each module to ensure
full range of capabilities for each family can be used
This commit is contained in:
Ulf Lilleengen
2021-11-28 16:46:08 +01:00
parent 1b24b3bd68
commit 25b49a8a2a
8 changed files with 249 additions and 101 deletions

View File

@ -3,7 +3,6 @@
use crate::peripherals;
use crate::time::Hertz;
use core::mem::MaybeUninit;
mod types;
#[derive(Clone, Copy)]
pub struct Clocks {