git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4221 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2012-05-20 13:29:55 +00:00
parent 31149b2ffb
commit baaa338938
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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
/**