OpenOCD
esp_xtensa_apptrace.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Xtensa application tracing module for OpenOCD *
5  * Copyright (C) 2017 Espressif Systems Ltd. *
6  ***************************************************************************/
7 
8 #ifndef OPENOCD_TARGET_ESP_XTENSA_APPTRACE_H
9 #define OPENOCD_TARGET_ESP_XTENSA_APPTRACE_H
10 
11 #include "esp32_apptrace.h"
12 
14  const struct esp32_apptrace_hw *hw;
15 };
16 
18 
19 int esp_xtensa_apptrace_data_len_read(struct target *target, uint32_t *block_id, uint32_t *len);
21  uint32_t size,
22  uint8_t *buffer,
23  uint32_t block_id,
24  bool ack);
25 int esp_xtensa_apptrace_ctrl_reg_read(struct target *target, uint32_t *block_id, uint32_t *len, bool *conn);
27  uint32_t block_id,
28  uint32_t len,
29  bool conn,
30  bool data);
31 int esp_xtensa_apptrace_status_reg_write(struct target *target, uint32_t stat);
32 int esp_xtensa_apptrace_status_reg_read(struct target *target, uint32_t *stat);
35 int esp_xtensa_apptrace_usr_block_write(struct target *target, uint32_t block_id, const uint8_t *data, uint32_t size);
36 
37 #endif /* OPENOCD_TARGET_ESP_XTENSA_APPTRACE_H */
int esp_xtensa_apptrace_data_read(struct target *target, uint32_t size, uint8_t *buffer, uint32_t block_id, bool ack)
int esp_xtensa_apptrace_status_reg_write(struct target *target, uint32_t stat)
int esp_xtensa_apptrace_data_len_read(struct target *target, uint32_t *block_id, uint32_t *len)
int esp_xtensa_apptrace_status_reg_read(struct target *target, uint32_t *stat)
uint32_t esp_xtensa_apptrace_usr_block_max_size_get(struct target *target)
struct esp32_apptrace_hw esp_xtensa_apptrace_hw
int esp_xtensa_apptrace_ctrl_reg_read(struct target *target, uint32_t *block_id, uint32_t *len, bool *conn)
int esp_xtensa_apptrace_ctrl_reg_write(struct target *target, uint32_t block_id, uint32_t len, bool conn, bool data)
uint32_t esp_xtensa_apptrace_block_max_size_get(struct target *target)
int esp_xtensa_apptrace_usr_block_write(struct target *target, uint32_t block_id, const uint8_t *data, uint32_t size)
size_t size
Size of the control block search area.
Definition: rtt/rtt.c:30
const struct esp32_apptrace_hw * hw
Definition: target.h:116