comparison packages/devs/spi/arm/lpc2xxx/current/include/spi_lpc2xxx.h @ 2809:a0730cb32880

* cdl/spi_lpc2xxx.cdl: Ensure the SPI interrupts are using different priorities: CYGNUM_IO_SPI_ARM_LPC2XXX_SPI{0,1}_INTPRIO entered. * include/spi_lpc2xxx.h: cyg_spi_lpc2xxx_bus_t: spi_prio field added. * src/spi_lpc2xxx.cxx: spi_lpc2xxx_set_config(): fixed copy & paste typo, spi_lpc2xxx_init_bus(): added 'prio' argument to initializer.
author jlarmour
date Tue, 17 Feb 2009 00:51:30 +0000
parents 74dbf4c3f2e1
children
comparison
equal deleted inserted replaced
2808:ef21b86ad6b9 2809:a0730cb32880
73 cyg_spi_bus spi_bus; 73 cyg_spi_bus spi_bus;
74 74
75 cyg_interrupt spi_intr; 75 cyg_interrupt spi_intr;
76 cyg_handle_t spi_hand; 76 cyg_handle_t spi_hand;
77 cyg_vector_t spi_vect; 77 cyg_vector_t spi_vect;
78 cyg_priority_t spi_prio;
78 cyg_drv_mutex_t spi_lock; 79 cyg_drv_mutex_t spi_lock;
79 cyg_drv_cond_t spi_wait; 80 cyg_drv_cond_t spi_wait;
80 81
81 struct spi_dev *spi_dev; 82 struct spi_dev *spi_dev;
82 83