Struct SYN_ShiftRegOut¶
Output 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 | latch_pin |
| bool | msb_first |
| uint8_t | num_chips |
| SYN_GPIO_Pin | oe_pin |
Public Attributes Documentation¶
variable buffer¶
Output state buffer bytes
variable clock_pin¶
Shift Clock pin (SH_CP / SRCLK)
variable data_pin¶
Serial Data Out pin (DS / SER)
variable latch_pin¶
Storage Latch Clock pin (ST_CP / RCLK)
variable msb_first¶
True if shifting MSB first
variable num_chips¶
Number of cascaded 8-bit chips (1 to 8)
variable oe_pin¶
Optional Output Enable pin (0 = unused)
The documentation for this class was generated from the following file src/syntropic/drivers/syn_shiftreg.h