Struct atsam4_hal::gpio::PIOAGeneric
source · pub struct PIOAGeneric<MODE> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<MODE> InputPin for PIOAGeneric<Input<MODE>>
impl<MODE> InputPin for PIOAGeneric<Input<MODE>>
source§impl IoPin<PIOAGeneric<Input<Floating>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<Floating>>
impl IoPin<PIOAGeneric<Input<Floating>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<Floating>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<Self, Self::Error>
fn into_input_pin(self) -> Result<Self, Self::Error>
Tries to convert this pin to input mode. Read more
source§fn into_output_pin(
self,
state: PinState
) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
fn into_output_pin( self, state: PinState ) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
Tries to convert this pin to output mode with the given initial state. Read more
source§impl IoPin<PIOAGeneric<Input<Floating>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
impl IoPin<PIOAGeneric<Input<Floating>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<PIOAGeneric<Input<Floating>>, Self::Error>
fn into_input_pin(self) -> Result<PIOAGeneric<Input<Floating>>, Self::Error>
Tries to convert this pin to input mode. Read more
source§impl IoPin<PIOAGeneric<Input<PullDown>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<PullDown>>
impl IoPin<PIOAGeneric<Input<PullDown>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<PullDown>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<Self, Self::Error>
fn into_input_pin(self) -> Result<Self, Self::Error>
Tries to convert this pin to input mode. Read more
source§fn into_output_pin(
self,
state: PinState
) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
fn into_output_pin( self, state: PinState ) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
Tries to convert this pin to output mode with the given initial state. Read more
source§impl IoPin<PIOAGeneric<Input<PullDown>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
impl IoPin<PIOAGeneric<Input<PullDown>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<PIOAGeneric<Input<PullDown>>, Self::Error>
fn into_input_pin(self) -> Result<PIOAGeneric<Input<PullDown>>, Self::Error>
Tries to convert this pin to input mode. Read more
source§impl IoPin<PIOAGeneric<Input<PullUp>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<PullUp>>
impl IoPin<PIOAGeneric<Input<PullUp>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Input<PullUp>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<Self, Self::Error>
fn into_input_pin(self) -> Result<Self, Self::Error>
Tries to convert this pin to input mode. Read more
source§fn into_output_pin(
self,
state: PinState
) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
fn into_output_pin( self, state: PinState ) -> Result<PIOAGeneric<Output<PushPull>>, Self::Error>
Tries to convert this pin to output mode with the given initial state. Read more
source§impl IoPin<PIOAGeneric<Input<PullUp>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
impl IoPin<PIOAGeneric<Input<PullUp>>, PIOAGeneric<Output<PushPull>>> for PIOAGeneric<Output<PushPull>>
§type Error = Infallible
type Error = Infallible
Error type.
source§fn into_input_pin(self) -> Result<PIOAGeneric<Input<PullUp>>, Self::Error>
fn into_input_pin(self) -> Result<PIOAGeneric<Input<PullUp>>, Self::Error>
Tries to convert this pin to input mode. Read more
source§impl<MODE> OutputPin for PIOAGeneric<Output<MODE>>
impl<MODE> OutputPin for PIOAGeneric<Output<MODE>>
§type Error = Infallible
type Error = Infallible
Error type
source§impl<MODE> StatefulOutputPin for PIOAGeneric<Output<MODE>>
impl<MODE> StatefulOutputPin for PIOAGeneric<Output<MODE>>
impl<MODE> Default for PIOAGeneric<Output<MODE>>
Auto Trait Implementations§
impl<MODE> RefUnwindSafe for PIOAGeneric<MODE>where MODE: RefUnwindSafe,
impl<MODE> Send for PIOAGeneric<MODE>where MODE: Send,
impl<MODE> Sync for PIOAGeneric<MODE>where MODE: Sync,
impl<MODE> Unpin for PIOAGeneric<MODE>where MODE: Unpin,
impl<MODE> UnwindSafe for PIOAGeneric<MODE>where MODE: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more