203 Commits

Author SHA1 Message Date
Thomas Otto
4ae25c865b Corrected comment only. 2010-04-13 22:42:26 +02:00
Thomas Otto
d3890f9b32 Added systick example to Makefile. 2010-04-13 22:38:24 +02:00
Thomas Otto
7c32f63332 Added little systick example. 2010-04-13 22:33:52 +02:00
Thomas Otto
905b5112b6 Some improvements to systick.h+c. 2010-04-13 22:26:07 +02:00
Thomas Otto
37e71e3e5c Added spi_send() to the spi.h. 2010-04-12 21:22:02 +02:00
Thomas Otto
0fed8c6cc5 Added spi_send() equivalent to usart_send(). 2010-04-12 21:12:52 +02:00
Thomas Otto
e68f248d11 Fixed typo. 2010-04-02 22:23:11 +02:00
Thomas Otto
56dd9bc887 Completed spi.h. 2010-04-02 21:42:48 +02:00
Thomas Otto
47c51fc9cc Some additions to spi.c+h. 2010-03-30 22:29:02 +02:00
Thomas Otto
e50b836ada Added timer_interrupt example. 2010-03-28 16:11:45 +02:00
Thomas Otto
9dc0af94b0 Added dma_mem2mem example. 2010-03-28 15:52:49 +02:00
Thomas Otto
97e27b2430 Make 72MHz the default in usart.c 2010-03-28 15:51:10 +02:00
Thomas Otto
9d2e074b3d Cosmetic fixes. 2010-03-28 15:19:32 +02:00
Thomas Otto
9132e6b9f5 Corrected definitions in dma.h. 2010-03-26 23:13:52 +01:00
Thomas Otto
561ce37809 Changed address setting in dma.c+h. 2010-03-26 17:36:15 +01:00
Thomas Otto
0f710dd8fa Fixed settings of groups in adc.c. 2010-03-26 17:35:15 +01:00
Thomas Otto
2bada0dacd Merge branch 'master' of tommi@viadmin.org:/opt/git/libopenstm32 2010-03-26 10:17:00 +01:00
Thomas Otto
bd725f59ae Small corrections/additions to adc.h. 2010-03-26 10:14:17 +01:00
Thomas Otto
3518301870 Integrated systick into build system. 2010-03-25 13:13:01 +01:00
Thomas Otto
feb3f187fe Added systick.h definitions. 2010-03-25 13:11:59 +01:00
Thomas Otto
be986aa8d9 Corrected Makefile for ADC example 2010-03-25 10:13:15 +01:00
Thomas Otto
d96b318795 Added some address setting functions to dma. 2010-03-24 22:51:43 +01:00
Thomas Otto
a0e026d110 Added generic values for ADC_SMPR_SMP to adc.h. 2010-03-24 20:44:32 +01:00
Thomas Otto
3882f8f96f Fixed binary name in README 2010-03-24 20:41:27 +01:00
Thomas Otto
384a7e688e Added adc_temperature_sensor to examples 2010-03-24 20:36:19 +01:00
Thomas Otto
eb3f45dcdb Completed scb.h definitions. 2010-03-24 15:39:44 +01:00
Thomas Otto
cdf93fedfa Small correction in isr table. 2010-03-23 21:05:37 +01:00
Thomas Otto
1f8d94df35 Added irq number definitions. 2010-03-23 21:02:01 +01:00
Thomas Otto
80984d44c4 splitted nvic and scb 2010-03-22 22:08:07 +01:00
Thomas Otto
426d6a45fc added some SCB defs. Added some NVIC functions. 2010-03-22 22:01:44 +01:00
Thomas Otto
e4788f67b6 added dma.h and basic functions 2010-03-22 21:52:49 +01:00
Thomas Otto
561c9a1d3e added basic adc funktions 2010-03-22 21:40:08 +01:00
Uwe Hermann
a6342d4968 Cosmetic fixes. 2010-03-06 15:22:09 +01:00
Uwe Hermann
e6c72d5cfc Fix bug: PLLMUL_PLL_CLK_MUL9 is correct. 2010-03-06 15:07:21 +01:00
Uwe Hermann
4390abfd95 Cosmetic and coding style changes. 2010-03-06 14:49:59 +01:00
Uwe Hermann
dd0548ee2b Add some development guidelines and notes. 2010-03-05 23:52:22 +01:00
Uwe Hermann
b3618ffa3d Factor out coding guidelines to HACKING. 2010-03-05 23:39:06 +01:00
Uwe Hermann
bc9a9ebec1 Small README fixes. 2010-03-05 23:38:11 +01:00
Uwe Hermann
d8eb8ce746 Consistently use the hex file for flashing. 2010-03-05 23:30:26 +01:00
Uwe Hermann
8faf33275a Makefile output cosmetic improvements. 2010-03-05 23:24:09 +01:00
Uwe Hermann
20ff2d9a7b Drop unused comments. 2010-03-05 23:16:56 +01:00
Uwe Hermann
87df73edf2 Print "Entering directory" only upon "make V=1". 2010-03-05 23:13:47 +01:00
Uwe Hermann
2c8ae015d0 Use standardized reg32 variable name. 2010-03-05 22:46:27 +01:00
Uwe Hermann
46e5ed202a Add i2c_stts75_sensor example.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-03-05 22:35:29 +01:00
Uwe Hermann
f514162134 Add some more ADC support.
Also:

 - Fix a few typos (e.g. s/ADC1_BSAE/ADC1_BASE/).

 - adc.h: Use common SUBSYSTEMNAME_REGISTERNAME_FOO #define format.
2010-03-05 20:59:07 +01:00
Uwe Hermann
f1a6e56f5c gpio: Fix some issues with gpio_set_mode().
This patch, a slightly modified version of a patch from Thomas Otto,
should fix the following two issues:

 - It generally sets the submited config to the mentioned GPIO pins but
   kills configs for other pins on the same GPIO port. So if we want to set
   PB6 and PB7 to push-pull and I2C2 SDA and SCL (PB10 and PB11) to open
   drain it's simply impossible, because the second config try kills the first.

 - The floating-bit thing isn't working correctly. If we enable a config
   for PB6 for instance, the same config will also apply to all following
   pins of that port (i.e. PB7-PB15). That's because the shifting isn't only
   done if a pin isn't to configure, if you are hitting a matching bit the
   shiftig is missing. I think shifting isn't nessessary for a separate
   variable. We have the counting index from the for statement.

Both issues should now be fixed.
2010-03-05 19:46:57 +01:00
Uwe Hermann
54dfb91996 Add missing spi.h #include. 2010-03-04 21:35:59 +01:00
Uwe Hermann
e7cadf0822 Use direct #includes instead of libopenstm32.h. 2010-03-04 21:25:25 +01:00
Uwe Hermann
92194abda4 Trivial quickfix for some compiler warnings. 2010-03-04 21:08:36 +01:00
Piotr Esden-Tempski
d7489ebfbd Added standard clock setup routines.
Thanks to Thomas Otto for pointing out problems with the clock code in
examples and his clock routine implementations. Based on that the most
common clock combination routines were added to the library and all
routines in examples setting up the clock replaced with calls to that
functions.
2010-03-04 20:37:04 +01:00