Optimized high speed nRF24L01+ driver class documentation v1.4.10
TMRh20 2020 - Optimized fork of the nRF24L01+ driver
Loading...
Searching...
No Matches
Porting: General

Macros

#define RF24_LINUX
 
#define _BV(x)
 
#define _SPI   spi
 
#define IF_RF24_DEBUG(x)
 
#define PSTR(x)
 
#define printf_P   printf
 
#define strlen_P   strlen
 
#define PROGMEM
 
#define pgm_read_word(p)
 
#define PRIPSTR   "%s"
 
#define pgm_read_byte(p)
 
#define LOW   GPIO::OUTPUT_LOW
 
#define HIGH   GPIO::OUTPUT_HIGH
 
#define INPUT   GPIO::DIRECTION_IN
 
#define OUTPUT   GPIO::DIRECTION_OUT
 
#define digitalWrite(pin, value)
 
#define pinMode(pin, direction)
 
#define delay(millisec)
 
#define delayMicroseconds(usec)
 
#define millis()
 

Typedefs

typedef uint16_t prog_uint16_t
 
typedef uint16_t rf24_gpio_pin_t
 

Detailed Description

Example of RF24_arch_config.h for RF24 portability

Macro Definition Documentation

◆ RF24_LINUX

#define RF24_LINUX

Definition at line 24 of file RF24_arch_config.h.

◆ _BV

◆ _SPI

#define _SPI   spi

Definition at line 37 of file RF24_arch_config.h.

◆ IF_RF24_DEBUG

#define IF_RF24_DEBUG ( x)

Definition at line 42 of file RF24_arch_config.h.

◆ PSTR

#define PSTR ( x)
Value:
(x)

Definition at line 55 of file RF24_arch_config.h.

◆ printf_P

#define printf_P   printf

Definition at line 56 of file RF24_arch_config.h.

◆ strlen_P

#define strlen_P   strlen

Definition at line 57 of file RF24_arch_config.h.

◆ PROGMEM

#define PROGMEM

Definition at line 58 of file RF24_arch_config.h.

◆ pgm_read_word

#define pgm_read_word ( p)
Value:
(*(const unsigned short*)(p))

Definition at line 59 of file RF24_arch_config.h.

◆ PRIPSTR

#define PRIPSTR   "%s"

Definition at line 60 of file RF24_arch_config.h.

◆ pgm_read_byte

#define pgm_read_byte ( p)
Value:
(*(const unsigned char*)(p))

Definition at line 61 of file RF24_arch_config.h.

◆ LOW

◆ HIGH

◆ INPUT

◆ OUTPUT

#define OUTPUT   GPIO::DIRECTION_OUT

◆ digitalWrite

◆ pinMode

◆ delay

◆ delayMicroseconds

◆ millis

Typedef Documentation

◆ prog_uint16_t

typedef uint16_t prog_uint16_t

Definition at line 53 of file RF24_arch_config.h.

◆ rf24_gpio_pin_t

typedef uint16_t rf24_gpio_pin_t

Definition at line 54 of file RF24_arch_config.h.