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

Register map of NRF24L01+ (NG) devices. More...

Detailed Description

Register map of NRF24L01+ (NG) devices.

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_registers.h.

#include <stdint.h>
#include "nrf24l01p_ng.h"
#include "nrf24l01p_ng_communication.h"
+ Include dependency graph for nrf24l01p_ng_registers.h:

Go to the source code of this file.

Functions

static uint8_t nrf24l01p_ng_reg8_read (const nrf24l01p_ng_t *dev, uint8_t reg_addr)
 Read the contents of an 8 bit register.
 
static uint8_t nrf24l01p_ng_reg8_write (const nrf24l01p_ng_t *dev, uint8_t reg_addr, uint8_t reg_val)
 Write the contents of an 8 bit register.
 
static uint8_t nrf24l01p_ng_reg8_set (const nrf24l01p_ng_t *dev, uint8_t reg_addr, uint8_t *reg_val)
 Set bits in a certain 8-bit register.
 
static uint8_t nrf24l01p_ng_reg8_clear (const nrf24l01p_ng_t *dev, uint8_t reg_addr, uint8_t *reg_val)
 Clear bits in a certain 8-bit register.
 
static uint8_t nrf24l01p_ng_reg8_mod (const nrf24l01p_ng_t *dev, uint8_t reg_addr, uint8_t mask, uint8_t *reg_val)
 Modify bits in a certain 8-bit register.
 

NRF24L01+ CONFIG register

Address and layout of NRF24L01+ configuration register

#define NRF24L01P_NG_REG_CONFIG   (0x00)
 CONFIG register address.
 
#define NRF24L01P_NG_FLG_MASK_RX_DR   (0x40)
 Flag: MASK_RX_DR.
 
#define NRF24L01P_NG_VAL_MASK_RX_DR(reg)
 Value of: MASK_RX_DR.
 
#define NRF24L01P_NG_FLG_MASK_TX_DS   (0x20)
 Flag: MASK_TX_DS.
 
#define NRF24L01P_NG_VAL_MASK_TX_DS(reg)
 Value of: MASK_TX_DS.
 
#define NRF24L01P_NG_FLG_MASK_MAX_RT   (0x10)
 Flag: MASK_MAX_RT.
 
#define NRF24L01P_NG_VAL_MASK_MAX_RT
 Value of: MASK_MAX_RT.
 
#define NRF24L01P_NG_FLG_EN_CRC   (0x08)
 Flag: EN_CRC.
 
#define NRF24L01P_NG_VAL_EN_CRC(reg)
 Value of: EN_CRC.
 
#define NRF24L01P_NG_FLG_CRCO_1_BYTE   (0x00)
 Flag: CRCO - 1 byte.
 
#define NRF24L01P_NG_FLG_CRCO_2_BYTE   (0x04)
 Flag: CRCO - 2 byte.
 
#define NRF24L01P_NG_MSK_CRC   (0x0c)
 Mask to configure CRC.
 
#define NRF24L01P_NG_FLG_CRCO(val)
 Flag: CRCO.
 
#define NRF24L01P_NG_VAL_CRCO(reg)
 Value of: CRCO.
 
#define NRF24L01P_NG_FLG_PWR_UP   (0x02)
 Flag: PWR_UP.
 
#define NRF24L01P_NG_VAL_PWR_UP(reg)
 Value of: PWR_UP.
 
#define NRF24L01P_NG_FLG_PRIM_RX   (0x01)
 Flag: PRIM_RX.
 
#define NRF24L01P_NG_VAL_PRIM_RX(reg)
 Value of: PRIM_RX.
 

NRF24L01+ EN_AA register

Address and layout of NRF24L01+ EN_AA register

#define NRF24L01P_NG_REG_EN_AA   (0x01)
 EN_AA register address.
 
#define NRF24L01P_NG_FLG_ENAA_P5   (0x20)
 Flag: ENAA_P5.
 
#define NRF24L01P_NG_VAL_ENAA_P5(reg)
 Value of: ENAA_P5.
 
#define NRF24L01P_NG_FLG_ENAA_P4   (0x10)
 Flag: ENAA_P4.
 
#define NRF24L01P_NG_VAL_ENAA_P4(reg)
 Value of: ENAA_P4.
 
#define NRF24L01P_NG_FLG_ENAA_P3   (0x08)
 Flaga: ENAA_P3.
 
#define NRF24L01P_NG_VAL_ENAA_P3(reg)
 Value of: ENAA_P3.
 
#define NRF24L01P_NG_FLG_ENAA_P2   (0x04)
 Flag: ENAA_P2.
 
#define NRF24L01P_NG_VAL_ENAA_P2(reg)
 Value of: ENAA_P2.
 
#define NRF24L01P_NG_FLG_ENAA_P1   (0x02)
 Flag: ENAA_P1.
 
#define NRF24L01P_NG_VAL_ENAA_P1(reg)
 Value of: ENAA_P1.
 
#define NRF24L01P_NG_FLG_ENAA_P0   (0x01)
 Flag: ENAA_P0.
 
#define NRF24L01P_NG_VAL_ENAA_P0(reg)
 Value of: ENAA_P0.
 

NRF24L01+ EN_RXADDR register

Address and layout of NRF24L01+ EN_RXADDR register

#define NRF24L01P_NG_REG_EN_RXADDR   (0x02)
 EN_RXADDR register address.
 
#define NRF24L01P_NG_FLG_ERX_P5   (0x20)
 Flag: ERX_P5.
 
#define NRF24L01P_NG_VAL_ERX_P5(reg)
 Value of: ERX_P5.
 
#define NRF24L01P_NG_FLG_ERX_P4   (0x10)
 Flag: ERX_P4.
 
#define NRF24L01P_NG_VAL_ERX_P4(reg)
 Value of ERX_P4.
 
#define NRF24L01P_NG_FLG_ERX_P3   (0x08)
 Flag: ERX_P3.
 
#define NRF24L01P_NG_VAL_ERX_P3(reg)
 Value of: ERX_P3.
 
#define NRF24L01P_NG_FLG_ERX_P2   (0x04)
 Flag: ERX_P2.
 
#define NRF24L01P_NG_VAL_ERX_P2(reg)
 Value of: ERX_P2.
 
#define NRF24L01P_NG_FLG_ERX_P1   (0x02)
 Flag: ERX_P1.
 
#define NRF24L01P_NG_VAL_ERX_P1(reg)
 Value of: ERX_P1.
 
#define NRF24L01P_NG_FLG_ERX_P0   (0x01)
 Flag: ERX_P0.
 
#define NRF24L01P_NG_VAL_ERX_P0(reg)
 Value of: ERX_P0.
 

NRF24L01+ SETUP_AW register

Address and layout of NRF24L01+ SETUP_AW register

#define NRF24L01P_NG_REG_SETUP_AW   (0x03)
 SETUP_AW register address.
 
