Struct redpitaya_scpi::burst::Burst
[−]
[src]
pub struct Burst { /* fields omitted */ }
Methods
impl Burst
[src]
fn new(socket: Socket) -> Self
fn enable(&self, source: Source)
Enable burst (pulse) mode.
Red Pitaya will generate R number of N periods of signal and then stop. Time between bursts is P.
fn disable(&self, source: Source)
Disable burst mode.
fn set_count(&self, source: Source, count: u32)
Set N number of periods in one burst.
fn set_repetitions(&self, source: Source, repetitions: u32)
Set R number of repeated bursts.
fn set_period(&self, source: Source, period: u32)
Set P total time of one burst in in micro seconds. This includes the signal and delay.
Trait Implementations
impl Clone for Burst
[src]
fn clone(&self) -> Burst
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more