Commit Graph

122 Commits

Author SHA1 Message Date
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 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
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
Thomas Otto c249c7f772 Added initial IWDG definitions. 2010-05-02 21:03:15 +02:00
Thomas Otto 4f272b4ad4 Added rcc clock setup function for 16mhz crystal. 2010-05-02 20:20:04 +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 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 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 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 feb3f187fe Added systick.h definitions. 2010-03-25 13:11:59 +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 eb3f45dcdb Completed scb.h definitions. 2010-03-24 15:39:44 +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 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