OpenOCD
ch347_info Struct Reference
Collaboration diagram for ch347_info:

Data Fields

enum ch347_variant chip_variant
 
struct list_head cmd_queue
 
int max_len
 
enum pack_size pack_size
 
struct list_head scan_queue
 
uint8_t scratchpad [UCMDPKT_DATA_MAX_BYTES_USBHS]
 
uint8_t scratchpad_cmd_type
 
int scratchpad_idx
 
int singe_read_len
 
uint8_t single_read [CH347_SINGLE_CMD_MAX_READ]
 
bool swclk_5mhz_supported
 
int tck_pin
 
int tdi_pin
 
int tms_pin
 
int trst_pin
 
bool use_bitwise_mode
 

Detailed Description

Definition at line 201 of file ch347.c.

Field Documentation

◆ chip_variant

enum ch347_variant ch347_info::chip_variant

Definition at line 206 of file ch347.c.

Referenced by ch347_open_device().

◆ cmd_queue

struct list_head ch347_info::cmd_queue

Definition at line 218 of file ch347.c.

Referenced by ch347_cmd_from_scratchpad(), ch347_cmd_transmit_queue(), and ch347_init().

◆ max_len

int ch347_info::max_len

Definition at line 212 of file ch347.c.

Referenced by ch347_cmd_transmit_queue(), and ch347_init_pack_size().

◆ pack_size

enum pack_size ch347_info::pack_size

Definition at line 210 of file ch347.c.

Referenced by ch347_init(), ch347_init_pack_size(), ch347_speed_get(), and ch347_speed_get_index().

◆ scan_queue

struct list_head ch347_info::scan_queue

Definition at line 218 of file ch347.c.

Referenced by ch347_init(), ch347_scan_data_to_fields(), and ch347_scan_queue_fields().

◆ scratchpad

uint8_t ch347_info::scratchpad[UCMDPKT_DATA_MAX_BYTES_USBHS]

◆ scratchpad_cmd_type

◆ scratchpad_idx

◆ singe_read_len

int ch347_info::singe_read_len

Definition at line 226 of file ch347.c.

Referenced by ch347_scan_data_to_fields().

◆ single_read

uint8_t ch347_info::single_read[CH347_SINGLE_CMD_MAX_READ]

Definition at line 225 of file ch347.c.

Referenced by ch347_scan_data_to_fields(), and ch347_single_read_get_byte().

◆ swclk_5mhz_supported

bool ch347_info::swclk_5mhz_supported

Definition at line 213 of file ch347.c.

Referenced by ch347_open_device(), and ch347_speed_get_index().

◆ tck_pin

◆ tdi_pin

int ch347_info::tdi_pin

◆ tms_pin

◆ trst_pin

int ch347_info::trst_pin

Definition at line 206 of file ch347.c.

Referenced by ch347_init(), ch347_reset(), and ch347_scratchpad_add_pin_byte().

◆ use_bitwise_mode

bool ch347_info::use_bitwise_mode

The documentation for this struct was generated from the following file: