Peripheral MCU configuration for TI CC1312 LaunchPad. More...
Peripheral MCU configuration for TI CC1312 LaunchPad.
Definition in file periph_conf.h.
#include "periph_cpu.h"
 Include dependency graph for periph_conf.h:Go to the source code of this file.
Clock configuration | |
| #define | CLOCK_CORECLOCK (48000000U) | 
Timer configuration | |
General purpose timers (GPT[0-3]) are configured consecutively and in order (without gaps) starting from GPT0, i.e. if multiple timers are enabled.  | |
| #define | TIMER_NUMOF ARRAY_SIZE(timer_config) | 
| static const timer_conf_t | timer_config [] | 
UART configuration | |
The used LAUNCHXL-CC1312R board has a single UART device available through the debugger, so all we need to configure are the RX and TX pins. Optionally we can enable hardware flow control, by setting UART_HW_FLOW_CTRL to 1 and defining pins for cts_pin and rts_pin. Add a second UART configuration if using external pins.  | |
| #define | UART_NUMOF ARRAY_SIZE(uart_config) | 
| static const uart_conf_t | uart_config [] | 
I2C configuration | |
| #define | I2C_NUMOF (1) | 
| #define | I2C_SCL_PIN (4) | 
| #define | I2C_SDA_PIN (5) | 
| #define CLOCK_CORECLOCK (48000000U) | 
Definition at line 33 of file periph_conf.h.
| #define I2C_NUMOF (1) | 
Definition at line 108 of file periph_conf.h.
| #define I2C_SCL_PIN (4) | 
Definition at line 109 of file periph_conf.h.
| #define I2C_SDA_PIN (5) | 
Definition at line 110 of file periph_conf.h.
| #define TIMER_NUMOF ARRAY_SIZE(timer_config) | 
Definition at line 63 of file periph_conf.h.
| #define UART_NUMOF ARRAY_SIZE(uart_config) | 
Definition at line 101 of file periph_conf.h.
      
  | 
  static | 
Definition at line 44 of file periph_conf.h.
      
  | 
  static | 
Definition at line 79 of file periph_conf.h.