diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-06-16 23:02:38 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-06-16 23:02:38 +0300 |
commit | b2540183da681c6fdab6e7525332d27b85da14ea (patch) | |
tree | 859d2c10f526564db65c4f99cd08882664770787 /src/DuetNG | |
parent | 2c55d405c96d6b0c445ec8283ecad70c3289ddeb (diff) |
Added SharedSpi library
Diffstat (limited to 'src/DuetNG')
-rw-r--r-- | src/DuetNG/Pins_DuetNG.h | 5 |
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 |