Uwe Hermann
6e090ccee1
Initial USB device stack for STM32.
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
14 years ago
Uwe Hermann
68b7e255ad
Add timer handling functions.
Thanks to Edward Cheeseman <cheesemanedward@gmail.com>.
14 years ago
Uwe Hermann
0287fd9029
Add more support functions for flash handling.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
14 years ago
Uwe Hermann
6ba179b361
Various cosmetic and coding style fixes.
15 years ago
Thomas Otto
388f940475
Initial EXTI support.
Thanks to Mark Butler <mbutler@physics.otago.ac.nz>.
15 years ago
Thomas Otto
3dfeb30b41
Deleted double definition IWDG_PR_DIV256.
15 years ago
Thomas Otto
dd5553f122
Changed rcc.h defs to rcc_registername_ prefix.
15 years ago
Uwe Hermann
93fe67908a
Add more RTC functions and an RTC example.
Thanks Lord James <lordjames@y7mail.com> for the patch!
15 years ago
Thomas Otto
8195b1a718
Renamed power.h -> pwr.h.
15 years ago
Thomas Otto
fbb05e1536
Changed defs POWER->PWR to be in sync with datasheet.
15 years ago
Thomas Otto
8467f0ee25
Added BKP definitions.
15 years ago
Thomas Otto
5b48dc1845
Added definitions for CRC.
15 years ago
Thomas Otto
7450d0aad1
Added definitions for POWER control.
15 years ago
Thomas Otto
e172a05f86
Added definitions for WWDG.
15 years ago
Thomas Otto
11b366b27d
Corrected IWDG_BASE calculations.
15 years ago
Thomas Otto
c249c7f772
Added initial IWDG definitions.
15 years ago
Thomas Otto
4f272b4ad4
Added rcc clock setup function for 16mhz crystal.
15 years ago
Thomas Otto
905b5112b6
Some improvements to systick.h+c.
15 years ago
Thomas Otto
37e71e3e5c
Added spi_send() to the spi.h.
15 years ago
Thomas Otto
e68f248d11
Fixed typo.
15 years ago
Thomas Otto
56dd9bc887
Completed spi.h.
15 years ago
Thomas Otto
47c51fc9cc
Some additions to spi.c+h.
15 years ago
Thomas Otto
9d2e074b3d
Cosmetic fixes.
15 years ago
Thomas Otto
9132e6b9f5
Corrected definitions in dma.h.
15 years ago
Thomas Otto
561ce37809
Changed address setting in dma.c+h.
15 years ago
Thomas Otto
bd725f59ae
Small corrections/additions to adc.h.
15 years ago
Thomas Otto
3518301870
Integrated systick into build system.
15 years ago
Thomas Otto
feb3f187fe
Added systick.h definitions.
15 years ago
Thomas Otto
d96b318795
Added some address setting functions to dma.
15 years ago
Thomas Otto
a0e026d110
Added generic values for ADC_SMPR_SMP to adc.h.
15 years ago
Thomas Otto
eb3f45dcdb
Completed scb.h definitions.
15 years ago
Thomas Otto
1f8d94df35
Added irq number definitions.
15 years ago
Thomas Otto
80984d44c4
splitted nvic and scb
15 years ago
Thomas Otto
426d6a45fc
added some SCB defs. Added some NVIC functions.
15 years ago
Thomas Otto
e4788f67b6
added dma.h and basic functions
15 years ago
Thomas Otto
561c9a1d3e
added basic adc funktions
15 years ago
Uwe Hermann
a6342d4968
Cosmetic fixes.
15 years ago
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.
15 years ago
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.
15 years ago
Piotr Esden-Tempski
d84c4030b2
Cleaned up header inclusion.
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.
15 years ago
Uwe Hermann
742c595114
Add initial set of I2C functions.
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!
15 years ago
Uwe Hermann
5455b0970e
Add missing GPIO definitions for I2C1, I2C2, SPI2.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
15 years ago
Uwe Hermann
c441007867
Drop useless endif markers.
15 years ago
Uwe Hermann
7e1b849feb
i2c: Add initial i2c.h header file and registers.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
15 years ago
Piotr Esden-Tempski
efb510f526
Modified include model of some files.
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.
15 years ago
Piotr Esden-Tempski
ed0e46c31e
Fixed a cut&paste typo in gpio.h.
15 years ago
Piotr Esden-Tempski
14ec3bdf39
Added bit definitions of AFIO registers.
15 years ago
Uwe Hermann
d167b6c9e9
Add RCC_AHBENR bit definitions.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
15 years ago
Uwe Hermann
0308b49b76
Fix typo in TIM3RST #define.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
15 years ago
Uwe Hermann
1f9479e673
Add initial (unfinished, untested) RTC support.
15 years ago