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

102 Commits

Author SHA1 Message Date
Hauke Petersen
8064bd9fa9 periph/pwm: remove pwm_(start|stop) + doc
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Hauke Petersen
2f9e3c89e1 periph/hwrng: use void* buf for hwrng_read() 2017-02-07 13:20:39 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
5880d0edda cpu/kinetis+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b7109bd564 cpu/kinetis_common: added SPI scaler calc tool 2017-01-25 16:46:05 +01:00
3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
2c5a9a5cbf cpu/kinetis: unified PM implementation 2017-01-18 14:54:16 +01:00
47f6ff3056 Merge pull request #6237 from kaspar030/rename_AD_to_Q
make: rename AD to Q
2017-01-17 16:16:02 +01:00
Joakim Nohlgård
45c8bc47e8 kinetis_common: Fix -Wsign-compare in gpio.c 2017-01-16 08:55:08 +01:00
662bec002a cpu: k60: add periph/pm support 2017-01-12 16:26:02 +01:00
Peter Kietzmann
280a200377 Merge pull request #6230 from haukepetersen/opt_kinetis_pwm
cpu/kinetis: reworked PWM driver implementation
2017-01-12 10:16:31 +01:00
Hauke Petersen
c062bf71b9 Merge pull request #6177 from gebart/pr/kinetis-adc-clock-scaler-fix
kinetis: Fix ADC clock computation
2017-01-05 14:08:00 +01:00
Hauke Petersen
d1db190f83 cpu/kinetis_common: reworked PWM driver 2017-01-05 10:55:15 +01:00
Joakim Nohlgård
c2ccc1bfa0 kinetis: Fix ADC clock computation
The ADC prescaler computation was broken and gave too high ADC clock for
module clocks slower than 32 MHz (the >32 MHz case is already handled
separately)
2016-12-27 17:10:25 +01:00
f44763f346 make: adapt Makefiles to AD -> Q rename 2016-12-22 12:12:38 +01:00
Hauke Petersen
3a00fe8e49 cpus: make use of cortexm_isr_end() 2016-12-21 11:28:46 +01:00
Hauke Petersen
2eebf36eb2 cpu/uart: make use of named return values 2016-10-28 10:32:00 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Joakim Nohlgård
1a2b2575fb kinetis: Add stddef, stdint missing includes for gpio.c 2016-09-29 15:47:53 +02:00
Joakim Nohlgård
8947a3c49c cpu/kinetis_common: Add debugging messages to i2c driver 2016-08-10 19:40:39 +02:00
Joakim Nohlgård
5633af4300 cpu/kinetis_common: Update periph_timer to support both LPTMR and PIT 2016-07-07 13:38:27 +02:00
Ian Martin
49ae438dd5 doc: eliminate clutter in adc and gpio periph docs 2016-06-29 15:08:32 -04:00
zhuoshuguo
1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
Joakim Nohlgård
8c154d47ad cpu/kinetis_common: Implement DAC periph driver 2016-03-22 06:06:56 +01:00
Hauke Petersen
4938142b42 cpu/kinetis: adapted GPIO driver 2016-03-17 14:55:30 +01:00
Johann Fischer
0b2ffc212d Merge pull request #5075 from jfischer-phytec-iot/pr@kinetis-i2c
cpu/kinetis_common/periph/i2c.c: fix generating the STOP signal
2016-03-17 12:53:24 +01:00
Joakim Nohlgård
65bb26f0b4 cpu/kinetis_common: Use gpio_init_port for PWM pin handling 2016-03-14 17:52:51 +01:00
Johann Fischer
db2506822f cpu/kinetis_common/periph/i2c.c: fix generating the STOP signal
This patch fix the bug in _i2c_receive. The STOP signal should be
generated before the reading from the data register because the
receiving of the next byte will be initiated by reading
the data register (dev->D).
2016-03-14 14:53:59 +01:00
Hauke Petersen
3990bd84e7 cpu/kinetis_common: reworked ADC driver 2016-03-14 13:06:23 +01:00
Peter Kietzmann
c8829a49b8 Merge pull request #4838 from haukepetersen/fix_periph_timerarg
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
Hauke Petersen
34f9deecb7 cpu/kinetis_common: reworked GPIO driver 2016-02-29 11:08:45 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Hauke Petersen
6f0179ce69 cpu/kinetis_common: adapted HWRNG implementation 2016-02-14 12:59:46 +01:00
Joakim Nohlgård
d2b06d1923 cpu/kinetis_common: Update timer_init to match API change 2016-02-13 21:29:36 +01:00
Hauke Petersen
fecf74970e cpu/kinetis_common: adapted to PWM interface changes 2016-02-12 16:10:01 +01:00
Joakim Nohlgård
3db00667b7 cpu/kinetis_common: Use a different module name to prevent linker races in Travis 2016-02-12 08:45:56 +01:00
Hauke Petersen
cfcf951b9d cpu/kinetis_common: fixed null ptr ref in gpio.c 2016-02-09 16:22:25 +01:00
Hauke Petersen
5cac36d5b3 cpu/kinetis_common: moved drivers to periph subdir 2016-02-09 16:20:03 +01:00
Hauke Petersen
975e027360 cpu: use Hauke's correct email address 2016-02-09 16:09:40 +01:00
Hauke Petersen
d80a661486 Merge pull request #4761 from haukepetersen/opt_cpuid
drivers/cpuid: fixed and unified CPUID driver implementations
2016-02-08 18:18:53 +01:00
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
2016-02-08 14:36:03 +01:00
Joakim Nohlgård
309cd5ef58 cpu/kinetis_common: Add __attribute__((used)) to flash configuration field 2016-02-08 13:07:52 +01:00
Hauke Petersen
476167a86c cpu: fixed any doxygen warning realated to 'periph' 2015-11-19 16:08:38 +01:00
Cenk Gündoğan
0792450dd7 cpu: kinetis_common: remove vtimer include from spi.c 2015-11-11 09:03:12 +01:00
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
Hauke Petersen
c7d256d83e cpu/kinetis_common: adapted UART driver 2015-10-27 14:59:38 +01:00