aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-26Fixed settings of groups in adc.c.Thomas Otto
2010-03-26Merge branch 'master' of tommi@viadmin.org:/opt/git/libopenstm32Thomas Otto
2010-03-26Small corrections/additions to adc.h.Thomas Otto
2010-03-25Integrated systick into build system.Thomas Otto
2010-03-25Added systick.h definitions.Thomas Otto
2010-03-25Corrected Makefile for ADC exampleThomas Otto
2010-03-24Added some address setting functions to dma.Thomas Otto
2010-03-24Added generic values for ADC_SMPR_SMP to adc.h.Thomas Otto
2010-03-24Fixed binary name in READMEThomas Otto
2010-03-24Added adc_temperature_sensor to examplesThomas Otto
2010-03-24Completed scb.h definitions.Thomas Otto
2010-03-23Small correction in isr table.Thomas Otto
2010-03-23Added irq number definitions.Thomas Otto
2010-03-22splitted nvic and scbThomas Otto
2010-03-22added some SCB defs. Added some NVIC functions.Thomas Otto
2010-03-22added dma.h and basic functionsThomas Otto
2010-03-22added basic adc funktionsThomas Otto
2010-03-06Cosmetic fixes.Uwe Hermann
2010-03-06Fix bug: PLLMUL_PLL_CLK_MUL9 is correct.Uwe Hermann
2010-03-06Cosmetic and coding style changes.Uwe Hermann
2010-03-05Add some development guidelines and notes.Uwe Hermann
2010-03-05Factor out coding guidelines to HACKING.Uwe Hermann
2010-03-05Small README fixes.Uwe Hermann
2010-03-05Consistently use the hex file for flashing.Uwe Hermann
2010-03-05Makefile output cosmetic improvements.Uwe Hermann
2010-03-05Drop unused comments.Uwe Hermann
2010-03-05Print "Entering directory" only upon "make V=1".Uwe Hermann
2010-03-05Use standardized reg32 variable name.Uwe Hermann
2010-03-05Add i2c_stts75_sensor example.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-03-05Add some more ADC support.Uwe Hermann
Also: - Fix a few typos (e.g. s/ADC1_BSAE/ADC1_BASE/). - adc.h: Use common SUBSYSTEMNAME_REGISTERNAME_FOO #define format.
2010-03-05gpio: Fix some issues with gpio_set_mode().Uwe Hermann
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-04Add missing spi.h #include.Uwe Hermann
2010-03-04Use direct #includes instead of libopenstm32.h.Uwe Hermann
2010-03-04Trivial quickfix for some compiler warnings.Uwe Hermann
2010-03-04Added standard clock setup routines.Piotr Esden-Tempski
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-04Cleaned up header inclusion.Piotr Esden-Tempski
Now all examples are including only the modules they really need. Also each header file of the library is including only the necessary headers making it possible to use these modules in parallel with other implementations that may collide with the definitions in other modules.
2010-03-02Add SPI example framework (unfinished).Uwe Hermann
2010-03-01Add initial set of I2C functions.Uwe Hermann
Thomas Otto has tested the code by successfully talking to a temperature sensor from ST in master tranciever mode. Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-02-27Add missing GPIO definitions for I2C1, I2C2, SPI2.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-02-27Added gamma 2.2 and set as default gamma for fade mode.Piotr Esden-Tempski
2010-02-24Add missing Makefile snippets for pwmleds.Uwe Hermann
2010-02-24Drop useless endif markers.Uwe Hermann
2010-02-24i2c: Add initial i2c.h header file and registers.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-02-23Revert unintended change.Uwe Hermann
2010-02-23Cosmetics, whitespace, coding style.Uwe Hermann
2010-02-22Added KITT mode.Piotr Esden-Tempski
2010-02-22Added gamma 2.5 corrected 3.0 table added fade mode.Piotr Esden-Tempski
The fade mode is using one gamma correction table and fades with a time offset to create a nice moving fade.
2010-02-22Scaled gamma 1.3 table to cover whole power range.Piotr Esden-Tempski
Now the example shows the difference between different gamma approaches.
2010-02-22Added proper gamma correction tables.Piotr Esden-Tempski
2010-02-22Added pwmleds example for mb252 board.Piotr Esden-Tempski
It creates a fading pattern on the 4 leds on the eval board, using TIM3 PWM output, and a gamma correction lookup table.