1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538/include
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
..
cc2538_gpio.h cpu, cc2538: refine gpio handling 2017-11-17 20:06:35 +01:00
cc2538_gptimer.h cpu, cc2538: cleanup periph/timer 2017-08-28 21:43:12 +02:00
cc2538_rf_internal.h *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
cc2538_rf_netdev.h netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00
cc2538_rf.h netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00
cc2538_rfcore.h cpu/cc2538: Remove union names from structs 2016-07-16 12:55:12 +12:00
cc2538_soc_adc.h cpu/cc2538: doxgen fixes 2016-01-27 09:55:24 +01:00
cc2538_ssi.h cpu/cc2538+boards: adapted to SPI API changes 2017-01-25 16:46:05 +01:00
cc2538_sys_ctrl.h make: fix sign-compare errors 2017-11-28 11:55:48 +01:00
cc2538_uart.h cpu/cc2538: Adapted UART driver incl. board config 2018-02-08 14:36:51 +01:00
cc2538.h cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
cpu_conf.h cpu, cc2538: refine gpio handling 2017-11-17 20:06:35 +01:00
periph_cpu.h cpu/cc2538: Adapted UART driver incl. board config 2018-02-08 14:36:51 +01:00