* \section Sec_ChangeLogXXXXXX Version XXXXXX\r
*\r
* <b>New:</b>\r
- * - Added TPI programming support for 6-pin ATTINY devices to the AVRISP programmer project\r
+ * - Added TPI programming support for 6-pin ATTINY devices to the AVRISP programmer project (thanks to Tom Light)\r
* - Added command timeout counter to the AVRISP project so that the device no longer freezes when incorrectly connected\r
* to a target\r
* - Added new TemperatureDataLogger application, a USB data logger which writes to the device's dataflash and appears to\r
\r
/* Function Prototypes: */\r
void SetupHardware(void);\r
-\r
+ void Process_AVRISP_Commands(void);\r
+ \r
void EVENT_USB_Device_Connect(void);\r
void EVENT_USB_Device_Disconnect(void);\r
void EVENT_USB_Device_ConfigurationChanged(void);\r
-\r
- void Process_AVRISP_Commands(void);\r
\r
#endif\r
void V2Protocol_ProcessCommand(void);\r
\r
#if defined(INCLUDE_FROM_V2PROTOCOL_C)\r
- static void V2Protocol_UnknownCommand(uint8_t V2Command);\r
+ static void V2Protocol_UnknownCommand(const uint8_t V2Command);\r
static void V2Protocol_SignOn(void);\r
- static void V2Protocol_GetSetParam(uint8_t V2Command);\r
+ static void V2Protocol_GetSetParam(const uint8_t V2Command);\r
static void V2Protocol_ResetProtection(void);\r
static void V2Protocol_LoadAddress(void);\r
#endif\r
*\r
* \param[in] Address 6-bit I/O address to write to in the target's I/O memory space\r
*/\r
-static void TINYNVM_SendReadNVMRegister(uint8_t Address)\r
+static void TINYNVM_SendReadNVMRegister(const uint8_t Address)\r
{\r
/* The TPI command for reading from the I/O space uses strange addressing, where the I/O address's upper\r
* two bits of the 6-bit address are shifted left once */\r
*\r
* \param[in] Address 6-bit I/O address to read from in the target's I/O memory space\r
*/\r
-static void TINYNVM_SendWriteNVMRegister(uint8_t Address)\r
+static void TINYNVM_SendWriteNVMRegister(const uint8_t Address)\r
{\r
/* The TPI command for writing to the I/O space uses wierd addressing, where the I/O address's upper\r
* two bits of the 6-bit address are shifted left once */\r
bool TINYNVM_EraseMemory(void);\r
\r
#if defined(INCLUDE_FROM_TINYNVM_C)\r
- static void TINYNVM_SendReadNVMRegister(uint8_t Address);\r
- static void TINYNVM_SendWriteNVMRegister(uint8_t Address);\r
+ static void TINYNVM_SendReadNVMRegister(const uint8_t Address);\r
+ static void TINYNVM_SendWriteNVMRegister(const uint8_t Address);\r
static void TINYNVM_SendPointerAddress(const uint16_t AbsoluteAddress);\r
#endif\r
\r