Struct atsam4_hal::gpio::Pa5
source · pub struct Pa5<MODE> { /* private fields */ }
Implementations§
source§impl<MODE> Pa5<MODE>
impl<MODE> Pa5<MODE>
pub fn into_peripheral_function_a(self, _matrix: &MATRIX) -> Pa5<PfA>
pub fn into_peripheral_function_b(self, _matrix: &MATRIX) -> Pa5<PfB>
pub fn into_peripheral_function_c(self, _matrix: &MATRIX) -> Pa5<PfC>
pub fn into_peripheral_function_d(self, _matrix: &MATRIX) -> Pa5<PfD>
pub fn into_floating_input(self, _matrix: &MATRIX) -> Pa5<Input<Floating>>
pub fn into_pull_down_input(self, _matrix: &MATRIX) -> Pa5<Input<PullDown>>
pub fn into_pull_up_input(self, _matrix: &MATRIX) -> Pa5<Input<PullUp>>
Trait Implementations§
source§impl IoPin<Pa5<Input<Floating>>, Pa5<Output<PushPull>>> for Pa5<Input<Floating>>
impl IoPin<Pa5<Input<Floating>>, Pa5<Output<PushPull>>> for Pa5<Input<Floating>>
§type Error = Infallible
type Error = Infallible
Error type.
source§impl IoPin<Pa5<Input<Floating>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
impl IoPin<Pa5<Input<Floating>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
source§impl IoPin<Pa5<Input<PullDown>>, Pa5<Output<PushPull>>> for Pa5<Input<PullDown>>
impl IoPin<Pa5<Input<PullDown>>, Pa5<Output<PushPull>>> for Pa5<Input<PullDown>>
§type Error = Infallible
type Error = Infallible
Error type.
source§impl IoPin<Pa5<Input<PullDown>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
impl IoPin<Pa5<Input<PullDown>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
source§impl IoPin<Pa5<Input<PullUp>>, Pa5<Output<PushPull>>> for Pa5<Input<PullUp>>
impl IoPin<Pa5<Input<PullUp>>, Pa5<Output<PushPull>>> for Pa5<Input<PullUp>>
§type Error = Infallible
type Error = Infallible
Error type.
source§impl IoPin<Pa5<Input<PullUp>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
impl IoPin<Pa5<Input<PullUp>>, Pa5<Output<PushPull>>> for Pa5<Output<PushPull>>
source§impl<MODE> StatefulOutputPin for Pa5<Output<MODE>>
impl<MODE> StatefulOutputPin for Pa5<Output<MODE>>
impl<MODE> Default for Pa5<Output<MODE>>
Software toggle (uses StatefulOutputPin and OutputPin)
Auto Trait Implementations§
impl<MODE> RefUnwindSafe for Pa5<MODE>where MODE: RefUnwindSafe,
impl<MODE> Send for Pa5<MODE>where MODE: Send,
impl<MODE> Sync for Pa5<MODE>where MODE: Sync,
impl<MODE> Unpin for Pa5<MODE>where MODE: Unpin,
impl<MODE> UnwindSafe for Pa5<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