Piotr Esden-Tempski
b97c59e462
Initial implementation of DAC registers for stm32 by Felix Held
2012-04-20 21:08:38 -07:00
Piotr Esden-Tempski
b8086b4ee2
Merge remote-tracking branch 'gsmcmullin/timer_input'
2012-04-20 16:41:16 -07:00
Gareth McMullin
8820277f09
Added functions for configuring timers in slave mode.
2012-04-08 14:12:21 +12:00
Gareth McMullin
a8ec86a527
Added functions for timer input capture polarity and enable/disable.
2012-04-08 13:55:16 +12:00
Gareth McMullin
4b041697f4
Added convenience function for timer input selection.
2012-04-08 11:56:42 +12:00
Gareth McMullin
a62473fbdf
Added convenience funcions for timer input capture filter and prescaler.
2012-04-08 11:11:52 +12:00
Gareth McMullin
567faa9b61
Corrected parameters of timer_set_mode() to u32.
2012-04-07 20:31:56 +12:00
Gareth McMullin
3be6cd8f76
Corrected bit definitions for capture/compare input selection.
...
Thanks to Linux Casassa.
2012-04-07 09:01:39 +12:00
Taylor Vesely
66c5f91a87
Implemented gpio_clear() for LPC17xx.
2012-03-27 16:42:36 -06:00
Taylor Vesely
bf2b8aad2f
Added a bunch of register definitions and gpio_set() to LPC17xx gpio.
2012-03-26 16:43:43 -06:00
Taylor Vesely
9eb77c9fd7
Wrote miniblink.c for Blueboard-LPC1768-H, cleaned up gpio.h.
2012-03-22 16:22:22 -07:00
Taylor Vesely
82f89c414a
Started to set up GPIO registers.
2012-03-22 16:22:21 -07:00
Taylor Vesely
cec41eb0c4
Filled in the APB0 memory map for the lpc17xx. Also set values for the
...
GPIO on AHB.
2012-03-22 16:22:21 -07:00
Taylor Vesely
60788fd9d2
Started porting to LPC17xx. Created file stubs and started conversion.
2012-03-22 16:22:21 -07:00
Daniel O'Connor
404353b1aa
- Add FSMC helper macros. IMO FSMC_BTR_ACCMOD aren't much use, but I left them in case someone uses them.
...
- FSMC_BASE is already in memorymap.h so don't define it here.
2012-03-22 15:43:07 -07:00
Daniel O'Connor
5a463f03e1
Cast PERIPH_BASE to unsigned otherwise certain operations result in build problems (overflow signed type).
2012-03-22 15:41:43 -07:00
Daniel O'Connor
f76e99c98d
Add mask for SWJ bits.
...
(These are write only)
2012-03-22 15:41:19 -07:00
Fergus Noble
a30fc96c59
Revert "Fix setting alternate port functions on the STM32F2."
...
This was also fixed in ac29b654a992a4855626fc0b92874d3847914f85 in a
different way. I think the mask definition should be left with 1s
indicating the bits of interest.
See also 87ea496ca768d18e51d8654cbad9cb261a881b1b.
This reverts commit 2433f17e7341d6afcda24d395d0b93c50a37b7b1.
2012-03-21 20:19:36 -07:00
Fergus Noble
87ea496ca7
Revert "Fix setting alternate port functions on the STM32F4."
...
This was also fixed in ac29b654a992a4855626fc0b92874d3847914f85 in a
different way. I think the mask definition should be left with 1s
indicating the bits of interest.
This reverts commit e11185d47d0a2fea6d2782761edd5fd489541512.
2012-03-21 20:16:10 -07:00
Piotr Esden-Tempski
ec34e21ead
Changed parameter size for trigger enable.
2012-03-19 20:20:05 -07:00
Piotr Esden-Tempski
451a5e227d
Started some cleanup in the ADC headers and convenience code.
2012-03-19 17:38:24 -07:00
Piotr Esden-Tempski
4e26104c18
Fixed position of PSIZE bits, thanks to Patrick for spotting this.
2012-03-17 16:17:40 -07:00
Piotr Esden-Tempski
aaa0158221
Fixed operation order for dma bit calculations.
2012-03-13 12:18:28 -07:00
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
...
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
Piotr Esden-Tempski
994d559a6c
Corrected interrupt flag register defines.
2012-02-29 18:00:10 -08:00
Piotr Esden-Tempski
f5cd026ae3
Added dma_channel_reset prototype.
2012-02-29 17:53:46 -08:00
Piotr Esden-Tempski
ec904f176b
Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of testing!
2012-02-29 16:02:51 -08:00
Piotr Esden-Tempski
c49f505df4
Added spi reset convenience function.
2012-02-28 11:28:29 -08:00
Piotr Esden-Tempski
2b3f07ee08
Added reset function to i2c convenience functions.
2012-02-24 17:14:50 -08:00
Piotr Esden-Tempski
cbef43ddd8
Added set priority group convenience function.
2012-02-24 16:43:37 -08:00
Piotr Esden-Tempski
c5e5c0fdab
Updated SCB_AIRCR_PRIGROUP bit definitions to be more consistent with the style the library.
2012-02-24 16:21:23 -08:00
Piotr Esden-Tempski
bffbb0e54d
Added missing gpio definitions for timer 5.
2012-02-13 19:45:28 -08:00
Piotr Esden-Tempski
5a384ff895
Added combined gpio bank definitions to timers as you tend to set those up in bulk.
2012-02-13 16:02:08 -08:00
Piotr Esden-Tempski
b325c81127
Forgot some BANK suffixes.
2012-02-13 13:51:41 -08:00
Piotr Esden-Tempski
d4ea773de4
Added bank definitions to f1 gpio header.
2012-02-13 13:40:49 -08:00
Gareth McMullin
2433f17e73
Fix setting alternate port functions on the STM32F2.
...
Thanks to Ricardo Martins.
2012-02-12 15:00:09 -08:00
Gareth McMullin
e11185d47d
Fix setting alternate port functions on the STM32F4.
...
Thanks to Ricardo Martins.
2012-02-12 15:00:09 -08:00
Mike Smith
7da1967056
Add an interface for soft disconnection, and hook it up in the F107 driver.
2012-02-12 15:00:08 -08:00
Uwe Hermann
5f82f28d01
f2/dma.h: Whitespace and coding-style fixes.
2012-02-06 23:27:00 +01:00
Fergus Noble
9949b5dcf4
Fixed typo in F2 dma header to match the datasheet.
2012-02-06 23:08:07 +01:00
Fergus Noble
477c410be4
Added functions to enable and disable DMA from stm32 USART.
2012-02-06 23:08:07 +01:00
Fergus Noble
31b0466525
DMA register definitions for F2.
2012-02-06 23:08:06 +01:00
Gareth McMullin
0731bba610
usb: Added support for Interface Association descriptors.
2011-12-28 21:05:41 +13:00
Gareth McMullin
651917aeb4
Added USB example for stm32f4.
...
Moved clock enable for OTG_FS back into applications. This and gpio config
are the only differences between f107 and f2xx/f4xx.
2011-12-17 14:11:39 +13:00
Piotr Esden-Tempski
8af809a12a
Reverted the api of the usart_set_baudrate function to hide the clock rail selection again.
2011-11-16 18:41:48 -08:00
Piotr Esden-Tempski
679f39426f
Cleaned up header inclusion selection macros.
2011-11-16 18:41:48 -08:00
Piotr Esden-Tempski
c6f30043fd
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
2011-11-16 18:17:56 -08:00
Uwe Hermann
e626a72561
stm32/dbgmcu.h: Document reserved bits, cosmetic fixes.
2011-11-11 21:51:01 +01:00
Uwe Hermann
6967a02576
stm32/iwdg.h: Document reserved bits.
2011-11-11 21:50:18 +01:00
Uwe Hermann
581084dd39
stm32/pwr.h: Document reserved bits.
2011-11-11 21:49:10 +01:00