Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
avr910.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void avr910_initpgm (PROGRAMMER *pgm)
 

Variables

const char avr910_desc []
 

Function Documentation

◆ avr910_initpgm()

void avr910_initpgm ( PROGRAMMER pgm)
746{
747 strcpy(pgm->type, "avr910");
748
749 /*
750 * mandatory functions
751 */
758 pgm->cmd = avr910_cmd;
761
762 /*
763 * optional functions
764 */
765
768
771
773
777}
static int avr910_read_sig_bytes(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m)
Definition avr910.c:724
static int avr910_initialize(PROGRAMMER *pgm, AVRPART *p)
Definition avr910.c:161
static void avr910_close(PROGRAMMER *pgm)
Definition avr910.c:389
static void avr910_display(PROGRAMMER *pgm, const char *p)
Definition avr910.c:398
static void avr910_enable(PROGRAMMER *pgm)
Definition avr910.c:287
static void avr910_teardown(PROGRAMMER *pgm)
Definition avr910.c:71
static int avr910_paged_write(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m, unsigned int page_size, unsigned int addr, unsigned int n_bytes)
Definition avr910.c:587
static int avr910_chip_erase(PROGRAMMER *pgm, AVRPART *p)
Definition avr910.c:120
static int avr910_open(PROGRAMMER *pgm, char *port)
Definition avr910.c:365
static int avr910_read_byte(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m, unsigned long addr, unsigned char *value)
Definition avr910.c:484
static int avr910_paged_load(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m, unsigned int page_size, unsigned int addr, unsigned int n_bytes)
Definition avr910.c:647
static int avr910_write_byte(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m, unsigned long addr, unsigned char value)
Definition avr910.c:417
static int avr910_program_enable(PROGRAMMER *pgm, AVRPART *p)
Definition avr910.c:152
static int avr910_cmd(PROGRAMMER *pgm, const unsigned char *cmd, unsigned char *res)
Definition avr910.c:299
static void avr910_disable(PROGRAMMER *pgm)
Definition avr910.c:279
static void avr910_setup(PROGRAMMER *pgm)
Definition avr910.c:60
static int avr910_parseextparms(PROGRAMMER *pgm, LISTID extparms)
Definition avr910.c:324
static PROGRAMMER * pgm
Definition main.c:192
void(* display)(struct programmer_t *pgm, const char *p)
Definition libavrdude.h:644
int(* paged_write)(struct programmer_t *pgm, AVRPART *p, AVRMEM *m, unsigned int page_size, unsigned int baseaddr, unsigned int n_bytes)
Definition libavrdude.h:659
int(* read_sig_bytes)(struct programmer_t *pgm, AVRPART *p, AVRMEM *m)
Definition libavrdude.h:672
int(* open)(struct programmer_t *pgm, char *port)
Definition libavrdude.h:657
int(* read_byte)(struct programmer_t *pgm, AVRPART *p, AVRMEM *m, unsigned long addr, unsigned char *value)
Definition libavrdude.h:670
int(* paged_load)(struct programmer_t *pgm, AVRPART *p, AVRMEM *m, unsigned int page_size, unsigned int baseaddr, unsigned int n_bytes)
Definition libavrdude.h:662
void(* teardown)(struct programmer_t *pgm)
Definition libavrdude.h:685
int(* cmd)(struct programmer_t *pgm, const unsigned char *cmd, unsigned char *res)
Definition libavrdude.h:651
int(* parseextparams)(struct programmer_t *pgm, LISTID xparams)
Definition libavrdude.h:683
void(* enable)(struct programmer_t *pgm)
Definition libavrdude.h:645
int(* program_enable)(struct programmer_t *pgm, AVRPART *p)
Definition libavrdude.h:649
int(* write_byte)(struct programmer_t *pgm, AVRPART *p, AVRMEM *m, unsigned long addr, unsigned char value)
Definition libavrdude.h:668
void(* setup)(struct programmer_t *pgm)
Definition libavrdude.h:684
char type[PGM_TYPELEN]
Definition libavrdude.h:619
int(* initialize)(struct programmer_t *pgm, AVRPART *p)
Definition libavrdude.h:643
void(* close)(struct programmer_t *pgm)
Definition libavrdude.h:658
int(* chip_erase)(struct programmer_t *pgm, AVRPART *p)
Definition libavrdude.h:650
void(* disable)(struct programmer_t *pgm)
Definition libavrdude.h:646

References avr910_chip_erase(), avr910_close(), avr910_cmd(), avr910_disable(), avr910_display(), avr910_enable(), avr910_initialize(), avr910_open(), avr910_paged_load(), avr910_paged_write(), avr910_parseextparms(), avr910_program_enable(), avr910_read_byte(), avr910_read_sig_bytes(), avr910_setup(), avr910_teardown(), avr910_write_byte(), programmer_t::chip_erase, programmer_t::close, programmer_t::cmd, programmer_t::disable, programmer_t::display, programmer_t::enable, programmer_t::initialize, programmer_t::open, programmer_t::paged_load, programmer_t::paged_write, programmer_t::parseextparams, pgm, programmer_t::program_enable, programmer_t::read_byte, programmer_t::read_sig_bytes, programmer_t::setup, programmer_t::teardown, programmer_t::type, and programmer_t::write_byte.

+ Here is the call graph for this function:

Variable Documentation

◆ avr910_desc

const char avr910_desc[]
extern