Loading...
Searching...
No Matches
Go to the documentation of this file.
14#ifndef NRF_GZLL_CONSTANTS_H__
15#define NRF_GZLL_CONSTANTS_H__
34#define NRF_GZLL_SWI_IRQn nrf_gzll_swi_irqn
35#define NRF_GZLL_SWI_IRQ_HANDLER nrf_gzll_swi_irq_handler
36#define NRF_GZLL_TIMER nrf_gzll_timer
37#define NRF_GZLL_TIMER_IRQn nrf_gzll_timer_irqn
38#define NRF_GZLL_TIMER_IRQ_HANDLER nrf_gzll_timer_irq_handler
45#if defined(PPI_PRESENT) || defined(DOXYGEN)
46#define NRF_GZLL_PPI_EEP0 (*nrf_gzll_ppi_eep0)
47#define NRF_GZLL_PPI_TEP0 (*nrf_gzll_ppi_tep0)
48#define NRF_GZLL_PPI_EEP1 (*nrf_gzll_ppi_eep1)
49#define NRF_GZLL_PPI_TEP1 (*nrf_gzll_ppi_tep1)
50#define NRF_GZLL_PPI_EEP2 (*nrf_gzll_ppi_eep2)
51#define NRF_GZLL_PPI_TEP2 (*nrf_gzll_ppi_tep2)
53#define NRF_GZLL_PPI_CHEN_MSK_0_AND_1 (nrf_gzll_ppi_chen_msk_0_and_1)
54#define NRF_GZLL_PPI_CHEN_MSK_2 (nrf_gzll_ppi_chen_msk_2)
57#if defined(DPPI_PRESENT) || defined(DOXYGEN)
58#define NRF_GZLL_DPPI_CH0 (nrf_gzll_dppi_ch0)
59#define NRF_GZLL_DPPI_CH1 (nrf_gzll_dppi_ch1)
60#define NRF_GZLL_DPPI_CH2 (nrf_gzll_dppi_ch2)
62#define NRF_GZLL_DPPI_CHEN_MSK_0_AND_1 (nrf_gzll_dppi_chen_msk_0_and_1)
63#define NRF_GZLL_DPPI_CHEN_MSK_2 (nrf_gzll_dppi_chen_msk_2)
71#define NRF_GZLL_CONST_PIPE_COUNT 8
72#define NRF_GZLL_CONST_FIFO_LENGTH 3
73#define NRF_GZLL_CONST_MAX_TOTAL_PACKETS 6
74#define NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH 32
75#define NRF_GZLL_CONST_CALLBACK_QUEUE_LENGTH 10
82#define NRF_GZLL_DEFAULT_TX_POWER NRF_GZLL_TX_POWER_0_DBM
83#define NRF_GZLL_DEFAULT_DATARATE NRF_GZLL_DATARATE_2MBIT
85#define NRF_GZLL_DEFAULT_CHANNEL_TABLE {4, 25, 42, 63, 77}
86#define NRF_GZLL_DEFAULT_CHANNEL_TABLE_SIZE 5
87#define NRF_GZLL_CONST_MAX_CHANNEL_TABLE_SIZE 16
105#define NRF_GZLL_DEFAULT_FULL_ADDRESS_PIPE0 {0x01, 0x04, 0x07, 0x0A, 0x0D}
106#define NRF_GZLL_DEFAULT_BASE_ADDRESS_0 0x0D0A0704
107#define NRF_GZLL_DEFAULT_BASE_ADDRESS_1 0x0E0B0805
108#define NRF_GZLL_DEFAULT_PREFIX_BYTE_0 1
109#define NRF_GZLL_DEFAULT_PREFIX_BYTE_1 2
110#define NRF_GZLL_DEFAULT_PREFIX_BYTE_2 3
111#define NRF_GZLL_DEFAULT_PREFIX_BYTE_3 4
112#define NRF_GZLL_DEFAULT_PREFIX_BYTE_4 5
113#define NRF_GZLL_DEFAULT_PREFIX_BYTE_5 6
114#define NRF_GZLL_DEFAULT_PREFIX_BYTE_6 7
115#define NRF_GZLL_DEFAULT_PREFIX_BYTE_7 8
116#define NRF_GZLL_DEFAULT_BASE_ADDRESS_LENGTH NRF_GZLL_BASE_ADDRESS_LENGTH_4B
117#define NRF_GZLL_DEFAULT_RX_PIPES_ENABLED 0x000000FF
124#define NRF_GZLL_DEFAULT_TIMESLOT_PERIOD 600
125#define NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL 2
126#define NRF_GZLL_DEFAULT_DEVICE_CHANNEL_SELECTION_POLICY NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL
127#define NRF_GZLL_DEFAULT_MAX_TX_ATTEMPTS 0
128#define NRF_GZLL_DEFAULT_XOSC_CTL NRF_GZLL_XOSC_CTL_AUTO
129#define NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL_WHEN_DEVICE_OUT_OF_SYNC 15
130#define NRF_GZLL_DEFAULT_SYNC_LIFETIME (3 * NRF_GZLL_DEFAULT_CHANNEL_TABLE_SIZE * NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL)
133#define NRF_GZLL_PA_LNA_MAX_RAMP_UP_TIME 129
134#define NRF_GZLL_PA_LNA_PPI_CHANNELS_NUM 4