20 #include "periph_cpu.h" 
   23 #include "cfg_timer_default.h" 
   33 #define SOC_ADC_ADCCON3_EREF  SOC_ADC_ADCCON3_EREF_AVDD5 
   43 #define ADC_NUMOF           ARRAY_SIZE(adc_config) 
   49 #define I2C_IRQ_PRIO            1 
   59 #define I2C_NUMOF               ARRAY_SIZE(i2c_config) 
   75 #define SPI_NUMOF           ARRAY_SIZE(spi_config) 
   87 #ifdef MODULE_PERIPH_UART_HW_FC 
   96 #ifdef MODULE_PERIPH_UART_HW_FC 
  103 #define UART_0_ISR          isr_uart0 
  104 #define UART_1_ISR          isr_uart1 
  107 #define UART_NUMOF          ARRAY_SIZE(uart_config) 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
 
static const uart_conf_t uart_config[]
UART configuration.
 
static const spi_conf_t spi_config[]
SPI configuration.
 
static const i2c_conf_t i2c_config[]
I2C configuration.
 
static const adc_conf_t adc_config[]
ADC configuration.
 
Driver for the cc2538 GPIO controller.
 
Default clock configuration for cc2538 based boards.
 
#define UART1_BASEADDR
UART1 Instance.
 
#define UART0_BASEADDR
UART0 Instance.
 
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
 
ADC device configuration.
 
I2C configuration structure.
 
i2c_speed_t speed
Configured bus speed, actual speed may be lower but never higher.
 
SPI device configuration.
 
uint8_t num
number of SSI device, i.e.
 
UART device configuration.
 
USART_t * dev
pointer to the used UART device