Skip to main content

Enum ResistorMode

Describes the internal/external IO resistor states.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public enum ResistorMode

Fields​

Disabled​

Internal pull-up/pull-down resistor is disabled.

View Source​
Declaration
Disabled = 0

InternalPullDown​

Internal resistor pulled down to 0V by default.

View Source​
Declaration
InternalPullDown = 1

InternalPullUp​

Internal resistor pulled up to VCC by default.

View Source​
Declaration
InternalPullUp = 2

ExternalPullDown​

External pull down resistor.

View Source​
Declaration
ExternalPullDown = 3

ExternalPullUp​

External Pull up resistor.

View Source​
Declaration
ExternalPullUp = 4