diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-28 07:17:21 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-28 07:17:21 +0000 |
commit | 7c8f4a716f01f6598234fd60cd53345da4903fde (patch) | |
tree | 352ac03ad26c195e273b723bda4e1777592b8f6b /Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h | |
parent | 3222f21b849ca283cc6c1f07c347285b8cbce075 (diff) | |
download | lufa-7c8f4a716f01f6598234fd60cd53345da4903fde.tar.gz lufa-7c8f4a716f01f6598234fd60cd53345da4903fde.tar.bz2 lufa-7c8f4a716f01f6598234fd60cd53345da4903fde.zip |
Add first draft of the TPI NVM commands for reading, writing and erasing a target. Needs testing when physical access to a part is available.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h b/Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h index bc5772657..608f5ab79 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XMEGANVM.h @@ -110,7 +110,7 @@ bool XMEGANVM_WaitWhileNVMControllerBusy(void);
bool XMEGANVM_GetMemoryCRC(const uint8_t CRCCommand, uint32_t* const CRCDest);
bool XMEGANVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadSize);
- bool XMEGANVM_WriteByteMemory(const uint8_t WriteCommand, const uint32_t WriteAddress, const uint8_t* WriteBuffer);
+ bool XMEGANVM_WriteByteMemory(const uint8_t WriteCommand, const uint32_t WriteAddress, const uint8_t Byte);
bool XMEGANVM_WritePageMemory(const uint8_t WriteBuffCommand, const uint8_t EraseBuffCommand,
const uint8_t WritePageCommand, const uint8_t PageMode, const uint32_t WriteAddress,
const uint8_t* WriteBuffer, uint16_t WriteSize);
|