Struct stm32l0x1_hal::gpio::PC14

source ·
pub struct PC14<MODE>(_);
Expand description

Specific GPIO pin

Implementations§

Configures the PIN to operate as a high-impedance analog input

Configures the PIN to operate as Input Pin according to Mode.

Set pin drive strength of the pin

Configures the PIN to operate as Output Pin according to OMode and PUMode

Configures the PIN to operate as Alternate Function.

Trait Implementations§

👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Drives the pin high Read more
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Drives the pin low Read more
👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Returns whether high bit is set.

👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Returns whether low bit is set.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Error type
Is the input pin low?
Is the input pin high?

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Error type
Drives the pin low Read more
Drives the pin high Read more
Drives the pin high or low depending on the provided value Read more
Should always be Self
Is the pin in drive low mode? Read more
Is the pin in drive high mode? Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.