Struct stm32_metapac::syscfg::regs::Pmc
#[repr(transparent)]pub struct Pmc(pub u32);
Expand description
peripheral mode configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pmc
impl Pmc
pub fn set_usb_pu(&mut self, val: bool)
pub fn set_usb_pu(&mut self, val: bool)
USB pull-up
pub fn set_lcd_capa(&mut self, val: u8)
pub fn set_lcd_capa(&mut self, val: u8)
USB pull-up enable on DP line
Trait Implementations§
impl Copy for Pmc
impl Eq for Pmc
impl StructuralPartialEq for Pmc
Auto Trait Implementations§
impl Freeze for Pmc
impl RefUnwindSafe for Pmc
impl Send for Pmc
impl Sync for Pmc
impl Unpin for Pmc
impl UnwindSafe for Pmc
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
)