File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/modm/platform/clock/stm32 Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 33 * Copyright (c) 2012, 2017, Fabian Greif
44 * Copyright (c) 2012, 2014-2017, Niklas Hauser
55 * Copyright (c) 2013-2014, Kevin Läufer
6- * Copyright (c) 2018, 2021, Christopher Durand
6+ * Copyright (c) 2018, 2021-2022 , Christopher Durand
77 *
88 * This file is part of the modm project.
99 *
1919#include <stdint.h>
2020#include "../device.hpp"
2121#include <modm/platform/core/peripherals.hpp>
22+ #include <modm/platform/gpio/connector.hpp>
2223#include <modm/architecture/interface/delay.hpp>
2324
2425namespace modm::platform
@@ -843,6 +844,14 @@ public:
843844 static void
844845 updateCoreFrequency();
845846
847+ template< class... Signals >
848+ static void
849+ connect()
850+ {
851+ using Connector = GpioConnector<Peripheral::Rcc, Signals...>;
852+ Connector::connect();
853+ }
854+
846855public:
847856 template< Peripheral peripheral >
848857 static void
You can’t perform that action at this time.
0 commit comments