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/Duet3_V06 | |
parent | 2c55d405c96d6b0c445ec8283ecad70c3289ddeb (diff) |
Added SharedSpi library
Diffstat (limited to 'src/Duet3_V06')
-rw-r--r-- | src/Duet3_V06/Pins_Duet3_V06.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Duet3_V06/Pins_Duet3_V06.h b/src/Duet3_V06/Pins_Duet3_V06.h index 391ceb82..dde978c0 100644 --- a/src/Duet3_V06/Pins_Duet3_V06.h +++ b/src/Duet3_V06/Pins_Duet3_V06.h @@ -155,6 +155,11 @@ constexpr IRQn DotStarIRQn = QSPI_IRQn; constexpr Pin PhyInterruptPin = PortCPin(6); constexpr Pin PhyResetPin = PortDPin(11); +// 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 |