mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4221 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
31149b2ffb
commit
baaa338938
|
@ -74,7 +74,10 @@
|
|||
* SPI driver system settings.
|
||||
*/
|
||||
#define LPC13xx_SPI_USE_SSP0 TRUE
|
||||
#define LPC13xx_SPI_USE_SSP1 FALSE
|
||||
#define LPC13xx_SPI_SSP0CLKDIV 1
|
||||
#define LPC13xx_SPI_SSP1CLKDIV 1
|
||||
#define LPC13xx_SPI_SSP0_IRQ_PRIORITY 5
|
||||
#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 5
|
||||
#define LPC13xx_SPI_SSP_ERROR_HOOK(spip) chSysHalt()
|
||||
#define LPC13xx_SPI_SCK0_SELECTOR SCK0_IS_PIO2_11
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
* @brief SPI1 interrupt priority level setting.
|
||||
*/
|
||||
#if !defined(LPC13xx_SPI_SSP1_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
||||
#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 1
|
||||
#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 5
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue