Firmware for Nucleo boards for the SLab system Description at http://r6500.blogspot.com.es/2018/02/slab-first-release.html All associated files at https://github.com/R6500/SLab
Diff: Nucleo64-F303RE.h
- Revision:
- 1:d81bef65eece
- Parent:
- 0:39a545e08ccd
diff -r 39a545e08ccd -r d81bef65eece Nucleo64-F303RE.h --- a/Nucleo64-F303RE.h Sat Feb 10 09:43:16 2018 +0000 +++ b/Nucleo64-F303RE.h Sun Feb 11 16:14:51 2018 +0000 @@ -2,6 +2,9 @@ Header file for the Nucleo64 F303RE Board +MBED page for the board: +https://os.mbed.com/platforms/ST-Nucleo-F303RE/ + Basic requirements for a board are: MBED Compatible 2 DACs or more @@ -44,6 +47,8 @@ #define AD3 A4 #define AD4 A5 +#define FAST_ADC // Optimized code for single readings + // DACs #define DA1 A2 #define DA2 D13 @@ -89,6 +94,9 @@ // List of DAC and ADC pins #define PIN_LIST "A2|D13|A0|A1|A4|A5|D2|D3|D4|D5|D6|D7|D8|D9|$" +// HALT signal +#define HALT_PIN USER_BUTTON +//#define HALT_RISING // Interrupt is on falling // Hardware profiling defines #ifdef USE_PROFILING