Board specific configuration for all NRF24L01+ (NG) devices. More...
Board specific configuration for all NRF24L01+ (NG) devices.
Definition in file nrf24l01p_ng_params.h.
#include "board.h"
#include "periph/gpio.h"
#include "periph/spi.h"
#include "kernel_defines.h"
#include "nrf24l01p_ng_constants.h"
#include "nrf24l01p_ng.h"
Go to the source code of this file.
#define | NRF24L01P_NG_PARAM_SPI SPI_DEV(0) |
SPI bus. | |
#define | NRF24L01P_NG_PARAM_SPI_CLK SPI_CLK_5MHZ |
SPI clock speed. | |
#define | NRF24L01P_NG_PARAM_CS GPIO_UNDEF |
SPI CS gpio pin. | |
#define | NRF24L01P_NG_PARAM_CE GPIO_UNDEF |
NRF24L01+ chip enable gpio pin. | |
#define | NRF24L01P_NG_PARAM_IRQ GPIO_UNDEF |
NRF24L01+ interrupt gpio pin. | |
#define | NRF24L01P_NG_PARAM_CRC_LEN (NRF24L01P_NG_CRC_2BYTE) |
Default CRC length. | |
#define | NRF24L01P_NG_PARAM_TX_POWER (NRF24L01P_NG_TX_POWER_0DBM) |
Default TX power. | |
#define | NRF24L01P_NG_PARAM_DATA_RATE (NRF24L01P_NG_RF_DR_2MBPS) |
Default data rate. | |
#define | NRF24L01P_NG_PARAM_CHANNEL (4) |
Default channel in [0; 124]. | |
#define | NRF24L01P_NG_PARAM_MAX_RETRANSM (5) |
Default number of retransmissions. | |
#define | NRF24L01P_NG_PARAM_RETRANSM_DELAY (NRF24L01P_NG_ARD_2750US) |
Default retransmission delay. | |
#define | NRF24L01P_NG_PARAMS |
Default NRF24L01+ device parameters. | |
#define | NRF24L01P_NG_NUM ARRAY_SIZE(nrf24l01p_ng_params) |
Number of NRF24L01+ device configurations. | |
static const nrf24l01p_ng_params_t | nrf24l01p_ng_params [] |
Static array that holds NRF24L01+ device configurations. | |
#define NRF24L01P_NG_NUM ARRAY_SIZE(nrf24l01p_ng_params) |
Number of NRF24L01+ device configurations.
Definition at line 143 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_CE GPIO_UNDEF |
NRF24L01+ chip enable gpio pin.
Definition at line 56 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_CHANNEL (4) |
Default channel in [0; 124].
Definition at line 94 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_CRC_LEN (NRF24L01P_NG_CRC_2BYTE) |
#define NRF24L01P_NG_PARAM_CS GPIO_UNDEF |
SPI CS gpio pin.
Definition at line 49 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_DATA_RATE (NRF24L01P_NG_RF_DR_2MBPS) |
#define NRF24L01P_NG_PARAM_IRQ GPIO_UNDEF |
NRF24L01+ interrupt gpio pin.
Definition at line 63 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_MAX_RETRANSM (5) |
Default number of retransmissions.
Definition at line 101 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_RETRANSM_DELAY (NRF24L01P_NG_ARD_2750US) |
Default retransmission delay.
Definition at line 109 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_SPI SPI_DEV(0) |
SPI bus.
Definition at line 35 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_SPI_CLK SPI_CLK_5MHZ |
SPI clock speed.
Definition at line 42 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAM_TX_POWER (NRF24L01P_NG_TX_POWER_0DBM) |
Default TX power.
Definition at line 79 of file nrf24l01p_ng_params.h.
#define NRF24L01P_NG_PARAMS |
Default NRF24L01+ device parameters.
Definition at line 116 of file nrf24l01p_ng_params.h.
|
static |
Static array that holds NRF24L01+ device configurations.
Definition at line 136 of file nrf24l01p_ng_params.h.