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.
Dependencies: KL25Z_ClockControl MODSERIAL mbed
Fork of EtherCAT-XbusMaster by
Diff: EtherCAT/cpuinit.h
- Revision:
- 17:c5946a0fde83
- Parent:
- 13:5e4dcbd44786
- Child:
- 18:6629e8c5d59e
--- a/EtherCAT/cpuinit.h Tue Mar 03 15:01:29 2015 +0000 +++ b/EtherCAT/cpuinit.h Thu Mar 05 22:22:47 2015 +0000 @@ -35,18 +35,14 @@ #include "xbus.h" extern void cpuinit(void); +extern struct xbus_struct xbus_master; -//#define SHOE_SERIAL_TX PA_9 -//#define SHOE_SERIAL_RX PA_10 #define ET1100_MOSI PTD2 #define ET1100_MISO PTD3 #define ET1100_SCK PTD1 #define ET1100_SS PTD0 #define LED_PIN PTB18 -#define ADC_FL PTB0 -#define ADC_FR PTB2 -#define ADC_BL PTB1 -#define ADC_BR PTB3 + extern DigitalOut led; extern DigitalOut et1100_ss;
