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