File tree 1 file changed +10
-1
lines changed
src/modm/platform/clock/stm32
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright (c) 2012, 2017, Fabian Greif
4
4
* Copyright (c) 2012, 2014-2017, Niklas Hauser
5
5
* Copyright (c) 2013-2014, Kevin Läufer
6
- * Copyright (c) 2018, 2021, Christopher Durand
6
+ * Copyright (c) 2018, 2021-2022 , Christopher Durand
7
7
*
8
8
* This file is part of the modm project.
9
9
*
19
19
#include <stdint.h>
20
20
#include "../device.hpp"
21
21
#include <modm/platform/core/peripherals.hpp>
22
+ #include <modm/platform/gpio/connector.hpp>
22
23
#include <modm/architecture/interface/delay.hpp>
23
24
24
25
namespace modm::platform
@@ -843,6 +844,14 @@ public:
843
844
static void
844
845
updateCoreFrequency();
845
846
847
+ template< class... Signals >
848
+ static void
849
+ connect()
850
+ {
851
+ using Connector = GpioConnector<Peripheral::Rcc, Signals...>;
852
+ Connector::connect();
853
+ }
854
+
846
855
public:
847
856
template< Peripheral peripheral >
848
857
static void
You can’t perform that action at this time.
0 commit comments