1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538/periph
danpetry cd449e388b cpu/cc2538: Adapted UART driver incl. board config
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.

  - Defined the fields of the struct in periph_cpu.h
  - Removed the compilation includes that were in uart.c for each UART
  - Implemented a generic ISR subroutine for clarity
  - combined uart_base and uart_init in uart.c
  - used bitmask for the interrupt setup
  - took the uart Rx, Tx, and IRQ numbers out of the config
  (as this has to match the .dev field). Replaced with
  macros from the uart number
  - took out some unused code
  - implemented power on/off commands
  - removed reset function - now bytes are just discarded on error
  - Rx now not initialised if Rx callback = NULL, as per
  drivers/periph/uart.h
  - device is now enabled after callbacks are set, not before
  - asserts raised if rts and cts are enabled for UART0
  - BIT macro removed
2018-02-08 14:36:51 +01:00
..
adc.c cpu, cc2538: adapt periph drivers to refined gpio handling 2017-11-17 20:06:41 +01:00
gpio.c cpu, cc2538: refine gpio handling 2017-11-17 20:06:35 +01:00
hwrng.c doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
i2c.c build: fix unused parameter errors 2017-11-28 14:36:01 +01:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c all: fix my email address 2017-10-20 15:02:41 +02:00
spi.c build: fix unused parameter errors 2017-11-28 14:36:01 +01:00
timer.c cpu/cc2538: DEBUG fixes 2018-01-15 14:37:05 +01:00
uart.c cpu/cc2538: Adapted UART driver incl. board config 2018-02-08 14:36:51 +01:00