Struct stm32_metapac::syscfg::regs::Ucpdr
#[repr(transparent)]pub struct Ucpdr(pub u32);
Expand description
USB Type C and Power Delivery register
Tuple Fields§
§0: u32
Implementations§
§impl Ucpdr
impl Ucpdr
pub const fn cc1enrxfilter(&self) -> bool
pub const fn cc1enrxfilter(&self) -> bool
CC1ENRXFILTER
pub fn set_cc1enrxfilter(&mut self, val: bool)
pub fn set_cc1enrxfilter(&mut self, val: bool)
CC1ENRXFILTER
pub const fn cc2enrxfilter(&self) -> bool
pub const fn cc2enrxfilter(&self) -> bool
CC2ENRXFILTER
pub fn set_cc2enrxfilter(&mut self, val: bool)
pub fn set_cc2enrxfilter(&mut self, val: bool)
CC2ENRXFILTER
Trait Implementations§
impl Copy for Ucpdr
impl Eq for Ucpdr
impl StructuralPartialEq for Ucpdr
Auto Trait Implementations§
impl Freeze for Ucpdr
impl RefUnwindSafe for Ucpdr
impl Send for Ucpdr
impl Sync for Ucpdr
impl Unpin for Ucpdr
impl UnwindSafe for Ucpdr
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
)