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