[−][src]Struct e310x_hal::gpio::gpio0::Pin17
Pin
Methods
impl<MODE> Pin17<MODE>
[src]
pub fn into_iof0(
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF0<NoInvert>>
[src]
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF0<NoInvert>>
Configures the pin to serve as alternate function 0 (AF0)
pub fn into_iof1(
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF1<NoInvert>>
[src]
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF1<NoInvert>>
Configures the pin to serve as alternate function 1 (AF1)
pub fn into_inverted_iof0(
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF0<Invert>>
[src]
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF0<Invert>>
Configures the pin to serve as inverted alternate function 0 (AF0)
pub fn into_inverted_iof1(
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF1<Invert>>
[src]
self,
out_xor: &mut OUT_XOR,
iof_sel: &mut IOF_SEL,
iof_en: &mut IOF_EN
) -> Pin17<IOF1<Invert>>
Configures the pin to serve as inverted alternate function 1 (AF1)
pub fn into_floating_input(
self,
pullup: &mut PULLUP,
input_en: &mut INPUT_EN,
iof_en: &mut IOF_EN
) -> Pin17<Input<Floating>>
[src]
self,
pullup: &mut PULLUP,
input_en: &mut INPUT_EN,
iof_en: &mut IOF_EN
) -> Pin17<Input<Floating>>
Configures the pin to serve as a floating input pin
pub fn into_pull_up_input(
self,
pullup: &mut PULLUP,
input_en: &mut INPUT_EN,
iof_en: &mut IOF_EN
) -> Pin17<Input<PullUp>>
[src]
self,
pullup: &mut PULLUP,
input_en: &mut INPUT_EN,
iof_en: &mut IOF_EN
) -> Pin17<Input<PullUp>>
Configures the pin to operate as a pulled down input pin
pub fn into_output(
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Regular<NoInvert>>>
[src]
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Regular<NoInvert>>>
Configures the pin to operate as an output pin
pub fn into_inverted_output(
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Regular<Invert>>>
[src]
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Regular<Invert>>>
Configures the pin to operate as an inverted output pin
pub fn into_output_drive(
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Drive<NoInvert>>>
[src]
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Drive<NoInvert>>>
Configure the pin to operate as an output pin with high current drive
pub fn into_inverted_output_drive(
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Drive<Invert>>>
[src]
self,
output_en: &mut OUTPUT_EN,
drive: &mut DRIVE,
out_xor: &mut OUT_XOR,
iof_en: &mut IOF_EN
) -> Pin17<Output<Drive<Invert>>>
Configure the pin to operate as an inverted output pin with high current drive
Trait Implementations
impl<T> TxPin<UART0> for Pin17<IOF0<T>>
[src]
impl<MODE> OutputPin for Pin17<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for Pin17<Output<MODE>>
[src]
fn is_set_high(&self) -> bool
[src]
fn is_set_low(&self) -> bool
[src]
impl<MODE> ToggleableOutputPin for Pin17<Output<MODE>>
[src]
impl<MODE> InputPin for Pin17<Input<MODE>>
[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,
impl<P> ToggleableOutputPin for P where
P: Default,
[src]
P: Default,