[−][src]Enum nrf52810_pac::qdec::sampleper::SAMPLEPERR
Possible values of the field SAMPLEPER
Variants
_128US
128 us
_256US
256 us
_512US
512 us
_1024US
1024 us
_2048US
2048 us
_4096US
4096 us
_8192US
8192 us
_16384US
16384 us
_32MS
32768 us
_65MS
65536 us
_131MS
131072 us
_Reserved(u8)
Reserved
Methods
impl SAMPLEPERR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_128us(&self) -> bool
[src]
Checks if the value of the field is _128US
pub fn is_256us(&self) -> bool
[src]
Checks if the value of the field is _256US
pub fn is_512us(&self) -> bool
[src]
Checks if the value of the field is _512US
pub fn is_1024us(&self) -> bool
[src]
Checks if the value of the field is _1024US
pub fn is_2048us(&self) -> bool
[src]
Checks if the value of the field is _2048US
pub fn is_4096us(&self) -> bool
[src]
Checks if the value of the field is _4096US
pub fn is_8192us(&self) -> bool
[src]
Checks if the value of the field is _8192US
pub fn is_16384us(&self) -> bool
[src]
Checks if the value of the field is _16384US
pub fn is_32ms(&self) -> bool
[src]
Checks if the value of the field is _32MS
pub fn is_65ms(&self) -> bool
[src]
Checks if the value of the field is _65MS
pub fn is_131ms(&self) -> bool
[src]
Checks if the value of the field is _131MS
Trait Implementations
impl Copy for SAMPLEPERR
[src]
impl Debug for SAMPLEPERR
[src]
impl PartialEq<SAMPLEPERR> for SAMPLEPERR
[src]
fn eq(&self, other: &SAMPLEPERR) -> bool
[src]
fn ne(&self, other: &SAMPLEPERR) -> bool
[src]
impl Clone for SAMPLEPERR
[src]
fn clone(&self) -> SAMPLEPERR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SAMPLEPERR
impl Sync for SAMPLEPERR
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,