1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
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
2015-10-28 14:12:19 +01:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Hauke Petersen
1d393fae87 baords: s/TIMER_DEV/TIMER_BASE/ for kinetis boards 2015-09-17 13:57:58 +02:00
Joakim Gebart
cefd7cdab0 boards/mulle: Reduce RTC crystal load capacitance 2015-07-16 16:29:56 +02:00
Oleg Hahm
e634b8c5a8 Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
BigDaddyD
b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Hauke Petersen
a174b7644a boards: adjusted peripheral confs to GPIO changes 2015-06-12 19:12:21 +02:00
Joakim Gebart
a6f378a64e mulle: Increase GPIO_NUMOF to match the enabled GPIOs 2015-05-27 17:27:54 +02:00
Johann Fischer
31c0ea7358 Merge pull request #2994 from gebart/pr/kinetis-pwm-refactor
kinetis: Refactor PWM periph
2015-05-22 09:51:47 +02:00
Joakim Gebart
7b4450bd0a mulle: Use BITBAND_REG32 instead of BITBAND_REG 2015-05-21 11:00:49 +02:00
Joakim Gebart
964fdb5cf2 mulle: Add PWM configuration 2015-05-20 06:19:51 +02:00
Joakim Gebart
4352dbe26d mulle: Add GPIO_26 on PTE4 2015-05-14 18:12:37 +02:00
Joakim Gebart
4ae819c011 mulle: Initial import of Eistec Mulle board.
Initially supports only Mulles with serial number > 220 (due to missing
MK60DN256ZVLL10 support in k60).

See also: https://github.com/RIOT-OS/RIOT/wiki/Board%3A-Mulle

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-03-28 08:32:46 +01:00