[][src]Enum avr_device::attiny85::usi::usicr::USIWM_A

#[repr(u8)]pub enum USIWM_A {
    DISABLED,
    THREE_WIRE,
    TWO_WIRE_SLAVE,
    TWO_WIRE_MASTER,
}

USI Wire Mode Bits

Value on reset: 0

Variants

DISABLED

0: All detectors disabled. Port pins operates as normal.

THREE_WIRE

1: Three-wire mode. Uses DO, DI, and USCK pins.

TWO_WIRE_SLAVE

2: Two-wire mode (Slave). Uses SDA (DI) and SCL (USCK) pins.

TWO_WIRE_MASTER

3: Two-wire mode (Master). Uses SDA and SCL pins.

Trait Implementations

impl Clone for USIWM_A[src]

impl Copy for USIWM_A[src]

impl Debug for USIWM_A[src]

impl From<USIWM_A> for u8[src]

impl PartialEq<USIWM_A> for USIWM_A[src]

impl StructuralPartialEq for USIWM_A[src]

Auto Trait Implementations

impl Send for USIWM_A

impl Sync for USIWM_A

impl Unpin for USIWM_A

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.