Struct p25::baseband::sync::SyncDetector [] [src]

pub struct SyncDetector { /* fields omitted */ }

State machine that detects a peak power above an instantaneous threshold. Once the power goes above the threshold, further thresholds are ignored and power is tracked until it peaks.

Methods

impl SyncDetector
[src]

[src]

Create a new SyncDetector in the default state.

[src]

Consider the given power related to the given instantaneous power threshold. Return true if the power peaked above threshold in the previous sample and false otherwise.

Trait Implementations

impl Copy for SyncDetector
[src]

impl Clone for SyncDetector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SyncDetector
[src]

[src]

Formats the value using the given formatter. Read more