[−][src]Struct msp430fr2x5x_hal::gpio::Parts
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]
self
) -> Batch<PORT, DIR0, DIR1, DIR2, DIR3, DIR4, DIR5, DIR6, DIR7>
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]
DIR0: Send,
DIR1: Send,
DIR2: Send,
DIR3: Send,
DIR4: Send,
DIR5: Send,
DIR6: Send,
DIR7: Send,
PORT: Send,
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]
DIR0: Sync,
DIR1: Sync,
DIR2: Sync,
DIR3: Sync,
DIR4: Sync,
DIR5: Sync,
DIR6: Sync,
DIR7: Sync,
PORT: Sync,
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]
DIR0: Unpin,
DIR1: Unpin,
DIR2: Unpin,
DIR3: Unpin,
DIR4: Unpin,
DIR5: Unpin,
DIR6: Unpin,
DIR7: Unpin,
PORT: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,