Struct p25::trunking::fields::ChannelParams [] [src]

pub struct ChannelParams {
    pub bandwidth: u32,
    // some fields omitted
}

Computes TX/RX frequencies and bandwidth for channel numbers within a site.

Fields

Channel bandwidth in Hz.

Methods

impl ChannelParams
[src]

[src]

Create a new ChannelParams from the given base frequency (5Hz steps), bandwidth (125Hz steps), TX offset (250kHz steps), and inter-channel spacing (125Hz steps.)

[src]

Receive frequency for the given channel number in Hz.

[src]

Transmit frequency for the given channel number in Hz.

Trait Implementations

impl Copy for ChannelParams
[src]

impl Clone for ChannelParams
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ChannelParams
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ChannelParams
[src]

impl PartialEq for ChannelParams
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.