Ken Sarkies
06620040aa
Header files for Doxygen group structure, layout changes to headings, example markup in stm32f1/ rcc
2012-05-28 21:38:55 +09:30
Michael Ossmann
7d434c3ebc
typo fix
2012-05-22 14:19:45 -06:00
Michael Ossmann
3a3c306ee3
#include fix
2012-05-22 10:39:29 -06:00
Michael Ossmann
95224dbc5e
finished gpio.h and memorymap.h changes for LPC43xx but still much to fill in
2012-05-22 10:38:49 -06:00
Michael Ossmann
ba35602e3d
started gpio.h lpc43xx changes
2012-05-21 22:39:21 -06:00
Michael Ossmann
b6d1dc06d1
started include/lpc43xx with copy of lpc17xx
2012-05-21 22:38:24 -06:00
chrysn
282891f8a6
Merge branch 'master' into efm32
2012-05-01 13:49:34 +02:00
Felix Held
9c36782b6d
Added support for the SDIO interface of the stm32 family.
...
Register definition from the Datasheets; not tested in real hardware.
2012-04-30 00:22:56 +02:00
chrysn
99975d9a05
comment updates
2012-04-29 03:05:27 +02:00
chrysn
9324f00038
enhanced cmsis again for other efm32tg examples
2012-04-29 00:18:03 +02:00
chrysn
4a36d23d8c
more irq/isr translations
2012-04-27 17:00:24 +02:00
chrysn
dfbb7912c3
additions to opencmsis to make the clock example run
2012-04-27 15:55:43 +02:00
chrysn
c9b074a120
sys tick cmsis interface for blink example
2012-04-27 15:21:59 +02:00
chrysn
286af7f26e
new requirements form emlib and -examples
2012-04-27 14:10:29 +02:00
Tomaz Solc
c3038bc876
Added rcc.h include, needed for osc_t.
2012-04-24 09:08:49 +02:00
chrysn
8359caff3b
moved core_cm3.h to more general location
2012-04-22 22:07:01 +02:00
Piotr Esden-Tempski
0d50b97ed5
Correct DMA_CCR_MSIZE and PSIZE bit masks. Thanks Tomas Solic.
2012-04-20 21:16:23 -07:00
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
chrysn
09fea0bc1b
Merge branch 'master' into efm32
...
Conflicts:
Makefile
2012-04-19 17:28:55 +02: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
chrysn
0e62b15125
added lcd example
...
the way text is generated is currently rather awkward, looking for a
better solution.
2012-04-04 19:59:47 +02: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 ac29b654a9 in a
different way. I think the mask definition should be left with 1s
indicating the bits of interest.
See also 87ea496ca7 .
This reverts commit 2433f17e73 .
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 ac29b654a9 in a
different way. I think the mask definition should be left with 1s
indicating the bits of interest.
This reverts commit e11185d47d .
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
chrysn
da4567a035
efm32: registers for leds
2012-03-04 22:48:13 +01:00
chrysn
692817059c
various enhancements for header generation
...
* don't reference sections that don't exist (typically happens for
registers that don't contain any fields and are interpreted
numerically.
* allow templates to use override_backref for surpressing the list of
registers that use it
* print doc for fields even when it uses values or only exports a mask
* allow fields to define their own mask; those fields have to define
their values explicitly too, and don't have to provide a shift
* don't print a "No values defined for the field" lines, as there's
always a mask in that case by now.
2012-03-04 22:43:52 +01:00
chrysn
c2fdd6e751
header file generation learned register templates
...
registers that have the same structure can now use shared value
definitions. the abstraction is kept active through the header
generation; that is, no cartesian product code is generated.
2012-03-04 19:45:13 +01:00
chrysn
e1a660eb9d
efm32 cmu: convenience functions
...
includes a fix for the register definitions (subtle differences between
two fields)
2012-03-04 16:59:20 +01:00
chrysn
61b649370f
efm32: generate _MASK constants
...
constants are generated for all fields that either have named values or
length > 1
2012-03-04 16:57:43 +01:00
chrysn
bc1bff477b
efm32: shortened doxygen names and grouped them per chip family
2012-03-04 16:56:48 +01:00
chrysn
d3fe8c18f8
experimental yaml based header file generation
...
the header file genertion mechanism here is designed to:
* use human readable source data that is better structured and less
repetitive than the header files themselves
* produce same quality header files than the manual process of writing
them. some features were not yet enabled to show that the existing
headers didn't change. (look at emu.h's differences. whitespace
switched from tabs to spaces as they are easier to handle, use
--color-words to see the few differences that stemmed from
inconsistencies in the original file.)
* be less tedious and thus error prone when doing large modifications
(eg, i forgot to add _MASK to bitfields, would like to enable
bitbanding acces, and to overhaul the naming in doxygen modules)
2012-03-04 12:49:06 +01:00
chrysn
cdf36e6c8e
efm32: some more cmu registers and doxygen update
2012-03-03 20:19:03 +01:00