[−][src]Struct cntrlr::hw::mcu::sifive::peripheral::gpio::Pin
A single pin from a GPIO instance.
Implementations
impl<M, const N: usize, const P: usize> Pin<'_, M, N, P>
[src]
impl Pin<'_, Fe310G002, 0, 16>
[src]
pub fn into_uart_rx(self) -> UartRx<Self>
[src]
Use this pin as a UART recieve pin
impl Pin<'_, Fe310G002, 0, 17>
[src]
pub fn into_uart_tx(self) -> UartTx<Self>
[src]
Use this pin as a UART transmit pin
impl Pin<'_, Fe310G002, 0, 18>
[src]
pub fn into_uart_tx(self) -> UartTx<Self>
[src]
Use this pin as a UART transmit pin
impl Pin<'_, Fe310G002, 0, 23>
[src]
pub fn into_uart_rx(self) -> UartRx<Self>
[src]
Use this pin as a UART recieve pin
Trait Implementations
Auto Trait Implementations
impl<'a, M, const N: usize, const P: usize> Send for Pin<'a, M, N, P> where
M: Sync,
[src]
M: Sync,
impl<'a, M, const N: usize, const P: usize> Sync for Pin<'a, M, N, P> where
M: Sync,
[src]
M: Sync,
impl<'a, M, const N: usize, const P: usize> Unpin for Pin<'a, M, N, P>
[src]
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>,