Mercurial > pub > halpp
annotate l476rg-hal-test/include/msp.h @ 6:ca42336826bd default tip
working on clock sources
author | cin |
---|---|
date | Mon, 23 Jan 2017 02:40:17 +0300 |
parents | a0b14b11ad9f |
children |
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 }; |