[−][src]Struct itsybitsy_m0::gpio::Pa25
Represents the IO pin with the matching name.
Methods
impl<MODE> Pa25<MODE>
[src]
pub fn into_floating_input(self, port: &mut Port) -> Pa25<Input<Floating>>
[src]
Configures the pin to operate as a floating input
pub fn into_pull_down_input(self, port: &mut Port) -> Pa25<Input<PullDown>>
[src]
Configures the pin to operate as a pulled down input pin
pub fn into_pull_up_input(self, port: &mut Port) -> Pa25<Input<PullUp>>
[src]
Configures the pin to operate as a pulled up input pin
pub fn into_open_drain_output(self, port: &mut Port) -> Pa25<Output<OpenDrain>>
[src]
Configures the pin to operate as an open drain output
pub fn into_push_pull_output(self, port: &mut Port) -> Pa25<Output<PushPull>>
[src]
Configures the pin to operate as a push-pull output
impl Pa25<Output<OpenDrain>>
[src]
pub fn internal_pull_up(&mut self, port: &mut Port, on: bool)
[src]
Control state of the internal pull up
impl<MODE> Pa25<Output<MODE>>
[src]
pub fn toggle(&mut self)
[src]
Toggle the logic level of the pin; if it is currently high, set it low and vice versa.
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_a(self, port: &mut Port) -> Pa25<PfA>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_b(self, port: &mut Port) -> Pa25<PfB>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_c(self, port: &mut Port) -> Pa25<PfC>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_d(self, port: &mut Port) -> Pa25<PfD>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_e(self, port: &mut Port) -> Pa25<PfE>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_f(self, port: &mut Port) -> Pa25<PfF>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_g(self, port: &mut Port) -> Pa25<PfG>
[src]
Configures the pin to operate with a peripheral
impl<MODE> Pa25<MODE>
[src]
pub fn into_function_h(self, port: &mut Port) -> Pa25<PfH>
[src]
Configures the pin to operate with a peripheral
Trait Implementations
impl<MODE> IntoFunction<Pa25<PfC>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfC>
[src]
impl<MODE> IntoFunction<Pa25<PfE>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfE>
[src]
impl<MODE> IntoFunction<Pa25<PfD>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfD>
[src]
impl<MODE> IntoFunction<Pa25<PfB>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfB>
[src]
impl<MODE> IntoFunction<Pa25<PfF>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfF>
[src]
impl<MODE> IntoFunction<Pa25<PfH>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfH>
[src]
impl<MODE> IntoFunction<Pa25<PfG>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfG>
[src]
impl<MODE> IntoFunction<Pa25<PfA>> for Pa25<MODE>
[src]
fn into_function(self, port: &mut Port) -> Pa25<PfA>
[src]
impl<MODE> OutputPin for Pa25<Output<MODE>>
[src]
impl<MODE> PadPin<Sercom5Pad3> for Pa25<MODE>
[src]
fn into_pad(self, port: &mut Port) -> Sercom5Pad3
[src]
impl<MODE> PadPin<Sercom3Pad3> for Pa25<MODE>
[src]
fn into_pad(self, port: &mut Port) -> Sercom3Pad3
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,