Andrew Boyson / lpc1768

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

Committer:
andrewboyson
Date:
Wed May 08 12:13:37 2019 +0000
Revision:
49:d056e2c5c4ee
Parent:
48:9784768cdc6c
Child:
51:fb18aa3ec115
Sorted out reset module to properly read the RSID register

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 49:d056e2c5c4ee 3 #include "reset.h"
andrewboyson 28:00c3324e2434 4 #include "firmware.h"
andrewboyson 48:9784768cdc6c 5 #include "lpc1768-this.h"
andrewboyson 28:00c3324e2434 6
andrewboyson 48:9784768cdc6c 7 void Lpc1768Init()
andrewboyson 48:9784768cdc6c 8 {
andrewboyson 48:9784768cdc6c 9 SystemInit();
andrewboyson 48:9784768cdc6c 10 LedInit();
andrewboyson 49:d056e2c5c4ee 11 ResetInit();
andrewboyson 48:9784768cdc6c 12 Lpc1768ThisInit();
andrewboyson 48:9784768cdc6c 13 }
andrewboyson 28:00c3324e2434 14 void Lpc1768Main()
andrewboyson 28:00c3324e2434 15 {
andrewboyson 49:d056e2c5c4ee 16 ResetMain();
andrewboyson 48:9784768cdc6c 17 FirmwareMain();
andrewboyson 48:9784768cdc6c 18 Lpc1768ThisMain();
andrewboyson 28:00c3324e2434 19 }