Enum pcf8563::TimerFreq[][src]

#[repr(u8)]
pub enum TimerFreq {
    Timer_4096Hz,
    Timer_64Hz,
    Timer_1Hz,
    Timer_1_60Hz,
}

Four possible timer frequency settings.

Variants

Timer_4096Hz

Set timer frequency to 4096 Hz.

Timer_64Hz

Set timer frequency to 64 Hz.

Timer_1Hz

Set timer frequency to 1 Hz.

Timer_1_60Hz

Set timer frequency to 1/60 Hz. This should be used when timer is off to limit energy consumption.

Implementations

impl TimerFreq[src]

pub fn bits(self) -> u8[src]

Converts the TimerFreq to an unsigned 8-bit value

Trait Implementations

impl Clone for TimerFreq[src]

impl Copy for TimerFreq[src]

impl Debug for TimerFreq[src]

impl Eq for TimerFreq[src]

impl PartialEq<TimerFreq> for TimerFreq[src]

impl StructuralEq for TimerFreq[src]

impl StructuralPartialEq for TimerFreq[src]

Auto Trait Implementations

impl Send for TimerFreq

impl Sync for TimerFreq

impl Unpin for TimerFreq

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.