#[repr(transparent)]pub struct UsbhsPhyCtrl(pub u32);Expand description
USB High Speed Phy Control
Tuple Fields§
§0: u32Implementations§
Source§impl UsbhsPhyCtrl
impl UsbhsPhyCtrl
Sourcepub const fn usb_vbusvalid_ext(&self) -> bool
pub const fn usb_vbusvalid_ext(&self) -> bool
Override value for Vbus if using external detectors.
Sourcepub const fn set_usb_vbusvalid_ext(&mut self, val: bool)
pub const fn set_usb_vbusvalid_ext(&mut self, val: bool)
Override value for Vbus if using external detectors.
Sourcepub const fn usb_id_ext(&self) -> bool
pub const fn usb_id_ext(&self) -> bool
Override value for ID if using external detectors.
Sourcepub const fn set_usb_id_ext(&mut self, val: bool)
pub const fn set_usb_id_ext(&mut self, val: bool)
Override value for ID if using external detectors.
Trait Implementations§
Source§impl Clone for UsbhsPhyCtrl
impl Clone for UsbhsPhyCtrl
Source§fn clone(&self) -> UsbhsPhyCtrl
fn clone(&self) -> UsbhsPhyCtrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsbhsPhyCtrl
impl Debug for UsbhsPhyCtrl
Source§impl Default for UsbhsPhyCtrl
impl Default for UsbhsPhyCtrl
Source§fn default() -> UsbhsPhyCtrl
fn default() -> UsbhsPhyCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for UsbhsPhyCtrl
impl PartialEq for UsbhsPhyCtrl
impl Copy for UsbhsPhyCtrl
impl Eq for UsbhsPhyCtrl
impl StructuralPartialEq for UsbhsPhyCtrl
Auto Trait Implementations§
impl Freeze for UsbhsPhyCtrl
impl RefUnwindSafe for UsbhsPhyCtrl
impl Send for UsbhsPhyCtrl
impl Sync for UsbhsPhyCtrl
impl Unpin for UsbhsPhyCtrl
impl UnwindSafe for UsbhsPhyCtrl
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