Struct lpc55_pac::usb1::devcmdstat::PHY_TEST_MODE_R
source · [−]pub struct PHY_TEST_MODE_R(_);
Expand description
Field PHY_TEST_MODE
reader - This field is written by firmware to put the PHY into a test mode as defined by the USB2.0 specification
Methods from Deref<Target = FieldReader<u8, u8>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for PHY_TEST_MODE_R
impl Deref for PHY_TEST_MODE_R
Auto Trait Implementations
impl RefUnwindSafe for PHY_TEST_MODE_R
impl Send for PHY_TEST_MODE_R
impl Sync for PHY_TEST_MODE_R
impl Unpin for PHY_TEST_MODE_R
impl UnwindSafe for PHY_TEST_MODE_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more