Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-06-16 23:02:38 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-06-16 23:02:38 +0300
commitb2540183da681c6fdab6e7525332d27b85da14ea (patch)
tree859d2c10f526564db65c4f99cd08882664770787 /src/DuetNG
parent2c55d405c96d6b0c445ec8283ecad70c3289ddeb (diff)
Added SharedSpi library
Diffstat (limited to 'src/DuetNG')
-rw-r--r--src/DuetNG/Pins_DuetNG.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h
index 6da3dbee..2c153f74 100644
--- a/src/DuetNG/Pins_DuetNG.h
+++ b/src/DuetNG/Pins_DuetNG.h
@@ -254,6 +254,11 @@ constexpr Pin LcdBeepPin = PortDPin(21); // connlcd.10 -> exp1.10
// connsd.6 (miso) -> exp2.10
#endif
+// Shared SPI definitions
+#define USART_SPI 1
+#define USART_SSPI USART0
+#define ID_SSPI ID_USART0
+
// Enum to represent allowed types of pin access
// We don't have a separate bit for servo, because Duet PWM-capable ports can be used for servos if they are on the Duet main board
enum class PinCapability: uint8_t