Struct stm32_metapac::ucpd::Ucpd
pub struct Ucpd { /* private fields */ }
Expand description
USB Power Delivery interface
Implementations§
§impl Ucpd
impl Ucpd
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn tx_ordsetr(self) -> Reg<TxOrdsetr, RW>
pub const fn tx_ordsetr(self) -> Reg<TxOrdsetr, RW>
Tx ordered set type register
pub const fn rx_ordsetr(self) -> Reg<RxOrdsetr, RW>
pub const fn rx_payszr(self) -> Reg<RxPayszr, RW>
pub const fn rxdr(self) -> Reg<Rxdr, RW>
pub const fn rx_ordextr1(self) -> Reg<RxOrdextr1, RW>
pub const fn rx_ordextr1(self) -> Reg<RxOrdextr1, RW>
Rx ordered set extension register 1
pub const fn rx_ordextr2(self) -> Reg<RxOrdextr2, RW>
pub const fn rx_ordextr2(self) -> Reg<RxOrdextr2, RW>
Rx ordered set extension register 2
Trait Implementations§
impl Copy for Ucpd
impl Eq for Ucpd
impl Send for Ucpd
impl StructuralPartialEq for Ucpd
impl Sync for Ucpd
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)