Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
pins.h
Go to the documentation of this file.
1 #pragma once
3 #include "hal/gpio.h"
4 
6 static constexpr hal::gpio::GPIO_pin TMC2130_SPI_MISO_PIN = { GPIOB, 3 };
7 static constexpr hal::gpio::GPIO_pin TMC2130_SPI_MOSI_PIN = { GPIOB, 2 };
8 static constexpr hal::gpio::GPIO_pin TMC2130_SPI_SCK_PIN = { GPIOB, 1 };
9 static constexpr hal::gpio::GPIO_pin TMC2130_SPI_SS_PIN = { GPIOB, 0 };
10 
11 static constexpr hal::gpio::GPIO_pin SHR16_DATA = { GPIOB, 5 };
12 static constexpr hal::gpio::GPIO_pin SHR16_LATCH = { GPIOB, 6 };
13 static constexpr hal::gpio::GPIO_pin SHR16_CLOCK = { GPIOC, 7 };
14 
15 static constexpr hal::gpio::GPIO_pin USART_RX = { GPIOD, 2 };
16 static constexpr hal::gpio::GPIO_pin USART_TX = { GPIOD, 3 };
17 
18 static constexpr hal::gpio::GPIO_pin PULLEY_CS_PIN = { GPIOC, 6 };
19 static constexpr hal::gpio::GPIO_pin PULLEY_SG_PIN = { GPIOF, 4 };
20 static constexpr hal::gpio::GPIO_pin PULLEY_STEP_PIN = { GPIOB, 4 };
21 
22 static constexpr hal::gpio::GPIO_pin SELECTOR_CS_PIN = { GPIOD, 7 };
23 static constexpr hal::gpio::GPIO_pin SELECTOR_SG_PIN = { GPIOF, 1 };
24 static constexpr hal::gpio::GPIO_pin SELECTOR_STEP_PIN = { GPIOD, 4 };
25 
26 static constexpr hal::gpio::GPIO_pin IDLER_CS_PIN = { GPIOB, 7 };
27 static constexpr hal::gpio::GPIO_pin IDLER_SG_PIN = { GPIOF, 0 };
28 static constexpr hal::gpio::GPIO_pin IDLER_STEP_PIN = { GPIOD, 6 };
29 
30 static constexpr hal::gpio::GPIO_pin FINDA_PIN = { GPIOF, 6 };
static constexpr hal::gpio::GPIO_pin TMC2130_SPI_MISO_PIN
pin definitions
Definition: pins.h:6
static constexpr hal::gpio::GPIO_pin USART_RX
SHCP.
Definition: pins.h:15
static constexpr hal::gpio::GPIO_pin SHR16_CLOCK
STCP.
Definition: pins.h:13
static constexpr hal::gpio::GPIO_pin SHR16_LATCH
DS.
Definition: pins.h:12
Definition: gpio.h:51