#[repr(C)]pub struct nrf_modem_dect_phy_pdc_event {
pub handle: u32,
pub rssi_2: i16,
pub snr: i16,
pub transaction_id: u16,
pub data: *mut c_void,
pub len: usize,
}Expand description
PDC reception event.
Fields§
§handle: u32Handle for the operation.
rssi_2: i16Received signal strength indicator (RSSI-2).
Values are in dBm with 0.5 dBm resolution (Q14.1).
See 8.3 in @ref DECT-SPEC “DECT-2020 NR Part 2”.
snr: i16Received signal to noise indicator (SNR).
Values are dB values with 0.25 dB resolution (Q13.2).
See 8.4 in @ref DECT-SPEC “DECT-2020 NR Part 2”.
transaction_id: u16Transaction ID.
Used to map PCC data with corresponding PDC data.
data: *mut c_voidReceived data payload.
len: usizeData payload length, in bytes.
Trait Implementations§
Source§impl Clone for nrf_modem_dect_phy_pdc_event
impl Clone for nrf_modem_dect_phy_pdc_event
Source§fn clone(&self) -> nrf_modem_dect_phy_pdc_event
fn clone(&self) -> nrf_modem_dect_phy_pdc_event
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for nrf_modem_dect_phy_pdc_event
impl Debug for nrf_modem_dect_phy_pdc_event
impl Copy for nrf_modem_dect_phy_pdc_event
Auto Trait Implementations§
impl Freeze for nrf_modem_dect_phy_pdc_event
impl RefUnwindSafe for nrf_modem_dect_phy_pdc_event
impl !Send for nrf_modem_dect_phy_pdc_event
impl !Sync for nrf_modem_dect_phy_pdc_event
impl Unpin for nrf_modem_dect_phy_pdc_event
impl UnsafeUnpin for nrf_modem_dect_phy_pdc_event
impl UnwindSafe for nrf_modem_dect_phy_pdc_event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more