pub struct UCPD2 { /* private fields */ }
Expand description
USB Power Delivery interface
Implementations
sourceimpl UCPD2
impl UCPD2
sourcepub const PTR: *const RegisterBlock = {0x4000a400 as *const stm32g081::ucpd1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4000a400 as *const stm32g081::ucpd1::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Deref for UCPD2
impl Deref for UCPD2
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for UCPD2
Auto Trait Implementations
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