This is an involuntary fork, created because the repository would not update mmSPI. SPI library used to communicate with an altera development board attached to four zigbee-header pins.

Dependents:   Embedded_RTOS_Project

Fork of mmSPI by Mike Moore

Revision:
15:d6cc57c4e23d
Parent:
12:a1b7ce9c1d64
Child:
16:0e422fd263c6
--- a/mmSPI.h	Sun Aug 18 04:50:54 2013 +0000
+++ b/mmSPI.h	Mon Aug 19 04:41:29 2013 +0000
@@ -10,11 +10,14 @@
     1. the SPI interface pins are routed to the zigbee header.
 ------------------------------------------------//----------------------------*/
     #include "mbed.h"                           // standard mbed.org class.
+    #include "C12832_lcd.h"                     // LCD.
 //---defines------------------------------------//------------------------------
     #define mmSPI_MOSI p29                      // SPI interface pin.
     #define mmSPI_MISO p30                      // SPI interface pin.
     #define mmSPI_SCLK p9                       // SPI interface pin.
     #define mmCPU_CLK  p10                      // soft CPU system clock.
+    
+ 
 /*----------------------------------------------//------------------------------  
 ------------------------------------------------//----------------------------*/
 
@@ -34,6 +37,10 @@
         void transceive_vector(char *cReceive, char *cSend, char cNumBytes);
         
         void test_toggle_cpu_clock();           // cpu clock toggle test.
+        
+        void force_write(char, char, char);     // force write.  act as IR.
+        void force_read(char);
+
       private:
       
       DigitalOut * pMOSI;                       // SPI pin.