OpenOCD
avrt.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2009 by Simon Qian *
5  * SimonQian@SimonQian.com *
6  ***************************************************************************/
7 
8 #ifndef OPENOCD_TARGET_AVRT_H
9 #define OPENOCD_TARGET_AVRT_H
10 
11 #include <jtag/jtag.h>
12 
13 struct mcu_jtag {
14  struct jtag_tap *tap;
15 };
16 
17 struct avr_common {
18  struct mcu_jtag jtag_info;
19 };
20 
21 int mcu_execute_queue(void);
22 int avr_jtag_sendinstr(struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out);
23 int avr_jtag_senddat(struct jtag_tap *tap, uint32_t *dr_in, uint32_t dr_out,
24  int len);
25 
26 #endif /* OPENOCD_TARGET_AVRT_H */
int avr_jtag_senddat(struct jtag_tap *tap, uint32_t *dr_in, uint32_t dr_out, int len)
Definition: avrt.c:137
int avr_jtag_sendinstr(struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out)
Definition: avrt.c:143
int mcu_execute_queue(void)
Definition: avrt.c:209
The JTAG interface can be implemented with a software or hardware fifo.
struct mcu_jtag jtag_info
Definition: avrt.h:18
Definition: jtag.h:100
Definition: avrt.h:13
struct jtag_tap * tap
Definition: avrt.h:14