mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
PIC32MZ SPI: Implement exchange() method; update SPI_REGDEBUG configuration and clean up implementation
This commit is contained in:
@@ -549,7 +549,7 @@ static void pic32mx_checkreg(uint32_t addr, uint32_t val, bool iswrite)
|
||||
count = 0;
|
||||
prevwrite = iswrite;
|
||||
|
||||
/* Show the new regisgter access */
|
||||
/* Show the new register access */
|
||||
|
||||
pic32mx_printreg(addr, val, iswrite);
|
||||
}
|
||||
|
||||
@@ -317,15 +317,25 @@ config PIC32MZ_GPIOIRQ_PORTK
|
||||
endif # PIC32MZ_GPIOIRQ
|
||||
|
||||
menu "SPI Driver Configuration"
|
||||
depends on PIC32MZ_SPI && EXPERIMENTAL
|
||||
depends on PIC32MZ_SPI
|
||||
|
||||
config PIC32MZ_SPI_INTERRUPTS
|
||||
bool "SPI Interrupt Driven"
|
||||
default n
|
||||
depends on EXPERIMENTAL
|
||||
|
||||
config PIC32MZ_SPI_ENHBUF
|
||||
bool "SPI Enhanced Buffer Mode"
|
||||
default n
|
||||
depends on EXPERIMENTAL
|
||||
|
||||
config PIC32MZ_SPI_REGDEBUG
|
||||
bool "SPI Register level debug"
|
||||
depends on DEBUG
|
||||
default n
|
||||
---help---
|
||||
Output detailed register-level SPI device debug information.
|
||||
Requires also DEBUG.
|
||||
|
||||
endmenu # SPI Driver Configuration
|
||||
|
||||
|
||||
+413
-179
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user