libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::ShiftRegister595 Class Reference

Device Driver for 8-bit shift register.
CD74HC595 - 8-bit serial to parallel output shift. More...

Detailed Description

Device Driver for 8-bit shift register.
CD74HC595 - 8-bit serial to parallel output shift.

Author
shensley
Date
May 2020

#include <sr_595.h>

Public Types

enum  Pins { PIN_LATCH , PIN_CLK , PIN_DATA , NUM_PINS }
 

Public Member Functions

 ShiftRegister595 ()
 
 ~ShiftRegister595 ()
 
void Init (Pin *pin_cfg, size_t num_daisy_chained=1)
 
void Set (uint8_t idx, bool state)
 
void Write ()
 

The documentation for this class was generated from the following file: