libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config Struct Reference

Detailed Description

template<size_t num_daisychained = 1, size_t num_parallel = 1>
struct daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config

Configuration Structure for handling the pin setting of the device

#include <sr_4021.h>

Public Attributes

dsy_gpio_pin clk
 
dsy_gpio_pin latch
 
dsy_gpio_pin data [num_parallel]
 

Member Data Documentation

◆ clk

template<size_t num_daisychained = 1, size_t num_parallel = 1>
dsy_gpio_pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::clk

Clock pin to attach to pin 10 of device(s)

◆ data

template<size_t num_daisychained = 1, size_t num_parallel = 1>
dsy_gpio_pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::data[num_parallel]

Data Pin(s)

◆ latch

template<size_t num_daisychained = 1, size_t num_parallel = 1>
dsy_gpio_pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::latch

Latch pin to attach to pin 9 of device(s)


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