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