STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
stacklight_pins Namespace Reference

Stacklight Driver PCB — GPIO assignments. More...

Variables

constexpr int PIN_YELLOW = 10
constexpr int PIN_RED = 11
constexpr int PIN_GREEN = 18
constexpr int PIN_BUZZ = 19
constexpr int ETH_CS = 15
constexpr int ETH_MOSI = 16
constexpr int ETH_SCLK = 17
constexpr int ETH_MISO = 3
constexpr int ETH_INT = 23
constexpr int ETH_RST = 2
constexpr int PIN_EX1 = 20
constexpr int PIN_EX2 = 21
constexpr int PIN_EX3 = 22

Detailed Description

Stacklight Driver PCB — GPIO assignments.

Stack segments and buzzer drive external loads that turn ON when the GPIO is pulled LOW (active-low). Initialize as OUTPUT HIGH (all off).

Variable Documentation

◆ ETH_CS

int stacklight_pins::ETH_CS = 15
constexpr

Definition at line 19 of file stacklight_pins.h.

◆ ETH_INT

int stacklight_pins::ETH_INT = 23
constexpr

Definition at line 23 of file stacklight_pins.h.

◆ ETH_MISO

int stacklight_pins::ETH_MISO = 3
constexpr

Definition at line 22 of file stacklight_pins.h.

◆ ETH_MOSI

int stacklight_pins::ETH_MOSI = 16
constexpr

Definition at line 20 of file stacklight_pins.h.

◆ ETH_RST

int stacklight_pins::ETH_RST = 2
constexpr

Definition at line 24 of file stacklight_pins.h.

◆ ETH_SCLK

int stacklight_pins::ETH_SCLK = 17
constexpr

Definition at line 21 of file stacklight_pins.h.

◆ PIN_BUZZ

int stacklight_pins::PIN_BUZZ = 19
constexpr

Definition at line 16 of file stacklight_pins.h.

Referenced by applyStacklightOutputs(), and initOutputs().

◆ PIN_EX1

int stacklight_pins::PIN_EX1 = 20
constexpr

Definition at line 27 of file stacklight_pins.h.

Referenced by initOutputs().

◆ PIN_EX2

int stacklight_pins::PIN_EX2 = 21
constexpr

Definition at line 28 of file stacklight_pins.h.

Referenced by initOutputs().

◆ PIN_EX3

int stacklight_pins::PIN_EX3 = 22
constexpr

Definition at line 29 of file stacklight_pins.h.

Referenced by initOutputs().

◆ PIN_GREEN

int stacklight_pins::PIN_GREEN = 18
constexpr

Definition at line 15 of file stacklight_pins.h.

Referenced by applyStacklightOutputs(), and initOutputs().

◆ PIN_RED

int stacklight_pins::PIN_RED = 11
constexpr

Definition at line 14 of file stacklight_pins.h.

Referenced by applyStacklightOutputs(), and initOutputs().

◆ PIN_YELLOW

int stacklight_pins::PIN_YELLOW = 10
constexpr

Definition at line 13 of file stacklight_pins.h.

Referenced by applyStacklightOutputs(), and initOutputs().