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@60:b4f337685ec4, 2019-09-24 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Sep 24 18:15:09 2019 +0000
- Revision:
- 60:b4f337685ec4
- Parent:
- 59:6c2b9318ee68
Added big 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 | 49:d056e2c5c4ee | 3 | #include "reset.h" |
| andrewboyson | 28:00c3324e2434 | 4 | #include "firmware.h" |
| andrewboyson | 48:9784768cdc6c | 5 | #include "lpc1768-this.h" |
| andrewboyson | 51:fb18aa3ec115 | 6 | #include "rtc.h" |
| andrewboyson | 51:fb18aa3ec115 | 7 | #include "hrtimer.h" |
| andrewboyson | 51:fb18aa3ec115 | 8 | #include "random.h" |
| andrewboyson | 51:fb18aa3ec115 | 9 | #include "mstimer.h" |
| andrewboyson | 51:fb18aa3ec115 | 10 | #include "scan.h" |
| andrewboyson | 52:88d594aca377 | 11 | #include "bignum.h" |
| andrewboyson | 28:00c3324e2434 | 12 | |
| andrewboyson | 48:9784768cdc6c | 13 | void Lpc1768Init() |
| andrewboyson | 48:9784768cdc6c | 14 | { |
| andrewboyson | 48:9784768cdc6c | 15 | SystemInit(); |
| andrewboyson | 48:9784768cdc6c | 16 | LedInit(); |
| andrewboyson | 49:d056e2c5c4ee | 17 | ResetInit(); |
| andrewboyson | 48:9784768cdc6c | 18 | Lpc1768ThisInit(); |
| andrewboyson | 51:fb18aa3ec115 | 19 | RtcInit(); |
| andrewboyson | 51:fb18aa3ec115 | 20 | HrTimerInit(); |
| andrewboyson | 48:9784768cdc6c | 21 | } |
| andrewboyson | 28:00c3324e2434 | 22 | void Lpc1768Main() |
| andrewboyson | 28:00c3324e2434 | 23 | { |
| andrewboyson | 49:d056e2c5c4ee | 24 | ResetMain(); |
| andrewboyson | 48:9784768cdc6c | 25 | FirmwareMain(); |
| andrewboyson | 48:9784768cdc6c | 26 | Lpc1768ThisMain(); |
| andrewboyson | 51:fb18aa3ec115 | 27 | RandomMain(); |
| andrewboyson | 51:fb18aa3ec115 | 28 | MsTimerMain(); |
| andrewboyson | 51:fb18aa3ec115 | 29 | ScanMain(); |
| andrewboyson | 28:00c3324e2434 | 30 | } |