Optimized high speed nRF24L01+ driver class documentation v1.4.10
TMRh20 2020 - Optimized fork of the nRF24L01+ driver
Loading...
Searching...
No Matches
RF24_arch_config.h File Reference
#include <stddef.h>
#include "spi.h"
#include "gpio.h"
#include "compatibility.h"
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <sys/time.h>

Go to the source code of this file.

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

General defines and includes for RF24/Linux

Definition in file RF24_arch_config.h.