[][src]Struct msp430fr2x5x_hal::gpio::Parts

pub struct Parts<PORT: PortNum, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> {
    pub pin0: Pin<PORT, Pin0, DIR0>,
    pub pin1: Pin<PORT, Pin1, DIR1>,
    pub pin2: Pin<PORT, Pin2, DIR2>,
    pub pin3: Pin<PORT, Pin3, DIR3>,
    pub pin4: Pin<PORT, Pin4, DIR4>,
    pub pin5: Pin<PORT, Pin5, DIR5>,
    pub pin6: Pin<PORT, Pin6, DIR6>,
    pub pin7: Pin<PORT, Pin7, DIR7>,
    pub pxiv: PxIV<PORT>,
}

GPIO parts for a specific port, including all 8 pins.

Fields

pin0: Pin<PORT, Pin0, DIR0>

Pin0

pin1: Pin<PORT, Pin1, DIR1>

Pin1

pin2: Pin<PORT, Pin2, DIR2>

Pin2

pin3: Pin<PORT, Pin3, DIR3>

Pin3

pin4: Pin<PORT, Pin4, DIR4>

Pin4

pin5: Pin<PORT, Pin5, DIR5>

Pin5

pin6: Pin<PORT, Pin6, DIR6>

Pin6

pin7: Pin<PORT, Pin7, DIR7>

Pin7

pxiv: PxIV<PORT>

Interrupt vector register

Implementations

impl<PORT: PortNum, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> Parts<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7>[src]

pub fn batch(
    self
) -> Batch<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7>
[src]

Converts all parts into a GPIO batch so the entire port can be configured at once

Auto Trait Implementations

impl<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> Send for Parts<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> where
    DIR0: Send,
    DIR1: Send,
    DIR2: Send,
    DIR3: Send,
    DIR4: Send,
    DIR5: Send,
    DIR6: Send,
    DIR7: Send,
    PORT: Send
[src]

impl<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> Sync for Parts<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> where
    DIR0: Sync,
    DIR1: Sync,
    DIR2: Sync,
    DIR3: Sync,
    DIR4: Sync,
    DIR5: Sync,
    DIR6: Sync,
    DIR7: Sync,
    PORT: Sync
[src]

impl<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> Unpin for Parts<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7> where
    DIR0: Unpin,
    DIR1: Unpin,
    DIR2: Unpin,
    DIR3: Unpin,
    DIR4: Unpin,
    DIR5: Unpin,
    DIR6: Unpin,
    DIR7: Unpin,
    PORT: Unpin
[src]

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.