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:
36:32cdc295f859
Parent:
35:6152c9709697
--- a/mmSPI.h	Sun Sep 01 02:29:08 2013 +0000
+++ b/mmSPI.h	Tue Sep 17 19:06:50 2013 +0000
@@ -3,13 +3,13 @@
 /*----------------------------------------------//------------------------------
     student   : m-moore
     email     : gated.clock@gmail.com
-    class     : usb device drivers
+    class     : embedded RTOS
     directory : USB_device_project/mmSPI
     file      : mmSPI.h
-    date      : september 3, 2013.
+    date      : september 19, 2013.
 ----copyright-----------------------------------//------------------------------   
     licensed for personal and academic use.
-    commercial use must be approved by the account-holder of
+    commercial use of original code must be approved by the account-holder of
     gated.clock@gmail.com
 ----description---------------------------------//------------------------------  
     this library provides the low-level SPI data and clock signaling 
@@ -40,9 +40,10 @@
         void          transceive_vector(char cPreCPU, char cPreSPI, char cScan, char cPostCPU);       
         
                                                 // write/read CPU registers.     
-        void          write_register(char cRegister, char cValue);
-        void          write_IR      (char cValueH, char cValueL);
-        char          read_register (char cRegister);
+        void          write_register    (char   cRegister, char cValue);
+        void          write_IR          (char   cValueH,   char cValueL);
+        char          read_register     (char   cRegister);
+        void          read_all_registers(char * pcRegisters);
         
                                                 // write/read CPU main-memory.
         void          write_memory(char cHData, char cLdata, char cAddress);