#define NRF24L01P_NG_FLG_AW_3   (0x01)
 Flag: AW - 3 bytes.
 
#define NRF24L01P_NG_FLG_AW_4   (0x02)
 Flag: AW - 4 bytes.
 
#define NRF24L01P_NG_FLG_AW_5   (0x03)
 Flag: AW - 5 bytes.
 
#define NRF24L01P_NG_MSK_AW   (0x03)
 Mask to configure AW.
 
#define NRF24L01P_NG_FLG_AW(val)
 Flag AW from value [1; 3].
 
#define NRF24L01P_NG_VAL_AW(reg)
 Value of: AW.
 

NRF24L01+ SETUP_RETR register

Address and layout of NRF24L01+ SETUP_AW register

#define NRF24L01P_NG_REG_SETUP_RETR   (0x04)
 SETUP_RETR register address.
 
#define NRF24L01P_NG_FLG_ARD_250_US   (0x00)
 Flag: ARD - 250 us.
 
#define NRF24L01P_NG_FLG_ARD_500_US   (0x10)
 Flag: ARD - 500 us.
 
#define NRF24L01P_NG_FLG_ARD_750_US   (0x20)
 Flag: ARD - 750 us.
 
#define NRF24L01P_NG_FLG_ARD_1000_US   (0x30)
 Flag: ARD - 1000 us.
 
#define NRF24L01P_NG_FLG_ARD_1250_US   (0x40)
 Flag: ARD - 1250 us.
 
#define NRF24L01P_NG_FLG_ARD_1500_US   (0x50)
 Flag: ARD - 1500 us.
 
#define NRF24L01P_NG_FLG_ARD_1750_US   (0x60)
 Flag: ARD - 1750 us.
 
#define NRF24L01P_NG_FLG_ARD_2000_US   (0x70)
 Flag: ARD - 2000 us.
 
#define NRF24L01P_NG_FLG_ARD_2250_US   (0x80)
 Flag: ARD - 2250 us.
 
#define NRF24L01P_NG_FLG_ARD_2500_US   (0x90)
 Flag: ARD - 2500 us.
 
#define NRF24L01P_NG_FLG_ARD_2750_US   (0xa0)
 Flag: ARD - 2750 us.
 
#define NRF24L01P_NG_FLG_ARD_3000_US   (0xb0)
 Flag: ARD - 3000 us.
 
#define NRF24L01P_NG_FLG_ARD_3250_US   (0xc0)
 Flag: ARD - 3250 us.
 
#define NRF24L01P_NG_FLG_ARD_3500_US   (0xd0)
 Flag: ARD - 3500 us.
 
#define NRF24L01P_NG_FLG_ARD_3750_US   (0xe0)
 Flag: ARD - 3750 us.
 
#define NRF24L01P_NG_FLG_ARD_4000_US   (0xf0)
 Flag: ARD - 4000 us.
 
#define NRF24L01P_NG_MSK_ARD   (0xf0)
 Mask to configure ARD.
 
#define NRF24L01P_NG_FLG_ARD(val)
 Flag ARD from value [0; 15].
 
#define NRF24L01P_NG_VAL_ARD(reg)
 Value of: ARD.
 
#define NRF24L01P_NG_MSK_ARC   (0x0f)
 Mask to configure ARC.
 
#define NRF24L01P_NG_FLG_ARC(val)
 Flag ARC from value [0; 15].
 
#define NRF24L01P_NG_VAL_ARC(reg)
 Value of: ARC.
 

NRF24L01+ RF_CH register

Address and layout of NRF24L01+ SETUP_AW register

#define NRF24L01P_NG_REG_RF_CH   (0x05)
 RF_CH register address.
 
#define NRF24L01P_NG_MSK_RF_CH   (0x7f)
 Mask to configure RF_CH.
 
#define NRF24L01P_NG_FLG_RF_CH(val)
 Flag RF_CH from value [0; 124].
 
#define NRF24L01P_NG_VAL_RF_CH(reg)
 Value of: RF_CH.
 

NRF24L01+ RF_SETUP register

Address and layout of NRF24L01+ RF_SETUP register

#define NRF24L01P_NG_REG_RF_SETUP   (0x06)
 RF_SETUP register address.
 
#define NRF24L01P_NG_FLG_CONT_WAVE   (0x80)
 Flag: CONT_WAVE.
 
#define NRF24L01P_NG_VAL_CONT_WAVE(reg)
 Value of: CONT_WAVE.
 
#define NRF24L01P_NG_FLG_RF_DR_LOW   (0x20)
 Flag: RF_DR_LOW.
 
#define NRF24L01P_NG_VAL_RF_DR_LOW(reg)
 Value of: RF_DR_LOW.
 
#define NRF24L01P_NG_FLG_PLL_LOCK   (0x10)
 Flag: PLL_LOCK.
 
#define NRF24L01P_NG_VAL_PLL_LOCK(reg)
 Value of: PLL_LOCK.
 
#define NRF24L01P_NG_FLG_RF_DR_HIGH   (0x08)
 Flag: RF_DR_HIGH.
 
#define NRF24L01P_NG_VAL_RF_DR_HIGH(reg)
 Value of: RF_DR_HIGH.
 
#define NRF24L01P_NG_FLG_RF_DR_250_KBPS   (0x08)
 Flag: RF_DR - 250 kbit/s.
 
#define NRF24L01P_NG_FLG_RF_DR_1_MBPS   (0x00)
 Flag: RF_DR - 1000 kbit/s.
 
#define NRF24L01P_NG_FLG_RF_DR_2_MBPS   (0x20)
 Flag: RF_DR - 2000 kbit/s.
 
#define NRF24L01P_NG_MSK_RF_DR   (0x28)
 Mask to configure RF_DR.
 
#define NRF24L01P_NG_FLG_RF_DR(val)
 FLG RF_DR.
 
#define NRF24L01P_NG_VAL_RF_DR(reg)
 Value of: RF_DR.
 
#define NRF24L01P_NG_FLG_RF_PWR_MINUS_18   (0x00)
 Flag: RF_PWR - -18 dbm.
 
#define NRF24L01P_NG_FLG_RF_PWR_MINUS_12   (0x02)
 Flag: RF_PWR - -12 dbm.
 
#define NRF24L01P_NG_FLG_RF_PWR_MINUS_6   (0x04)
 Flag: RF_PWR - -6 dbm.
 
#define NRF24L01P_NG_FLG_RF_PWR_0   (0x06)
 Flag: RF_PWR - 0 dbm.
 
#define NRF24L01P_NG_MSK_RF_PWR   (0x06)
 Mask to configure RF_PWR.
 
#define NRF24L01P_NG_FLG_RF_PWR(val)
 Flag RF_PWR from value [0; 3].
 
#define NRF24L01P_NG_VAL_RF_PWR(reg)
 Value of: RF_PWR.
 

