123

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
149:abbf7663d27d
Child:
161:efd949e8d536
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DeviceSSP.h	Tue May 03 05:12:26 2016 +0000
@@ -0,0 +1,16 @@
+#ifndef __DEVICE_SSP_H__
+#define __DEVICE_SSP_H__
+
+typedef struct _DeviceSSP {
+  uint32_t in[5];
+  uint32_t accumulator[5];
+  uint8_t dataReady;
+  uint32_t out[2];
+} DeviceSSP;
+
+void InitSSPWithDefaults(void);
+void InitSSP(void);
+void DeviceSSPReceive(void);
+void DeviceSSPTransmit(uint8_t index);
+
+#endif  /* __DEVICE_SSP_H__ */
\ No newline at end of file