Struct SYN_ShiftRegIn¶
Input Shift Register Context.
#include <syn_shiftreg.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | buffer |
| SYN_GPIO_Pin | clock_pin |
| SYN_GPIO_Pin | data_pin |
| SYN_GPIO_Pin | load_pin |
| bool | msb_first |
| uint8_t | num_chips |
Public Attributes Documentation¶
variable buffer¶
Sampled input state buffer bytes
variable clock_pin¶
Shift Clock pin (CLK)
variable data_pin¶
Serial Data In pin (Q7 / SO)
variable load_pin¶
Parallel Load pin (PL / LD)
variable msb_first¶
True if shifting MSB first
variable num_chips¶
Number of cascaded 8-bit chips (1 to 8)
The documentation for this class was generated from the following file src/syntropic/drivers/syn_shiftreg.h