annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
1 #pragma once
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
2 #include "pwm.h"
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
3 #include "stm32l476xx.h"
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
4
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
5 using namespace halpp;
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
6
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
7
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
8 class Hardware {
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
9
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
10 typedef TPwmChannel<TIM_TypeDef, TPwmChannel1Traits<TIM_TypeDef> > PwmChannel1;
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
11 public:
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
12
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
13 static PwmChannel1 pwm1;
a0b14b11ad9f working on dependencies between MCU devices such as GPIO, Pins and Timers
cin
parents:
diff changeset
14 };