Enum mk20d7::usb0::control::DPPULLUPNONOTGR
source · pub enum DPPULLUPNONOTGR {
_0,
_1,
}
Expand description
Possible values of the field DPPULLUPNONOTG
Variants§
_0
DP Pull up in non-OTG device mode is not enabled.
_1
DP Pull up in non-OTG device mode is enabled.
Implementations§
source§impl DPPULLUPNONOTGR
impl DPPULLUPNONOTGR
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§
source§impl Clone for DPPULLUPNONOTGR
impl Clone for DPPULLUPNONOTGR
source§fn clone(&self) -> DPPULLUPNONOTGR
fn clone(&self) -> DPPULLUPNONOTGR
Returns a copy 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 DPPULLUPNONOTGR
impl Debug for DPPULLUPNONOTGR
source§impl PartialEq<DPPULLUPNONOTGR> for DPPULLUPNONOTGR
impl PartialEq<DPPULLUPNONOTGR> for DPPULLUPNONOTGR
source§fn eq(&self, other: &DPPULLUPNONOTGR) -> bool
fn eq(&self, other: &DPPULLUPNONOTGR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.