nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_modem_dect_clock_sync.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
15#ifndef NRF_MODEM_DECT_CLOCK_SYNC_H__
16#define NRF_MODEM_DECT_CLOCK_SYNC_H__
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
40
55
80
95
136
151
166
167
198
221
226 const struct nrf_modem_dect_clock_sync_event *event);
227
240
254
277
293
312
326
344
361
362#ifdef __cplusplus
363}
364#endif
365
366#endif /* NRF_MODEM_DECT_CLOCK_SYNC_H__ */
int nrf_modem_dect_clock_sync_disable(void)
Disable external clock synchronization.
nrf_modem_dect_clock_sync_pulse_direction
Clock synchronization pulse direction.
Definition nrf_modem_dect_clock_sync.h:244
@ NRF_MODEM_DECT_CLOCK_SYNC_PULSE_INCOMING
Received/incoming sync pulse time.
Definition nrf_modem_dect_clock_sync.h:248
@ NRF_MODEM_DECT_CLOCK_SYNC_PULSE_OUTGOING
Transmitted/outgoing sync pulse time.
Definition nrf_modem_dect_clock_sync.h:252
int nrf_modem_dect_clock_sync_get_pulse_info(enum nrf_modem_dect_clock_sync_pulse_direction direction)
Query the modem for the next synchronization signal.
int nrf_modem_dect_clock_sync_disable_ref_output(void)
Disable external clock synchronization reference output.
int nrf_modem_dect_clock_sync_event_handler_set(nrf_modem_dect_clock_sync_event_handler_t handler)
Set the application event handler for clock sync events.
int nrf_modem_dect_clock_sync_get_state(void)
Query the modem for the synchronization state.
void(* nrf_modem_dect_clock_sync_event_handler_t)(const struct nrf_modem_dect_clock_sync_event *event)
Application handler prototype for clock sync events.
Definition nrf_modem_dect_clock_sync.h:225
int nrf_modem_dect_clock_sync_enable(void)
Enable external clock synchronization.
nrf_modem_dect_clock_sync_event_id
Definition nrf_modem_dect_clock_sync.h:168
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_ENABLE_REF_OUTPUT
Event to indicate the completion of clock synchronization ref output enable operation.
Definition nrf_modem_dect_clock_sync.h:191
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_ENABLE
Event to indicate the completion of clock synchronization enable operation.
Definition nrf_modem_dect_clock_sync.h:173
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_DISABLE
Event to indicate the completion of clock synchronization disable operation.
Definition nrf_modem_dect_clock_sync.h:178
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_STATE
Event carrying clock synchronization state information.
Definition nrf_modem_dect_clock_sync.h:186
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_DISABLE_REF_OUTPUT
Event to indicate the completion of clock synchronization ref output disable operation.
Definition nrf_modem_dect_clock_sync.h:196
@ NRF_MODEM_DECT_CLOCK_SYNC_EVT_PULSE_INFO
Event carrying synchronization signal information.
Definition nrf_modem_dect_clock_sync.h:182
int nrf_modem_dect_clock_sync_enable_ref_output(void)
Enable external clock synchronization reference output.
nrf_modem_dect_clock_sync_err
DECT CS errors.
Definition nrf_modem_dect_clock_sync.h:26
@ NRF_MODEM_DECT_CLOCK_SYNC_ERROR
Error.
Definition nrf_modem_dect_clock_sync.h:38
@ NRF_MODEM_DECT_CLOCK_SYNC_NO_ERROR
Success.
Definition nrf_modem_dect_clock_sync.h:30
@ NRF_MODEM_DECT_CLOCK_SYNC_NOT_ACTIVE
Clock synchronization not active.
Definition nrf_modem_dect_clock_sync.h:34
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:93
Clock synchronization disable event.
Definition nrf_modem_dect_clock_sync.h:84
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:164
Clock synchronization ref output disable event.
Definition nrf_modem_dect_clock_sync.h:155
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:53
Clock synchronization enable event.
Definition nrf_modem_dect_clock_sync.h:44
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:149
Clock synchronization ref output enable event.
Definition nrf_modem_dect_clock_sync.h:140
struct nrf_modem_dect_clock_sync_disable_event clock_sync_disable
Definition nrf_modem_dect_clock_sync.h:212
struct nrf_modem_dect_clock_sync_pulse_info_event clock_sync_pulse_info
Definition nrf_modem_dect_clock_sync.h:213
struct nrf_modem_dect_clock_sync_disable_ref_output_event clock_sync_disable_ref_output
Definition nrf_modem_dect_clock_sync.h:217
struct nrf_modem_dect_clock_sync_state_event clock_sync_state
Definition nrf_modem_dect_clock_sync.h:214
struct nrf_modem_dect_clock_sync_enable_event clock_sync_enable
Definition nrf_modem_dect_clock_sync.h:211
struct nrf_modem_dect_clock_sync_enable_ref_output_event clock_sync_enable_ref_output
Definition nrf_modem_dect_clock_sync.h:215
enum nrf_modem_dect_clock_sync_event_id id
Event ID.
Definition nrf_modem_dect_clock_sync.h:206
Clock synchronization event.
Definition nrf_modem_dect_clock_sync.h:202
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:69
uint64_t pulse_time
Pulse occurrence time in modem time units.
Definition nrf_modem_dect_clock_sync.h:78
uint16_t pulse_direction
Queried pulse direction (copied from request)
Definition nrf_modem_dect_clock_sync.h:72
uint8_t pad[2]
Definition nrf_modem_dect_clock_sync.h:75
Clock synchronization pulse info event.
Definition nrf_modem_dect_clock_sync.h:59
int16_t clock_std_ppm
Clock synchronization error standard deviation.
Definition nrf_modem_dect_clock_sync.h:134
enum nrf_modem_dect_clock_sync_err err
Operation result.
Definition nrf_modem_dect_clock_sync.h:108
Clock synchronization state event.
Definition nrf_modem_dect_clock_sync.h:99