Piotr Esden-Tempski
d98dab6ae2
Merging pull request #23 Changed markup to get more control over documentation.
...
Merge remote-tracking branch 'ksarkies/doc'
2012-08-25 15:16:50 -07:00
Ken Sarkies
52533a6e3d
STM32F1xx: Changed markup to get more control over documentation, each
...
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-20 17:19:20 +09:30
Ken Sarkies
e4bcceaa8f
And a bit more doc mods
2012-08-18 16:19:47 +09:30
Ken Sarkies
95126e8cd3
Tiny doxygen mod to get all constants to show in doc output
2012-08-18 16:05:17 +09:30
Ken Sarkies
70b2376c9f
Update to doxygen comments to fix promiscuity problem (see later)
2012-08-18 13:32:48 +09:30
Ken Sarkies
0e5e451e22
Revert nvic_set_priority to original form. Minor doxygen markup changes.
2012-08-14 18:25:19 +09:30
Ken Sarkies
cb07ab7c6e
Merge branch 'master' into nvic
2012-08-14 14:47:22 +09:30
Piotr Esden-Tempski
a2c5b6391d
Merging pull request #19 "STM32F timers. Doxygen markup added, and some code changes" by Ken Sarkies.
...
Merge remote-tracking branch 'ksarkies/timer'
2012-08-11 14:00:06 -07:00
Ken Sarkies
52fd7c7976
STM32F timers. Doxygen markup added, and some code changes:
...
1. Remove the extra mask (TIM_DIER(timer_peripheral) & flag)
in timer_get_flag. Not all flags in SR relate to IRQs and the flags that
do might be useful even if interrupts not enabled.
2. In a number of functions (e.g. timer_set_output_idle_state) that only
apply to advanced timers, add test for TIM1 and TIM8, as done in some others.
3. Added timer_force_event to manipulate the EG register
TBD DMA burst - can't get my head around why this would be useful.
Someone must have thought so!
2012-07-10 09:32:47 +09:30
Ken Sarkies
cba9561e89
NVIC_Set_Interrupt_Priority: change to use 4-bit fields.
...
(viz STM32F10xxx Cortex-M3 programming manual PM0056 and
Cortex-M3-Generic-User-Guide.pdf)
Doxygen commentary added
2012-07-09 16:54:01 +09:30
Ken Sarkies
5848c8624b
Minor changes to doxygen content, no changes to code.
2012-07-09 16:29:17 +09:30
Ken Sarkies
0e02438a80
Code for DAC module STM32Fxxx series
...
Add prototypes to dac.h and small change to simplify alignment enum
2012-06-30 16:56:14 +09:30
Karl Palsson
450c3e00a1
Basic helper routines for CRC
...
Note, the CRC block is pretty useless for interoperability. It only operates on 32bit
chunks, and in a different bit order. No attempt to make full helpers for compatibility
with other implementations has been done.
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FCRC%20computation&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=2006
2012-06-29 02:08:53 -07:00
Piotr Esden-Tempski
98174e4a0c
Merge pull request #13 "Code for iwdg module STM32F series"
...
Merge remote-tracking branch 'ksarkies/iwdg-dev'
2012-06-27 14:02:02 -07:00
Piotr Esden-Tempski
a70eabb3e1
Merge pull request #11 "Add helper function for max clock on HSI for f100"
...
Merge remote-tracking branch 'karlp/hsi_f1_24'
2012-06-27 13:58:14 -07:00
Piotr Esden-Tempski
4a17185791
Merge pull request #10 "Add Device Electronic Signature support."
...
Merge remote-tracking branch 'karlp/desig'
2012-06-27 13:56:55 -07:00
Piotr Esden-Tempski
7753b91991
Merge pull request #9 "Even/Odd parity bit configs used the wrong bit"
...
Merge remote-tracking branch 'karlp/parity'
2012-06-27 13:53:48 -07:00
Piotr Esden-Tempski
3bfeeedceb
Merge pull request #6 "Doxygen markup and grouping structrue"
...
Merge remote-tracking branch 'ksarkies/doc'
Conflicts:
include/libopencm3/cm3/common.h
2012-06-27 13:30:45 -07:00
Piotr Esden-Tempski
40e0e675ca
Merge remote-tracking branch 'mossman/master'
...
Merging Pull request #9 by mossman and co. Adding preliminary support for LPC43xx.
2012-06-27 13:18:36 -07:00
TitanMKD
81317c02ab
* Updated GPIO added gpio_toggle() function.
...
* Fixed ROM to RAM Linker script (libopencm3_lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld).
2012-06-25 22:12:00 +02:00
Jared Boone
e28d07b81e
Updated SGPIO #defines to match register naming in latest (8 June 2012) User Manual.
2012-06-14 11:16:15 -07:00
Jared Boone
44a79ca13e
Add SGPIO slice defines and indexed register access macros.
2012-06-13 16:48:47 -07:00
Ken Sarkies
2f4cd29324
Code for iwdg module STM32F series
2012-06-13 22:14:53 +09:30
Karl Palsson
62849f043c
Add helper function for max clock on HSI for f100
...
Based on existing HSI code. Tested with f100c8, on custom board with no
external crystals or resonators.
2012-06-12 20:56:34 +00:00
Karl Palsson
71a3a7f2b1
Add Device Electronic Signature support.
...
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-06-12 20:53:59 +00:00
Karl Palsson
9531d653fb
Even/Odd parity bit configs used the wrong bit
...
Checked F10x, F100, F4 and L1 reference manuals.
Confirmed with my user application code.
2012-06-12 20:48:11 +00:00
TitanMKD
8d97dbc7c3
Work on scs.h register and also nvic.h.
...
ARM Interrupt API (see nvic.h).
ARM SysTick API (see systick.h).
Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
2012-06-09 18:27:42 +02:00
Michael Ossmann
bef51163ce
more CGU register values
2012-06-06 21:24:39 -06:00
TitanMKD
8adc873e84
Fixed SSP, tested with Oscilloscope Write work fine (tested SPI Mode).
...
For more details on tests see ssp/README.
2012-06-06 00:30:25 +02:00
Michael Ossmann
416f633dbb
fixed some column alignment to conform with libopencm3 precedent
2012-06-05 08:03:34 -06:00
Michael Ossmann
3a4a6b75de
resolved minor conflict
2012-06-04 18:00:20 -06:00
TitanMKD
d7a7fd9d30
* Added SSP Driver (Not Tested).
...
* Replaced leading space by tabulations.
2012-06-05 01:41:54 +02:00
Michael Ossmann
5698016877
moved stuff out of i2cdemo.c and into drivers/headers
2012-06-04 17:30:08 -06:00
TitanMKD
58d5b96291
Fixed multi-line comments now it is "compliant" with Linux CodingStyle.
2012-06-04 21:09:05 +02:00
TitanMKD
67a048b5b0
Added SCU I2C0 specific configuration.
2012-06-03 18:57:33 +02:00
TitanMKD
e7fbc2220b
Added JellyBean Configuration for PinMux, GPIO In/Out (work in progress).
...
Added scu driver file scu.c.
Modified Makefile/Makefile.include to generate .map file and use -O2 as optimization.
Modified hackrf-jellybean miniblink.c to enable 1V8 and blink LED1,2&3 with configuration of PinMux and GPIO.
2012-06-02 09:45:03 +02:00
Michael Ossmann
770134b4d5
prefixed some register defs
2012-06-01 12:49:06 -06:00
Michael Ossmann
5339d06e9c
Windowed Watchdog Timer register definitions
2012-05-29 15:35:00 -06:00
Michael Ossmann
428ae82fc1
Alarm Timer register definitions
2012-05-29 15:32:08 -06:00
Michael Ossmann
642d8a7451
Repetitive Interrupt Timer register definitions
2012-05-29 15:30:04 -06:00
Michael Ossmann
2eb41f00b4
Timer register definitions
2012-05-29 15:26:11 -06:00
Michael Ossmann
1ca7c648a9
SDIO register definitions
2012-05-29 15:17:55 -06:00
Michael Ossmann
fd3f3bc0bb
GPDMA register definitions
2012-05-29 15:12:04 -06:00
Michael Ossmann
7652a8457f
GIMA register definitions
2012-05-29 14:56:32 -06:00
Michael Ossmann
7981469a35
SCU register definitions
2012-05-29 14:48:38 -06:00
Michael Ossmann
c185f9b40f
Event Router register definitions
2012-05-29 12:33:06 -06:00
Michael Ossmann
702559e2cb
ADC register definitions
2012-05-29 12:23:44 -06:00
Michael Ossmann
5c2e954997
I2S register definitions
2012-05-29 12:19:47 -06:00
Michael Ossmann
40572e7541
I2C register definitions
2012-05-29 12:14:27 -06:00
Michael Ossmann
328cf2a2b7
I2C register definitions
2012-05-29 11:52:08 -06:00