|
|
@ -66,9 +66,7 @@
|
|
|
|
* application.
|
|
|
|
* application.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* \code
|
|
|
|
* // Initialize the SPI and board Dataflash drivers before first use
|
|
|
|
* // Initialize the board Dataflash driver before first use
|
|
|
|
* SPI_Init(SPI_SPEED_FCPU_DIV_2 | SPI_ORDER_MSB_FIRST | SPI_SCK_LEAD_FALLING |
|
|
|
|
|
|
|
|
* SPI_SAMPLE_TRAILING | SPI_MODE_MASTER);
|
|
|
|
|
|
|
|
* Dataflash_Init();
|
|
|
|
* Dataflash_Init();
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* uint8_t WriteBuffer[DATAFLASH_PAGE_SIZE];
|
|
|
|
* uint8_t WriteBuffer[DATAFLASH_PAGE_SIZE];
|
|
|
|