Jean Pierre Dudey
0f3393d61a
cpu/cc26x0: move i2c code to cc26xx_cc13xx
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-05-24 12:44:09 -05:00
Jean Pierre Dudey
ffa5005021
cc26xx_cc13xx: add API to manage peripheral clocks
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:53 -05:00
Jean Pierre Dudey
7ac28c82b1
cc26x0: enable serial domain only once
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-23 09:33:23 -05:00
Gunar Schorcht
4911868746
cpu/cc26x0: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:57:56 +01:00
Anton Gerasimov
f6a3f14d22
cpu/cc26x0: Factor out code common for cc26xx/cc13xx family
...
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Sebastian Meiling
c4fcb241b1
cpu/cc26x0: adapt timer to return 0 on success
...
Adapt periph/timer implementation of cc26x0 based MCUs
to return 0 on success for all functions.
2019-09-11 13:45:29 +02:00
Marian Buschsieweke
cc0fb9836e
cpu/cc26x0: Updated i2c_release()
2019-08-22 12:03:08 +02:00
Ben Postman
9a000cf4e6
cpu/cc26x0: Implement uart_mode()
...
This change required correcting the values for LCRH_PEN and LRCH_EPS
values defined in cc26x0_uart.h, as they were incorrect according to
19.8.1.7 of the TI CC26x0 reference manual.
on-behalf-of: @sparkmeter <ben.postman@sparkmeter.io>
2019-06-06 08:46:33 -04:00
MrKevinWeiss
4c9890b269
cpu/cc26x0/i2c: Rework and add error handling
...
This commit cleans up magic number and defines bitfields.
Adds error codes for ADDR/DATA NACK and ARBLOSS
Adds error handling, it corrects when an error occurs
Protects from flags that could lockup the bus
2019-04-08 11:32:12 +02:00
07eb8554f8
cpu: cc26x0: add periph/i2c implementation
2019-04-08 08:52:43 +02:00
Martine Lenders
4431f8ee0a
cc26x0: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-09 15:10:59 +02:00
Hauke Petersen
84066ea11d
cpu/cc26x0/gpio: use gpio_irq feature
2018-09-21 08:17:26 +02:00
smlng
7309171303
build: fix unused parameter errors
...
cpu, sam0_common: fix unused parameter in periph/spi
cpu, kinetis_common: fix unused parameter in periph/spi
cpu, cc2538: fix unused param in periph/i2c
cpu, cc2538: fix unused param in periph/spi
cpu, sam3: fix unused param in periph/spi
cpu, stm32_common: fix unused param in periph/pm
cpu, stm32f3: fix unused params in periph/i2c
cpu, nrf5x_common: fix unused param in periph/gpio
cpu, nrf5x_common: fix unused param in periph/spi
cpu, lpc2387: fix unused params in periph/spi
cpu, cc2538: fix unused params in radio/netdev
cpu, cc2650: fix unused params in periph/uart
cpu, lm4f120: fix unused param in periph/spi
cpu, lm4f120: fix unused params in periph/timer
cpu, lm4f120: fix unused params in periph/uart
cpu, stm32_common: fix unused params in periph/dac
cpu, stm32l0: fix unused params in periph/i2c
cpu, msp430fxyz: fix unused params in periph/uart
cpu, mips: fix unused params
cpu, cc430: fix unused-params in periph/timer
cpu, msp430fxyz: fix unused params in periph/spi
drivers, cc2420: fix unused param
cpu, mips32r2_common: fix unused params in periph/timer
cpu, cc2538: fix unused-param in periph/i2c
cpu, mips32r2_common: fix unused-param in periph/timer
cpu, msp430fxyz: fix unused params in periph/timer
cpu, atmega_common: fix unused params in periph/spi
driver, nrfmin: fix unused params
cpu, cc2538_rf: fix unused params
driver, netdev_ieee802514: fix unused param
cpu, mip_pic32m: fix unused params
cpu, lpc2387: fix unused params in periph/pwm
tests/driver_sdcard_spi: fix unused params
cpu, sam3: fix unused param in periph/pwm
tests/driver_dynamixel: fix unused params, and style issues
cpu, cc430: fix unused param in periph/rtc
cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
smlng
fd89c3cd9c
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-20 10:51:33 +02:00
Hauke Petersen
bad9d99159
cpu/cc26x0/gpio: do not clear output pin on init
2017-10-04 12:15:03 +02:00
Sebastian Meiling
2bab65ce03
Merge pull request #7335 from smlng/cpu/cc2650/periph_timer
...
cpu, cc26x0: fixing periph timer
2017-08-17 13:26:38 +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
smlng
91412453ae
cpu, cc26x0: fixing low-level timer
...
- complete rework of periph/timer.c
- based on TI CC2538 periph/timer.c
2017-07-21 22:20:54 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +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
6cda6a6560
periph/cpuid: Unify implementations to a common driver for several platforms
2017-04-05 09:03:49 +02:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +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
Joakim Nohlgård
a1f4d1617f
cpu/cc26x0: Cast gpio_t to unsigned int for comparison
2016-06-01 16:42:16 +02:00
Leon M. George
475fb6f84d
cpu: add CC26x0-family
2016-04-18 19:00:49 +02:00