Skip to content

Struct daisy::ShiftRegister4021::Config

ClassList > daisy > ShiftRegister4021 > Config

More...

  • #include <sr_4021.h>

Public Attributes

Type Name
Pin clk
Pin data
uint32_t delay_ticks = 10
Pin latch

Detailed Description

Configuration Structure for handling the pin setting of the device

Public Attributes Documentation

variable clk

Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::clk;

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


variable data

Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::data[num_parallel];

Data Pin(s)


variable delay_ticks

uint32_t daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::delay_ticks;

DelayTicks between these actions helps to ensure stable timing for the connected device(s). Each tick is approx. 4.16ns at CPUFreq 480MHz


variable latch

Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::latch;

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



The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/sr_4021.h