NRF24L01+ STATUS register

Address and layout of NRF24L01+ STATUS register

#define NRF24L01P_NG_REG_STATUS   (0x07)
 STATUS register address.
 
#define NRF24L01P_NG_FLG_RX_DR   (0x40)
 Flag: RX_DR.
 
#define NRF24L01P_NG_VAL_RX_DR(reg)
 Value of: RX_DR.
 
#define NRF24L01P_NG_FLG_TX_DS   (0x20)
 Flag: TX_DS.
 
#define NRF24L01P_NG_VAL_TX_DS(reg)
 Value of: TX_DS.
 
#define NRF24L01P_NG_FLG_MAX_RT   (0x10)
 Flag: MAX_RT.
 
#define NRF24L01P_NG_VAL_MAX_RT(reg)
 Value of: MAX_RT.
 
#define NRF24L01P_NG_FLG_RX_P_NO_NONE   (0x0e)
 Flag: RX_P_NO - Rx FIFO empty.
 
#define NRF24L01P_NG_MSK_RX_P_NO   (0x0e)
 Mask to read RX_P_NO.
 
#define NRF24L01P_NG_FLG_RX_P_NO(val)
 Flag RX_P_NO from value [0; 7].
 
#define NRF24L01P_NG_VAL_RX_P_NO(reg)
 Value of: RX_P_NO.
 
#define NRF24L01P_NG_FLG_TX_FULL   (0x01)
 Flag: TX_FULL.
 
#define NRF24L01P_NG_VAL_TX_FULL(reg)
 Value of: TX_FULL.
 

NRF24L01+ OBSERVE_TX register

Address and layout of NRF24L01+ STATUS register

#define NRF24L01P_NG_REG_OBSERVE_TX   (0x08)
 OBSERVE_TX register address.
 
#define NRF24L01P_NG_MSK_PLOS_CNT   (0xf0)
 Mask to read PLOS_CNT.
 
#define NRF24L01P_NG_FLG_PLOS_CNT(val)
 Flag PLOS_CNT from value [0; 15].
 
#define NRF24L01P_NG_VAL_PLOS_CNT(reg)
 Value of: PLOS_CNT.
 
#define NRF24L01P_NG_MSK_ARC_CNT   (0x0f)
 Mask to read ARC_CNT.
 
#define NRF24L01P_NG_FLG_ARC_CNT(val)
 Flag ARC_CNT from value [0; 15].
 
#define NRF24L01P_NG_VAL_ARC_CNT(reg)
 Value of: ARC_CNT.
 

NRF24L01+ RPD register

Address and layout of NRF24L01+ RPD register

#define NRF24L01P_NG_REG_RPD   (0x09)
 RPD register address.
 
#define NRF24L01P_NG_FLG_RPD   (0x01)
 Flag: RPD.
 
#define NRF24L01P_NG_VAL_RPD(reg)
 Value of: RPD.
 

NRF24L01+ RX_ADDR_Px registers

Addresses of NRF24L01+ RX_ADDR_Px registers and TX_ADDR register

#define NRF24L01P_NG_REG_RX_ADDR_P0   (0x0A)
 RX_ADDR_P0 register address.
 
#define NRF24L01P_NG_REG_RX_ADDR_P1   (0x0B)
 RX_ADDR_P1 register address.
 
#define NRF24L01P_NG_REG_RX_ADDR_P2   (0x0C)
 RX_ADDR_P2 register address.
 
#define NRF24L01P_NG_REG_RX_ADDR_P3   (0x0D)
 RX_ADDR_P3 register address.
 
#define NRF24L01P_NG_REG_RX_ADDR_P4   (0x0E)
 RX_ADDR_P4 register address.
 
#define NRF24L01P_NG_REG_RX_ADDR_P5   (0x0F)
 RX_ADDR_P5 register address.
 
#define NRF24L01P_NG_REG_TX_ADDR   (0x10)
 TX_ADDR register address.
 

NRF24L01+ RX_PW_Px registers

Address and layout of NRF24L01+ RX_PW_Px registers

#define NRF24L01P_NG_REG_RX_PW_P0   (0x11)
 RX_PW_P0 register address.
 
#define NRF24L01P_NG_REG_RX_PW_P1   (0x12)
 RX_PW_P1 register address.
 
#define NRF24L01P_NG_REG_RX_PW_P2   (0x13)
 RX_PW_P2 register address.
 
#define NRF24L01P_NG_REG_RX_PW_P3   (0x14)
 RX_PW_P3 register address.
 
#define NRF24L01P_NG_REG_RX_PW_P4   (0x15)
 RX_PW_P4 register address.
 
#define NRF24L01P_NG_REG_RX_PW_P5   (0x16)
 RX_PW_P5 register address.
 
#define NRF24L01P_NG_MSK_RX_PW_PX   (0x1f)
 Mask to configure RX_PW_PX.
 
#define NRF24L01P_NG_FLG_RX_PW_PX(val)
 Flag RX_PW_Px from value [0; 32].
 
#define NRF24L01P_NG_VAL_RX_PW_PX(reg)
 Value of: RX_PW_PX.
 

NRF24L01+ FIFO_STATUS register

Address and layout of NRF24L01+ FIFO_STATUS register

#define NRF24L01P_NG_REG_FIFO_STATUS   (0x17)
 FIFO_STATUS register address.
 
#define NRF24L01P_NG_FLG_TX_REUSE   (0x40)
 Flag: TX_REUSE.
 
#define NRF24L01P_NG_VAL_TX_REUSE(reg)
 Value of: TX_REUSE.
 
#define NRF24L01P_NG_FLG_TX_FULL_   (0x20)
 Flag: TX_FULL (also indicated in the STATUS register)
 
#define NRF24L01P_NG_VAL_TX_FULL_(reg)
 Value of: TX_FULL.
 
#define NRF24L01P_NG_FLG_TX_EMPTY   (0x10)
 Flag: TX_EMPTY.
 
#define NRF24L01P_NG_VAL_TX_EMPTY(reg)
 Value of: TX_EMPTY.
 
#define NRF24L01P_NG_FLG_RX_FULL   (0x02)
 Flag: RX_FULL.
 
#define NRF24L01P_NG_VAL_RX_FULL(reg)
 Value of: RX_FULL.
 
#define NRF24L01P_NG_FLG_RX_EMPTY   (0x01)
 Flag: RX_EMPTY.
 
#define NRF24L01P_NG_VAL_RX_EMPTY(reg)
 Value of: RX_EMPTY.
 

NRF24L01+ DYNPD register

Address and layout of NRF24L01+ DYNPD register

#define NRF24L01P_NG_REG_DYNPD   (0x1C)
 DYPD register address.
 
#define NRF24L01P_NG_FLG_DPL_P5   (0x20)
 Flag: DPL_P5.
 
