Select one of the symbols to view example projects that use it.
 
Outline
#define OPENOCD_TARGET_RTT_H
#include <stdint.h>
#include <stdbool.h>
#include <target/target.h>
#include <rtt/rtt.h>
target_rtt_start(struct target *, const struct rtt_control *, void *);
target_rtt_stop(struct target *, void *);
target_rtt_find_control_block(struct target *, target_addr_t *, size_t, const char *, bool *, void *);
target_rtt_read_control_block(struct target *, target_addr_t, struct rtt_control *, void *);
target_rtt_write_callback(struct target *, struct rtt_control *, unsigned int, const uint8_t *, size_t *, void *);
target_rtt_read_callback(struct target *, const struct rtt_control *, struct rtt_sink_list **, size_t, void *);
target_rtt_read_channel_info(struct target *, const struct rtt_control *, unsigned int, enum rtt_channel_type, struct rtt_channel_info *, void *);
Files
loading...
SourceVuDevelopment ToolsOpenOCDsrc/target/rtt.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2016-2020 by Marc Schink <dev@zapb.de> *//* ... */ #ifndef OPENOCD_TARGET_RTT_H #define OPENOCD_TARGET_RTT_H #include <stdint.h> #include <stdbool.h> #include <target/target.h> #include <rtt/rtt.h> int target_rtt_start(struct target *target, const struct rtt_control *ctrl, void *user_data); int target_rtt_stop(struct target *target, void *user_data); int target_rtt_find_control_block(struct target *target, target_addr_t *address, size_t size, const char *id, bool *found, void *user_data); int target_rtt_read_control_block(struct target *target, target_addr_t address, struct rtt_control *ctrl, void *user_data); int target_rtt_write_callback(struct target *target, struct rtt_control *ctrl, unsigned int channel_index, const uint8_t *buffer, size_t *length, void *user_data); int target_rtt_read_callback(struct target *target, const struct rtt_control *ctrl, struct rtt_sink_list **sinks, size_t length, void *user_data); int target_rtt_read_channel_info(struct target *target, const struct rtt_control *ctrl, unsigned int channel_index, enum rtt_channel_type type, struct rtt_channel_info *info, void *user_data); /* ... */ #endif /* OPENOCD_TARGET_RTT_H */
Details
Show:
from
Types: Columns:
Click anywhere in the source to view detailed information here...