Loading...
Searching...
No Matches
nrf24l01p_ng_constants.h File Reference

Constants from the datasheet of the NRF24L01+ (NG) transceiver. More...

Detailed Description

Constants from the datasheet of the NRF24L01+ (NG) transceiver.

Author
Fabian Hüßler fabia.nosp@m.n.hu.nosp@m.essle.nosp@m.r@ov.nosp@m.gu.de

Definition in file nrf24l01p_ng_constants.h.

#include "nrf24l01p_ng.h"
+ Include dependency graph for nrf24l01p_ng_constants.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define NRF24L01P_NG_MAX_PAYLOAD_WIDTH   (32)
 Maximum width of a payload, restricted by a FIFO size of 32 bytes.
 
#define NRF24L01P_NG_MAX_RETRANSMISSIONS   (15)
 Maximum number of retransmissions, if ESB is used as protocol.
 
#define NRF24L01P_NG_BASE_FRQ_MHZ   (2400)
 Base frequency.
 
#define NRF24L01P_NG_MAX_FRQ_MHZ   (2525)
 Maximum supported frequency.
 
#define NRF24L01P_NG_NUM_CHANNELS
 Number of supported channels.
 
#define NRF24L01P_NG_DEFAULT_TX_ADDR   { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
 Reset value of TX_ADDR register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P0   { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }
 Reset value of RX_ADDR_P0 register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P1   { 0xC2, 0xC2, 0xC2, 0xC2, 0xC2 }
 Reset value of RX_ADDR_P1 register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P2   (0xC3)
 Reset value of RX_ADDR_P2 register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P3   (0xC4)
 Reset value of RX_ADDR_P3 register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P4   (0xC5)
 Reset value of RX_ADDR_P4 register.
 
#define NRF24L01P_NG_DEFAULT_ADDR_P5   (0xC6)
 Reset value of RX_ADDR_P5 register.
 

Macro Definition Documentation

◆ NRF24L01P_NG_BASE_FRQ_MHZ

#define NRF24L01P_NG_BASE_FRQ_MHZ   (2400)

Base frequency.

Definition at line 41 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P0

#define NRF24L01P_NG_DEFAULT_ADDR_P0   { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }

Reset value of RX_ADDR_P0 register.

Definition at line 73 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P1

#define NRF24L01P_NG_DEFAULT_ADDR_P1   { 0xC2, 0xC2, 0xC2, 0xC2, 0xC2 }

Reset value of RX_ADDR_P1 register.

Definition at line 78 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P2

#define NRF24L01P_NG_DEFAULT_ADDR_P2   (0xC3)

Reset value of RX_ADDR_P2 register.

Definition at line 83 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P3

#define NRF24L01P_NG_DEFAULT_ADDR_P3   (0xC4)

Reset value of RX_ADDR_P3 register.

Definition at line 88 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P4

#define NRF24L01P_NG_DEFAULT_ADDR_P4   (0xC5)

Reset value of RX_ADDR_P4 register.

Definition at line 93 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_ADDR_P5

#define NRF24L01P_NG_DEFAULT_ADDR_P5   (0xC6)

Reset value of RX_ADDR_P5 register.

Definition at line 98 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_DEFAULT_TX_ADDR

#define NRF24L01P_NG_DEFAULT_TX_ADDR   { 0xE7, 0xE7, 0xE7, 0xE7, 0xE7 }

Reset value of TX_ADDR register.

Definition at line 68 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_MAX_FRQ_MHZ

#define NRF24L01P_NG_MAX_FRQ_MHZ   (2525)

Maximum supported frequency.

Definition at line 46 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_MAX_PAYLOAD_WIDTH

#define NRF24L01P_NG_MAX_PAYLOAD_WIDTH   (32)

Maximum width of a payload, restricted by a FIFO size of 32 bytes.

Definition at line 30 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_MAX_RETRANSMISSIONS

#define NRF24L01P_NG_MAX_RETRANSMISSIONS   (15)

Maximum number of retransmissions, if ESB is used as protocol.

Definition at line 36 of file nrf24l01p_ng_constants.h.

◆ NRF24L01P_NG_NUM_CHANNELS

#define NRF24L01P_NG_NUM_CHANNELS
Value:
#define NRF24L01P_NG_MAX_FRQ_MHZ
Maximum supported frequency.
#define NRF24L01P_NG_BASE_FRQ_MHZ
Base frequency.

Number of supported channels.

frequency range: 2400 - 2525 Mhz occupied bandwidth for each channel: 250 kbps: < 1Mhz 1000 kbps: < 1Mhz 2000 kbps: < 2Mhz

-> spaces between each channel´s base frequency must be at least 2 Mhz, to be sufficient for all data rates.

Definition at line 62 of file nrf24l01p_ng_constants.h.