Skip to main content

nrf_modem_dect_phy_rx_params

Struct nrf_modem_dect_phy_rx_params 

Source
#[repr(C)]
pub struct nrf_modem_dect_phy_rx_params { pub start_time: u64, pub handle: u32, pub network_id: u32, pub mode: nrf_modem_dect_phy_rx_mode, pub rssi_interval: nrf_modem_dect_phy_rssi_interval, pub link_id: nrf_modem_dect_phy_link_id, pub rssi_level: i8, pub carrier: u16, pub duration: u32, pub filter: nrf_modem_dect_phy_rx_filter, }
Expand description

RX operation.

Fields§

§start_time: u64

Operation start time as modem time.

If zero, the operation will be executed immediately.

This kind of scheduling can only be done when the modem is idle.

§handle: u32

Handle for the operation.

An application-defined handle for the operation.

§network_id: u32

Network ID for scrambling.

Can be zero if receiving only beacons.

§mode: nrf_modem_dect_phy_rx_mode

Reception mode.

§rssi_interval: nrf_modem_dect_phy_rssi_interval

RSSI measurement reporting interval, in slots.

§link_id: nrf_modem_dect_phy_link_id

Radio link identifier.

Set to @ref NRF_MODEM_DECT_PHY_LINK_UNSPECIFIED if expecting to receive from any Radio Device within the primary network (either the primary link or any downlink device).

Set to the link id of a secondary link if expecting to receive over that link.

§rssi_level: i8

Expected antenna signal level of the reception.

Values in range [-128, -1] are dBm values for the expected reception level.

Value 0 is interpreted as MAC having no knowledge of the expected level. This initiates a fast AGC algorithm that tries to adjust the reception gain level based on the received signal level.

If the duration of the RX operation is long enough to receive multiple slots, this value will only be used for the first successful reception. Subsequent receptions during the same RX operation are initiated using a level that has been adjusted based on the previous successful reception (slow AGC).

§carrier: u16

The absolute channel frequency number for the reception.

See 5.4.2 of @ref DECT-SPEC “DECT-2020 NR Part 2”.

§duration: u32

Duration of reception in modem time units.

§filter: nrf_modem_dect_phy_rx_filter

Reception filter for this operation.

Trait Implementations§

Source§

impl Clone for nrf_modem_dect_phy_rx_params

Source§

fn clone(&self) -> nrf_modem_dect_phy_rx_params

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for nrf_modem_dect_phy_rx_params

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for nrf_modem_dect_phy_rx_params

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.