@ -3,6 +3,7 @@ FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_flashpage
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_hwrng
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
@ -96,6 +96,22 @@ static const timer_conf_t timer_config[] = {
#define UART_PIN_TX 24
/** @} */
/**
* @brief I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
{
.dev = NRF_TWI0,
.pin_scl = 0,
.pin_sda = 30,
.ppi = 0
}
};
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
* @brief ADC configuration
*