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

Go to the source code of this file.

Functions

int avr32_jtag_read_memory16 (struct avr32_jtag *jtag_info, uint32_t addr, int count, uint16_t *buffer)
 
int avr32_jtag_read_memory32 (struct avr32_jtag *jtag_info, uint32_t addr, int count, uint32_t *buffer)
 
int avr32_jtag_read_memory8 (struct avr32_jtag *jtag_info, uint32_t addr, int count, uint8_t *buffer)
 
int avr32_jtag_write_memory16 (struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint16_t *buffer)
 
int avr32_jtag_write_memory32 (struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint32_t *buffer)
 
int avr32_jtag_write_memory8 (struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint8_t *buffer)
 

Function Documentation

◆ avr32_jtag_read_memory16()

int avr32_jtag_read_memory16 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
uint16_t *  buffer 
)

Definition at line 36 of file avr32_mem.c.

References addr, avr32_jtag_mwa_read(), be_to_h_u32(), buffer, count, ERROR_OK, and SLAVE_HSB_UNCACHED.

Referenced by avr32_ap7k_read_memory().

◆ avr32_jtag_read_memory32()

int avr32_jtag_read_memory32 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
uint32_t *  buffer 
)

Definition at line 16 of file avr32_mem.c.

References addr, avr32_jtag_mwa_read(), be_to_h_u32(), buffer, count, ERROR_OK, and SLAVE_HSB_UNCACHED.

Referenced by avr32_ap7k_read_memory().

◆ avr32_jtag_read_memory8()

int avr32_jtag_read_memory8 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
uint8_t *  buffer 
)

Definition at line 88 of file avr32_mem.c.

References addr, avr32_jtag_mwa_read(), buffer, count, ERROR_OK, and SLAVE_HSB_UNCACHED.

Referenced by avr32_ap7k_read_memory().

◆ avr32_jtag_write_memory16()

int avr32_jtag_write_memory16 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
const uint16_t *  buffer 
)

◆ avr32_jtag_write_memory32()

int avr32_jtag_write_memory32 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
const uint32_t *  buffer 
)

◆ avr32_jtag_write_memory8()

int avr32_jtag_write_memory8 ( struct avr32_jtag jtag_info,
uint32_t  addr,
int  count,
const uint8_t *  buffer 
)