Revision 22be62dc modules/LightRing_1-0/module.c
| modules/LightRing_1-0/module.c | ||
|---|---|---|
| 63 | 63 |
/* CR2 */ SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN, |
| 64 | 64 |
}; |
| 65 | 65 |
|
| 66 |
SPIConfig moduleHalSpiWlConfig = {
|
|
| 67 |
/* circular buffer mode */ false, |
|
| 68 |
/* callback function pointer */ NULL, |
|
| 69 |
/* chip select line port */ GPIOB, |
|
| 70 |
/* chip select line pad number */ GPIOB_WL_SS_N, |
|
| 71 |
/* CR1 */ SPI_CR1_BR_0, |
|
| 72 |
/* CR2 */ SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN, |
|
| 73 |
}; |
|
| 74 |
|
|
| 66 | 75 |
/*===========================================================================*/ |
| 67 | 76 |
/** |
| 68 | 77 |
* @name GPIO definitions |
Also available in: Unified diff