OpenOCD
ch347_swd_context Struct Reference
Collaboration diagram for ch347_swd_context:

Data Fields

struct ch347_swd_io ch347_cmd_buf [CH347_MAX_CMD_BUF]
 
unsigned int clk_divisor
 
struct list_head free_cmd_head
 
int need_recv_len
 
int queued_retval
 
uint8_t recv_buf [CH347_MAX_RECV_BUF]
 
int recv_len
 
uint8_t send_buf [CH347_MAX_SEND_BUF]
 
struct list_head send_cmd_head
 
int send_len
 
int sent_cmd_count
 
unsigned int total_swd_clk
 

Detailed Description

Definition at line 237 of file ch347.c.

Field Documentation

◆ ch347_cmd_buf

struct ch347_swd_io ch347_swd_context::ch347_cmd_buf[CH347_MAX_CMD_BUF]

Definition at line 246 of file ch347.c.

Referenced by ch347_swd_init().

◆ clk_divisor

unsigned int ch347_swd_context::clk_divisor

Definition at line 245 of file ch347.c.

Referenced by ch347_swd_init_cmd(), ch347_swd_queue_cmd(), and ch347_swd_send_idle().

◆ free_cmd_head

struct list_head ch347_swd_context::free_cmd_head

Definition at line 246 of file ch347.c.

Referenced by ch347_get_one_swd_io(), ch347_swd_init(), and ch347_swd_run_queue_inner().

◆ need_recv_len

◆ queued_retval

int ch347_swd_context::queued_retval

◆ recv_buf

uint8_t ch347_swd_context::recv_buf[CH347_MAX_RECV_BUF]

Definition at line 239 of file ch347.c.

Referenced by ch347_swd_queue_flush(), and ch347_swd_run_queue_inner().

◆ recv_len

int ch347_swd_context::recv_len

Definition at line 241 of file ch347.c.

Referenced by ch347_swd_queue_flush(), and ch347_swd_run_queue_inner().

◆ send_buf

uint8_t ch347_swd_context::send_buf[CH347_MAX_SEND_BUF]

◆ send_cmd_head

struct list_head ch347_swd_context::send_cmd_head

◆ send_len

◆ sent_cmd_count

int ch347_swd_context::sent_cmd_count

Definition at line 244 of file ch347.c.

Referenced by ch347_swd_queue_cmd(), ch347_swd_run_queue_inner(), and ch347_swd_send_idle().

◆ total_swd_clk

unsigned int ch347_swd_context::total_swd_clk

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