OpenOCD
avr32_jtag.c File Reference
Include dependency graph for avr32_jtag.c:

Go to the source code of this file.

Functions

int avr32_jtag_exec (struct avr32_jtag *jtag_info, uint32_t inst)
 
int avr32_jtag_mwa_read (struct avr32_jtag *jtag_info, int slave, uint32_t addr, uint32_t *value)
 
static int avr32_jtag_mwa_read_data (struct avr32_jtag *jtag_info, uint32_t *pdata)
 
static int avr32_jtag_mwa_set_address (struct avr32_jtag *jtag_info, int slave, uint32_t addr, int mode)
 
int avr32_jtag_mwa_write (struct avr32_jtag *jtag_info, int slave, uint32_t addr, uint32_t value)
 
static int avr32_jtag_mwa_write_data (struct avr32_jtag *jtag_info, uint32_t data)
 
int avr32_jtag_nexus_read (struct avr32_jtag *jtag_info, uint32_t addr, uint32_t *value)
 
static int avr32_jtag_nexus_read_data (struct avr32_jtag *jtag_info, uint32_t *pdata)
 
static int avr32_jtag_nexus_set_address (struct avr32_jtag *jtag_info, uint32_t addr, int mode)
 
int avr32_jtag_nexus_write (struct avr32_jtag *jtag_info, uint32_t addr, uint32_t value)
 
static int avr32_jtag_nexus_write_data (struct avr32_jtag *jtag_info, uint32_t data)
 
static int avr32_jtag_set_instr (struct avr32_jtag *jtag_info, int new_instr)
 
int avr32_ocd_clearbits (struct avr32_jtag *jtag, int reg, uint32_t bits)
 
int avr32_ocd_setbits (struct avr32_jtag *jtag, int reg, uint32_t bits)
 

Function Documentation

◆ avr32_jtag_exec()

◆ avr32_jtag_mwa_read()

int avr32_jtag_mwa_read ( struct avr32_jtag jtag_info,
int  slave,
uint32_t  addr,
uint32_t *  value 
)

◆ avr32_jtag_mwa_read_data()

static int avr32_jtag_mwa_read_data ( struct avr32_jtag jtag_info,
uint32_t *  pdata 
)
static

◆ avr32_jtag_mwa_set_address()

static int avr32_jtag_mwa_set_address ( struct avr32_jtag jtag_info,
int  slave,
uint32_t  addr,
int  mode 
)
static

◆ avr32_jtag_mwa_write()

int avr32_jtag_mwa_write ( struct avr32_jtag jtag_info,
int  slave,
uint32_t  addr,
uint32_t  value 
)

◆ avr32_jtag_mwa_write_data()

static int avr32_jtag_mwa_write_data ( struct avr32_jtag jtag_info,
uint32_t  data 
)
static

◆ avr32_jtag_nexus_read()

◆ avr32_jtag_nexus_read_data()

static int avr32_jtag_nexus_read_data ( struct avr32_jtag jtag_info,
uint32_t *  pdata 
)
static

◆ avr32_jtag_nexus_set_address()

static int avr32_jtag_nexus_set_address ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  mode 
)
static

◆ avr32_jtag_nexus_write()

int avr32_jtag_nexus_write ( struct avr32_jtag jtag_info,
uint32_t  addr,
uint32_t  value 
)

◆ avr32_jtag_nexus_write_data()

static int avr32_jtag_nexus_write_data ( struct avr32_jtag jtag_info,
uint32_t  data 
)
static

◆ avr32_jtag_set_instr()

◆ avr32_ocd_clearbits()

int avr32_ocd_clearbits ( struct avr32_jtag jtag,
int  reg,
uint32_t  bits 
)

Definition at line 345 of file avr32_jtag.c.

References avr32_jtag_nexus_read(), avr32_jtag_nexus_write(), bits, and ERROR_OK.

Referenced by avr32_ap7k_resume().

◆ avr32_ocd_setbits()

int avr32_ocd_setbits ( struct avr32_jtag jtag,
int  reg,
uint32_t  bits 
)

Definition at line 328 of file avr32_jtag.c.

References avr32_jtag_nexus_read(), avr32_jtag_nexus_write(), bits, and ERROR_OK.

Referenced by avr32_ap7k_examine(), and avr32_ap7k_halt().