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

Go to the source code of this file.

Data Structures

struct  debug_msg_receiver
 

Typedefs

typedef enum target_req_cmd target_req_cmd_t
 

Enumerations

enum  target_req_cmd { TARGET_REQ_TRACEMSG , TARGET_REQ_DEBUGMSG , TARGET_REQ_DEBUGCHAR }
 

Functions

int delete_debug_msg_receiver (struct command_context *cmd_ctx, struct target *target)
 
bool target_got_message (void)
 Read and clear the flag as to whether we got a message. More...
 
int target_request (struct target *target, uint32_t request)
 
int target_request_register_commands (struct command_context *cmd_ctx)
 

Typedef Documentation

◆ target_req_cmd_t

Enumeration Type Documentation

◆ target_req_cmd

Enumerator
TARGET_REQ_TRACEMSG 
TARGET_REQ_DEBUGMSG 
TARGET_REQ_DEBUGCHAR 

Definition at line 20 of file target_request.h.

Function Documentation

◆ delete_debug_msg_receiver()

int delete_debug_msg_receiver ( struct command_context cmd_ctx,
struct target target 
)

◆ target_got_message()

bool target_got_message ( void  )

Read and clear the flag as to whether we got a message.

This is used to implement the back-off algorithm on sleeping in idle mode.

Definition at line 28 of file target_request.c.

References got_message.

Referenced by server_loop().

◆ target_request()

◆ target_request_register_commands()

int target_request_register_commands ( struct command_context cmd_ctx)

Definition at line 301 of file target_request.c.

References NULL, register_commands(), and target_req_command_handlers.

Referenced by target_register_user_commands().