stm32/rcc: rename common to bus

This commit is contained in:
xoviat
2023-08-27 08:35:13 -05:00
parent 13f0501673
commit 48085939e7
16 changed files with 19 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
use core::convert::TryFrom;
use core::ops::{Div, Mul};
pub use super::common::{AHBPrescaler, APBPrescaler};
pub use super::bus::{AHBPrescaler, APBPrescaler};
use crate::pac::flash::vals::Latency;
use crate::pac::rcc::vals::{Pllp, Pllsrc, Sw};
use crate::pac::{FLASH, RCC};
@@ -201,7 +201,7 @@ pub struct PLLClocks {
pub pll48_freq: Hertz,
}
pub use super::common::VoltageScale;
pub use super::bus::VoltageScale;
impl VoltageScale {
const fn wait_states(&self, ahb_freq: Hertz) -> Option<Latency> {