Skip to main content

Settings Class

NuGet: GHIElectronics.TinyCLR.Devices.Gpio.LowLevel
Assembly: GHIElectronics.TinyCLR.Devices.Gpio.LowLevel
Namespace: GHIElectronics.TinyCLR.Devices.Gpio.LowLevel

Bundle of low-level pin settings passed to LowLevelController.TransferFeature.

public class Settings

Fields​

mode​

public PortMode mode

Pin role (GPIO input/output, alternate function, analog).

type​

public OutputType type

Output driver type.

driveDirection​

public PullDirection driveDirection

Pull-resistor selection.

speed​

public OutputSpeed speed

Output speed / drive strength.

alternate​

public AlternateFunction alternate

Alternate-function index when mode is PortMode.AlternateFunction.