Table of Contents

Enum GpioMode

Namespace
Iot.Device.Swarm
Assembly
Iot.Device.Swarm.dll

Operation mode for GPIO1 pin.

public enum GpioMode : byte

Fields

Analog = 0

Analog, pin is internally disconnected and not used.

ExitSleepHighToLow = 2

Input, high-to-low transition exits sleep mode.

ExitSleepLowToHigh = 1

Input, low-to-high transition exits sleep mode.

MessagesPendingHigh = 6

Output, high indicates messages pending for client (see remark note 2).

MessagesPendingLow = 5

Output, low indicates messages pending for client (see remark note 2).

OutputHigh = 4

Output, set high (see remark note 1).

OutputLow = 3

Output, set low (see remark note 1).

SleepHigh = 10

Output, high indicates in sleep mode (see remark note 4). Otherwise output is low.

SleepLow = 9

Output, low indicates in sleep mode (see remark note 4). Otherwise output is high.

TransmittingHigh = 8

Output, high while transmitting. Otherwise output is low (see remark note 3).

TransmittingLow = 7

Output, low while transmitting. Otherwise output is high (see remark note 3).

Unknwon = 255

Unknown mode.