sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wiringPiSPI.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>
#include <asm/ioctl.h>
#include <linux/spi/spidev.h>
#include "wiringPi.h"
#include "wiringPiSPI.h"

Functions

int wiringPiSPIGetFd (int channel)
 
int wiringPiSPIDataRW (int channel, unsigned char *data, int len)
 
int wiringPiSPISetupMode (int channel, int speed, int mode)
 
int wiringPiSPISetup (int channel, int speed)
 

Function Documentation

int wiringPiSPIDataRW ( int  channel,
unsigned char *  data,
int  len 
)
int wiringPiSPIGetFd ( int  channel)
int wiringPiSPISetup ( int  channel,
int  speed 
)
int wiringPiSPISetupMode ( int  channel,
int  speed,
int  mode 
)