mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32F1/common_objects.h
- Revision:
- 174:b96e65c34a4d
- Parent:
- 171:89b338f31ef1
diff -r e131a1973e81 -r b96e65c34a4d targets/TARGET_STM/TARGET_STM32F1/common_objects.h --- a/targets/TARGET_STM/TARGET_STM32F1/common_objects.h Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_STM/TARGET_STM32F1/common_objects.h Mon Oct 02 15:33:19 2017 +0100 @@ -116,6 +116,14 @@ uint8_t channel; }; +#if DEVICE_CAN +struct can_s { + CAN_HandleTypeDef CanHandle; + int index; + int hz; +}; +#endif + #include "gpio_object.h" #ifdef __cplusplus