aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1
AgeCommit message (Collapse)Author
2012-10-05Code changes to stm32f1 adc.c and adc.hKen Sarkies
remove rcc_set_adc_clk - use rcc version Added functions: - adc_power_on - adc_start_conversion_direct - adc_set_dual_mode - adc_eoc - adc_eoc_injected - adc_read_regular - adc_read_injected - adc_set_injected_offset Tested dual mode scanned regular, but no tests of injected yet. Changes: "discontinuous" was misspelled. - adc_set_discontinuous_mode_regular - added "length" parameter - adc_disable_discontinuous_mode_regular - name change - adc_enable_discontinuous_mode_injected - name change - adc_enable_automatic_injected_group_conversion - disable triggers - adc_enable_jeoc_interrupt - name change to match common usage in lib - adc_disable_jeoc_interrupt - ditto - adc_enable_external_trigger_regular - remove incorrect test on parameter - adc_enable_external_trigger_injected - ditto - adc_set_sample_time - name change to match function's purpose - adc_set_conversion_time_on_all_channels - ditto - adc_set_injected_sequence - changed order of register loading (ref Barlow's issue) - adc_enable_analog_watchdog_on_all_channels - flipped AWDSGL - adc_enable_analog_watchdog_on_selected_channel - ditto added aliases for expected commonly used functions to avoid sudden user code breakage In adc.h, corrected errors in SQR names added "deprecated" compiler warnings to adc_on and to aliases defined in adc.c
2012-09-17Fix merge errorNicolas Schodet
This line was removed in commit acc276a612d4, but it has been restored in the merge 02ea612142fb.
2012-09-15Setup to document entire project using doxygen.Ken Sarkies
New doc directory with config files and generated html, LaTeX/pdf. Makefile provided for autogeneration and explanatory README. The project structure is hostile to doxygen, which can't cope with functions of the same name. Doxygen is run for each family separately, and separately for LaTeX generation. Customized layout files sort of "integrate" HTML, and separate pdfs are generated for each family. Not ideal but seems the best solution until doxygen changes, if at all.
2012-09-10Merge pull request #25 "Add support for C++ and fix some comments typo"Piotr Esden-Tempski
Merge remote-tracking branch 'schodet/master' Conflicts: include/libopencm3/stm32/f1/adc.h
2012-09-02Add C linkage declaration for C++ usageNicolas Schodet
2012-08-31STM32F1xx Additional minor changes to adc.h and adc.cKen Sarkies
2012-08-31ADC documentation addedKen Sarkies
In adc.h additional defines needed to assist documentation - lines 172-191 added, and 384,436-451 are duplicates of earlier defines to complete parameter sets (compiler has no trouble with these). Minor doc corrections to other files. No code changes (apart from additional defines).
2012-08-25Merging pull request #23 Changed markup to get more control over documentation.Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc'
2012-08-20STM32F1xx: Changed markup to get more control over documentation, eachKen Sarkies
file having its own group module rather than using @file. No code changes except for the following: gpio: Added function to map the eventout signal plus two Remap functions dma: Prevent changing base addresses while channel enabled (see datasheet) pwr: Added pwr.c (new file) timer: Removed the last function that I introduced recently; there is already an equivalent function present. Changed some parameter names for consistency.
2012-08-18Update to doxygen comments to fix promiscuity problem (see later)Ken Sarkies
2012-08-14Revert nvic_set_priority to original form. Minor doxygen markup changes.Ken Sarkies
2012-07-09NVIC_Set_Interrupt_Priority: change to use 4-bit fields.Ken Sarkies
(viz STM32F10xxx Cortex-M3 programming manual PM0056 and Cortex-M3-Generic-User-Guide.pdf) Doxygen commentary added
2012-06-27Merge pull request #11 "Add helper function for max clock on HSI for f100"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/hsi_f1_24'
2012-06-27Merge pull request #10 "Add Device Electronic Signature support."Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/desig'
2012-06-12Add helper function for max clock on HSI for f100Karl Palsson
Based on existing HSI code. Tested with f100c8, on custom board with no external crystals or resonators.
2012-06-12Add Device Electronic Signature support.Karl Palsson
Working unique id support, but not 100% convinced that this is the "least surprise" path. ST's docs provide the bits from low to high, in 2xu16 and 2xu32. But to get it back as a "u96" the highest bits should be first?
2012-05-28Header files for Doxygen group structure, layout changes to headings, ↵Ken Sarkies
example markup in stm32f1/ rcc
2012-04-24Added rcc.h include, needed for osc_t.Tomaz Solc
2012-04-20Correct DMA_CCR_MSIZE and PSIZE bit masks. Thanks Tomas Solic.Piotr Esden-Tempski
2012-03-22Cast PERIPH_BASE to unsigned otherwise certain operations result in build ↵Daniel O'Connor
problems (overflow signed type).
2012-03-22Add mask for SWJ bits.Daniel O'Connor
(These are write only)
2012-03-19Changed parameter size for trigger enable.Piotr Esden-Tempski
2012-03-19Started some cleanup in the ADC headers and convenience code.Piotr Esden-Tempski
2012-03-17Fixed position of PSIZE bits, thanks to Patrick for spotting this.Piotr Esden-Tempski
2012-03-13Fixed operation order for dma bit calculations.Piotr Esden-Tempski
2012-03-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.
2012-02-29Corrected interrupt flag register defines.Piotr Esden-Tempski
2012-02-29Added dma_channel_reset prototype.Piotr Esden-Tempski
2012-02-29Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of ↵Piotr Esden-Tempski
testing!
2012-02-24Added set priority group convenience function.Piotr Esden-Tempski
2012-02-24Updated SCB_AIRCR_PRIGROUP bit definitions to be more consistent with the ↵Piotr Esden-Tempski
style the library.
2012-02-13Added missing gpio definitions for timer 5.Piotr Esden-Tempski
2012-02-13Added combined gpio bank definitions to timers as you tend to set those up ↵Piotr Esden-Tempski
in bulk.
2012-02-13Forgot some BANK suffixes.Piotr Esden-Tempski
2012-02-13Added bank definitions to f1 gpio header.Piotr Esden-Tempski
2011-11-16Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the ↵Piotr Esden-Tempski
naming everywhere. Both peripherals are UARTS not U_S_ARTS.
2011-10-31Fix more STM32 whitespace issuesStephen Caudle
2011-10-31Fix STM32 flash programming doc linksStephen Caudle
2011-10-12Moving a couple more headers to stm common.Fergus Noble
2011-10-12Moving nvic code to common, adding F1 and F2 specific user interrupt ↵Fergus Noble
definition headers.
2011-10-12Move systick to stm32 common.Fergus Noble
2011-10-12Restructuring stm32 include directories.Fergus Noble