The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_NUCLEO_F410RB/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_pcd.h
- Revision:
- 132:9baf128c2fab
- Parent:
- 128:9bcdf88f62b0
- Child:
- 145:64910690c574
--- a/TARGET_NUCLEO_F410RB/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_pcd.h Thu Dec 15 11:17:48 2016 +0000 +++ b/TARGET_NUCLEO_F410RB/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_pcd.h Tue Dec 20 15:36:52 2016 +0000 @@ -92,14 +92,21 @@ /** * @brief PCD Handle Structure definition - */ + */ + +typedef struct +{ + HAL_LockTypeDef Lock; +} PCD_EPLockDef; + typedef struct { PCD_TypeDef *Instance; /*!< Register base address */ PCD_InitTypeDef Init; /*!< PCD required parameters */ PCD_EPTypeDef IN_ep[15]; /*!< IN endpoint parameters */ PCD_EPTypeDef OUT_ep[15]; /*!< OUT endpoint parameters */ - HAL_LockTypeDef Lock; /*!< PCD peripheral status */ + HAL_LockTypeDef Lock; /*!< PCD peripheral status */ + PCD_EPLockDef EPLock[15]; /*!< PCD endpoint peripheral status */ __IO PCD_StateTypeDef State; /*!< PCD communication state */ uint32_t Setup[12]; /*!< Setup packet buffer */ #ifdef USB_OTG_GLPMCFG_LPMEN