STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
rtt_log.h
Go to the documentation of this file.
1#ifndef STAR_RTT_LOG_H
2#define STAR_RTT_LOG_H
3
4/* Text to the Mac over the ST-Link (RTT), shown by scripts/serial.sh. */
5
6#include <stdint.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12void rtt_log_init(void);
13/* Returns the bytes taken; the rest is dropped when the buffer is full. */
14uint32_t rtt_log_write(const char* s, uint32_t n);
15
16#ifdef __cplusplus
17}
18#endif
19#endif
*brief user defined string literal for JSON values *sa std::size_t n
Definition json.hpp:24474
void rtt_log_init(void)
uint32_t rtt_log_write(const char *s, uint32_t n)