Included Files
- #include <nut/include/sys/timer.h>
- #include <nut/include/dev/avrtarget.h>
Preprocessor definitions
#define AVRTARGET_CHIPERASE_TIMEOUT 200
#define AVRTARGET_PAGEWRITE_TIMEOUT 10
#define AVR_FUSES_NEVER_PROG 0x00F88062UL
#define AVR_FUSES_ALWAYS_PROG 0x0000201DUL
#define AVRTARGET_SPI_MODE 0
#define AVRTARGET_SPI_RATE 500000
#define AVRTARGET_NO_SPI_DEVICE
int AvrTargetChipErase ( void )
u_long AvrTargetCmd ( u_long cmd )
u_long AvrTargetFusesRead ( void )
u_long AvrTargetFusesWriteSafe ( u_long fuses )
int AvrTargetInit ( void )
void AvrTargetPageLoad ( u_long page, const u_char* data )
int AvrTargetPageVerify ( u_long page, const u_char* data )
int AvrTargetPageWrite ( u_long page )
int AvrTargetPollReady ( u_int tmo )
int AvrTargetProgEnable ( void )
void AvrTargetReset ( ureg_t act )
void AvrTargetSelect ( ureg_t act )
u_long AvrTargetSignature ( void )