Struct stm32_metapac::usb::regs::Bcdr
#[repr(transparent)]pub struct Bcdr(pub u32);
Expand description
Battery Charging Detector
Tuple Fields§
§0: u32
Implementations§
§impl Bcdr
impl Bcdr
pub fn set_ps2det(&mut self, val: bool)
pub fn set_ps2det(&mut self, val: bool)
DM pull-up detection status
Trait Implementations§
impl Copy for Bcdr
impl Eq for Bcdr
impl StructuralPartialEq for Bcdr
Auto Trait Implementations§
impl Freeze for Bcdr
impl RefUnwindSafe for Bcdr
impl Send for Bcdr
impl Sync for Bcdr
impl Unpin for Bcdr
impl UnwindSafe for Bcdr
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
)