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