diff l476rg-hal-test/include/msp.h @ 1:a0b14b11ad9f

working on dependencies between MCU devices such as GPIO, Pins and Timers
author cin
date Fri, 13 Jan 2017 02:11:02 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/l476rg-hal-test/include/msp.h	Fri Jan 13 02:11:02 2017 +0300
@@ -0,0 +1,14 @@
+#pragma once
+#include "pwm.h"
+#include "stm32l476xx.h"
+
+using namespace halpp;
+
+
+class Hardware {
+
+	typedef TPwmChannel<TIM_TypeDef, TPwmChannel1Traits<TIM_TypeDef> > PwmChannel1;
+public:
+
+	static PwmChannel1 pwm1;
+};