The SPI-MEMS example, its not great but it does use the SPI

port and can tell you the temperature of the room you are in.
This commit is contained in:
cmcmanis
2014-02-09 13:24:48 -08:00
committed by Piotr Esden-Tempski
parent e5585dd07d
commit 4defd3e1d2
8 changed files with 739 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/*
* This include file describes the functions exported by clock.c
*/
#ifndef __CLOCK_H
#define __CLOCK_H
/*
* Definitions for functions being abstracted out
*/
void msleep(uint32_t);
uint32_t mtime(void);
void clock_setup(void);
#endif /* generic header protector */