11 #ifndef OPENOCD_JTAG_DRIVERS_BITBANG_H
12 #define OPENOCD_JTAG_DRIVERS_BITBANG_H
44 int (*
write)(
int tck,
int tms,
int tdi);
struct bitbang_interface * bitbang_interface
int bitbang_execute_queue(void)
const struct swd_driver bitbang_swd
Low level callbacks (for bitbang).
int(* swdio_read)(void)
Sample SWDIO and return the value.
int(* swd_write)(int swclk, int swdio)
Set SWCLK and SWDIO to the given value.
int(* sample)(void)
Sample TDO and put the result in a buffer.
bb_value_t(* read)(void)
Sample TDO and return the value.
bb_value_t(* read_sample)(void)
Return the next unread value from the buffer.
int(* write)(int tck, int tms, int tdi)
Set TCK, TMS, and TDI to the given values.
void(* swdio_drive)(bool on)
Set direction of SWDIO.
size_t buf_size
The number of TDO samples that can be buffered up before the caller has to call read_sample.
int(* blink)(int on)
Blink led (optional).