#define NRF24L01P_NG_VAL_DPL_P5(reg)
 Value of: DPL_P5.
 
#define NRF24L01P_NG_FLG_DPL_P4   (0x10)
 Flag: DPL_P4.
 
#define NRF24L01P_NG_VAL_DPL_P4(reg)
 Value of DPL_P4.
 
#define NRF24L01P_NG_FLG_DPL_P3   (0x08)
 Flag: DPL_P3.
 
#define NRF24L01P_NG_VAL_DPL_P3(reg)
 Value of DPL_P3.
 
#define NRF24L01P_NG_FLG_DPL_P2   (0x04)
 Flag: DPL_P2.
 
#define NRF24L01P_NG_VAL_DPL_P2(reg)
 Value of DPL_P2.
 
#define NRF24L01P_NG_FLG_DPL_P1   (0x02)
 Flag: DPL_P1.
 
#define NRF24L01P_NG_VAL_DPL_P1(reg)
 Value of: DPL_P1.
 
#define NRF24L01P_NG_FLG_DPL_P0   (0x01)
 Flag: DPL_P0.
 
#define NRF24L01P_NG_VAL_DPL_P0(reg)
 Value of: DPL_P0.
 

NRF24L01+ FEATURES register

Address and layout of NRF24L01+ FEATURES register

#define NRF24L01P_NG_REG_FEATURES   (0x1D)
 FEATURES register address.
 
#define NRF24L01P_NG_FLG_EN_DPL   (0x04)
 Flag: EN_DPL.
 
#define NRF24L01P_NG_VAL_EN_DPL(reg)
 Value of: EN_DPL.
 
#define NRF24L01P_NG_FLG_EN_ACK_PAY   (0x02)
 Flag: EN_ACK_PAY.
 
#define NRF24L01P_NG_VAL_EN_ACK_PAY(reg)
 Value of: EN_ACK_PAY.
 
#define NRF24L01P_NG_FLG_EN_DYN_ACK   (0x01)
 Flag: EN_DYN_ACK.
 
#define NRF24L01P_NG_VAL_EN_DYN_ACK(reg)
 Value of: EN_DYN_ACK.
 

Macro Definition Documentation

◆ NRF24L01P_NG_FLG_ARC

#define NRF24L01P_NG_FLG_ARC ( val)
Value:
#define NRF24L01P_NG_MSK_ARC
Mask to configure ARC.

Flag ARC from value [0; 15].

Definition at line 378 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARC_CNT

#define NRF24L01P_NG_FLG_ARC_CNT ( val)
Value:
#define NRF24L01P_NG_MSK_ARC_CNT
Mask to read ARC_CNT.

Flag ARC_CNT from value [0; 15].

Definition at line 615 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD

