aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/timer.c
AgeCommit message (Collapse)Author
2012-11-14[l1] Add common timer code support.Karl Palsson
This has only been tested functionally with basic timers, and basic operations. Advanced timer support has been #ifdefed to compile, but this probably needs more testing.
2012-10-31F2 timers are the same as F4 timers, so make the same changes to themThomas Daede
2012-10-31Add back timer_set_option for STM32F4, and document.Thomas Daede
2012-10-31Update comments and copy author from F4 version.Thomas Daede
2012-10-30Move timer.c to be common to all stm32 seriesThomas Daede
2011-10-12Renaming lib code for stm32 f1 series. Fergus Noble
2011-02-03Cosmetics, whitespace, reduced indentation level.Uwe Hermann
2011-02-01Added get flag and get counter functions to timer. Allow proper interrupt ↵Piotr Esden-Tempski
handling and recording timer counter values.
2011-01-31Added set prescaler and set repetition counter functions to timer.Piotr Esden-Tempski
2011-01-31Added timer reset function.Piotr Esden-Tempski
2011-01-31Added timer flag reset function.Piotr Esden-Tempski
2011-01-31Added interrupt and event generation handling functions to timer. Updated ↵Piotr Esden-Tempski
pwm 6step example to use those and commutate on button press using PWM ON scheme.
2011-01-28Added break and dead time convenience functions. Adapted 6step example to ↵Piotr Esden-Tempski
reflect that.
2011-01-28Replaced OC mode selection with an enum, makes it simpler to use.Piotr Esden-Tempski
2011-01-27Added output compare channel convenience functions and adapted the pwm_6step ↵Piotr Esden-Tempski
example accordingly.
2011-01-27Started a pwm 6step output example. Enabled timer convenience functions and ↵Piotr Esden-Tempski
some minor fixes that showed themselves while writing the bare bone example.
2010-12-31Some more file/path restructuring.Uwe Hermann
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-30More renames for libopenstm32 -> libopencm3.Uwe Hermann
2010-12-30Rename include/libopenstm32 to include/stm32.Uwe Hermann
2010-12-30Move STM32-specific source to lib/stm32 subdir.Uwe Hermann