Andrew Boyson / lpc1768

Dependents:   test-lpc1768 oldheating gps motorhome ... more

Committer:
andrewboyson
Date:
Sun Mar 24 19:41:03 2019 +0000
Revision:
38:cdab3abc35b0
Parent:
28:00c3324e2434
Child:
48:9784768cdc6c
Added random module to use the entropy in the scan time to create 64 bit random numbers.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 28:00c3324e2434 1 #include "system.h"
andrewboyson 28:00c3324e2434 2 #include "led.h"
andrewboyson 28:00c3324e2434 3 #include "fault.h"
andrewboyson 28:00c3324e2434 4 #include "firmware.h"
andrewboyson 38:cdab3abc35b0 5 #include "random.h"
andrewboyson 28:00c3324e2434 6
andrewboyson 28:00c3324e2434 7 void Lpc1768Main()
andrewboyson 28:00c3324e2434 8 {
andrewboyson 28:00c3324e2434 9 FaultMain();
andrewboyson 38:cdab3abc35b0 10 RandomMain();
andrewboyson 28:00c3324e2434 11 FirmwareMain();
andrewboyson 28:00c3324e2434 12 }
andrewboyson 28:00c3324e2434 13 void Lpc1768Init()
andrewboyson 28:00c3324e2434 14 {
andrewboyson 28:00c3324e2434 15 SystemInit();
andrewboyson 28:00c3324e2434 16 LedInit();
andrewboyson 28:00c3324e2434 17 FaultInit();
andrewboyson 28:00c3324e2434 18 }