Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)
Dependents: DISCO-F746NG_USB_Host
Fork of KL46Z-USBHost by
USBHost/USB_Helper.h@25:7d6d9fc471bf, 2016-06-17 (annotated)
- Committer:
- DieterGraef
- Date:
- Fri Jun 17 09:00:35 2016 +0000
- Revision:
- 25:7d6d9fc471bf
- Parent:
- 24:5396b6a93262
USB Host now works with both Interfaces even in parallel. Some changes in the USB MSD driver to make it operable
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DieterGraef | 24:5396b6a93262 | 1 | /* Define to prevent recursive inclusion -------------------------------------*/ |
DieterGraef | 24:5396b6a93262 | 2 | #ifndef USB_Helper |
DieterGraef | 24:5396b6a93262 | 3 | #define USB_Helper |
DieterGraef | 24:5396b6a93262 | 4 | |
DieterGraef | 24:5396b6a93262 | 5 | #include "cmsis.h" |
DieterGraef | 24:5396b6a93262 | 6 | |
DieterGraef | 24:5396b6a93262 | 7 | #ifdef __cplusplus |
DieterGraef | 24:5396b6a93262 | 8 | extern "C" { |
DieterGraef | 24:5396b6a93262 | 9 | #endif |
DieterGraef | 24:5396b6a93262 | 10 | |
DieterGraef | 24:5396b6a93262 | 11 | void CPU_CACHE_Flush(uint32_t * buffer, uint32_t length); |
DieterGraef | 24:5396b6a93262 | 12 | |
DieterGraef | 24:5396b6a93262 | 13 | #ifdef __cplusplus |
DieterGraef | 24:5396b6a93262 | 14 | } |
DieterGraef | 24:5396b6a93262 | 15 | #endif |
DieterGraef | 24:5396b6a93262 | 16 | |
DieterGraef | 24:5396b6a93262 | 17 | #endif /* ___SD_Helper */ |