Optimized High Speed NRF24L01+ Driver Class Documenation  V1.0
TMRh20 2014 - Optimized Fork of NRF24L01+ Driver
Functions | Variables
spi.h File Reference
#include <string>
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <inttypes.h>
#include <linux/types.h>
#include <linux/spi/spidev.h>

Go to the source code of this file.

Functions

 SPI ()
 
void begin (int busNo)
 
uint8_t transfer (uint8_t tx_)
 
void transfernb (char *tbuf, char *rbuf, uint32_t len)
 
void transfern (char *buf, uint32_t len)
 
virtual ~SPI ()
 

Variables

string device
 
uint8_t mode
 
uint8_t bits
 
uint32_t speed
 
int fd
 

Detailed Description

Class declaration for SPI helper files

Definition in file spi.h.