mbed
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32F4/common_objects.h
- Revision:
- 168:9672193075cf
- Parent:
- 157:ff67d9f36b67
- Child:
- 169:e3b6fe271b81
--- a/targets/TARGET_STM/TARGET_STM32F4/common_objects.h Wed Jun 21 17:46:44 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32F4/common_objects.h Thu Jul 06 15:42:05 2017 +0100 @@ -113,6 +113,14 @@ #define GPIO_IP_WITHOUT_BRR #include "gpio_object.h" +#if DEVICE_ANALOGOUT +struct dac_s { + DACName dac; + uint32_t channel; + DAC_HandleTypeDef handle; +}; +#endif + #ifdef __cplusplus } #endif