OpenOCD
rlink_dtc_cmd.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DTC_CMD_SHIFT_TDI_AND_TMS_BYTES(bytes)   ((0x3 << 4) | ((bytes) - 1))
 
#define DTC_CMD_SHIFT_TDI_BYTES(bytes)   ((0x2 << 4) | ((bytes) - 1))
 
#define DTC_CMD_SHIFT_TDIO_BITS(bits)   ((0xe << 4) | ((bits) - 1))
 
#define DTC_CMD_SHIFT_TDIO_BYTES(bytes)   ((0x6 << 4) | ((bytes) - 1))
 
#define DTC_CMD_SHIFT_TDO_BYTES(bytes)   ((0x4 << 4) | ((bytes) - 1))
 
#define DTC_CMD_SHIFT_TMS_BITS(bits)   ((0x9 << 4) | ((bits) - 1))
 
#define DTC_CMD_SHIFT_TMS_BYTES(bytes)   ((0x1 << 4) | ((bytes) - 1))
 
#define DTC_CMD_SHIFT_TMS_TDI_BIT_PAIR(tms, tdi, tdo)
 
#define DTC_CMD_STOP   (0xf << 4)
 

Macro Definition Documentation

◆ DTC_CMD_SHIFT_TDI_AND_TMS_BYTES

#define DTC_CMD_SHIFT_TDI_AND_TMS_BYTES (   bytes)    ((0x3 << 4) | ((bytes) - 1))

Definition at line 22 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TDI_BYTES

#define DTC_CMD_SHIFT_TDI_BYTES (   bytes)    ((0x2 << 4) | ((bytes) - 1))

Definition at line 18 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TDIO_BITS

#define DTC_CMD_SHIFT_TDIO_BITS (   bits)    ((0xe << 4) | ((bits) - 1))

Definition at line 54 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TDIO_BYTES

#define DTC_CMD_SHIFT_TDIO_BYTES (   bytes)    ((0x6 << 4) | ((bytes) - 1))

Definition at line 30 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TDO_BYTES

#define DTC_CMD_SHIFT_TDO_BYTES (   bytes)    ((0x4 << 4) | ((bytes) - 1))

Definition at line 26 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TMS_BITS

#define DTC_CMD_SHIFT_TMS_BITS (   bits)    ((0x9 << 4) | ((bits) - 1))

Definition at line 50 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TMS_BYTES

#define DTC_CMD_SHIFT_TMS_BYTES (   bytes)    ((0x1 << 4) | ((bytes) - 1))

Definition at line 14 of file rlink_dtc_cmd.h.

◆ DTC_CMD_SHIFT_TMS_TDI_BIT_PAIR

#define DTC_CMD_SHIFT_TMS_TDI_BIT_PAIR (   tms,
  tdi,
  tdo 
)
Value:
((0x8 << 4) | (\
(tms) ? (1 << 0) : 0 \
) | (\
(tdi) ? (1 << 1) : 0 \
) | (\
(tdo) ? (1 << 3) : 0 \
))

Definition at line 33 of file rlink_dtc_cmd.h.

◆ DTC_CMD_STOP

#define DTC_CMD_STOP   (0xf << 4)

Definition at line 59 of file rlink_dtc_cmd.h.