#define NRF24L01P_NG_FLG_ARD ( val)
Value:
(((val) << 4) & \
#define NRF24L01P_NG_MSK_ARD
Mask to configure ARD.

Flag ARD from value [0; 15].

Definition at line 364 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_1000_US

#define NRF24L01P_NG_FLG_ARD_1000_US   (0x30)

Flag: ARD - 1000 us.

Definition at line 308 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_1250_US

#define NRF24L01P_NG_FLG_ARD_1250_US   (0x40)

Flag: ARD - 1250 us.

Definition at line 312 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_1500_US

#define NRF24L01P_NG_FLG_ARD_1500_US   (0x50)

Flag: ARD - 1500 us.

Definition at line 316 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_1750_US

#define NRF24L01P_NG_FLG_ARD_1750_US   (0x60)

Flag: ARD - 1750 us.

Definition at line 320 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_2000_US

#define NRF24L01P_NG_FLG_ARD_2000_US   (0x70)

Flag: ARD - 2000 us.

Definition at line 324 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_2250_US

#define NRF24L01P_NG_FLG_ARD_2250_US   (0x80)

Flag: ARD - 2250 us.

Definition at line 328 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_2500_US

#define NRF24L01P_NG_FLG_ARD_2500_US   (0x90)

Flag: ARD - 2500 us.

Definition at line 332 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_250_US

#define NRF24L01P_NG_FLG_ARD_250_US   (0x00)

Flag: ARD - 250 us.

Definition at line 296 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_2750_US

#define NRF24L01P_NG_FLG_ARD_2750_US   (0xa0)

Flag: ARD - 2750 us.

Definition at line 336 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_3000_US

#define NRF24L01P_NG_FLG_ARD_3000_US   (0xb0)

Flag: ARD - 3000 us.

Definition at line 340 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_3250_US

#define NRF24L01P_NG_FLG_ARD_3250_US   (0xc0)

Flag: ARD - 3250 us.

Definition at line 344 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_3500_US

#define NRF24L01P_NG_FLG_ARD_3500_US   (0xd0)

Flag: ARD - 3500 us.

Definition at line 348 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_3750_US

#define NRF24L01P_NG_FLG_ARD_3750_US   (0xe0)

Flag: ARD - 3750 us.

Definition at line 352 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_4000_US

#define NRF24L01P_NG_FLG_ARD_4000_US   (0xf0)

Flag: ARD - 4000 us.

Definition at line 356 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_500_US

#define NRF24L01P_NG_FLG_ARD_500_US   (0x10)

Flag: ARD - 500 us.

Definition at line 300 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ARD_750_US

#define NRF24L01P_NG_FLG_ARD_750_US   (0x20)

Flag: ARD - 750 us.

Definition at line 304 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_AW

#define NRF24L01P_NG_FLG_AW ( val)
Value:
#define NRF24L01P_NG_MSK_AW
Mask to configure AW.

Flag AW from value [1; 3].

Definition at line 276 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_AW_3

#define NRF24L01P_NG_FLG_AW_3   (0x01)

Flag: AW - 3 bytes.

Definition at line 260 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_AW_4

#define NRF24L01P_NG_FLG_AW_4   (0x02)

Flag: AW - 4 bytes.

Definition at line 264 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_AW_5

#define NRF24L01P_NG_FLG_AW_5   (0x03)

Flag: AW - 5 bytes.

Definition at line 268 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_CONT_WAVE

#define NRF24L01P_NG_FLG_CONT_WAVE   (0x80)

Flag: CONT_WAVE.

Definition at line 422 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_CRCO

#define NRF24L01P_NG_FLG_CRCO ( val)
Value:
(((val) << 2) & \
#define NRF24L01P_NG_MSK_CRC
Mask to configure CRC.

Flag: CRCO.

Definition at line 91 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_CRCO_1_BYTE

#define NRF24L01P_NG_FLG_CRCO_1_BYTE   (0x00)

Flag: CRCO - 1 byte.

Definition at line 79 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_CRCO_2_BYTE

#define NRF24L01P_NG_FLG_CRCO_2_BYTE   (0x04)

Flag: CRCO - 2 byte.

Definition at line 83 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P0

#define NRF24L01P_NG_FLG_DPL_P0   (0x01)

Flag: DPL_P0.

Definition at line 837 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P1

#define NRF24L01P_NG_FLG_DPL_P1   (0x02)

Flag: DPL_P1.

Definition at line 828 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P2

#define NRF24L01P_NG_FLG_DPL_P2   (0x04)

Flag: DPL_P2.

Definition at line 819 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P3

#define NRF24L01P_NG_FLG_DPL_P3   (0x08)

Flag: DPL_P3.

Definition at line 810 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P4

#define NRF24L01P_NG_FLG_DPL_P4   (0x10)

Flag: DPL_P4.

Definition at line 801 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_DPL_P5

#define NRF24L01P_NG_FLG_DPL_P5   (0x20)

Flag: DPL_P5.

Definition at line 792 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_EN_ACK_PAY

#define NRF24L01P_NG_FLG_EN_ACK_PAY   (0x02)

Flag: EN_ACK_PAY.

Definition at line 866 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_EN_CRC

#define NRF24L01P_NG_FLG_EN_CRC   (0x08)

Flag: EN_CRC.

Definition at line 70 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_EN_DPL

#define NRF24L01P_NG_FLG_EN_DPL   (0x04)

Flag: EN_DPL.

Definition at line 857 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_EN_DYN_ACK

#define NRF24L01P_NG_FLG_EN_DYN_ACK   (0x01)

Flag: EN_DYN_ACK.

Definition at line 875 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P0

#define NRF24L01P_NG_FLG_ENAA_P0   (0x01)

Flag: ENAA_P0.

Definition at line 175 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P1

#define NRF24L01P_NG_FLG_ENAA_P1   (0x02)

Flag: ENAA_P1.

Definition at line 166 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P2

#define NRF24L01P_NG_FLG_ENAA_P2   (0x04)

Flag: ENAA_P2.

Definition at line 157 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P3

#define NRF24L01P_NG_FLG_ENAA_P3   (0x08)

Flaga: ENAA_P3.

Definition at line 148 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P4

#define NRF24L01P_NG_FLG_ENAA_P4   (0x10)

Flag: ENAA_P4.

Definition at line 139 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ENAA_P5

#define NRF24L01P_NG_FLG_ENAA_P5   (0x20)

Flag: ENAA_P5.

Definition at line 130 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P0

#define NRF24L01P_NG_FLG_ERX_P0   (0x01)

Flag: ERX_P0.

Definition at line 240 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P1

#define NRF24L01P_NG_FLG_ERX_P1   (0x02)

Flag: ERX_P1.

Definition at line 231 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P2

#define NRF24L01P_NG_FLG_ERX_P2   (0x04)

Flag: ERX_P2.

Definition at line 222 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P3

#define NRF24L01P_NG_FLG_ERX_P3   (0x08)

Flag: ERX_P3.

Definition at line 213 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P4

#define NRF24L01P_NG_FLG_ERX_P4   (0x10)

Flag: ERX_P4.

Definition at line 204 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_ERX_P5

#define NRF24L01P_NG_FLG_ERX_P5   (0x20)

Flag: ERX_P5.

Definition at line 195 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_MASK_MAX_RT

#define NRF24L01P_NG_FLG_MASK_MAX_RT   (0x10)

Flag: MASK_MAX_RT.

Definition at line 61 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_MASK_RX_DR

#define NRF24L01P_NG_FLG_MASK_RX_DR   (0x40)

Flag: MASK_RX_DR.

Definition at line 43 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_MASK_TX_DS

#define NRF24L01P_NG_FLG_MASK_TX_DS   (0x20)

Flag: MASK_TX_DS.

Definition at line 52 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_MAX_RT

#define NRF24L01P_NG_FLG_MAX_RT   (0x10)

Flag: MAX_RT.

Definition at line 547 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_PLL_LOCK

#define NRF24L01P_NG_FLG_PLL_LOCK   (0x10)

Flag: PLL_LOCK.

Definition at line 440 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_PLOS_CNT

#define NRF24L01P_NG_FLG_PLOS_CNT ( val)
Value:
(((val) << 4) & \
#define NRF24L01P_NG_MSK_PLOS_CNT
Mask to read PLOS_CNT.

Flag PLOS_CNT from value [0; 15].

Definition at line 600 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_PRIM_RX

#define NRF24L01P_NG_FLG_PRIM_RX   (0x01)

Flag: PRIM_RX.

Definition at line 110 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_PWR_UP

#define NRF24L01P_NG_FLG_PWR_UP   (0x02)

Flag: PWR_UP.

Definition at line 101 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_CH

#define NRF24L01P_NG_FLG_RF_CH ( val)
Value:
#define NRF24L01P_NG_MSK_RF_CH
Mask to configure RF_CH.

Flag RF_CH from value [0; 124].

Definition at line 402 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR

#define NRF24L01P_NG_FLG_RF_DR ( val)
Value:
((((val) & 1) << 5) | \
(((val) & 2) << 2))

FLG RF_DR.

Definition at line 474 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR_1_MBPS

#define NRF24L01P_NG_FLG_RF_DR_1_MBPS   (0x00)

Flag: RF_DR - 1000 kbit/s.

Definition at line 462 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR_250_KBPS

#define NRF24L01P_NG_FLG_RF_DR_250_KBPS   (0x08)

Flag: RF_DR - 250 kbit/s.

Definition at line 458 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR_2_MBPS

#define NRF24L01P_NG_FLG_RF_DR_2_MBPS   (0x20)

Flag: RF_DR - 2000 kbit/s.

Definition at line 466 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR_HIGH

#define NRF24L01P_NG_FLG_RF_DR_HIGH   (0x08)

Flag: RF_DR_HIGH.

Definition at line 449 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_DR_LOW

#define NRF24L01P_NG_FLG_RF_DR_LOW   (0x20)

Flag: RF_DR_LOW.

Definition at line 431 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_PWR

#define NRF24L01P_NG_FLG_RF_PWR ( val)
Value:
(((val) << 1) & \
#define NRF24L01P_NG_MSK_RF_PWR
Mask to configure RF_PWR.

Flag RF_PWR from value [0; 3].

Definition at line 507 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_PWR_0

#define NRF24L01P_NG_FLG_RF_PWR_0   (0x06)

Flag: RF_PWR - 0 dbm.

Definition at line 499 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_PWR_MINUS_12

#define NRF24L01P_NG_FLG_RF_PWR_MINUS_12   (0x02)

Flag: RF_PWR - -12 dbm.

Definition at line 491 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_PWR_MINUS_18

#define NRF24L01P_NG_FLG_RF_PWR_MINUS_18   (0x00)

Flag: RF_PWR - -18 dbm.

Definition at line 487 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RF_PWR_MINUS_6

#define NRF24L01P_NG_FLG_RF_PWR_MINUS_6   (0x04)

Flag: RF_PWR - -6 dbm.

Definition at line 495 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RPD

#define NRF24L01P_NG_FLG_RPD   (0x01)

Flag: RPD.

Definition at line 635 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_DR

#define NRF24L01P_NG_FLG_RX_DR   (0x40)

Flag: RX_DR.

Definition at line 529 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_EMPTY

#define NRF24L01P_NG_FLG_RX_EMPTY   (0x01)

Flag: RX_EMPTY.

Definition at line 772 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_FULL

#define NRF24L01P_NG_FLG_RX_FULL   (0x02)

Flag: RX_FULL.

Definition at line 763 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_P_NO

#define NRF24L01P_NG_FLG_RX_P_NO ( val)
Value:
(((val) << 1) & \
#define NRF24L01P_NG_MSK_RX_P_NO
Mask to read RX_P_NO.

Flag RX_P_NO from value [0; 7].

Definition at line 565 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_P_NO_NONE

#define NRF24L01P_NG_FLG_RX_P_NO_NONE   (0x0e)

Flag: RX_P_NO - Rx FIFO empty.

Definition at line 557 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_RX_PW_PX

#define NRF24L01P_NG_FLG_RX_PW_PX ( val)
Value:
#define NRF24L01P_NG_MSK_RX_PW_PX
Mask to configure RX_PW_PX.

Flag RX_PW_Px from value [0; 32].

Definition at line 715 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_TX_DS

#define NRF24L01P_NG_FLG_TX_DS   (0x20)

Flag: TX_DS.

Definition at line 538 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_TX_EMPTY

#define NRF24L01P_NG_FLG_TX_EMPTY   (0x10)

Flag: TX_EMPTY.

Definition at line 754 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_TX_FULL

#define NRF24L01P_NG_FLG_TX_FULL   (0x01)

Flag: TX_FULL.

Definition at line 576 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_TX_FULL_

#define NRF24L01P_NG_FLG_TX_FULL_   (0x20)

Flag: TX_FULL (also indicated in the STATUS register)

Definition at line 745 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_FLG_TX_REUSE

#define NRF24L01P_NG_FLG_TX_REUSE   (0x40)

Flag: TX_REUSE.

Definition at line 735 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_ARC

#define NRF24L01P_NG_MSK_ARC   (0x0f)

Mask to configure ARC.

Definition at line 374 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_ARC_CNT

#define NRF24L01P_NG_MSK_ARC_CNT   (0x0f)

Mask to read ARC_CNT.

Definition at line 611 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_ARD

#define NRF24L01P_NG_MSK_ARD   (0xf0)

Mask to configure ARD.

Definition at line 360 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_AW

#define NRF24L01P_NG_MSK_AW   (0x03)

Mask to configure AW.

Definition at line 272 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_CRC

#define NRF24L01P_NG_MSK_CRC   (0x0c)

Mask to configure CRC.

Definition at line 87 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_PLOS_CNT

#define NRF24L01P_NG_MSK_PLOS_CNT   (0xf0)

Mask to read PLOS_CNT.

Definition at line 596 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_RF_CH

#define NRF24L01P_NG_MSK_RF_CH   (0x7f)

Mask to configure RF_CH.

Definition at line 398 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_RF_DR

#define NRF24L01P_NG_MSK_RF_DR   (0x28)

Mask to configure RF_DR.

Definition at line 470 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_RF_PWR

#define NRF24L01P_NG_MSK_RF_PWR   (0x06)

Mask to configure RF_PWR.

Definition at line 503 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_RX_P_NO

#define NRF24L01P_NG_MSK_RX_P_NO   (0x0e)

Mask to read RX_P_NO.

Definition at line 561 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_MSK_RX_PW_PX

#define NRF24L01P_NG_MSK_RX_PW_PX   (0x1f)

Mask to configure RX_PW_PX.

Definition at line 711 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_CONFIG

#define NRF24L01P_NG_REG_CONFIG   (0x00)

CONFIG register address.

Definition at line 39 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_DYNPD

#define NRF24L01P_NG_REG_DYNPD   (0x1C)

DYPD register address.

Definition at line 788 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_EN_AA

#define NRF24L01P_NG_REG_EN_AA   (0x01)

EN_AA register address.

Definition at line 126 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_EN_RXADDR

#define NRF24L01P_NG_REG_EN_RXADDR   (0x02)

EN_RXADDR register address.

Definition at line 191 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_FEATURES

#define NRF24L01P_NG_REG_FEATURES   (0x1D)

FEATURES register address.

Definition at line 853 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_FIFO_STATUS

#define NRF24L01P_NG_REG_FIFO_STATUS   (0x17)

FIFO_STATUS register address.

Definition at line 731 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_OBSERVE_TX

#define NRF24L01P_NG_REG_OBSERVE_TX   (0x08)

OBSERVE_TX register address.

Definition at line 592 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RF_CH

#define NRF24L01P_NG_REG_RF_CH   (0x05)

RF_CH register address.

Definition at line 394 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RF_SETUP

#define NRF24L01P_NG_REG_RF_SETUP   (0x06)

RF_SETUP register address.

Definition at line 418 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RPD

#define NRF24L01P_NG_REG_RPD   (0x09)

RPD register address.

Definition at line 631 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P0

#define NRF24L01P_NG_REG_RX_ADDR_P0   (0x0A)

RX_ADDR_P0 register address.

Definition at line 651 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P1

#define NRF24L01P_NG_REG_RX_ADDR_P1   (0x0B)

RX_ADDR_P1 register address.

Definition at line 655 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P2

#define NRF24L01P_NG_REG_RX_ADDR_P2   (0x0C)

RX_ADDR_P2 register address.

Definition at line 659 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P3

#define NRF24L01P_NG_REG_RX_ADDR_P3   (0x0D)

RX_ADDR_P3 register address.

Definition at line 663 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P4

#define NRF24L01P_NG_REG_RX_ADDR_P4   (0x0E)

RX_ADDR_P4 register address.

Definition at line 667 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_ADDR_P5

#define NRF24L01P_NG_REG_RX_ADDR_P5   (0x0F)

RX_ADDR_P5 register address.

Definition at line 671 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P0

#define NRF24L01P_NG_REG_RX_PW_P0   (0x11)

RX_PW_P0 register address.

Definition at line 687 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P1

#define NRF24L01P_NG_REG_RX_PW_P1   (0x12)

RX_PW_P1 register address.

Definition at line 691 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P2

#define NRF24L01P_NG_REG_RX_PW_P2   (0x13)

RX_PW_P2 register address.

Definition at line 695 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P3

#define NRF24L01P_NG_REG_RX_PW_P3   (0x14)

RX_PW_P3 register address.

Definition at line 699 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P4

#define NRF24L01P_NG_REG_RX_PW_P4   (0x15)

RX_PW_P4 register address.

Definition at line 703 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_RX_PW_P5

#define NRF24L01P_NG_REG_RX_PW_P5   (0x16)

RX_PW_P5 register address.

Definition at line 707 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_SETUP_AW

#define NRF24L01P_NG_REG_SETUP_AW   (0x03)

SETUP_AW register address.

Definition at line 256 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_SETUP_RETR

#define NRF24L01P_NG_REG_SETUP_RETR   (0x04)

SETUP_RETR register address.

Definition at line 292 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_STATUS

#define NRF24L01P_NG_REG_STATUS   (0x07)

STATUS register address.

Definition at line 525 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_REG_TX_ADDR

#define NRF24L01P_NG_REG_TX_ADDR   (0x10)

TX_ADDR register address.

Definition at line 675 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ARC

#define NRF24L01P_NG_VAL_ARC ( reg)
Value:

Value of: ARC.

Definition at line 382 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ARC_CNT

#define NRF24L01P_NG_VAL_ARC_CNT ( reg)
Value:

Value of: ARC_CNT.

Definition at line 619 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ARD

#define NRF24L01P_NG_VAL_ARD ( reg)
Value:
(((reg) & \

Value of: ARD.

Definition at line 369 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_AW

#define NRF24L01P_NG_VAL_AW ( reg)
Value:

Value of: AW.

Definition at line 280 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_CONT_WAVE

#define NRF24L01P_NG_VAL_CONT_WAVE ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_CONT_WAVE
Flag: CONT_WAVE.

Value of: CONT_WAVE.

Definition at line 426 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_CRCO

#define NRF24L01P_NG_VAL_CRCO ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_CRCO_2_BYTE
Flag: CRCO - 2 byte.

Value of: CRCO.

Definition at line 96 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P0

#define NRF24L01P_NG_VAL_DPL_P0 ( reg)
Value:
#define NRF24L01P_NG_FLG_DPL_P0
Flag: DPL_P0.

Value of: DPL_P0.

Definition at line 841 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P1

#define NRF24L01P_NG_VAL_DPL_P1 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_DPL_P1
Flag: DPL_P1.

Value of: DPL_P1.

Definition at line 832 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P2

#define NRF24L01P_NG_VAL_DPL_P2 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_DPL_P2
Flag: DPL_P2.

Value of DPL_P2.

Definition at line 823 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P3

#define NRF24L01P_NG_VAL_DPL_P3 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_DPL_P3
Flag: DPL_P3.

Value of DPL_P3.

Definition at line 814 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P4

#define NRF24L01P_NG_VAL_DPL_P4 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_DPL_P4
Flag: DPL_P4.

Value of DPL_P4.

Definition at line 805 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_DPL_P5

#define NRF24L01P_NG_VAL_DPL_P5 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_DPL_P5
Flag: DPL_P5.

Value of: DPL_P5.

Definition at line 796 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_EN_ACK_PAY

#define NRF24L01P_NG_VAL_EN_ACK_PAY ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_EN_ACK_PAY
Flag: EN_ACK_PAY.

Value of: EN_ACK_PAY.

Definition at line 870 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_EN_CRC

#define NRF24L01P_NG_VAL_EN_CRC ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_EN_CRC
Flag: EN_CRC.

Value of: EN_CRC.

Definition at line 74 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_EN_DPL

#define NRF24L01P_NG_VAL_EN_DPL ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_EN_DPL
Flag: EN_DPL.

Value of: EN_DPL.

Definition at line 861 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_EN_DYN_ACK

#define NRF24L01P_NG_VAL_EN_DYN_ACK ( reg)
Value:
((reg) & \
#define NRF24L01P_NG_FLG_EN_DYN_ACK
Flag: EN_DYN_ACK.

Value of: EN_DYN_ACK.

Definition at line 879 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P0

#define NRF24L01P_NG_VAL_ENAA_P0 ( reg)
Value:
#define NRF24L01P_NG_FLG_ENAA_P0
Flag: ENAA_P0.

Value of: ENAA_P0.

Definition at line 179 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P1

#define NRF24L01P_NG_VAL_ENAA_P1 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ENAA_P1
Flag: ENAA_P1.

Value of: ENAA_P1.

Definition at line 170 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P2

#define NRF24L01P_NG_VAL_ENAA_P2 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ENAA_P2
Flag: ENAA_P2.

Value of: ENAA_P2.

Definition at line 161 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P3

#define NRF24L01P_NG_VAL_ENAA_P3 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ENAA_P3
Flaga: ENAA_P3.

Value of: ENAA_P3.

Definition at line 152 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P4

#define NRF24L01P_NG_VAL_ENAA_P4 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ENAA_P4
Flag: ENAA_P4.

Value of: ENAA_P4.

Definition at line 143 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ENAA_P5

#define NRF24L01P_NG_VAL_ENAA_P5 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ENAA_P5
Flag: ENAA_P5.

Value of: ENAA_P5.

Definition at line 134 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P0

#define NRF24L01P_NG_VAL_ERX_P0 ( reg)
Value:
#define NRF24L01P_NG_FLG_ERX_P0
Flag: ERX_P0.

Value of: ERX_P0.

Definition at line 244 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P1

#define NRF24L01P_NG_VAL_ERX_P1 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ERX_P1
Flag: ERX_P1.

Value of: ERX_P1.

Definition at line 235 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P2

#define NRF24L01P_NG_VAL_ERX_P2 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ERX_P2
Flag: ERX_P2.

Value of: ERX_P2.

Definition at line 226 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P3

#define NRF24L01P_NG_VAL_ERX_P3 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ERX_P3
Flag: ERX_P3.

Value of: ERX_P3.

Definition at line 217 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P4

#define NRF24L01P_NG_VAL_ERX_P4 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ERX_P4
Flag: ERX_P4.

Value of ERX_P4.

Definition at line 208 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_ERX_P5

#define NRF24L01P_NG_VAL_ERX_P5 ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_ERX_P5
Flag: ERX_P5.

Value of: ERX_P5.

Definition at line 199 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_MASK_MAX_RT

#define NRF24L01P_NG_VAL_MASK_MAX_RT
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_MASK_MAX_RT
Flag: MASK_MAX_RT.

Value of: MASK_MAX_RT.

Definition at line 65 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_MASK_RX_DR

#define NRF24L01P_NG_VAL_MASK_RX_DR ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_MASK_RX_DR
Flag: MASK_RX_DR.

Value of: MASK_RX_DR.

Definition at line 47 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_MASK_TX_DS

#define NRF24L01P_NG_VAL_MASK_TX_DS ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_MASK_TX_DS
Flag: MASK_TX_DS.

Value of: MASK_TX_DS.

Definition at line 56 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_MAX_RT

#define NRF24L01P_NG_VAL_MAX_RT ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_MAX_RT
Flag: MAX_RT.

Value of: MAX_RT.

Definition at line 551 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_PLL_LOCK

#define NRF24L01P_NG_VAL_PLL_LOCK ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_PLL_LOCK
Flag: PLL_LOCK.

Value of: PLL_LOCK.

Definition at line 444 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_PLOS_CNT

#define NRF24L01P_NG_VAL_PLOS_CNT ( reg)
Value:
(((reg) & \

Value of: PLOS_CNT.

Definition at line 605 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_PRIM_RX

#define NRF24L01P_NG_VAL_PRIM_RX ( reg)
Value:
#define NRF24L01P_NG_FLG_PRIM_RX
Flag: PRIM_RX.

Value of: PRIM_RX.

Definition at line 114 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_PWR_UP

#define NRF24L01P_NG_VAL_PWR_UP ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_PWR_UP
Flag: PWR_UP.

Value of: PWR_UP.

Definition at line 105 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RF_CH

#define NRF24L01P_NG_VAL_RF_CH ( reg)
Value:

Value of: RF_CH.

Definition at line 406 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RF_DR

#define NRF24L01P_NG_VAL_RF_DR ( reg)
Value:
((((reg) & \
| \
(((reg) & \
#define NRF24L01P_NG_FLG_RF_DR_LOW
Flag: RF_DR_LOW.
#define NRF24L01P_NG_FLG_RF_DR_HIGH
Flag: RF_DR_HIGH.

Value of: RF_DR.

Definition at line 479 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RF_DR_HIGH

#define NRF24L01P_NG_VAL_RF_DR_HIGH ( reg)
Value:
(((reg) & \

Value of: RF_DR_HIGH.

Definition at line 453 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RF_DR_LOW

#define NRF24L01P_NG_VAL_RF_DR_LOW ( reg)
Value:
(((reg) & \

Value of: RF_DR_LOW.

Definition at line 435 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RF_PWR

#define NRF24L01P_NG_VAL_RF_PWR ( reg)
Value:
(((reg) & \

Value of: RF_PWR.

Definition at line 512 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RPD

#define NRF24L01P_NG_VAL_RPD ( reg)
Value:
#define NRF24L01P_NG_FLG_RPD
Flag: RPD.

Value of: RPD.

Definition at line 639 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RX_DR

#define NRF24L01P_NG_VAL_RX_DR ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_RX_DR
Flag: RX_DR.

Value of: RX_DR.

Definition at line 533 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RX_EMPTY

#define NRF24L01P_NG_VAL_RX_EMPTY ( reg)
Value:
#define NRF24L01P_NG_FLG_RX_EMPTY
Flag: RX_EMPTY.

Value of: RX_EMPTY.

Definition at line 776 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RX_FULL

#define NRF24L01P_NG_VAL_RX_FULL ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_RX_FULL
Flag: RX_FULL.

Value of: RX_FULL.

Definition at line 767 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RX_P_NO

#define NRF24L01P_NG_VAL_RX_P_NO ( reg)
Value:
(((reg) & \

Value of: RX_P_NO.

Definition at line 570 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_RX_PW_PX

#define NRF24L01P_NG_VAL_RX_PW_PX ( reg)
Value:

Value of: RX_PW_PX.

Definition at line 719 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_TX_DS

#define NRF24L01P_NG_VAL_TX_DS ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_TX_DS
Flag: TX_DS.

Value of: TX_DS.

Definition at line 542 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_TX_EMPTY

#define NRF24L01P_NG_VAL_TX_EMPTY ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_TX_EMPTY
Flag: TX_EMPTY.

Value of: TX_EMPTY.

Definition at line 758 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_TX_FULL

#define NRF24L01P_NG_VAL_TX_FULL ( reg)
Value:
#define NRF24L01P_NG_FLG_TX_FULL
Flag: TX_FULL.

Value of: TX_FULL.

Definition at line 580 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_TX_FULL_

#define NRF24L01P_NG_VAL_TX_FULL_ ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_TX_FULL_
Flag: TX_FULL (also indicated in the STATUS register)

Value of: TX_FULL.

Definition at line 749 of file nrf24l01p_ng_registers.h.

◆ NRF24L01P_NG_VAL_TX_REUSE

#define NRF24L01P_NG_VAL_TX_REUSE ( reg)
Value:
(((reg) & \
#define NRF24L01P_NG_FLG_TX_REUSE
Flag: TX_REUSE.

Value of: TX_REUSE.

Definition at line 739 of file nrf24l01p_ng_registers.h.

Function Documentation

◆ nrf24l01p_ng_reg8_clear()

static uint8_t nrf24l01p_ng_reg8_clear ( const nrf24l01p_ng_t * dev,
uint8_t reg_addr,
uint8_t * reg_val )
inlinestatic

Clear bits in a certain 8-bit register.

Parameters
[in]devNRF24L01+ device handle
[in]reg_addrAddress of the register to be modified
[in,out]reg_valRegister bits that are being cleared
Returns
Status register value

Definition at line 940 of file nrf24l01p_ng_registers.h.

◆ nrf24l01p_ng_reg8_mod()

static uint8_t nrf24l01p_ng_reg8_mod ( const nrf24l01p_ng_t * dev,
uint8_t reg_addr,
uint8_t mask,
uint8_t * reg_val )
inlinestatic

Modify bits in a certain 8-bit register.

Parameters
[in]devNRF24L01+ device handle
[in]reg_addrAddress of the register to be modified
[in]maskMask of bits to be modified
[in,out]reg_valRegister bits that are being modified
Returns
Status register value

Definition at line 959 of file nrf24l01p_ng_registers.h.

◆ nrf24l01p_ng_reg8_read()

static uint8_t nrf24l01p_ng_reg8_read ( const nrf24l01p_ng_t * dev,
uint8_t reg_addr )
inlinestatic

Read the contents of an 8 bit register.

Parameters
[in]devNRF24L01+ device handle
[in]reg_addrAddress of the register to be written
Returns
Register value

Definition at line 892 of file nrf24l01p_ng_registers.h.

◆ nrf24l01p_ng_reg8_set()

static uint8_t nrf24l01p_ng_reg8_set ( const nrf24l01p_ng_t * dev,
uint8_t reg_addr,
uint8_t * reg_val )
inlinestatic

Set bits in a certain 8-bit register.

Parameters
[in]devNRF24L01+ device handle
[in]reg_addrAddress of the register to be modified
[in,out]reg_valRegister bits that are being set
Returns
Status register value

Definition at line 923 of file nrf24l01p_ng_registers.h.

◆ nrf24l01p_ng_reg8_write()

static uint8_t nrf24l01p_ng_reg8_write ( const nrf24l01p_ng_t * dev,
uint8_t reg_addr,
uint8_t reg_val )
inlinestatic

Write the contents of an 8 bit register.

Parameters
[in]devNRF24L01+ device handle
[in]reg_addrAddress of the register to be written
[in]reg_valValue to be written to the register
Returns
Status register value

Definition at line 908 of file nrf24l01p_ng_registers.h.