USRP Hardware Driver and Device Manual Version: 4.11.0.0-0-unknown
UHD and USRP Manual
Loading...
Searching...
No Matches
stream_cmd.hpp
Go to the documentation of this file.
1/*
2 * Copyright 2010-2012,2015 Ettus Research LLC
3 * Copyright 2018 Ettus Research, a National Instruments Company
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#pragma once
9
10#include <uhd/config.hpp>
12#include <cstdint>
13
14namespace uhd {
15
42{
49 uint64_t num_samps;
50
58
65 enum class trigger_t {
67 TIMED,
69 TX_RUNNING,
70 } trigger;
71
73};
74
75} /* namespace uhd */
Definition time_spec.hpp:31
#define UHD_API
Definition config.h:87
Definition build_info.hpp:12
bool stream_now
When true, the device will begin streaming ASAP.
Definition stream_cmd.hpp:55
trigger_t
Trigger source to be used when stream_now is false.
Definition stream_cmd.hpp:65
stream_mode_t
Definition stream_cmd.hpp:43
@ STREAM_MODE_NUM_SAMPS_AND_DONE
Definition stream_cmd.hpp:46
@ STREAM_MODE_NUM_SAMPS_AND_MORE
Definition stream_cmd.hpp:47
@ STREAM_MODE_STOP_CONTINUOUS
Definition stream_cmd.hpp:45
@ STREAM_MODE_START_CONTINUOUS
Definition stream_cmd.hpp:44
uint64_t num_samps
Definition stream_cmd.hpp:49
time_spec_t time_spec
The time spec to use when stream_now is false and trigger is TIMED.
Definition stream_cmd.hpp:57
enum uhd::stream_cmd_t::stream_mode_t stream_mode
stream_cmd_t(const stream_mode_t &stream_mode)