Gareth McMullin
3be6cd8f76
Corrected bit definitions for capture/compare input selection.
...
Thanks to Linux Casassa.
2012-04-07 09:01:39 +12:00
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
...
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
Stephen Caudle
1fea1df39a
Fix more STM32 whitespace issues
2011-10-31 11:11:03 -04:00
Piotr Esden-Tempski
c7587f11ec
Added get flag and get counter functions to timer. Allow proper interrupt handling and recording timer counter values.
2011-02-01 22:43:18 -08:00
Piotr Esden-Tempski
d40fb96fcf
Added set prescaler and set repetition counter functions to timer.
2011-01-31 22:08:37 -08:00
Piotr Esden-Tempski
92edc113f9
Added timer reset function.
2011-01-31 16:30:12 -08:00
Piotr Esden-Tempski
e85c55a9a7
Added timer flag reset function.
2011-01-31 16:15:09 -08:00
Piotr Esden-Tempski
dd0018ffdf
Added interrupt and event generation handling functions to timer. Updated pwm 6step example to use those and commutate on button press using PWM ON scheme.
2011-01-31 13:28:54 -08:00
Piotr Esden-Tempski
59293a9640
Added break and dead time convenience functions. Adapted 6step example to reflect that.
2011-01-28 16:04:36 -08:00
Piotr Esden-Tempski
a1bd228c87
Replaced OC mode selection with an enum, makes it simpler to use.
2011-01-28 15:11:52 -08:00
Piotr Esden-Tempski
5975750e5e
Added output compare channel convenience functions and adapted the pwm_6step example accordingly.
2011-01-27 22:18:34 -08:00
Piotr Esden-Tempski
d608049563
Started a pwm 6step output example. Enabled timer convenience functions and some minor fixes that showed themselves while writing the bare bone example.
2011-01-27 17:03:13 -08:00
Uwe Hermann
8f251e8a9d
Some more file/path restructuring.
...
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format.
If you want to get rid of the "libopencm3" prefix in your local project you
can add a respective -I entry in your Makefile (not recommended though).
All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib
directly (as before), but are now renamed to avoid potential
conflicts now or in the future. Examples:
libopencm3_lpc13xx.a
libopencm3_lpc13xx.ld
libopencm3_stm32.a
libopencm3_stm32.ld
2010-12-31 18:18:39 +01:00