Configuration Structure for handling the pin setting of the device
#include <sr_4021.h>
Public Attributes | |
Pin | clk |
Pin | latch |
Pin | data [num_parallel] |
uint32_t | delay_ticks = 10 |
Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::clk |
Clock pin to attach to pin 10 of device(s)
Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::data[num_parallel] |
Data Pin(s)
uint32_t daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::delay_ticks = 10 |
DelayTicks between these actions helps to ensure stable timing for the connected device(s). Each tick is approx. 4.16ns at CPUFreq 480MHz
Pin daisy::ShiftRegister4021< num_daisychained, num_parallel >::Config::latch |
Latch pin to attach to pin 9 of device(s)