aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-02-18Merging pull request #76 "LM4F clock api"Piotr Esden-Tempski
Merge remote-tracking branch 'mrnuke/lm4f_clock_api'
2013-02-15Fixes #93 copypasta error in RCC_CSR_BORRSTF definition.Piotr Esden-Tempski
2013-01-09Merging pull request #72 DocPiotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc' Conflicts: doc/stm32f1/Doxyfile doc/stm32f2/Doxyfile doc/stm32f4/Doxyfile lib/stm32/f1/Makefile lib/stm32/f2/Makefile lib/stm32/f4/Makefile
2013-01-09lm4f: Add API for controlling the system run clock sourcesAlexandru Gagniuc
Add an abstraction layer to handle the clock control for the run time clock on LM4F (RCC). Sleep and deep-sleep clock configuration is not handled. Complete documentation for the clock control API is included in doxygen-style comments, and is included in [doc]. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Conflicts: lib/lm4f/Makefile
2013-01-09lm4f: Add API for enabling/disabling peripherals clock sourceAlexandru Gagniuc
The enum definitions are specified in the form 31:5 register offset from SYSCTL_BASE for the clock register 4:0 bit offset for the given peripheral The names have the form [clock_type]_[periph_type]_[periph_number] Where clock_type is RCC for run clock SCC for sleep clock DCC for deep-sleep clock Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-01-08Minor cleanup to use dispatch memorymap.hKen Sarkies
2013-01-08CRC moved to common areaKen Sarkies
2013-01-08I2C to common areaKen Sarkies
F2/4 has now I2C3 included
2013-01-08IWDG moved to common areaKen Sarkies
2013-01-08Move usart files to common areaKen Sarkies
Again added to L1 which is similar to F1
2013-01-08Move DAC to common areaKen Sarkies
(Note there are now dummy source files dac.c (and others) that are not compiled but are needed for documentation).
2013-01-08STM32: Moved SPI code into the common area.Ken Sarkies
Updated the documentation so that it appears in all families Also added it to the L1 area, but is untested. An addition to the memorymap allows commonality and a #ifdef added to the spi_common_all code to exclude the case of SPI3 for L1 and F0 as SPI3 doesn't exist in those. An rcc dispatch header was added to remove same code from the spi header.
2013-01-08Move STM32F1 DMA files to respective common directoriesKen Sarkies
This sets the stage for adding DMA to STM32F3xx (when added) and STM32L1xx as the controller appears to be identical in these.
2013-01-08STM32 DMA: replaced F4 header to match that for F2, and move header and ↵Ken Sarkies
source files to common. In the header: - Fix DMA_SxCR_CT: change shift from 18 to 19 For use with the convenience functions: - Added DMA_SxCR_CHSEL generic values - Added DMA_STREAM - generic values - Added dma_if_offset - rather than separating out LISR and HISR - Added masks - Added dma_disable_double_buffer_mode()
2013-01-06Merging pull request #74 LM4F initial supportPiotr Esden-Tempski
Merge remote-tracking branch 'mrnuke/lm4f_initial'
2013-01-06Merge pull request #73 RNGPiotr Esden-Tempski
Merge remote-tracking branch 'oojah/master'
2013-01-06Merging pull request #67 L1 support: flash, power basics, timersPiotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_l1_flash-rcc-pwr-timers'
2013-01-06Merging pull request #64 Various changesPiotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2013-01-06Merging pull request #63 Improvements to STM32F1 I2C, CAN, RCC, and USB (f107)Piotr Esden-Tempski
Merge remote-tracking branch 'icd/master'
2013-01-01lm4f: Add system control register definitionsAlexandru Gagniuc
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Compile in the interrupt vector tableAlexandru Gagniuc
Add an "#ifdef(LM4F)" clause to include/libopencm3/dispatch/nvic.h and lib/dispatch/vector_nvic.c. This compiles in the vector table and allows interrupts to be used. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Remove erroneous references to lm3sAlexandru Gagniuc
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-31lm4f: Add lm4f support files copied from lm3sAlexandru Gagniuc
Create lm4f code infrastructure from the lm3s infrastructure. As far as the interrupt table is concerned, don't create an irq.yaml. Just include the LM3S nvic.h. The LM3S vector table seems to be compatible with the LM4F Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-16Fix trivial typo INTERRPUT -> INTERRUPT.Roger Light
2012-12-12STM32: Move RNG to common area and add support for the F2.Roger Light
2012-12-12Update STM32 RNGEN register bit name to more closely match documentation.Roger Light
2012-11-14stm32/f4/memorymap.h: Fix ADC offsetsBen Gamari
2012-11-14[l1] Add rcc clock setup helper routinesKarl Palsson
Despite the L1 being a low power device, my initial focus is on making it basically compatible with existing devices. To that end, provide clock setup helper routines that configure it for maximum performance, allowing some similar clock speeds to F1 devices to help with testing. This requires adding the power chipset routines to set the voltage range. Clock setup style is similar to the F4 code, which seems nicer than the overflow of different routines used on the F1 code. NOTE: Both the F4 existing pwr code, and this code don't actually include the f1 core power code, even though it should be compatible
2012-11-14[l1] Add PWR register definitionsKarl Palsson
Just the include file.
2012-11-14[l1] Add missing TIM5 bit from newer ref manualKarl Palsson
2012-11-14[l1] Add Flash Memory Controller Register defns for L1.Karl Palsson
Also, some of the most basic essential helper functions.
2012-11-13Merge branch 'master' of git://github.com/libopencm3/libopencm3 into ↵Jeff Ciesielski
upstream-merge
2012-11-13Change to make L1 series fit with common filesKen Sarkies
2012-11-13rebase and fixKen Sarkies
2012-11-13Proposed deduplication of peripherals, GPIO exampleKen Sarkies
See rambling post on dev list for justification
2012-11-12[doc] Added preliminary STM32 CAN documentation.Piotr Esden-Tempski
2012-11-12Merge pull request #62 "Documentation updates for new devices"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc'
2012-11-12Documentation updatesKen Sarkies
2012-11-08Fixed cut and paste typo for CAN banks.Piotr Esden-Tempski
2012-11-08Merging pull request #60 Miscellaneous DMA fixes for F4Piotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2012-11-08stm32/usart: Add enable_/disable_error_interruptBen Gamari
2012-11-08stm32f4/dma: Fix DMA_ISR_OFFSET definitionBen Gamari
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
2012-11-07Add L1 to nvic, now that it's all generatedKarl Palsson
2012-11-07Add usart support for L1.Karl Palsson
Only tested with basic tx blocking, ie, the same example code as on F2/F4, but the description of the block is almost identical.
2012-11-07STM32L1 support, rebased onto upstream generalizations branch.Karl Palsson
Working example again.
2012-11-07Add most of the rcc functions.Karl Palsson
(Add the forgotten gpio.c file from before)
2012-11-07Finish RCC definitions => Working example!Karl Palsson
2012-11-07More progress towards L1 support.Karl Palsson
Believe gpio is complete, but untested without finishing at least the RCC defines. RCC defines are a work in progress
2012-11-07Vectors and Memory Map for STM32L1 seriesKarl Palsson