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