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

Committer:
andrewboyson
Date:
Fri Apr 23 08:36:42 2021 +0000
Revision:
106:41ed3ea0bbba
Parent:
103:15583327fcdd
Not working, crashes.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:3c04f4b47041 1 #include <stdbool.h>
andrewboyson 0:3c04f4b47041 2
andrewboyson 0:3c04f4b47041 3 extern void SetClockSlewDivisor (int value);
andrewboyson 0:3c04f4b47041 4 extern void SetClockSlewMaxMs (int value);
andrewboyson 0:3c04f4b47041 5 extern void SetClockPpbDivisor (int value);
andrewboyson 0:3c04f4b47041 6 extern void SetClockPpbChangeMax (int value);
andrewboyson 0:3c04f4b47041 7 extern void SetClockSyncedLimitNs (int value);
andrewboyson 0:3c04f4b47041 8 extern void SetClockSyncedLimitPpb (int value);
andrewboyson 0:3c04f4b47041 9 extern void SetClockSyncedHysterisNs (int value);
andrewboyson 0:3c04f4b47041 10 extern void SetClockSyncedHysterisPpb(int value);
andrewboyson 0:3c04f4b47041 11 extern void SetClockMaxOffsetSecs (int value);
andrewboyson 8:8b5e0bb28da0 12 extern void ChgDnsSendRequestsViaIp4 (void);
andrewboyson 8:8b5e0bb28da0 13 extern void ChgNtpSendRequestsViaIp4 (void);
andrewboyson 8:8b5e0bb28da0 14 extern void ChgTftpSendRequestsViaIp4(void);
andrewboyson 8:8b5e0bb28da0 15
andrewboyson 8:8b5e0bb28da0 16 extern void SetTraceNetHost (char* pValue);
andrewboyson 8:8b5e0bb28da0 17 extern void ChgLogUart (void);
andrewboyson 8:8b5e0bb28da0 18 extern void ChgTraceNetStack (void);
andrewboyson 8:8b5e0bb28da0 19 extern void ChgTraceNetNewLine(void);
andrewboyson 8:8b5e0bb28da0 20 extern void ChgTraceNetVerbose(void);
andrewboyson 8:8b5e0bb28da0 21 extern void ChgTraceLink (void);
andrewboyson 8:8b5e0bb28da0 22 extern void ChgTraceDnsName (void);
andrewboyson 8:8b5e0bb28da0 23 extern void ChgTraceDnsQuery (void);
andrewboyson 8:8b5e0bb28da0 24 extern void ChgTraceDnsReply (void);
andrewboyson 8:8b5e0bb28da0 25 extern void ChgTraceDnsServer (void);
andrewboyson 8:8b5e0bb28da0 26 extern void ChgTraceNtp (void);
andrewboyson 8:8b5e0bb28da0 27 extern void ChgTraceDhcp (void);
andrewboyson 8:8b5e0bb28da0 28 extern void ChgTraceNsRecvSol (void);
andrewboyson 8:8b5e0bb28da0 29 extern void ChgTraceNsRecvAdv (void);
andrewboyson 8:8b5e0bb28da0 30 extern void ChgTraceNsSendSol (void);
andrewboyson 8:8b5e0bb28da0 31 extern void ChgTraceNr4 (void);
andrewboyson 103:15583327fcdd 32 extern void ChgTraceNr (void);
andrewboyson 8:8b5e0bb28da0 33 extern void ChgTraceNtpClient (void);
andrewboyson 8:8b5e0bb28da0 34 extern void ChgTraceSync (void);
andrewboyson 8:8b5e0bb28da0 35 extern void ChgTraceOneWire (void);
andrewboyson 8:8b5e0bb28da0 36 extern void ChgTraceEcho4 (void);
andrewboyson 8:8b5e0bb28da0 37 extern void ChgTraceEcho6 (void);
andrewboyson 8:8b5e0bb28da0 38 extern void ChgTraceDest6 (void);
andrewboyson 8:8b5e0bb28da0 39 extern void ChgTraceRa (void);
andrewboyson 8:8b5e0bb28da0 40 extern void ChgTraceRs (void);
andrewboyson 8:8b5e0bb28da0 41 extern void ChgTraceAr4 (void);
andrewboyson 8:8b5e0bb28da0 42 extern void ChgTraceAr6 (void);
andrewboyson 8:8b5e0bb28da0 43 extern void ChgTraceArp (void);
andrewboyson 8:8b5e0bb28da0 44 extern void ChgTraceIp4 (void);
andrewboyson 8:8b5e0bb28da0 45 extern void ChgTraceIp6 (void);
andrewboyson 8:8b5e0bb28da0 46 extern void ChgTraceUdp (void);
andrewboyson 8:8b5e0bb28da0 47 extern void ChgTraceTcp (void);
andrewboyson 8:8b5e0bb28da0 48 extern void ChgTraceHttp (void);
andrewboyson 8:8b5e0bb28da0 49 extern void ChgTraceTftp (void);
andrewboyson 0:3c04f4b47041 50
andrewboyson 28:bb55def47737 51
andrewboyson 28:bb55def47737 52 extern void SetNtpClientServerName ( char* value);
andrewboyson 28:bb55def47737 53 extern void SetNtpClientInitialInterval ( int value);
andrewboyson 28:bb55def47737 54 extern void SetNtpClientNormalInterval ( int value);
andrewboyson 28:bb55def47737 55 extern void SetNtpClientRetryInterval ( int value);
andrewboyson 28:bb55def47737 56 extern void SetNtpClientOffsetMs ( int value);
andrewboyson 28:bb55def47737 57 extern void SetNtpClientMaxDelayMs ( int value);
andrewboyson 28:bb55def47737 58
andrewboyson 106:41ed3ea0bbba 59 extern void SetValuesServerName (char* value);
andrewboyson 106:41ed3ea0bbba 60 extern void GetValuesServerName (char* value);
andrewboyson 106:41ed3ea0bbba 61 extern void SetValuesFileName (char* value);
andrewboyson 106:41ed3ea0bbba 62 extern void GetValuesFileName (char* value);
andrewboyson 106:41ed3ea0bbba 63 extern void SetValuesWriteSize (int* pValue);
andrewboyson 106:41ed3ea0bbba 64 extern void GetValuesWriteSize (int* pValue);
andrewboyson 106:41ed3ea0bbba 65 extern void SetValuesReadInterval(int* pValue);
andrewboyson 106:41ed3ea0bbba 66 extern void GetValuesReadInterval(int* pValue);
andrewboyson 106:41ed3ea0bbba 67 extern void SetValuesStartTime (int64_t* pValue);
andrewboyson 106:41ed3ea0bbba 68 extern void GetValuesStartTime (int64_t* pValue);
andrewboyson 106:41ed3ea0bbba 69 extern void SetValuesCount (int* pValue);
andrewboyson 106:41ed3ea0bbba 70 extern void GetValuesCount (int* pValue);
andrewboyson 106:41ed3ea0bbba 71 extern void GetValuesData(int index, char* pValue);
andrewboyson 106:41ed3ea0bbba 72 extern void SetValuesData(int count, void* pValue);
andrewboyson 28:bb55def47737 73
andrewboyson 28:bb55def47737 74 extern int SettingsNtpInit(void);
andrewboyson 0:3c04f4b47041 75 extern int SettingsInit(void);