Commit Graph

9 Commits (4bc77be2820169c1f0336ecd5f748ba74ac0a169)

Author SHA1 Message Date
Joakim Nohlgård 7f8cde177b kinetis: Remove LPTIMER_CNR_NEEDS_LATCHING
The macro is no longer used after the timer driver was refactored
7 years ago
Hauke Petersen 37d4f44379 cpus: mv vendor headers to include/vendor/. 7 years ago
Alexandre Abadie 245f60edfa cpu: fix typo in author email 7 years ago
zhuoshuguo 1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
7 years ago
Hauke Petersen 58e2b93b7b cpu/k64f: moved include of mcg.h to cpu.c 8 years ago
Kaspar Schleiser 6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 8 years ago
Hauke Petersen 940097336a cpu: cleanup and unification of CPUID implementations
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
8 years ago
Joakim Nohlgård 142c28094e kinetis_common: Refactor GPIO implementation
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.

The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.

Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.

[1]: https://github.com/RIOT-OS/RIOT/pull/3095
8 years ago
Johann F d614cbe066 cpu/k64f: initial import for the Freescale K64F Cortex-M4 MCU 8 years ago