aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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-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-24Completed scb.h definitions.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-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-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-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-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-22Modified include model of some files.Piotr Esden-Tempski
This model allows using libopenstm32 in parallel with other stm32 firmware libraries. It is not yet complete change to all code but a start. Only changed parts that I tested.
2010-01-25Fixed a cut&paste typo in gpio.h.Piotr Esden-Tempski
2010-01-25Added bit definitions of AFIO registers.Piotr Esden-Tempski
2010-01-22Add RCC_AHBENR bit definitions.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-22Fix typo in TIM3RST #define.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-22Add initial (unfinished, untested) RTC support.Uwe Hermann
2010-01-19rcc: Add a few functions to set prescalers.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-16Added basic NVIC register defs and functions.Piotr Esden-Tempski
2010-01-15Added usb descriptor definitions.Piotr Esden-Tempski
2010-01-15Added usb peripheral register definitions. It uses some tool macros defined ↵Piotr Esden-Tempski
in tools.h
2010-01-15Adapted to the new header style. Added some defs.Piotr Esden-Tempski
2010-01-15Use FLASH_MEM_INTERFACE_BASE (not FLASH_BASE).Uwe Hermann
The latter does not exist in the repo.
2010-01-15Mention reserved memory map areas in code comments.Uwe Hermann
2010-01-15Prefix all flash related stuff with FLASH_.Uwe Hermann
2010-01-15Add reference to flash programming datasheet.Uwe Hermann
2010-01-15Add initial flash memory register support.Uwe Hermann
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-01-15Whitespace fixes.Uwe Hermann
2010-01-15Added USART_ prefix to bit definitions.Piotr Esden-Tempski
This matches the new convention used throughout libopenstm32.
2010-01-14Typo fixes in timer.Piotr Esden-Tempski
2010-01-14Added timer related register and bit definitions.Piotr Esden-Tempski
2009-12-30Add first version of spi_enable()/spi_disable().Uwe Hermann
2009-12-30Add initial SPI code.Uwe Hermann
For now, add the following basic SPI functions: - spi_init_master() - spi_write() - spi_read() This is incomplete and untested, yet. Also, add some more SPI bit definition macros and comments.
2009-12-29Add initial version of an spi.h header file.Uwe Hermann
So far, it contains the SPI register definitions and some bit definitions of control register 1 (CR1).
2009-09-04ADC #defines, contributed by Edward Cheeseman <ed@landcrab.co.nz>.Uwe Hermann
2009-08-31Add rcc_peripheral_{reset,clear_reset} functions.Uwe Hermann
Also, rename two other functions for consistency.
2009-07-25Add AFIO register definitions.Uwe Hermann
2009-07-25Add default alternate function GPIO pin definitions.Uwe Hermann
2009-07-25Initial implementation of USART API functions.Uwe Hermann
The usart_set_baudrate() function is currently hardcoded to certain settings, that needs to be fixed later.
2009-07-25Add some more USART related bit definitions.Uwe Hermann
2009-07-25Some random cosmetic changes and additional comments.Uwe Hermann