aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/timer.h
AgeCommit message (Collapse)Author
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