diff options
Diffstat (limited to 'keyboards/massdrop/alt/config.h')
-rw-r--r-- | keyboards/massdrop/alt/config.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/keyboards/massdrop/alt/config.h b/keyboards/massdrop/alt/config.h index d28094c49..085e1aebb 100644 --- a/keyboards/massdrop/alt/config.h +++ b/keyboards/massdrop/alt/config.h | |||
@@ -50,22 +50,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
50 | /* This Shift Register expands available hardware output lines to control additional peripherals */ | 50 | /* This Shift Register expands available hardware output lines to control additional peripherals */ |
51 | /* It uses four lines from the MCU to provide 16 output lines */ | 51 | /* It uses four lines from the MCU to provide 16 output lines */ |
52 | /* Shift Register Clock configuration (MCU to ShiftRegister.RCLK) */ | 52 | /* Shift Register Clock configuration (MCU to ShiftRegister.RCLK) */ |
53 | #define SR_EXP_RCLK_PORT PB | 53 | #define SR_EXP_RCLK_PIN B14 |
54 | #define SR_EXP_RCLK_PIN 14 | ||
55 | /* Shift Register Output Enable configuration (MCU to ShiftRegister.OE_N) */ | 54 | /* Shift Register Output Enable configuration (MCU to ShiftRegister.OE_N) */ |
56 | #define SR_EXP_OE_N_PORT PB | 55 | #define SR_EXP_OE_PIN B15 |
57 | #define SR_EXP_OE_N_PIN 15 | ||
58 | /* SERCOM port to use for Shift Register SPI */ | 56 | /* SERCOM port to use for Shift Register SPI */ |
59 | /* DATAOUT and SCLK must be configured to use hardware pins of this port */ | 57 | /* DATAOUT and SCLK must be configured to use hardware pins of this port */ |
60 | #define SR_EXP_SERCOM SERCOM2 | 58 | #define SPI_SERCOM SERCOM2 |
61 | /* Shift Register SPI Data Out configuration (MCU.SERCOMx.PAD[0] to ShiftRegister.SER) */ | 59 | /* Shift Register SPI Data Out configuration (MCU.SERCOMx.PAD[0] to ShiftRegister.SER) */ |
62 | #define SR_EXP_DATAOUT_PORT PA | 60 | #define SPI_DATAOUT_PIN A12 |
63 | #define SR_EXP_DATAOUT_PIN 12 | 61 | #define SPI_DATAOUT_MUX 2 |
64 | #define SR_EXP_DATAOUT_MUX 2 | ||
65 | /* Shift Register SPI Serial Clock configuration (MCU.SERCOMx.PAD[1] to ShiftRegister.SRCLK) */ | 62 | /* Shift Register SPI Serial Clock configuration (MCU.SERCOMx.PAD[1] to ShiftRegister.SRCLK) */ |
66 | #define SR_EXP_SCLK_PORT PA | 63 | #define SPI_SCLK_PIN A13 |
67 | #define SR_EXP_SCLK_PIN 13 | 64 | #define SPI_SCLK_MUX 2 |
68 | #define SR_EXP_SCLK_MUX 2 | ||
69 | 65 | ||
70 | /* Debug LED (Small LED Located near MCU) */ | 66 | /* Debug LED (Small LED Located near MCU) */ |
71 | #define DEBUG_LED_ENABLE 1 | 67 | #define DEBUG_LED_ENABLE 1 |