Class Sn74hc595
- Namespace
- Iot.Device.Multiplexing
- Assembly
- Iot.Device.Sn74hc595.dll
SN74HC595 8-Bit Shift Registers With 3-State Output Registers Supports SPI and GPIO control.
public class Sn74hc595 : ShiftRegister, IOutputSegment
- Inheritance
-
Sn74hc595
- Implements
- Inherited Members
Constructors
Sn74hc595(Sn74hc595PinMapping, int, GpioController?, bool)
Initializes a new instance of the Sn74hc595 class.
public Sn74hc595(Sn74hc595PinMapping pinMapping, int bitLength = 8, GpioController? gpioController = null, bool shouldDispose = true)
Parameters
pinMappingSn74hc595PinMappingThe pin mapping to use by the binding.
bitLengthintBit length of register, including chained registers. Default is 8 bits.
gpioControllerGpioControllerThe GPIO Controller used for interrupt handling.
shouldDisposeboolTrue (the default) if the GPIO controller shall be disposed when disposing this instance.
Methods
ClearStorage(bool)
Clear storage register. Requires use of GPIO controller.
public void ClearStorage(bool latch = true)
Parameters
latchboolIs latch enabled.