chiark / gitweb /
Updates to the build process
[wiringPi.git] / wiringPi / wiringPiSPI.h
index f53697d1ad52ccf9fb06643b965d87056d3d165d..398032199d04085d94bdfb335fd40c1ee6605234 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * wiringPiSPI.h:
  *     Simplified SPI access routines
- *     Copyright (c) 2012 Gordon Henderson
+ *     Copyright (c) 2012-2015 Gordon Henderson
  ***********************************************************************
  * This file is part of wiringPi:
  *     https://projects.drogon.net/raspberry-pi/wiringpi/
 extern "C" {
 #endif
 
-int wiringPiSPIGetFd  (int channel) ;
-int wiringPiSPIDataRW (int channel, unsigned char *data, int len) ;
-int wiringPiSPISetup  (int channel, int speed) ;
+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) ;
 
 #ifdef __cplusplus
 }