Sn74hc595 Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SN74HC595 8-Bit Shift Registers With 3-State Output Registers Supports SPI and GPIO control
public class Sn74hc595 : Iot.Device.Multiplexing.ShiftRegister
type Sn74hc595 = class
inherit ShiftRegister
Public Class Sn74hc595
Inherits ShiftRegister
- Inheritance
Sn74hc595(Sn74hc595Pin |
Initialize a new shift register connected through GPIO. |
Sn74hc595(Spi |
Initialize a new Sn74hc595 device connected through SPI. Uses 3 pins (MOSI -> SER, SCLK -> SRCLK, CE0 -> RCLK) |
Bit |
Bit length across all connected registers. (Inherited from ShiftRegister) |
Gpio |
GPIO controller. (Inherited from ShiftRegister) |
Length |
The length of the segment; the number of GPIO pins it exposes. (Inherited from ShiftRegister) |
Output |
Switch output register to high or low-impedance state. Enables or disables register outputs, but does not delete values. Requires use of GPIO controller. (Inherited from ShiftRegister) |
Spi |
SPI device. (Inherited from ShiftRegister) |
Uses |
Reports if shift register is connected with GPIO. (Inherited from ShiftRegister) |
Uses |
Reports if shift register is connected with SPI. (Inherited from ShiftRegister) |
Clear |
Clear storage register. Requires use of GPIO controller. |
Dispose() |
Cleanup. Failing to dispose this class, especially when callbacks are active, may lead to undefined behavior. (Inherited from ShiftRegister) |
Latch() |
Latches values in data register to output pi. Requires use of GPIO controller. (Inherited from ShiftRegister) |
Shift |
Writes PinValue value to storage register. This will shift existing values to the next storage slot. Does not latch. Requires use of GPIO controller. (Inherited from ShiftRegister) |
Shift |
Shifts a byte -- 8 bits -- to the storage register. Assumes register bit length evenly divisible by 8. Pushes / overwrites any existing values. Latches by default. (Inherited from ShiftRegister) |
Shift |
Shifts zeros. Will dim all connected LEDs, for example. Assumes register bit length evenly divisible by 8. Supports GPIO controller or SPI device. (Inherited from ShiftRegister) |
Write(Byte) |
Writes discrete underlying bits to a virtual segment. Writes each bit, left to right. Least significant bit will written to index 0. Does not display output. (Inherited from ShiftRegister) |
Write(Read |
Writes discrete underlying bits to a virtual output. Writes each byte, left to right. Least significant bit will written to index 0. Does not display output. (Inherited from ShiftRegister) |
IOutput |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. (Inherited from ShiftRegister) |
IOutput |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. (Inherited from ShiftRegister) |
IOutput |
Segment values. (Inherited from ShiftRegister) |
IOutput |
Clears shift register. Performs a latch. (Inherited from ShiftRegister) |
IOutput |
Writes a PinValue to a virtual segment. Does not display output. (Inherited from ShiftRegister) |
Toode | Versioonid |
---|---|
.NET IoT Libraries | 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |