Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: test-lpc1768 oldheating gps motorhome ... more
lpc1768.c@38:cdab3abc35b0, 2019-03-24 (annotated)
- 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?
| User | Revision | Line number | New 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 | } |