Mercurial > ecos
comparison packages/devs/spi/freescale/dspi/current/include/spi_freescale_dspi.h @ 3166:c7cb4340f6eb
Add: support for 32 channel eDMA, support for cached memory.
| author | vae |
|---|---|
| date | Wed, 09 May 2012 22:07:24 +0000 |
| parents | a18d3fded36e |
| children | 99686efcd5ba |
comparison
equal
deleted
inserted
replaced
| 3165:1057533611c4 | 3166:c7cb4340f6eb |
|---|---|
| 115 // Freescale DSPI bus configuration and state. | 115 // Freescale DSPI bus configuration and state. |
| 116 | 116 |
| 117 typedef struct cyg_spi_freescale_dspi_bus_setup_s | 117 typedef struct cyg_spi_freescale_dspi_bus_setup_s |
| 118 { | 118 { |
| 119 cyghwr_devs_freescale_dspi_t* dspi_p; // Base address of SPI register block. | 119 cyghwr_devs_freescale_dspi_t* dspi_p; // Base address of SPI register block. |
| 120 cyghwr_hal_freescale_dma_set_t* dma_set_p; // DMA configuration block. | 120 cyghwr_hal_freescale_dma_set_t* dma_set_p; // DMA configuration block. |
| 121 cyg_vector_t intr_num; // DSPI interrupt vector | 121 cyg_vector_t intr_num; // DSPI interrupt vector |
| 122 cyg_priority_t intr_prio; // Interrupt priority | 122 cyg_priority_t intr_prio; // Interrupt priority |
| 123 cyg_uint32 mcr_opt ; // Module Configuratyon Register options | 123 cyg_uint32 mcr_opt ; // Module Configuratyon Register options |
| 124 const cyg_uint32* spi_pin_list_p; // List of GPIOs used by the SPI interface. | 124 const cyg_uint32* spi_pin_list_p; // List of GPIOs used by the SPI interface. |
| 125 const cyg_uint32* cs_pin_list_p; // List of GPIOs used as chip selects. | 125 const cyg_uint32* cs_pin_list_p; // List of GPIOs used as chip selects. |
