OpenOCD
drivers/OpenULINK/include/jtag.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2011 by Martin Schmoelzer *
5  * <martin.schmoelzer@student.tuwien.ac.at> *
6  ***************************************************************************/
7 
8 #ifndef __JTAG_H
9 #define __JTAG_H
10 
11 #include <stdint.h>
12 
13 #define NOP { __asm nop __endasm; }
14 
15 void jtag_scan_in(uint8_t out_offset, uint8_t in_offset);
16 void jtag_slow_scan_in(uint8_t out_offset, uint8_t in_offset);
17 
18 void jtag_scan_out(uint8_t out_offset);
19 void jtag_slow_scan_out(uint8_t out_offset);
20 
21 void jtag_scan_io(uint8_t out_offset, uint8_t in_offset);
22 void jtag_slow_scan_io(uint8_t out_offset, uint8_t in_offset);
23 
24 void jtag_clock_tck(uint16_t count);
25 void jtag_slow_clock_tck(uint16_t count);
26 void jtag_clock_tms(uint8_t count, uint8_t sequence);
27 void jtag_slow_clock_tms(uint8_t count, uint8_t sequence);
28 
29 uint16_t jtag_get_signals(void);
30 void jtag_set_signals(uint8_t low, uint8_t high);
31 
32 void jtag_configure_tck_delay(uint8_t scan_in, uint8_t scan_out,
33  uint8_t scan_io, uint8_t tck, uint8_t tms);
34 
35 #endif
Definition: osbdm.c:17
static struct ublast_lowlevel low
uint8_t count[4]
Definition: vdebug.c:22