Central Heating controller using the real time clock, PHY module for internet, 1-wire interface for temperature sensors, a system log and a configuration file
Dependencies: net 1-wire lpc1768 crypto clock web fram log
/media/uploads/andrewboyson/heating.sch
/media/uploads/andrewboyson/heating.brd
/media/uploads/andrewboyson/eagle.epf
Diff: fram/fram.h
- Revision:
- 0:3c04f4b47041
diff -r 000000000000 -r 3c04f4b47041 fram/fram.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fram/fram.h Thu Jan 11 17:40:08 2018 +0000 @@ -0,0 +1,11 @@ +#include <stdbool.h> + +extern bool FramEmpty; +extern int FramUsed; +extern int FramInit(void); +extern int FramAllocate(int size); +extern void FramWrite(int address, int len, void* pVoid); +extern void FramRead (int address, int len, void* pVoid); +extern int FramLoad (int len, void* pValue, void* pDefault); + +#define FRAM_SIZE 8192