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 )
uint32_t AvrTargetCmd ( uint32_t cmd )
uint32_t AvrTargetFusesRead ( void )
uint32_t AvrTargetFusesWriteSafe ( uint32_t fuses )
int AvrTargetInit ( void )
void AvrTargetPageLoad ( uint32_t page, const uint8_t* data )
int AvrTargetPageVerify ( uint32_t page, const uint8_t* data )
int AvrTargetPageWrite ( uint32_t page )
int AvrTargetPollReady ( unsigned int tmo )
int AvrTargetProgEnable ( void )
void AvrTargetReset ( ureg_t act )
void AvrTargetSelect ( ureg_t act )
uint32_t AvrTargetSignature ( void )