Struct gd32f1x0_hal::rcu::AHB
source · [−]pub struct AHB { /* private fields */ }
Expand description
AMBA High-performance Bus (AHB) registers
Aquired through the Rcu
registers:
let dp = pac::Peripherals::take().unwrap();
let mut rcu = dp.RCU.constrain();
function_that_uses_ahb(&mut rcu.ahb)
Trait Implementations
sourceimpl GetBusFreq for AHB
impl GetBusFreq for AHB
fn get_frequency(clocks: &Clocks) -> Hertz
fn get_timer_frequency(clocks: &Clocks) -> Hertz
Auto Trait Implementations
impl RefUnwindSafe for AHB
impl Send for AHB
impl Sync for AHB
impl Unpin for AHB
impl UnwindSafe for AHB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more