\brief AVR SPI Programmer
*/
+#ifndef AVR_H
+#define AVR_H
+
#include "spi.h"
+#include "app.h"
+
+#define AVR 0x32
//! Setup the AVR pins.
void avrsetup();
u8 avr_isready();
//Command codes.
-//! Performa chip erase.
+//! Perform a chip erase.
#define AVR_ERASE 0xF0
//! Fetch RDY/!BSY byte.
#define AVR_RDYBSY 0xF1
#define AVR_READFUSES 0x84
//! Read calibration byte.
#define AVR_READCAL 0x85
+//! Bulk load data
+#define AVR_BULKLOAD 0x86
+
+extern app_t const avr_app;
+
+#endif // AVR_H