Working version. ADXL355 data saved to microSD.

Revision:
0:e2579e8d9b13
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utility.h	Fri Sep 29 12:53:50 2017 +0000
@@ -0,0 +1,41 @@
+#ifndef __UTILITY_H
+#define __UTILITY_H
+
+
+#include "mbed.h"
+#include <ctype.h>
+#include <stdio.h>
+#include "adxl355.h"
+#include "define.h"
+
+typedef struct 
+{   /* Index */
+    uint32_t index; 
+    /* Error */
+    uint16_t  error; 
+    /* Timestamp */
+    uint32_t timestamp;
+    /* ADXL 355 */
+    uint32_t adxl355_rawX;  
+    uint32_t adxl355_rawY;
+    uint32_t adxl355_rawZ;  
+    uint32_t adxl355_rawT;  
+    /* ADXL 354 */
+    uint32_t adxl354_rawX;  
+    uint32_t adxl354_rawY;
+    uint32_t adxl354_rawZ;  
+    uint32_t adxl354_rawT;      
+    /* COLIBRYS */
+    uint32_t colibrys_rawVal;   
+    uint32_t colibrys_rawTEMPval;           
+}record_t;
+
+
+/* Funzione di gestione interrupt pulsante */
+//void pressed(void);
+/* Funzione di gestione dell'interrupt dell'ADXL355 */
+//void adxl355_int_handler(void); 
+/* Funzione di salvataggio su SD Card */
+//void save_data_SD_card(uint8_t* data2save, uint16_t length);
+#endif
+