Skip to content

Commit ff53247

Browse files
authored
Merge pull request #341 from Infineon/bugfix/add-spi-pins
variants/XMC1400: Add SPI pin definitions.
2 parents 8a7dbea + f39b62b commit ff53247

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

variants/XMC1400/config/XMC1400_Arduino_Kit/pins_arduino.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ extern const uint8_t NUM_ANALOG_INPUTS;
7979
#define PIN_SPI_MISO 12
8080
#define PIN_SPI_SCK 13
8181

82+
extern uint8_t SS;
83+
extern uint8_t MOSI;
84+
extern uint8_t MISO;
85+
extern uint8_t SCK;
86+
8287
#define A0 0
8388
#define A1 1
8489
#define A2 2

variants/XMC1400/config/XMC1400_XMC2GO/pins_arduino.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ extern const uint8_t NUM_ANALOG_INPUTS;
8585
#define PIN_SPI_MISO 0
8686
#define PIN_SPI_SCK 2
8787

88+
extern uint8_t SS;
89+
extern uint8_t MOSI;
90+
extern uint8_t MISO;
91+
extern uint8_t SCK;
92+
8893
// Define analog pin
8994
#define A0 0
9095
#define A1 1

0 commit comments

Comments
 (0)