mbed
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L4/common_objects.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 172:89b338f31ef1
diff -r e84263d55307 -r 9672193075cf targets/TARGET_STM/TARGET_STM32L4/common_objects.h --- a/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Wed Jun 21 17:46:44 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Thu Jul 06 15:42:05 2017 +0100 @@ -118,6 +118,13 @@ #include "gpio_object.h" +struct dac_s { + DACName dac; + PinName pin; + uint32_t channel; + DAC_HandleTypeDef handle; +}; + #ifdef __cplusplus } #endif