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 StructuralEq for Bcdr
impl StructuralPartialEq for Bcdr
Auto Trait Implementations§
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