Skip to content

Struct SYN_ShiftRegOut

ClassList > 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

uint8_t SYN_ShiftRegOut::buffer[SYN_SHIFTREG_MAX_CHIPS];

Output state buffer bytes


variable clock_pin

SYN_GPIO_Pin SYN_ShiftRegOut::clock_pin;

Shift Clock pin (SH_CP / SRCLK)


variable data_pin

SYN_GPIO_Pin SYN_ShiftRegOut::data_pin;

Serial Data Out pin (DS / SER)


variable latch_pin

SYN_GPIO_Pin SYN_ShiftRegOut::latch_pin;

Storage Latch Clock pin (ST_CP / RCLK)


variable msb_first

bool SYN_ShiftRegOut::msb_first;

True if shifting MSB first


variable num_chips

uint8_t SYN_ShiftRegOut::num_chips;

Number of cascaded 8-bit chips (1 to 8)


variable oe_pin

SYN_GPIO_Pin SYN_ShiftRegOut::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