Class GpioConfiguration
- Namespace
- nanoFramework.Hardware.Stm32
- Assembly
- nanoFramework.Hardware.Stm32.dll
Class with configuration for a GPIO pin.
public class GpioConfiguration
- Inheritance
-
GpioConfiguration
- Inherited Members
- Extension Methods
Constructors
GpioConfiguration()
public GpioConfiguration()
Properties
AlternateFunction
Alternate function selection.
public byte AlternateFunction { get; set; }
Property Value
Remarks
The code for the alternate function is listed on the corresponding table in the device data sheet.
Mode
Mode for GPIO pin.
public GpioConfiguration.IOMode Mode { get; set; }
Property Value
PinState
State of GPIO pull-up or down.
public GpioConfiguration.PullUpDownActivation PinState { get; set; }
Property Value
SpeedSelection
GPIO speed selection.
public GpioConfiguration.Speed SpeedSelection { get; set; }