Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f39b62b

Browse files
committed
variants/XMC1400: Add SPI pin definitions.
Signed-off-by: Eder Julian <Julian.Eder@infineon.com>
1 parent 8a7dbea commit f39b62b

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)

AltStyle によって変換されたページ (->オリジナル) /