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.
FPGA.h@6:a61b01442f37, 2018-04-18 (annotated)
- Committer:
- BenRJG
- Date:
- Wed Apr 18 08:50:25 2018 +0000
- Revision:
- 6:a61b01442f37
- Parent:
- 5:11489c0bd020
Fixed multiple defined Reset and Undefined func
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| BenRJG | 4:bcef9164776e | 1 | #ifndef _FPGA_H_ |
| BenRJG | 4:bcef9164776e | 2 | #define _FPGA_H_ |
| BenRJG | 4:bcef9164776e | 3 | //////Included Files////// |
| BenRJG | 4:bcef9164776e | 4 | #include "SPI.h" |
| BenRJG | 4:bcef9164776e | 5 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 6 | |
| BenRJG | 4:bcef9164776e | 7 | ///////Definitions//////// |
| BenRJG | 4:bcef9164776e | 8 | |
| BenRJG | 4:bcef9164776e | 9 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 10 | |
| BenRJG | 4:bcef9164776e | 11 | ////////Functions///////// |
| BenRJG | 6:a61b01442f37 | 12 | void reset_board(void); |
| BenRJG | 6:a61b01442f37 | 13 | |
| BenRJG | 5:11489c0bd020 | 14 | int32_t read_switches(void); //Read 4 Sliding switches on FPGA (Simulating OPTO-Switches from Motor(s) |
| BenRJG | 5:11489c0bd020 | 15 | void SPI_TEST(void); |
| BenRJG | 4:bcef9164776e | 16 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 17 | #endif |
