Table of Contents

Struct Sn74hc595PinMapping

Namespace
Iot.Device.Multiplexing
Assembly
Iot.Device.Sn74hc595.dll

Represents pin mapping for the Sn74hc595 binding. Requires specifying at least three pins (serial data in, data clock, and latch). The other two pins (output enable and shift register clear) should either be specified or separately wired.

public struct Sn74hc595PinMapping

Constructors

Sn74hc595PinMapping(int, int, int, int, int)

Initializes a new instance of the Sn74hc595PinMapping struct.

public Sn74hc595PinMapping(int ser, int srclk, int rclk, int oe = -1, int srclr = -1)

Parameters

ser int

Serial data pin.

srclk int

Shift register pin (shift to data register).

rclk int

Register clock pin (latch).

oe int

Output enable pin.

srclr int

Shift register clear pin (shift register is cleared).

Properties

Complete

Standard pin bindings for the Sn74hc595.

public static Sn74hc595PinMapping Complete { get; }

Property Value

Sn74hc595PinMapping

Minimal

Minimal pin bindings for the Sn74hc595. Output enable should be wired to ground when using Minimal mapping. Shift register clear should be wired high when using Minimal mapping.

public static Sn74hc595PinMapping Minimal { get; }

Property Value

Sn74hc595PinMapping

OE

Gets or sets OE (output enable) pin number.

public int OE { readonly get; set; }

Property Value

int

RClk

Gets or sets RCLK (latch) pin number.

public int RClk { readonly get; set; }

Property Value

int

Ser

Gets or sets SER (data) pin number.

public int Ser { readonly get; set; }

Property Value

int

SrClk

Gets or sets SRCLK (shift) pin number.

public int SrClk { readonly get; set; }

Property Value

int

SrClr

Gets or sets SRCLR (clear register) pin number.

public int SrClr { readonly get; set; }

Property Value

int