Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
utility.h
00001 #ifndef __UTILITY_H 00002 #define __UTILITY_H 00003 00004 00005 #include "mbed.h" 00006 #include <ctype.h> 00007 #include <stdio.h> 00008 #include "adxl355.h" 00009 #include "define.h" 00010 00011 typedef struct 00012 { /* Index */ 00013 uint32_t index; 00014 /* Error */ 00015 uint16_t error; 00016 /* Timestamp */ 00017 uint32_t timestamp; 00018 /* ADXL 355 */ 00019 uint32_t adxl355_rawX; 00020 uint32_t adxl355_rawY; 00021 uint32_t adxl355_rawZ; 00022 uint32_t adxl355_rawT; 00023 /* ADXL 354 */ 00024 uint32_t adxl354_rawX; 00025 uint32_t adxl354_rawY; 00026 uint32_t adxl354_rawZ; 00027 uint32_t adxl354_rawT; 00028 /* COLIBRYS */ 00029 uint32_t colibrys_rawVal; 00030 uint32_t colibrys_rawTEMPval; 00031 }record_t; 00032 00033 00034 /* Funzione di gestione interrupt pulsante */ 00035 //void pressed(void); 00036 /* Funzione di gestione dell'interrupt dell'ADXL355 */ 00037 //void adxl355_int_handler(void); 00038 /* Funzione di salvataggio su SD Card */ 00039 //void save_data_SD_card(uint8_t* data2save, uint16_t length); 00040 #endif 00041
Generated on Thu Jul 14 2022 17:03:54 by
1.7.2