Optimized High Speed NRF24L01+ Driver Class Documenation  V1.0
TMRh20 2014 - Optimized Fork of NRF24L01+ Driver
Macros | Typedefs
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)   (1<<(x))
 
#define _SPI   spi
 
#define IF_SERIAL_DEBUG(x)
 
#define PSTR(x)   (x)
 
#define printf_P   printf
 
#define strlen_P   strlen
 
#define PROGMEM
 
#define pgm_read_word(p)   (*(p))
 
#define PRIPSTR   "%s"
 
#define pgm_read_byte(p)   (*(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)   GPIO::write(pin, value)
 
#define pinMode(pin, direction)   GPIO::open(pin, direction)
 
#define delay(milisec)   __msleep(milisec)
 
#define delayMicroseconds(usec)   __usleep(usec)
 
#define millis()   __millis()
 

Typedefs

typedef uint16_t prog_uint16_t
 

Detailed Description

General defines and includes for RF24/Linux

Definition in file RF24_arch_config.h.