32#ifndef NRF24L01P_NG_PARAM_SPI 
   36#define NRF24L01P_NG_PARAM_SPI              SPI_DEV(0) 
   39#ifndef NRF24L01P_NG_PARAM_SPI_CLK 
   43#define NRF24L01P_NG_PARAM_SPI_CLK          SPI_CLK_5MHZ 
   46#ifndef NRF24L01P_NG_PARAM_CS 
   50#define NRF24L01P_NG_PARAM_CS               GPIO_UNDEF 
   53#ifndef NRF24L01P_NG_PARAM_CE 
   57#define NRF24L01P_NG_PARAM_CE               GPIO_UNDEF 
   60#ifndef NRF24L01P_NG_PARAM_IRQ 
   64#define NRF24L01P_NG_PARAM_IRQ              GPIO_UNDEF 
   67#ifndef NRF24L01P_NG_PARAM_CRC_LEN 
   72#define NRF24L01P_NG_PARAM_CRC_LEN          (NRF24L01P_NG_CRC_2BYTE) 
   75#ifndef NRF24L01P_NG_PARAM_TX_POWER 
   80#define NRF24L01P_NG_PARAM_TX_POWER         (NRF24L01P_NG_TX_POWER_0DBM) 
   83#ifndef NRF24L01P_NG_PARAM_DATA_RATE_LVL 
   88#define NRF24L01P_NG_PARAM_DATA_RATE        (NRF24L01P_NG_RF_DR_2MBPS) 
   91#ifndef NRF24L01P_NG_PARAM_CHANNEL 
   95#define NRF24L01P_NG_PARAM_CHANNEL          (4) 
   98#ifndef NRF24L01P_NG_PARAM_MAX_RETRANSM 
  102#define NRF24L01P_NG_PARAM_MAX_RETRANSM     (5) 
  105#ifndef NRF24L01P_NG_PARAM_RETRANSM_DELAY 
  110#define NRF24L01P_NG_PARAM_RETRANSM_DELAY   (NRF24L01P_NG_ARD_2750US) 
  113#ifndef NRF24L01P_NG_PARAMS 
  117#define NRF24L01P_NG_PARAMS    {                                               \ 
  118        .spi = NRF24L01P_NG_PARAM_SPI,                                         \ 
  119        .spi_clk = NRF24L01P_NG_PARAM_SPI_CLK,                                 \ 
  120        .pin_cs = NRF24L01P_NG_PARAM_CS,                                       \ 
  121        .pin_ce = NRF24L01P_NG_PARAM_CE,                                       \ 
  122        .pin_irq = NRF24L01P_NG_PARAM_IRQ,                                     \ 
  124            .cfg_crc = NRF24L01P_NG_PARAM_CRC_LEN,                             \ 
  125            .cfg_tx_power = NRF24L01P_NG_PARAM_TX_POWER,                       \ 
  126            .cfg_data_rate = NRF24L01P_NG_PARAM_DATA_RATE,                     \ 
  127            .cfg_channel = NRF24L01P_NG_PARAM_CHANNEL,                         \ 
  128            .cfg_max_retr = NRF24L01P_NG_PARAM_MAX_RETRANSM,                   \ 
  129            .cfg_retr_delay = NRF24L01P_NG_PARAM_RETRANSM_DELAY,               \ 
 
  144#define NRF24L01P_NG_NUM                    ARRAY_SIZE(nrf24l01p_ng_params) 
Low-level GPIO peripheral driver interface definitions.
 
Common macros and compiler attributes/pragmas configuration.
 
Public interface for NRF24L01+ (NG) devices.
 
Constants from the datasheet of the NRF24L01+ (NG) transceiver.
 
#define NRF24L01P_NG_PARAMS
Default NRF24L01+ device parameters.
 
static const nrf24l01p_ng_params_t nrf24l01p_ng_params[]
Static array that holds NRF24L01+ device configurations.
 
Low-level SPI peripheral driver interface definition.
 
Struct of NRF24L01+ initialization parameters.