Table of Contents

Struct ShiftRegisterPinMapping

Namespace
Iot.Device.Multiplexing
Assembly
Iot.Device.ShiftRegister.dll

Represents pin mappings for the ShiftRegister binding. Requires specifying 3 pins (serial data in, data clock, and latch). Can specify output enable pin (otherwise, wire to ground).

public struct ShiftRegisterPinMapping

Constructors

ShiftRegisterPinMapping(int, int, int, int)

Initializes a new instance of the ShiftRegisterPinMapping struct.

public ShiftRegisterPinMapping(int serialData, int clock, int latchEnable, int outputEnable = -1)

Parameters

serialData int

Serial data in pin.

clock int

Shift register clock pin.

latchEnable int

Register clock pin (latch).

outputEnable int

Output enable pin.

Properties

Clock

Gets or sets storage register clock pin.

public int Clock { readonly get; set; }

Property Value

int

Complete

Complete pin bindings for ShiftRegister.

public static ShiftRegisterPinMapping Complete { get; }

Property Value

ShiftRegisterPinMapping

LatchEnable

Gets or sets shift register clock pin.

public int LatchEnable { readonly get; set; }

Property Value

int

Minimal

Minimal pin bindings for ShiftRegister. Output enable should be wired to ground when using Minimal mapping.

public static ShiftRegisterPinMapping Minimal { get; }

Property Value

ShiftRegisterPinMapping

OutputEnable

Gets or sets output enable pin.

public int OutputEnable { readonly get; set; }

Property Value

int

SerialDataInput

Gets or sets serial data in pin.

public int SerialDataInput { readonly get; set; }

Property Value

int