Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function.

Spell check source code files.
This commit is contained in:
Dean Camera 2011-01-13 22:56:49 +00:00
parent 9c7594e7db
commit 70d55f6e0c
13 changed files with 225 additions and 92 deletions

View file

@ -87,13 +87,13 @@
* for (uint16_t i = 0; i < DATAFLASH_PAGE_SIZE; i++)
* Dataflash_SendByte(WriteBuffer[i]);
*
* // Commit the Dataflash's first memory buffer to the non-voltatile FLASH memory
* // Commit the Dataflash's first memory buffer to the non-volatile FLASH memory
* printf("Committing page to non-volatile memory page index 5:\r\n");
* Dataflash_SendByte(DF_CMD_BUFF1TOMAINMEMWITHERASE);
* Dataflash_SendAddressBytes(5, 0);
* Dataflash_WaitWhileBusy();
*
* // Read the page from non-voltatile FLASH memory into the Dataflash's second memory buffer
* // Read the page from non-volatile FLASH memory into the Dataflash's second memory buffer
* printf("Reading data into second dataflash buffer:\r\n");
* Dataflash_SendByte(DF_CMD_MAINMEMTOBUFF2);
* Dataflash_SendAddressBytes(5, 0);