OpenOCD
avr32_mem.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2010 by Oleksandr Tymoshenko <gonzo@bluezbox.com> *
5  ***************************************************************************/
6 
7 #ifndef OPENOCD_TARGET_AVR32_MEM_H
8 #define OPENOCD_TARGET_AVR32_MEM_H
9 
10 int avr32_jtag_read_memory32(struct avr32_jtag *jtag_info,
11  uint32_t addr, int count, uint32_t *buffer);
12 int avr32_jtag_read_memory16(struct avr32_jtag *jtag_info,
13  uint32_t addr, int count, uint16_t *buffer);
14 int avr32_jtag_read_memory8(struct avr32_jtag *jtag_info,
15  uint32_t addr, int count, uint8_t *buffer);
16 
17 int avr32_jtag_write_memory32(struct avr32_jtag *jtag_info,
18  uint32_t addr, int count, const uint32_t *buffer);
19 int avr32_jtag_write_memory16(struct avr32_jtag *jtag_info,
20  uint32_t addr, int count, const uint16_t *buffer);
21 int avr32_jtag_write_memory8(struct avr32_jtag *jtag_info,
22  uint32_t addr, int count, const uint8_t *buffer);
23 
24 #endif /* OPENOCD_TARGET_AVR32_MEM_H */
int avr32_jtag_read_memory32(struct avr32_jtag *jtag_info, uint32_t addr, int count, uint32_t *buffer)
Definition: avr32_mem.c:16
int avr32_jtag_write_memory32(struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint32_t *buffer)
Definition: avr32_mem.c:134
int avr32_jtag_read_memory16(struct avr32_jtag *jtag_info, uint32_t addr, int count, uint16_t *buffer)
Definition: avr32_mem.c:36
int avr32_jtag_write_memory16(struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint16_t *buffer)
Definition: avr32_mem.c:154
int avr32_jtag_read_memory8(struct avr32_jtag *jtag_info, uint32_t addr, int count, uint8_t *buffer)
Definition: avr32_mem.c:88
int avr32_jtag_write_memory8(struct avr32_jtag *jtag_info, uint32_t addr, int count, const uint8_t *buffer)
Definition: avr32_mem.c:226
target_addr_t addr
Start address to search for the control block.
Definition: rtt/rtt.c:28
uint8_t count[4]
Definition: vdebug.c:22