USBDevice with support for STM32F3
Fork of F042K6_USBDevice by
Diff: USBDevice/USBEndpoints_STM32F4.h
- Revision:
- 47:a0cd9646ecd1
- Parent:
- 16:4f6df64750bd
--- a/USBDevice/USBEndpoints_STM32F4.h Tue Mar 31 16:15:39 2015 +0100 +++ b/USBDevice/USBEndpoints_STM32F4.h Wed Apr 08 07:46:23 2015 +0100 @@ -49,12 +49,18 @@ /* Bulk endpoint */ #define EPBULK_OUT (EP2OUT) #define EPBULK_IN (EP2IN) +#define EPBULK_OUT_callback EP2_OUT_callback +#define EPBULK_IN_callback EP2_IN_callback /* Interrupt endpoint */ #define EPINT_OUT (EP1OUT) #define EPINT_IN (EP1IN) +#define EPINT_OUT_callback EP1_OUT_callback +#define EPINT_IN_callback EP1_IN_callback /* Isochronous endpoint */ #define EPISO_OUT (EP3OUT) #define EPISO_IN (EP3IN) +#define EPISO_OUT_callback EP3_OUT_callback +#define EPISO_IN_callback EP3_IN_callback #define MAX_PACKET_SIZE_EPBULK (MAX_PACKET_SIZE_EP2) #define MAX_PACKET_SIZE_EPINT (MAX_PACKET_SIZE_EP1)