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
Uwe Hermann
95793aa6ce
Rename include guards to LIBOPENCM3_*.
2010-12-31 01:11:14 +01:00
Uwe Hermann
9deb34de75
Add FSMC register definitions.
2010-12-31 01:02:40 +01:00
Uwe Hermann
43856e1436
FSMC: Implement all missing bit defines.
2010-12-31 00:35:20 +01:00
Uwe Hermann
62f1bab21f
Start adding FSMC #defines (FSMC_BCRx for now).
2010-12-30 23:21:53 +01:00
Uwe Hermann
18790a2454
More renames for libopenstm32 -> libopencm3.
2010-12-30 13:19:25 +01:00
Uwe Hermann
deb3db7623
Drop unused and useless libopenstm32.h.
2010-12-30 03:01:42 +01:00
Uwe Hermann
be2ac142d9
Rename include/libopenstm32 to include/stm32.
2010-12-30 02:23:51 +01:00
Uwe Hermann
b65f3f06d0
Add initial lpc-p1343/miniblink example (untested).
...
This is not yet tested on hardware, it probably won't work, yet.
2010-12-30 01:36:16 +01:00
Uwe Hermann
b385b7a172
NXP LPC13XX: Initial memorymap.h and gpio.h.
...
Add initial support for the NXP LPC13XX family of ARM Cortex-M3
devices, including the LPC1311, LPC1313, LPC1342, or LPC1343.
This should re-use parts of our generic Cortex-M3 stuff (which is
gradually moved into cm3/ subdirs) where possible.
2010-12-30 00:59:45 +01:00
Uwe Hermann
17b2e87ba3
Factor out cm3/common.h and cm3/memorymap.h.
2010-12-30 00:53:52 +01:00
Uwe Hermann
d9f6f200c1
Some more whitespace + cosmetics.
2010-12-29 18:29:47 +01:00
Uwe Hermann
c39eb69e4d
Replace uint8_t with u8 et al, fix whitespace.
2010-12-29 17:28:06 +01:00
Uwe Hermann
34fd228bf9
Move generic USB stuff to a subdir, dedupe .h files.
...
Adapt examples and the lib code accordingly.
2010-12-29 17:02:36 +01:00
Uwe Hermann
f062777930
More whitespace fixes.
2010-12-29 16:43:26 +01:00
Uwe Hermann
1c6d7cf06a
Merge branch 'martinmm'.
2010-12-29 15:12:23 +01:00
Piotr Esden-Tempski
e5941fb075
Improved usart api implementation to be more readable.
2010-12-29 13:56:22 +01:00
Piotr Esden-Tempski
bf0b987fe3
Splitted out the usart recv and send functions to have blocking and non blocking versions of those.
2010-12-27 15:29:22 +01:00
Uwe Hermann
06d1a5ca80
CAN: Cosmetics and coding-style fixes.
2010-12-26 00:30:05 +01:00
Piotr Esden-Tempski
e7d765ea90
Factored out CAN helper functions out of the example. Test code now also uses the received data.
2010-12-25 20:39:46 +01:00
Piotr Esden-Tempski
02f6c4a921
Fixed defines for extended id's.
2010-12-22 21:53:14 +01:00
Piotr Esden-Tempski
3d4e1fa8b8
Fixed wrong register name in bit defines.
2010-12-22 21:15:22 +01:00
Piotr Esden-Tempski
618912e45f
Added CAN bit definitions.
2010-12-22 02:50:47 +01:00
Piotr Esden-Tempski
c038ee0361
Added more pin remap pin definitions and gpio function remap definitions.
2010-12-21 20:14:54 +01:00
Piotr Esden-Tempski
58e36dab2d
First implementation of CAN peripheral register definitions.
2010-12-17 21:45:38 +01:00
Uwe Hermann
eebbd508fc
TIM1 GPIO remapping + gpio_port_config_lock().
...
Thanks to Philip Court <philip@greenstage.co.nz> for the patch.
2010-12-17 06:04:28 +01:00
Uwe Hermann
4ef35380e8
Register definitions for the STM32F107 Ethernet.
...
Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-12-17 05:50:00 +01:00
Gareth McMullin
7f002110dc
Improved dispatching of user control callbacks.
...
Only cdc_acm example is updated.
2010-11-06 12:21:46 +13:00
Gareth McMullin
5bba6d9206
Fixed logic for clearing data toggle bits.
2010-11-04 18:20:28 +13:00
Gareth McMullin
87960830f4
Fixed HALT condition handling and data toggle.
2010-11-04 16:49:03 +13:00
Martin Mueller
d6eacce827
add standard request
2010-11-04 00:44:47 +01:00
Uwe Hermann
6e090ccee1
Initial USB device stack for STM32.
...
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
2010-11-02 02:02:21 +01:00
Uwe Hermann
68b7e255ad
Add timer handling functions.
...
Thanks to Edward Cheeseman <cheesemanedward@gmail.com>.
2010-10-18 00:36:39 +02:00
Uwe Hermann
0287fd9029
Add more support functions for flash handling.
...
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-10-18 00:20:59 +02:00
Uwe Hermann
6ba179b361
Various cosmetic and coding style fixes.
2010-06-29 23:01:44 +02:00
Thomas Otto
388f940475
Initial EXTI support.
...
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
2010-05-12 18:12:31 +02:00
Thomas Otto
3dfeb30b41
Deleted double definition IWDG_PR_DIV256.
2010-05-11 22:03:30 +02:00
Thomas Otto
dd5553f122
Changed rcc.h defs to rcc_registername_ prefix.
2010-05-11 13:46:10 +02:00
Uwe Hermann
93fe67908a
Add more RTC functions and an RTC example.
...
Thanks Lord James <lordjames@y7mail.com> for the patch!
2010-05-10 00:40:42 +02:00
Thomas Otto
8195b1a718
Renamed power.h -> pwr.h.
2010-05-06 00:54:21 +02:00
Thomas Otto
fbb05e1536
Changed defs POWER->PWR to be in sync with datasheet.
2010-05-03 19:23:56 +02:00
Thomas Otto
8467f0ee25
Added BKP definitions.
2010-05-03 18:51:36 +02:00
Thomas Otto
5b48dc1845
Added definitions for CRC.
2010-05-03 16:49:08 +02:00
Thomas Otto
7450d0aad1
Added definitions for POWER control.
2010-05-03 15:31:55 +02:00
Thomas Otto
e172a05f86
Added definitions for WWDG.
2010-05-03 14:17:07 +02:00
Thomas Otto
11b366b27d
Corrected IWDG_BASE calculations.
2010-05-02 21:08:00 +02:00