mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-14 00:18:44 +00:00
SPI: Split common SPI stuff out of master driver; add slave driver; add workaround for DMA issue.
This commit is contained in:
@@ -72,6 +72,7 @@
|
||||
#define MCU_SEL_M (MCU_SEL_V << MCU_SEL_S)
|
||||
#define MCU_SEL_V 0x7
|
||||
#define MCU_SEL_S 12
|
||||
#define MCU_SEL_V 0x7
|
||||
|
||||
#define PIN_INPUT_ENABLE(PIN_NAME) SET_PERI_REG_MASK(PIN_NAME,FUN_IE)
|
||||
#define PIN_INPUT_DISABLE(PIN_NAME) CLEAR_PERI_REG_MASK(PIN_NAME,FUN_IE)
|
||||
|
Reference in New Issue
Block a user