Hauke Petersen
d54c849822
Merge pull request #6573 from gebart/pr/lpc11u34-periph-macro
...
lpc11u34: Remove short name macros for GPIO modes
2017-08-25 10:57:28 +02:00
Joakim Nohlgård
a905a88b7c
Merge pull request #6959 from haukepetersen/fix_lpc11u_adc
...
cpu/lpc11u34: fixed ADC resolution selection
2017-08-24 18:09:43 +02:00
Francisco Acosta
f2efd88f98
Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
...
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
Hauke Petersen
ae3f0193b8
cpu/lpc11u34: fixed ADC driver
...
- fixed selection of resolution
- fixed result masking
- fixed channel selection (and optimized it)
- fixed clock prescaler calculation
2017-07-20 16:29:15 +02:00
smlng
01af6d94c4
cpu, periph: retain constness in spi_transfer_bytes
2017-06-29 15:47:13 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Joakim Nohlgård
f516717907
lpc11u34: Remove short name macros for GPIO modes
...
... and replace with a GPIO bitmask generator macro instead.
The short macro names in the original implementation were prone to
collisions or other problems with user applications and library code.
2017-06-21 13:15:56 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
2017-03-07 08:55:15 +01:00
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
5bdb3bfa61
misc: aggregated doxygen fixes
2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Hauke Petersen
c97a88ecb8
cpu/lpc11u34+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
0c8b4e9755
cpu/lpc11u34: define CPU_FLASH_BASE value
2017-01-24 09:41:56 +01:00
Paul RATHGEB
750fb9ac61
cpu/lpc11u34 - Fixed GPIO_PIN macro
...
This macro is not coherent with the PORT_SHIFT def in gpio.c. This commit fixes the consistency.
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-22 19:02:17 +01:00
Peter Kietzmann
5880047d76
Merge pull request #6423 from haukepetersen/opt_lpc11_pwm
...
cpu/lpc11u34: remodeled PWM driver
2017-01-20 18:11:31 +01:00
Peter Kietzmann
5f26171e83
Merge pull request #6435 from ks156/master
...
cpu/lpc11u34: Bug with toggle function
2017-01-20 13:52:52 +01:00
Paul RATHGEB
9317c1a212
Toggle function is LPC_GPIO->NOT and not LPC_GPIO->CLR
...
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-19 22:54:59 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Hauke Petersen
ce29ac305d
cpu/lpc11u34: remodeled PWM driver
2017-01-19 12:49:28 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
0fb66a0fd1
cpu: cortexm: always use periph_common module
2017-01-12 16:26:02 +01:00
040c6e9967
cpu: lpc11u34: remove obsolete reboot implementation
2017-01-12 16:26:01 +01:00
0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +01:00
Peter Kietzmann
11a0422b83
Merge pull request #6181 from haukepetersen/opt_lpc11u34_gpio
...
cpu/lpc11u34: reworked GPIO driver
2017-01-10 09:43:17 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
Hauke Petersen
dad5f0c269
lpc11u34: remodeled GPIO driver
2016-12-07 10:44:46 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
5ab97fe38b
cpu: build cortexm vectors.c without LTO
2016-08-29 13:30:17 +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
Hauke Petersen
82e0c51770
cpu/lpc11u34: adapted GPIO driver
2016-03-17 14:39:11 +01:00
Hauke Petersen
b23cde98cf
cpus: adapted UART implementations to cb type change
2016-03-15 11:02:06 +01:00
Hauke Petersen
575659cd1c
cpu/lpc11u34: reworked ADC driver
2016-03-14 13:06:23 +01:00
Oleg Hahm
596c25daca
Merge pull request #4943 from gebart/pr/while-loops
...
Use {} notation for empty while loops
2016-03-09 13:42:32 +01:00
ed03204fe2
cpu: lpc11u34: gpio: adapt to thread.h
2016-03-05 18:20:17 +01:00
6881f65f46
cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h
2016-03-05 18:20:17 +01:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Joakim Nohlgård
17977e0730
cpu/lpc11u34: Use {} notation for empty while loops
2016-03-03 16:31:29 +01:00
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
Joakim Nohlgård
412da2046d
cpu/lpc11u34: Cast enum to unsigned int for comparison
2016-02-28 00:05:10 +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
Joakim Nohlgård
cf90cf32c0
cpu/lpc11u34: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Hauke Petersen
b96cb04df2
cpu/lpc11u34: adapted to PWM interface changes
2016-02-12 16:09: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
Hauke Petersen
1d8d33d484
Merge pull request #4704 from haukepetersen/opt_periph_gpioisrctx
...
drivers/gpio: added default ISR context struct
2016-02-04 15:29:48 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
Hauke Petersen
ad0abdcadd
cpus: use default isr_ctx struct in GPIO drivers
2016-01-27 17:00:37 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00