Struct gd32f1x0_hal::rcu::ADDAPB1
source · [−]pub struct ADDAPB1 { /* private fields */ }
Expand description
Additional Advanced Peripheral Bus 1 (APB1) registers
Aquired through the Rcu
registers:
let dp = pac::Peripherals::take().unwrap();
let mut rcu = dp.RCU.constrain();
function_that_uses_addapb1(&mut rcu.addapb1)
Trait Implementations
sourceimpl GetBusFreq for ADDAPB1
impl GetBusFreq for ADDAPB1
fn get_frequency(clocks: &Clocks) -> Hertz
fn get_timer_frequency(clocks: &Clocks) -> Hertz
Auto Trait Implementations
impl RefUnwindSafe for ADDAPB1
impl Send for ADDAPB1
impl Sync for ADDAPB1
impl Unpin for ADDAPB1
impl UnwindSafe for ADDAPB1
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