[−][src]Enum trinket_m0::wdt::config::PERR
Possible values of the field PER
Variants
_8
8 clock cycles
_16
16 clock cycles
_32
32 clock cycles
_64
64 clock cycles
_128
128 clock cycles
_256
256 clock cycles
_512
512 clock cycles
_1K
1024 clock cycles
_2K
2048 clock cycles
_4K
4096 clock cycles
_8K
8192 clock cycles
_16K
16384 clock cycles
_Reserved(u8)
Reserved
Methods
impl PERR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_8(&self) -> bool
[src]
Checks if the value of the field is _8
pub fn is_16(&self) -> bool
[src]
Checks if the value of the field is _16
pub fn is_32(&self) -> bool
[src]
Checks if the value of the field is _32
pub fn is_64(&self) -> bool
[src]
Checks if the value of the field is _64
pub fn is_128(&self) -> bool
[src]
Checks if the value of the field is _128
pub fn is_256(&self) -> bool
[src]
Checks if the value of the field is _256
pub fn is_512(&self) -> bool
[src]
Checks if the value of the field is _512
pub fn is_1k(&self) -> bool
[src]
Checks if the value of the field is _1K
pub fn is_2k(&self) -> bool
[src]
Checks if the value of the field is _2K
pub fn is_4k(&self) -> bool
[src]
Checks if the value of the field is _4K
pub fn is_8k(&self) -> bool
[src]
Checks if the value of the field is _8K
pub fn is_16k(&self) -> bool
[src]
Checks if the value of the field is _16K
Trait Implementations
impl PartialEq<PERR> for PERR
[src]
impl Debug for PERR
[src]
impl Copy for PERR
[src]
impl Clone for PERR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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
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,